security-audit
Security Audit
Find what a site exposes to visitors and attackers: leaked secrets, open files and endpoints, weak headers and cookies, mixed content, and signs of compromise. Then fix it in the order that limits damage.
This is not a penetration test. squirrelscan reports what it can see and prove from outside; a clean run means these checks found nothing, not that the site is secure.
Before the first audit
Run squirrel --version. If it fails, install the CLI from squirrelscan.com/download (the squirrelscan skill has references/install.md). Then run squirrel auth status:
- Signed out, or
--offline: the audit runs on this machine, is free, and nothing is published. - Signed in: the audit is billed in credits (50 plus 2 per audited page, plus 1 per distinct external link the cloud verifies), adds the site to the user's dashboard, can turn on recurring audits and publishes an unlisted report. Tell the user the cost (
squirrel credits) and get a yes. Offer--offlineor--no-publish. For a site the user does not own, add--ephemeral: nothing is added to the dashboard, scheduled or published.
Every flag below is checked against the squirrel CLI docs (https://docs.squirrelscan.com/cli/audit). Rule docs: https://docs.squirrelscan.com/rules/{category}/{rule_id}.
Who owns the site decides the probe level
squirrelscan can send probes beyond the crawl (see --probe). Ask first: "Do you own this site, or are you authorized to test it?"