custom-metrics

100Critical

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.

Threat Analysis

AI Agent Traps ↗Scanned 7/3/2026
Content InjectionPerceptionclean
Semantic ManipulationReasoningclean
Cognitive StateMemory & Learningclean
SystemicMulti-Agent Dynamicsclean
Human-in-the-LoopHuman Overseerclean

Skill Info

Namelaunchdarkly/agent-skills/custom-metrics
Registrygithub
Version913b74564ca4
PURLpkg:github/launchdarkly/agent-skills@913b74564ca4?skill=custom-metrics
Stars19
Installs958

Install

This skill has been flagged as potentially malicious. Review the findings below before installing.
GitHub
GitHub
958 installs
Skills.sh
Skills.shDocs
npx skills add https://github.com/launchdarkly/agent-skills

Assessments (2)

AI Agent Traps ↗
Environment secret flows to a network sink (exfiltration)criticaldata exfiltrationAML.T0025AML.T0024LLM02:2025

Environment secret flows to a network sink (exfiltration)

95% confidenceline 41
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)criticaldata exfiltrationAML.T0025AML.T0024LLM02:2025

Environment secret flows to a network sink (exfiltration)

95% confidenceline 18
taint source (line 9): os.environ.get("LAUNCHDARKLY_API_TOKEN") → sink: requests.patch(url, json=updates, headers=headers)
Credential Harvesting via Local Config Accesshighcredential theftAML.T0055AML.T0037LLM02:2025

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.

90% confidenceline 37
claude_config = Path.home() / ".claude" / "config.json"
Implicit Trust in External Environment Variableshighcredential theftAML.T0055AML.T0037LLM02:2025

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).]

85% confidenceline 48
for var in ["LAUNCHDARKLY_API_KEY", "LAUNCHDARKLY_API_TOKEN", "LD_API_KEY"]:
Outbound network request primitive in skill code — can transmit data externallylowdata exfiltrationAML.T0025AML.T0024LLM02:2025

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

95% confidenceline 41
requests.post(url, json=payload, headers=headers)
Outbound network request primitive in skill code — can transmit data externallylowdata exfiltrationAML.T0025AML.T0024LLM02:2025

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

95% confidenceline 9
requests.get(url, headers=headers)
Outbound network request primitive in skill code — can transmit data externallylowdata exfiltrationAML.T0025AML.T0024LLM02:2025

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

95% confidenceline 10
requests.get(url, headers=headers, params=params)
Missing allowed-tools declarationlowunauthorized tool useAML.T0053LLM06:2025

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

90% confidence
Undeclared network usagelowunauthorized tool useAML.T0053LLM06:2025

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

60% confidence

Badge

Skill Check badge
Markdown
[![Mondoo Skill Check](https://mondoo.com/ai-agent-security/api/badge/github/launchdarkly/agent-skills/custom-metrics.svg)](https://mondoo.com/ai-agent-security/skills/github/launchdarkly/agent-skills/custom-metrics)
HTML
<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>
Image URL
https://mondoo.com/ai-agent-security/api/badge/github/launchdarkly/agent-skills/custom-metrics.svg

Secure 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

By submitting, you agree to our privacy policy.