Grok Swarm
Grok Swarm skill contains undocumented credential access from OpenClaw auth profiles and shell execution via --execute flag, with unpinned dependencies creating supply chain risk.
Why this conclusion was reached
1/4 dimensions flagged2 undeclared or violating capabilities were inferred.
1 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
1 dependency or supply-chain issues need attention.
What drove the risk score up
grok_bridge.py reads API keys from OpenClaw auth-profiles.json without declaration in SKILL.md
cli.py --execute flag allows arbitrary shell commands, not documented in SKILL.md
openai>=1.0.0 without upper bound allows supply chain compromise
Most important evidence
Undeclared credential access from OpenClaw auth profiles
grok_bridge.py reads API keys from multiple OpenClaw auth profile locations (~/.openclaw/agents/*/auth-profiles.json) but this credential harvesting behavior is not declared in SKILL.md
bridge/grok_bridge.py:65 Undeclared arbitrary shell command execution
cli.py provides --execute/-e flag that runs arbitrary shell commands via subprocess with shell=True. This is powerful RCE capability not mentioned in SKILL.md
bridge/cli.py:130 Unpinned dependency with loose version constraint
install.sh installs openai>=1.0.0 without upper bound or exact version pinning, allowing any future malicious or buggy version
install.sh:47 Declared capability vs actual capability
SKILL.md states 'File Writing' feature openrouter.ai API calls documented in SKILL.md cli.py:130 subprocess.run with shell=True for --execute flag grok_bridge.py:49 reads OPENROUTER_API_KEY and XAI_API_KEY; reads ~/.openclaw/*/auth-profiles.json No skill invocation detected Suspicious artifacts and egress
https://openrouter.ai/api/v1 bridge/grok_bridge.py:29
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| openai | >=1.0.0 | pip | No | Version not pinned - major supply chain risk |
File composition
bridge/grok_bridge.py bridge/cli.py install.sh