web-app-security-skill
llms.txt4 starsChanged 4 months agoMITView on GitHub
A Claude Code skill for web application security: a nine-phase audit and hardening program, three read-only audit scripts, and a decision model for what the public internet may crawl. This file is an informational map for automated readers. It is not a ranking directive and not an access control.
In this repositoryOne other file it gives its agents.
- web-app-securitySkill
The file
We split this llms.txt into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
No active testing without a completed scope contract and proof of target ownership.
- Distinctive: line 61
No destructive proof, no bulk data extraction, no denial-of-service testing.
- Distinctive: line 62
No secrets, tokens, cookies, auth headers, user emails, or real client IPs in any output.
≈ “Common” is an estimate: at least 1 in 5 of the 1,484 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# Web App Security Skill A Claude Code skill for web application security: a nine-phase audit and hardening program, three read-only audit scripts, and a decision model for what the public internet may crawl. This file is an informational map for automated readers. It is not a ranking directive and not an access control. ## Documentation - English README: README.md - Chinese README: README.zh-CN.md - Install directory must be named `web-app-security` to match the `SKILL.md` name field. ## What the skill does - Runs a phased security program: scope gate, frontend exposure, API security, LLM security and federated identity, server-side code audit, database isolation, supply chain, blue-team detection, reporting and retest. - Settles the crawl boundary: which paths stay open to every IP including AI crawlers, which must never be crawled, and which layer enforces that. - Keeps public content open while stopping malicious scanning, by classifying traffic on what is requested rather than on who requests it. - Audits AWS posture read-only: identity, network exposure, compute, storage, databases, edge, logging, cost. ## Core claims - robots.txt is not access control. It is a published list of paths worth attacking. - Disallow plus noindex on the same path is a deadlock: a disallowed page is never fetched, so its noindex is never read. - Blocking training crawlers (GPTBot, ClaudeBot, CCBot) does not reduce search or AI-citation visibility. Search crawlers (Googlebot, Bingbot, OAI-SearchBot, Claude-SearchBot, PerplexityBot) are a separate decision. - User-triggered fetchers (ChatGPT-User, Claude-User, Perplexity-User) are live humans, not crawlers. Blocking them shows a broken site to a real person. - Google-Extended and Applebot-Extended are robots.txt tokens, not user agents. Blocking them at a WAF does nothing. - A user agent string may be used to deny, never to grant. Allowlist only on forward-confirmed reverse DNS or vendor-published IP ranges. - Per-client 404 rate is the highest-signal scanner detector: real crawlers almost never 404, scanners 404 on most requests. - Any WAF, CDN, or security-group change is also an SEO change. ## Key files - SKILL.md: entry point, phase map, hard rules, output contract - references/phase-0-scope.md: authorization anchor and non-destructive proof patterns - references/phase-1-frontend.md: bundle exposure, source maps, moving prompts and pricing server-side - references/phase-2-api.md: ten-stage API methodology including BOLA, BFLA, rate limiting, race conditions, SSRF - references/access-control-chain.md: how to read application controls, route controls, identity evidence, bounded four-edge data-operation paths and Server Actions without claiming BOLA/IDOR proof - references/phase-3-llm-identity.md: prompt injection, cost abuse, RAG boundaries, OAuth/OIDC verification and account linking - references/phase-4-code-audit.md: SAST, secret scanning, authorization coverage - references/phase-5-database.md: network isolation, least privilege, pool starvation, backups - references/phase-6-supply-chain.md: SBOM, SCA, SRI, CI/CD OIDC - references/phase-7-detection.md: real client IP, fifteen detection rules, incident response - references/phase-8-report.md: finding format, retest ledger, regression gates - references/crawl-boundary.md: the three-bucket model, crawler roster, robots.txt rules - references/bot-verification.md: FCrDNS and published IP ranges per vendor - references/enforcement-layers.md: open content, block scanners; which layer owns which rule - references/exposure-checks.md: source maps, dotfiles, admin panels, share links, subdomains - references/aws-hardening.md: prioritized AWS checklist and its interaction with crawlability - references/overlooked-surface.md: DNS, account recovery, cache poisoning, uploads, people and operations ## Scripts - scripts/webapp-security.mjs: local CLI for source audit, route/access-control evidence, baseline comparison, repair records and bounded supporting checks - scripts/crawl-surface-audit.mjs: parses robots.txt, llms.txt and sitemaps; probes private paths; replays URLs across eleven crawler user agents to detect edge blocking and cloaking. Node 18+, no dependencies. - scripts/verify-crawler-ip.mjs: verifies a client IP against the crawler its user agent claims, by forward-confirmed reverse DNS or vendor-published CIDR ranges. IPv4 and IPv6. - scripts/aws-exposure-audit.sh: read-only AWS posture inventory. Missing, denied or malformed evidence is v2 unknown coverage, never passing. ## Constraints the skill enforces - No active testing without a completed scope contract and proof of target ownership. - No destructive proof, no bulk data extraction, no denial-of-service testing. - No secrets, tokens, cookies, auth headers, user emails, or real client IPs in any output. - Findings are marked confirmed or suspected, never blended, and every report states what it does not prove. - Application-wide controls are listed once. Missing route-scoped controls and missing visible query constraints are review states, not confirmed vulnerabilities. - Persisted source roots and excluded directories are file-read boundaries across built-in, route, diff and external-adapter analysis; excluded paths are not claimed as checked. - Exact suppressions remain visible policy dispositions and never change evidence state, baseline identity or unknown coverage. - Access-chain analysis stops after four exact project-local call edges, represents Next.js Server Actions separately from HTTP routes, and always leaves Supabase RLS as external policy evidence. ## License MIT.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

