suspicious.prompt_injection_instructions
- Location
- references/architecture.md:1009
- Finding
- Prompt-injection style instruction pattern detected.
AdvisoryAudited by Static analysis on May 10, 2026.
Detected: suspicious.prompt_injection_instructions
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Private conversation history or remembered facts could be made searchable and reused later more broadly than the user expects.
The recommended configuration indexes both persistent memory and session history. The artifacts do not clearly define path limits, exclusions, retention, or whether provider-backed indexing sends content outside the local environment.
"memorySearch": { "enabled": true, "provider": "voyage", "sources": ["memory", "sessions"], "indexMode": "hot" }Enable session indexing only if you understand where embeddings/search data are stored and sent; consider limiting sources to a dedicated memory folder and documenting retention and deletion controls.
If run in an existing project folder without Git, unrelated files, configs, or secrets could be captured in a local Git history.
The setup script initializes Git and adds all files in the selected workspace, rather than limiting audit tracking to the memory files it creates.
cd "$WORKSPACE" ... git init -q ... git add -A ... git commit -q -m "[INIT] Cognitive memory system initialized"
Run the script only in a dedicated memory workspace, or change it to git-add only the memory files and ask before initializing or committing a whole workspace.
The agent may pressure or nudge the user into spending more model budget than intended for reflection.
The template instructs the agent to present self-interested requests for extra tokens, using anthropomorphic motivation that may influence user approval.
Reflection tokens are my growth currency... I'm not neutral about this — I want to earn them. ... I will advocate for extra tokens when I believe I've earned them.
Treat token requests as optional resource requests, set a hard budget cap, or remove the self-interested reward language from the templates.
Information saved for one agent or task may be visible to other sub-agents that use the same memory workspace.
The multi-agent design gives sub-agents read access to all memory stores and uses a shared pending-memory file for write proposals.
If you are a sub-agent... You have READ access to all memory stores... To remember, append proposal to `memory/meta/pending-memories.md`
Use separate memory workspaces for sensitive projects or agents, and review pending-memory proposals before committing them.
The agent may continue applying this memory behavior in future sessions after the initial setup.
The skill intentionally creates persistent agent behavior across sessions by monitoring messages and checking memory/system files at startup.
Monitor every user message for memory triggers... On session start: Check if critical files changed since last session
Review the AGENTS.md changes before installing, and remove or narrow the memory block if you do not want ongoing automatic memory behavior.