shadow-frog-nap

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • Standard Command Execution (Git): The Python helper utilizes subprocess.run to execute Git commands for repository inspection (e.g., rev-parse, ls-tree). This is a common pattern for developer utilities to ensure the ideation process is grounded in the current code state.
  • Evidence found in nap.py within the _git function.
  • The script mitigates risk by passing arguments as a list rather than a shell string and by clearing sensitive Git environment variables.
  • Behavioral Probing (Host Agent): The workflow encourages the host agent to execute "probes"—small shell commands—to verify existing software behavior before proposing changes.
  • While the Python helper itself does not execute these arbitrary commands, it facilitates the recording of their results.
  • The skill's documentation advises using isolated runners for these commands to maintain security.
  • Indirect Prompt Injection Surface: The skill processes external data, including repository source code and previous ideation records. This data could potentially contain malicious instructions aimed at influencing the AI's proposal generation during the "Nap" workflow.
  • Ingestion points: The script reads TREE.json, repository files, and user-supplied proposal/judgment files (referenced in nap.py).
  • Boundary markers: The skill instructs the agent to delegate judgment to an independent context and defines clear boundaries between planning and implementation in SKILL.md.
  • Capability inventory: Capabilities include Git execution, file writes for exports/records, and host-side probe execution.
  • Sanitization: The nap.py script performs extensive validation, including regex checks for identifiers, commit hash verification, and path traversal prevention in file anchors.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 02:46 PM