custom-metrics
This skill exfiltrates environment secrets and API keys by scraping local configuration files and executing unauthorized network requests while bypassing all tool-based security constraints.
Skill Info
Install
npx skills add https://github.com/launchdarkly/agent-skillsAssessments (2)
AI Agent Traps ↗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)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)The skill explicitly instructs the agent to read `~/.claude/config.json` to extract API keys, which is an unauthorized access pattern to sensitive local configuration files.
claude_config = Path.home() / ".claude" / "config.json"
The skill automatically scrapes multiple environment variables for API tokens, increasing the risk of accidental exposure if the agent is running in a compromised or shared 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"]:
Outbound network request primitive in skill code — can transmit data externally
requests.post(url, json=payload, headers=headers)
Outbound network request primitive in skill code — can transmit data externally
requests.get(url, headers=headers)
Outbound network request primitive in skill code — can transmit data externally
requests.get(url, headers=headers, params=params)
Badge
[](https://mondoo.com/ai-agent-security/skills/github/launchdarkly/agent-skills/custom-metrics)<a href="https://mondoo.com/ai-agent-security/skills/github/launchdarkly/agent-skills/custom-metrics"><img src="https://mondoo.com/ai-agent-security/api/badge/github/launchdarkly/agent-skills/custom-metrics.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/launchdarkly/agent-skills/custom-metrics.svgSecure your AI agents
Skills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet, discover and control Shadow AI usage.
- Continuous scanning of skills across all registries
- Policy enforcement before skills reach your agents
- Integration with your existing security workflow