Skip to main content
plugin

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install web-security-guard@awesome-claude-code-plugins
Open on GitHub

What 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-plugins

Step 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

[![Claude Code Plugin](https://img.shields.io/badge/Claude%20Code-plugin-d97757)](https://docs.claude.com/en/docs/claude-code)
[![Version](https://img.shields.io/badge/version-0.2.1-blue)](https://github.com/ayalaphiscan/web-security-guard/releases)
[![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
[![Built with Claude Fable 5](https://img.shields.io/badge/built%20with-Claude%20Fable%205-d97757)](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

Similar plugins

All plugins for Security →

From the same set184

The whole set →
yaohe yaohe reads a repository and drafts channel-specific promotion materials. It leaves community posts for you to publish by hand. ★ 1,013repo stars forkmind forkmind is a Claude Code plugin that stores LLM calls as a DAG on your disk. Branch and rerun history to compare models or prompts. ★ 1,013repo stars social-vision social-vision inspects Instagram, TikTok, YouTube, and X posts directly in Claude Code. Transcribes audio, reads screen frames, and extracts key points. ★ 1,013repo stars design-from-code design-from-code is a Claude Code plugin that plans UI changes from source code and data models. It builds current and proposed HTML mockups, records the design, then hands implementation off. ★ 1,013repo stars tldr tldr caps Claude Code responses at five lines. Every reply stays concise until you explicitly disable the mode. ★ 1,013repo stars hyperflow hyperflow is a Claude Code plugin that turns a session into a pipeline of spec questions, batched tasks, parallel workers under review, and cross-session project memory. ★ 1,013repo stars claude-persona Generates AI persona panels to pressure-test product concepts ahead of field research. Runs agent-separated simulations with theme synthesis, cross-tabs, and direct verbatims. ★ 1,013repo stars verifying-phd-citations verifying-phd-citations is a Claude Code plugin for checking and formatting Korean academic citations in APA 7 style. It covers 14 source types and adds DOI data through CrossRef. ★ 1,013repo stars

Project sponsors

Companies that keep this analytics open