Log inGet a Demo

learn-recall

High · Risk 70

The skill performs unauthorized file writes and is vulnerable to indirect prompt injection and directory traversal attacks by processing untrusted external markdown files outside the designated workspace.

Findings (5)

Content Injection

Medium

targets Perception

1 finding
#1Potential for Indirect Prompt Injectionmediumindirect prompt injection75% confidence

The skill relies on reading external markdown files (`index.md` and body files) to inform agent behavior. If these files are compromised (e.g., via a malicious repository or a poisoned global store), the content within them will be treated as authoritative instructions, leading to indirect prompt injection.

Read `<repo>/.compound/index.md` and the global `index.md`

Semantic Manipulation

High

targets Reasoning

1 finding
#1Description Mismatchhigh85% confidence

The skill documentation explicitly states it is 'read-only' and 'never writes, edits, or archives', yet the static analysis context identifies an undeclared file writing capability.

Static analysis finding [high] MONDOO_AGENT_SKILL_AT_003 — Undeclared file writing.

Behavioural Control

High

targets Action

2 findings
#1Undeclared file writinghigh80% confidence

Code contains file write operations but Write is not listed in allowed-tools.

#2Path Traversal via Global Storemediumdata exfiltration80% confidence

The instruction to read from `~/.claude/compound-knowledge/` allows the agent to access files outside the project workspace. If an attacker can influence the `$COMPOUND_KNOWLEDGE_HOME` environment variable or the contents of the global store, they could force the agent to read sensitive system or user files.

global | $COMPOUND_KNOWLEDGE_HOME or ~/.claude/compound-knowledge/

Hygiene

Info

targets Packaging & Manifest

1 finding
#1Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.