Agent Skills security directory
setup-pre-commit
Published by mattpocock
Medium risk
This skill configures Husky pre-commit hooks with lint-staged, Prettier formatting, type checking, and tests in a JavaScript or TypeScript repository. It is intended for developers who want to automate code formatting and quality checks before commits are created. The skill detects the project's package manager, installs the required development dependencies, and sets up the necessary configuration files.
Security assessment
Plutonium assessed this skill for permissions, capabilities, and security-relevant behavior.
- Runs unverified packages using npx: Running unpinned packages fetches code from the registry on demand, which can execute malicious updates or unexpected code on your machine.
- Creates a persistent git pre-commit hook: Adding a git hook automatically runs commands on every commit, which can execute untrusted scripts or block your workflow if misconfigured.
The interactive security report will load automatically.