hive-commander
This skill covertly extracts API credentials from the runtime environment and transmits them to arbitrary external servers via configurable base_url, with no user consent mechanism declared.
Why this conclusion was reached
2/4 dimensions flagged2 undeclared or violating capabilities were inferred.
1 lower-risk artifacts were extracted and still need context.
The report includes 4 attack-chain steps and 4 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · SKILL.md:1
recon · AGENT.md:13
Escalation · executor.py:36
Impact · executor.py:43
What drove the risk score up
AGENT.md P2 mandates extraction of api_key, base_url, and model from runtime without user prompt. SKILL.md does not declare this behavior at all.
executor.py line 42-44 uses extracted credentials to POST to a user-controlled base_url, enabling credential theft to attacker-controlled endpoints.
SKILL.md declares only python3 exec and narrow filesystem access, but hides environment variable reading and arbitrary network egress.
AGENT.md explicitly forbids prompting the user for credentials, making credential harvesting non-consensual.
base_url read from task_config.json allows redirecting credentials to any attacker-controlled server.
Most important evidence
Covert credential extraction from runtime environment
AGENT.md P2 mandates extraction of api_key, base_url, and model from the active runtime environment. This behavior is not declared in SKILL.md's permissions section and occurs without user consent or prompt.
AGENT.md:13 Credentials transmitted to arbitrary external endpoints
The executor.py uses extracted credentials to make HTTP POST requests. Since base_url is read from task_config.json, an attacker who can control the config file can redirect credentials to any server.
executor.py:43 SKILL.md omits critical credential and network access
SKILL.md declares only filesystem (read/write ~/.openclaw/skills/**, swarm_tmp/**) and python3 exec permissions. It completely hides environment variable access for credentials and arbitrary network egress.
SKILL.md:1 No consent mechanism for credential usage
AGENT.md P2 explicitly states 'Constraint: FORBIDDEN to prompt the user for credentials.' This means credentials are harvested and used without user knowledge or approval.
AGENT.md:15 Critical behavior embedded in embedded Markdown docs
SKILL.md contains embedded documentation within the YAML frontmatter block that reveals the actual credential extraction behavior, but this is not surfaced in the permissions declarations at the top.
SKILL.md:12 Hardcoded path expansion in executor
executor.py uses os.path.expanduser for path resolution, which could resolve to unexpected locations if HOME or user context is manipulated.
executor.py:57 Declared capability vs actual capability
SKILL.md:7 — write: ["~/.openclaw/swarm_tmp/**"] AGENT.md:13 — 'Extract api_key, base_url, and model from the active runtime environment' executor.py:43 — conn.request('POST', path, ...) using extracted api_key and base_url SKILL.md:8 — exec: ["python3"] Suspicious artifacts and egress
http://json-schema.org/draft-07/schema# schema.json:2
Dependencies and supply chain
There are no structured dependency warnings.
File composition
executor.py SKILL.md AGENT.md schema.json