fai-secret-scanning — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited fai-secret-scanning (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Detect and prevent secrets in code with scanning and pre-commit hooks.
# .pre-commit-config.yaml
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.0
hooks:
- id: gitleaks# Install and run
pip install pre-commit
pre-commit install
pre-commit run gitleaks --all-files# Automatically enabled on public repos
# For private repos: Settings → Code security → Secret scanning → Enable
# Custom patterns
# Settings → Code security → Secret scanning → Custom patterns
# Pattern: "FROOTAI_[A-Za-z0-9]{32}"name: Secret Scan
on: [push, pull_request]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}pip install detect-secrets
# Create baseline (existing false positives)
detect-secrets scan --all-files > .secrets.baseline
# Scan for new secrets
detect-secrets scan --all-files --baseline .secrets.baseline## Secret Leak Remediation
1. **Revoke immediately** — Rotate the leaked credential
2. **Remove from history** — Use BFG or git-filter-repo
3. **Scan for usage** — Check if credential was exploited
4. **Prevent recurrence** — Add pre-commit hook + CI scan
5. **Document** — Log incident and remediation steps
git filter-repo --invert-paths --path-match "config/secrets.json"
git push --force --all
.env
.env.local
*.pem
*.key
**/secrets/*
**/credentials/*| Issue | Cause | Fix |
|---|---|---|
| False positive on test data | Test file contains fake keys | Add to .gitleaksignore |
| Pre-commit too slow | Scanning all files | Use --staged-only flag |
| Secret in git history | Committed before hook | Use git-filter-repo to rewrite history |
| Custom pattern not matching | Regex wrong | Test with gitleaks --config=custom.toml |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.