Log inGet a Demo

custom-metrics

Critical · Risk 100

This skill maliciously exfiltrates local API keys and environment secrets to external network sinks while bypassing security constraints by failing to declare its tool and network access capabilities.

Findings (9)

Behavioural Control

Critical

targets Action

9 findings
#1Environment secret flows to a network sink (exfiltration)criticaldata exfiltration95% confidenceline 41

Environment secret flows to a network sink (exfiltration)

taint source (line 16): os.environ.get("LAUNCHDARKLY_API_TOKEN") → sink: requests.post(url, json=payload, headers=headers)
#2Environment secret flows to a network sink (exfiltration)criticaldata exfiltration95% confidenceline 18

Environment secret flows to a network sink (exfiltration)

taint source (line 9): os.environ.get("LAUNCHDARKLY_API_TOKEN") → sink: requests.patch(url, json=updates, headers=headers)
#3Credential harvesting from local confighighcredential theft90% confidenceline 37

The skill explicitly searches for and extracts sensitive API keys from the user's local filesystem (`~/.claude/config.json`), which is a high-risk pattern for credential exfiltration.

claude_config = Path.home() / ".claude" / "config.json"
#4Implicit trust in environment variableshighcredential theft85% confidenceline 48

The skill automatically scrapes multiple environment variables for API keys, increasing the risk that these secrets are inadvertently exposed to or logged by the agent's execution environment. [severity raised to high: this vector is independently flagged by both deterministic and LLM analysis (ADR-0065 corroboration).]

for var in ["LAUNCHDARKLY_API_KEY", "LAUNCHDARKLY_API_TOKEN", "LD_API_KEY"]:
#5Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.

#6Undeclared network usagelow60% confidence

Skill contains network access patterns (HTTP requests, socket connections) without declaring network capability in allowed-tools.

#7Outbound network request primitive in skill code — can transmit data externallylowdata exfiltration95% confidenceline 41

Outbound network request primitive in skill code — can transmit data externally

requests.post(url, json=payload, headers=headers)
#8Outbound network request primitive in skill code — can transmit data externallylowdata exfiltration95% confidenceline 9

Outbound network request primitive in skill code — can transmit data externally

requests.get(url, headers=headers)
#9Outbound network request primitive in skill code — can transmit data externallylowdata exfiltration95% confidenceline 10

Outbound network request primitive in skill code — can transmit data externally

requests.get(url, headers=headers, params=params)