precommit-setup
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to create and execute shell scripts (e.g.,
scripts/run-component-lint.sh) to automate project quality gates. It also involves running local vendor scripts such asplugins/attune/scripts/attune_init.pyfor initialization. - [EXTERNAL_DOWNLOADS]: The configuration templates include references to well-known GitHub repositories for pre-commit hooks, including
pre-commit/pre-commit-hooks,astral-sh/ruff-pre-commit, andPyCQA/bandit. These are recognized as safe sources for development workflows. - [PRIVILEGE_ESCALATION]: The skill uses
chmod +xto make generated quality-check scripts executable. This is a standard and necessary step for the skill's primary purpose of setting up local automation. - [INDIRECT_PROMPT_INJECTION]: The skill defines scripts that ingest external data from
git diffto determine which components to test. While this represents a potential attack surface, the scripts include directory existence checks ([ -d "plugins/$component" ]) and the usage is standard for monorepo development. - Ingestion points:
git diff --cached --name-onlyinmodules/component-level-hooks.md. - Boundary markers: Absent.
- Capability inventory: Shell execution of
make,uv run,ruff,mypy, andpytestthrough generated scripts. - Sanitization: Verification that the identified component corresponds to an existing directory.
Audit Metadata