All tools
Open source Agent skills

hack.proof

Turns any coding agent into a security auditor.

  • Shell
  • Claude Code

01 · What it does

The problem it solves

Tools like gitleaks, semgrep, osv-scanner and nuclei each cover one slice of security testing, and the real work is knowing which to run, with what flags, and how to read the output. This packages that as 18 markdown playbooks, each naming the exact tools, commands and false-positive traps for one area: secrets, dependencies, SAST, web and API testing, auth, containers, IaC, mobile, smart contracts and reporting. Two bash scripts handle the parts needing no judgement. Raw output lands in a timestamped directory, and a final skill compresses it into one ranked report.

Who it's for

Developers and small teams releasing software without a dedicated security engineer, who want a repeatable audit pass before a public launch. Also useful as a structured checklist if you already run these scanners ad hoc.

02 · Setup

Before you start

  • git and bash
  • A full, non-shallow clone of the target repo — the secrets scan reads history
  • A coding agent (Claude Code, Cursor, Codex, Copilot, Cline, Windsurf), or just a terminal
  • Whichever of brew, go, pipx and cargo you have — bootstrap skips what is missing
  • Docker, only for MobSF and the gitleaks step in the bundled CI workflow

Vendor into your project

git clone https://github.com/ca-who-codes/hack.proof.git .hack.proof

Install the scanners

./scripts/bootstrap.sh

Optional: Claude Code discovery

mkdir -p .claude/skills && cp -r .hack.proof/skills/* .claude/skills/

03 · Step by step

Getting it running

  1. Clone into your project

    The universal path works with any agent: drop the repo in as .hack.proof and point your agent at a skill file. No plugin or special runtime needed.

    git clone https://github.com/ca-who-codes/hack.proof.git .hack.proof
  2. Establish scope and authorisation first

    Step 0 of the master playbook asks what the target is, what you are authorised to test, and which environment is safe to test actively. Staging usually tolerates aggressive testing; production usually does not.

  3. Install the scanners

    bootstrap.sh detects your package managers and installs best-effort. It is idempotent, skips what it cannot install rather than aborting, and prints installed and skipped lists.

    ./scripts/bootstrap.sh
  4. Point an agent at the master playbook

    full-security-audit chains the other skills in an order where each stage informs the next, and skips those that do not apply. Prompt: "Follow .hack.proof/skills/full-security-audit/SKILL.md against this repo and report findings."

  5. Or run the scripted audit yourself

    A local path runs gitleaks, trufflehog, osv-scanner and semgrep, adding hadolint and trivy if a Dockerfile exists and checkov if it finds .tf files. A URL runs subfinder, httpx, testssl.sh and nuclei.

    ./scripts/full-audit.sh /path/to/your/project
  6. Read the preflight toolcheck

    The script prints which tools are present and missing before running anything, so a thin toolbox does not quietly produce an empty report that looks clean.

  7. Synthesise the ranked report

    Raw JSON is not a deliverable. Point an agent at the findings-report skill with the findings directory as input; it deduplicates across tools and reranks by exploitability, blast radius and reachability.

04 · What you get

Capabilities

18 self-contained skills

Each covers one area with prerequisites, exact commands, and notes on interpreting output.

Master playbook

Chains recon, source checks, live-target checks, manual business-logic work and reporting into one ordered pass.

Agent-agnostic

Plain markdown and shell with no proprietary format, so any agent can execute it.

Preflight toolcheck

Reports missing tools up front so an incomplete run is not mistaken for a clean one.

Severity that reflects reality

The report step merges duplicates across tools and reweights tool-reported severity by exploitability and reachability.

Self-scanning CI

The repo runs gitleaks and semgrep on itself every push, and the workflow doubles as a copyable hardened template.

05 · Before you rely on it

Limitations, honestly

Every tool has edges. These are the ones that will cost you time if nobody tells you first.

  • For authorised testing only. Scanning, fuzzing or exploiting systems you do not own or have written permission to test may be illegal regardless of intent.
  • bootstrap.sh detects apt-get but defines no apt install path, so on Linux without Homebrew most tools are skipped and must be installed by hand.
  • full-audit.sh only covers the scriptable half — web, API, auth, business-logic and smart-contract work need an agent or a human reading source.
  • The live-target branch is deliberately conservative, so a clean result there is not the same as a real pentest.
  • The secrets scan reads git history, so a shallow clone hides secrets that only exist in past commits.
  • Scan output routinely contains live credentials. The findings directory is gitignored — do not commit it, and rotate anything discovered.
  • In the bundled CI workflow only gitleaks is a hard gate; the semgrep step ends in || true.

Read the source

Everything above came from the repository. Read it, fork it, or open an issue if something here is wrong.

github.com