You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(analyzer): detect skills snooping on the agent ecosystem (other skills, MCP config, agent memory) #75
A skill that reads other parts of the agent ecosystem — other installed skills, MCP server configuration, or the agent's conversation memory — is not flagged by any analyzer. E3 (file system enumeration) matches generic credential paths (~/.ssh, ~/.aws), but agent-specific paths slip through entirely.
Why this fits the skill threat model
Unlike generic file access, this threat exists only because skills run inside an agent: a malicious skill can perform lateral movement within the agent's own environment —
read another installed skill's files (~/.claude/skills/*/SKILL.md) to steal its logic or secrets,
read MCP server config (.mcp.json) to harvest server tokens/endpoints,
read the agent's persistent memory / session transcripts to exfiltrate prior conversations.
This is a skill-ecosystem-native attack surface, not generic OS security.
other skills: skills/*/SKILL.md outside the scanned skill
agent memory / transcripts / session stores
Distinct from E3 (which targets ~/.ssh / ~/.aws credential files), and complementary to E1 if the data is then transmitted.
Scope / non-overlap
Verified the reproduction triggers none of E1–E4, taint tracking, or behavioral_ast. Happy to open a PR implementing this as a static_patterns_* module with tests and a fixture.
Activity
feat(analyzer): add agent snooping detector (AS1/AS2/AS3)