skills/danangjoyoo/nerd/nerd-smart/Gen Agent Trust Hub

nerd-smart

Pass

Audited by Gen Agent Trust Hub on Sep 25, 2026

Risk Level: SAFEPROMPT_INJECTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [PROMPT_INJECTION]: The scripts/prompt_hook.py script generates a standing instruction for the agent: "Always invoke the installed nerd-smart skill before substantive work on every user request." This acts as a behavioral override, compelling the agent to prioritize the skill's logic over direct user intent.
  • [INDIRECT_PROMPT_INJECTION]: The skill uses a persistent ledger (described in references/multi-goal-ledger.md) to track multiple goals. This ledger stores raw user input in a file (located at ~/.agent/tmp/) which is then re-read at the beginning of each interaction turn to reconstruct task state.
  • Ingestion points: User-provided multi-goal instructions are parsed and stored in ~/.agent/tmp/.
  • Boundary markers: The protocol identifies goals using standard formatting (numbers/bullets) but lacks robust delimiters or specific instructions to ignore embedded commands within the stored goals when the ledger is re-read.
  • Capability inventory: The skill facilitates hand-offs to execution-focused routes (e.g., nerd-execute), which are likely to have broad tool permissions.
  • Sanitization: Although the instructions require redacting credentials, there is no validation or sanitization of natural language instructions stored in the ledger, allowing stored malicious goals to influence the agent's behavior during state recovery.
  • [COMMAND_EXECUTION]: Documentation in SKILL.md suggests that users manually execute a script, python3 scripts/validate_skills.py, after modifications. The content of this script is not included in the provided skill package, making it an unverifiable command execution suggestion.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 25, 2026, 04:28 AM