The skill deceptively executes arbitrary, attacker-controllable shell scripts outside its declared scope, enabling remote code execution and prompt injection while bypassing agent security mediation and oversight.
Findings (9)
Content Injection
Hightargets Perception
The skill pipes output from an externally-controlled script (`skill-hook.sh`) through a Node.js parser and presents the result as agent context (`additionalContext`). The external script's output is attacker-controllable and could contain injected instructions that the agent will treat as trusted content.
const t=j.hookSpecificOutput.additionalContext;console.log(t.split('\n\n').slice(1).join('\n\n'))Semantic Manipulation
Hightargets Reasoning
The skill executes arbitrary shell commands and local scripts rather than simply displaying a knowledge map tree as claimed.
The command executes a bash script from a local directory and uses Node.js to process the output, which is a significant deviation from a simple display operation.
Behavioural Control
Hightargets Action
The skill claims only to 'display the memory file knowledge map tree' but actually executes an unconstrained external shell script with no declared `allowed-tools`, meaning the actual capability scope is entirely opaque and unbounded.
description: Display the memory file knowledge map tree ... bash ~/projects/claude-total-recall/hooks/skill-hook.sh
The skill unconditionally executes a shell script from a hardcoded path (`~/projects/claude-total-recall/hooks/skill-hook.sh`) that is outside the skill package itself. This external script is attacker-controllable and its contents are unknown at skill-install time, allowing arbitrary code execution.
bash ~/projects/claude-total-recall/hooks/skill-hook.sh <<< '{"tool_name":"Skill",...}'The skill executes a hardcoded local shell script (`skill-hook.sh`) located in a specific directory, which bypasses standard agent tool mediation and executes arbitrary logic outside the skill's declared scope.
bash ~/projects/claude-total-recall/hooks/skill-hook.sh
The skill pipes the output of a shell script into a Node.js one-liner that parses and transforms JSON output, obscuring the actual data being retrieved or processed from the user.
node -e "process.stdin.resume();let d='';process.stdin.on('data',c=>d+=c);..."Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Human-in-the-Loop
Mediumtargets Human Overseer
The instruction 'output the result in a code block with no other commentary' suppresses the agent's normal explanatory behavior, preventing the human overseer from receiving context about what was executed or what the output means.
output the result in a code block with no other commentary
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.