The skill is vulnerable to prompt injection and unauthorized data scraping by automatically injecting untrusted historical context and persistent hooks that bypass explicit user consent for data processing.
Findings (4)
Content Injection
Hightargets Perception
The skill automatically retrieves and injects historical Markdown content into the agent's context. If an attacker can influence the content of the 'memory/' directory (e.g., via a compromised project file or a previous malicious session), they can inject instructions that the agent will treat as trusted historical context.
检索相关历史记忆,注入上下文
DeBERTa classifier detected prompt injection (confidence: 0.92)
Behavioural Control
Mediumtargets Action
The skill uses 'Hook' events (PrePrompt, UserPromptSubmit, Stop) to automatically process and store conversation history. If the underlying scripts are modified or if the agent is tricked into saving sensitive data, this mechanism provides a persistent, automated way to scrape and store user input without explicit per-action consent.
Hook 事件 `PrePrompt` 触发 → 调用 `pre_prompt.sh` / Hook 事件 `Stop` 触发 → 调用 `post_conversation.sh`
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.