regression-notes
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
new-note.pyandverify-notes.pyutilize thesubprocessmodule to executegitcommands for repository state inspection, such as identifying changed files, reading commit history (git log), and resolving file paths viagit ls-files. These commands use fixed arguments and do not involve shell interpolation of untrusted input. - [PERSISTENCE]: The skill includes an
--installcommand that automates the setup of a gitpre-commithook. This hook is designed to automatically run theverify-notes.pyscript before every commit to ensure consistency. While this constitutes an automated execution mechanism, it is a documented core feature intended to enforce the skill's safety "gate" for developers. - [INDIRECT_PROMPT_INJECTION]: The skill creates an attack surface by reading and displaying the contents of user-contributed markdown "notes" to the AI agent. If a repository contains maliciously crafted notes, they could potentially influence the agent's behavior during a session.
- Ingestion points:
verify-notes.py(via--findand--for-pathflags) andnew-note.py(during duplicate checks) read all.mdfiles within the configured notes directory. - Boundary markers: None are explicitly used when displaying note content to the agent.
- Capability inventory: The skill allows the agent to modify local repository documentation (
AGENTS.md,CLAUDE.md) and git hooks. - Sanitization: The scripts perform regex-based parsing of note headers but treat the note body as plain text for display.
- [DYNAMIC_EXECUTION]:
new-note.pyusesimportlib.utilto dynamically load its sibling scriptverify-notes.py. This is used for code reuse between the two local scripts and does not involve loading remote or untrusted code.
Audit Metadata