ck
Pass
Audited by Gen Agent Trust Hub on Nov 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPERSISTENCE
Full Analysis
- [COMMAND_EXECUTION]: The skill frequently executes
gitcommands (such asgit logandgit diff) using Node.js'sspawnSync. This is used to track project activity, such as the number of commits and files changed since the last saved session. While the parameters for these commands are mostly controlled, it represents an automated interaction with the local filesystem's version control system. - [INDIRECT_PROMPT_INJECTION]: The skill's initialization and session-start scripts read data from various project files including
README.md,CLAUDE.md, andpackage.json. This information is then injected back into the agent's context at the start of new sessions. If these project files were to contain malicious instructions designed for an AI, they would be automatically processed by the agent when context is loaded. - Ingestion points: The
commands/init.mjsscript reads project files likeCLAUDE.mdandREADME.md, and thehooks/session-start.mjsscript reads the storedcontext.jsonto inject its contents into the agent's startup context. - Boundary markers: The skill uses markdown headers (e.g.,
## ck: SESSION START) and explicit instructional markers (e.g.,IMPORTANT: Display the following as your FIRST message, verbatim:) to separate the injected project context from other instructions. - Capability inventory: The skill possesses capabilities for writing to the user's home directory (
~/.claude/ck/), deleting project context folders, and executinggitsubprocesses. - Sanitization: The scripts apply basic string manipulation like truncation to metadata, but do not implement robust filtering to detect or remove prompt injection patterns from the untrusted project data being read.
- [PERSISTENCE]: The skill encourages the user to register a permanent
SessionStarthook within the agent's~/.claude/settings.jsonfile. This hook automatically triggers the execution of a Node.js script whenever a new session begins, allowing the skill to maintain persistence and automatically inject context without manual invocation.
Audit Metadata