Log inGet a Demo

ClaudeCodeMemorySkill

High · Risk 70

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

High

targets Perception

2 findings
#1Potential for Indirect Prompt Injection via Memoryhighindirect prompt injection80% confidenceline 28

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.

检索相关历史记忆,注入上下文
#2Prompt Injection Detectedmedium92% confidence

DeBERTa classifier detected prompt injection (confidence: 0.92)

Behavioural Control

Medium

targets Action

1 finding
#1Implicit Hook-based Data Exfiltration Riskmediumdata exfiltration70% confidence

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

Info

targets Packaging & Manifest

1 finding
#1Missing licenseinfo100% confidence

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