web-security-guard — Claude Code plugin: site protection
The web-security-guard plugin for Claude Code bundles six skills and two slash commands for hardening, secure auth, origin hiding, and WAF installation. Three skills fire automatically as Claude builds a login page or API.
MIT ★ 1,013 updated 2026-08-12
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install web-security-guard@awesome-claude-code-pluginsWhat web-security-guard does
The plugin bundles skills hardening-siti, autenticazione-sicura, difesa-attacchi, privacy-pagamenti, architettura-fortezza, and sicurezza-github. The first three fire automatically when Claude builds a login page or API: they enforce security headers, CSP, input validation, password hashing, email verification codes, TOTP, and passkey support. The difesa-attacchi skill installs guardian middleware — a WAF in plain Node.js with no runtime dependencies that detects SQLi, XSS, path traversal, brute force, and bots, runs rate limiting and IP blocklists, and offers stealth mode (attacker's connection is dropped with no response). The privacy-pagamenti skill protects payment data when integrating Stripe or PayPal: verifies webhook signatures, minimizes stored data, enforces PCI-DSS and GDPR.
architettura-fortezza designs a four-layer Fortress: invisible reverse-proxy shield, hidden origin server, WireGuard mesh, air-gapped offline vault with encrypted backups. Deployment templates sit in references/fortezza/. The sicurezza-github skill adds GitHub Actions for dependency scanning, secret scanning, CodeQL, and Dependabot. The public web port cannot be hidden — what can be hidden are SSH, admin panels, origin, and the vault; volumetric DDoS still needs an external CDN.
Commands /proteggi-sito and /security-audit run full protection install or a project audit with a report.
What it helps with
- apply site hardening: security headers, CSP, input validation
- build auth with email codes, 2FA, and passkeys
- install a WAF agent detecting SQLi, XSS, and brute force
- hide origin server behind reverse proxy and WireGuard mesh
- add GitHub Actions for dependency and secret scanning
Example prompts for the agent
- Build a login page with email verification and 2FA
- Add Stripe subscriptions with payment data protection
- /web-security-guard:security-audit — run a security audit of the project
How to install web-security-guard
Plugin marketplace
/plugin marketplace add ccplugins/awesome-claude-code-plugins/plugin install web-security-guard@awesome-claude-code-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about web-security-guard
How to install web-security-guard in Claude Code?
Run /plugin marketplace add ccplugins/awesome-claude-code-plugins, then /plugin install web-security-guard@awesome-claude-code-plugins.
What does web-security-guard do?
The plugin automatically applies hardening when sites are built, constructs secure auth with 2FA and passkeys, installs a WAF agent with lockdown mode, hides origin servers, and adds GitHub Actions for vulnerability scanning.
What is the WAF agent's stealth mode?
The stealth version of guardian middleware drops the connection without sending a response instead of returning 403, so the attacker gets no feedback that protection triggered.
Source text
web-security-guard · MIT
# Web Security Guard [](https://docs.claude.com/en/docs/claude-code) [](https://github.com/ayalaphiscan/web-security-guard/releases) [](LICENSE) [](https://claude.com/claude-code) A security plugin for [Claude Code](https://docs.claude.com/en/docs/claude-code) and Claude Cowork that turns Claude into a security-aware engineer. It bundles 6 skills, 2 slash commands and ready-to-deploy infrastructure templates covering the full lifecycle: hardening, authentication, payments privacy, active defense, stealth architecture and CI security. ``` /plugin marketplace add ayalaphiscan/web-security-guard ``` ## What's inside | Skill | What it does | |---|---| | `hardening-siti` | Applies security hardening whenever a site/app is built or reviewed: security headers, CSP, HTTPS, input validation, cookies, CORS, uploads, OWASP Top 10 | | `autenticazione-sicura` | Secure auth flows: email verification codes, 2FA/TOTP, passkeys, password hashing, sessions, account recovery | | `difesa-attacchi` | Installs a defense agent (WAF middleware for Express) that detects SQLi, XSS, path traversal, brute force and bots — with rate limiting, IP blocklist and a data-preserving lockdown mode | | `privacy-pagamenti` | Protects payment data: secure Stripe/PayPal integration, webhook signature verification, PCI-DSS, GDPR, data minimization | | `architettura-fortezza` | Designs a 4-layer "Fortress": invisible reverse-proxy shield, hidden origin server, WireGuard mesh, air-gapped offline vault with encrypted backups. Includes all deployment templates in `references/fortezza/` | | `sicurezza-github` | Adds automated security workflows to your repos: dependency scanning, secret scanning, CodeQL, Dependabot | **Commands:** `/proteggi-sito` (install all protections in the current project) · `/security-audit` (full security audit with report) **Battle-tested defense agent.** The included `guardian` middleware (plain Node.js, zero runtime dependencies) handles malformed-URI evasion attempts, prunes its memory maps to avoid unbounded growth, and ships in two flavors: standard (with explanatory 403s) and stealth (attackers get their connection dropped, no response at all). ## Installation ### Claude Code ``` /plugin marketplace add ayalaphiscan/web-security-guard /plugin install web-security-guard@web-security-guard ``` ### Claude Cowork (desktop app) Download this repository as a zip, rename it to `web-security-guard.plugin`, then install it from **Settings → Capabilities**. ## Usage examples - *"Build me a login page"* → hardening + secure authentication kick in automatically - *"Add Stripe subscriptions"* → payment privacy rules are applied - *"I want my server hidden and my data in a box"* → Fortress architecture, with templates - `/security-audit` → full report of issues and fixes for the current project ## Honest limits (by design, stated in the skills) The public web port can never be invisible — what can be made invisible are SSH, admin, the real origin server and the vault. Large volumetric DDoS still requires an external CDN/WAF. The skills promise *minimal attack surface, unreachable core, recoverable data* — never "unhackable". ## License [MIT](LICENSE) — © ayalaphiscan (Fede) --- 🤖 Built with **Claude Fable 5** via [Claude Code](https://claude.com/claude-code) — skills, templates and this very README were developed together with the model the plugin runs on.
© Fede · MIT · ccplugins/awesome-claude-code-plugins