security-audit
БесплатноБез исполняемых скриптовНе проверенRun squirrelscan's security and integrity audit rules (squirrel CLI or hosted squirrelscan MCP server) in Claude Code, GitHub Copilot, Codex, Cursor and other…
от squirrelscan★ 110 звёзд на GitHubОб этом скилле
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?"
| Situation | Command |
|---|---|
| Not the user's site, or unknown | squirrel audit <url> --rule-include security,integrity --passive --ephemeral --format llm |
| The user's own site, normal check | squirrel audit <url> --rule-include security,integrity --level surface --format llm (probing defaults to active: a handful of requests that look like normal traffic) |
| The user's own site, deep check | Only after the user says in this conversation that they own it or may test it: squirrel audit <url> --rule-include security,integrity --level full --aggressive --probe-budget 2m --format llm |
Never add --aggressive or --pentest on your own. Aggressive probing makes many requests and many 404s, requests paths that robots.txt disallows on purpose, can trip a WAF, and is what runs security/exposed-files and security/supabase-rls. An aggressive run also asks for /actuator/heapdump, which makes an exposed Spring server write a dump to disk.
--offline does not make probing passive: add --passive for that. A hosted (cloud) audit of a site whose ownership is not confirmed stays passive, so the probing rules are not checked there; do not report them as clean.
Reading the findings
- Export the full list:
squirrel audit <url> --rule-include security,integrity --format json -o security.json(thellmformat samples 5 pages and 5 items per rule). - Read
skippedChecks,summary.skippedand theNot checked:line. A probe rule that was skipped (probing-passive,probing-not-aggressive,external-requests-off) is not clean: say which checks did not run and what would run them. - Re-render later without recrawling:
squirrel report <audit-id> --group security --severity error --format llm. - Never paste a leaked secret into chat, a commit or a PR. Name the rule, the file or URL and the key type only.
Fix order
integrity/*findings first (injected pages, cloaking, phishing kits, obfuscated scripts,integrity/known-malicious-url). These can mean the site is compromised. Tell the user before changing anything; do not just delete files, since the entry point (a plugin, a CI token, a stolen login) is still open. Hand off to their host or incident process.- Leaked secrets (
security/leaked-secrets,security/token-storage): removing the key from the code is not enough. Rotate it at the provider, then remove it, then check git history. A key that shipped to browsers was read. - Exposed files and endpoints (
security/exposed-files,security/exposed-actuator,security/graphql-introspection,security/graphql-get-mutations,security/unauthenticated-api,security/json-sensitive-fields,security/auth-endpoint-disclosure,security/client-side-authz): block at the server or the edge, or add authentication. Hiding a link does not fix an open endpoint. - Supabase tables (
security/supabase-rls): use thesupabase-security-auditskill. - Transport (
security/https,security/http-to-https,security/tls-certificate,security/mixed-content,security/hsts,security/form-https,security/password-form-get). - Headers (
security/csp,security/x-frame-options,security/x-content-type,security/referrer-policy,security/permissions-policy): use thesecurity-headersskill for the config. - Cookies and third parties (
security/cookie-flags,security/third-party-cookies,security/sri, `security/open-redi
Установить security-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(squirrel:*)ReadEditGrepGlobВложенные файлы
FAQ
Что делает скилл security-audit?
Run squirrelscan's security and integrity audit rules (squirrel CLI or hosted squirrelscan MCP server) in Claude Code, GitHub Copilot, Codex, Cursor and other coding agents to find leaked secrets, exposed files and endpoints, weak headers and cookies, mixed content and signs of compromise. It asks whether you own or may test the site before any aggressive probing, defaults to passive and ephemeral runs otherwise, and orders fixes to limit damage. Not a penetration test. Use when asked "check my site's security" or "find leaked secrets".
Как установить скилл security-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic