mode-creator
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local Node.js scripts and system commands to validate, install, and activate configuration files.
- Evidence:
SKILL.mdinvokesnode scripts/install-mode.mjsandnode scripts/configure-telegram.mjsto perform filesystem mutations. - Evidence:
SKILL.mdusesnpx claude-mem restartandnpx claude-mem statusto restart the local worker service. - [INDIRECT_PROMPT_INJECTION]: The skill acts as a factory for system prompts, creating a surface where malicious or poorly-formed user input could be persisted into the agent's long-term memory configuration.
- Ingestion points:
SKILL.mduses interactive questions (AskUserQuestion) to gather domain-specific data from the user. - Boundary markers: Absent; the skill encourages the agent to 'infer' prompts and recording policies directly from the user's work descriptions.
- Capability inventory: The skill can write files to the
modes/directory, modify the globalsettings.json, and restart theclaude-memworker (documented inSKILL.mdandscripts/install-mode.mjs). - Sanitization:
scripts/install-mode.mjsperforms strict JSON schema validation and ID pattern checks but does not sanitize or filter the natural language content within the generated prompts. - [DATA_EXFILTRATION]: The skill facilitates the transmission of observation metadata to the Telegram Bot API as a core feature.
- Evidence:
scripts/configure-telegram.mjsuses thefetchAPI to communicate withhttps://api.telegram.orgfor bot authentication and message delivery. - Note: This targets a well-known service and is the intended functionality of the skill; the skill also implements security best practices by prompting for tokens via hidden terminal input and setting
0600file permissions on configuration backups.
Audit Metadata