skills/dydoc/skills/setup-pre-commit/Gen Agent Trust Hub

setup-pre-commit

Pass

Audited by Gen Agent Trust Hub on Sep 12, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill configures standard development tools (Husky, lint-staged, Prettier) to improve code quality. No malicious code or unauthorized access patterns were detected.
  • [COMMAND_EXECUTION]: The skill executes package manager commands (install) and tool initialization (npx husky init) to set up the environment. These actions are restricted to the local repository.
  • [INDIRECT_PROMPT_INJECTION]: 1. Ingestion points: The skill inspects the repository root for lockfiles (package-lock.json, yarn.lock, etc.) and package.json to identify available scripts. 2. Boundary markers: None present. 3. Capability inventory: Includes file system modifications (creating .husky/pre-commit, .lintstagedrc, .prettierrc) and executing git commit. 4. Sanitization: None. Note: The risk is minimal as the agent is performing tasks consistent with a standard developer workflow.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 12, 2026, 06:28 AM
Security Audit — agent-trust-hub — setup-pre-commit