modular-commits

Pass

Audited by Gen Agent Trust Hub on Oct 24, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill reads file contents and git diffs to categorize changes, creating an entry point where malicious instructions hidden in code could influence the agent.
  • Ingestion points: Step 2 and 3 in SKILL.md read git status, diffs, and file hunks.
  • Boundary markers: Step 4 implements a mandatory user approval gate ("OK?") where the agent must present its plan before any commits are made.
  • Capability inventory: The skill can write files to /tmp, execute multiple git subcommands (add, commit, push, apply), and run repository-specific build/test commands.
  • Sanitization: Step 5 uses shell heredocs (cat <<'EOF') to stage commit messages, preventing shell injection from content within the messages.
  • [COMMAND_EXECUTION]: The skill uses shell commands to interact with the git version control system, including backing up state to /tmp, staging specific lines, and pushing code to remote servers.
  • [DYNAMIC_EXECUTION]: The skill generates patch files dynamically (filtering diffs by lines) and applies them using git apply. It also executes the project's own test and build scripts during the verification phase in Step 6.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 24, 2026, 03:49 PM