| name | apiiro-fast-scan |
| description | Apiiro CLI command for quick local security scanning: fast-scan for secrets and OSS vulnerabilities, plus pre-commit hooks. Use this skill whenever the user mentions scanning code locally, secrets detection, OSS vulnerabilities, pre-commit hooks, or wants to check files for security issues before committing. Even if the user doesn't say "apiiro", trigger when they say things like "scan for secrets", "check my code before I push", "are there any leaked credentials", "check dependencies for vulnerabilities", or want to set up local security scanning. For comparing git references in CI/CD, use apiiro-diff-scan instead.
|
Apiiro Fast Scan
Quick local scan for secrets and OSS vulnerabilities via the Apiiro CLI. Requires a git repo with an origin remote. Auto-detects changed files when none specified.
Commands
apiiro fast-scan secrets
apiiro fast-scan secrets src/config.ts
apiiro fast-scan secrets --staged
apiiro fast-scan oss package.json bun.lock
apiiro fast-scan all
apiiro fast-scan config
Options: --staged, --full (scan entire file, not just git-changed lines), --timeout <ms> (default: 2000), -o, --output <json|text>, -f, --file <path>.
Exit codes: 0 = clean, 1 = high/critical risks found.
Pre-commit Hook
apiiro hooks pre-commit install
apiiro hooks pre-commit install --scan-type secrets --force
apiiro hooks pre-commit status
apiiro hooks pre-commit uninstall
Skip temporarily with git commit --no-verify.
Global Options
-o, --output <json|text>, -f, --file <path>, --no-color.