web-security-guard — плагин для Claude Code: защита сайтов и установка
Плагин web-security-guard для Claude Code включает шесть скиллов и две слэш-команды для хардинга, защищённой авторизации, скрытия origin-сервера и установки WAF. Скиллы автоматически срабатывают при создании страницы логина или API.
MIT ★ 1 013 обновлён 2026-08-12
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install web-security-guard@awesome-claude-code-pluginsЧто делает web-security-guard
Плагин включает скиллы hardening-siti, autenticazione-sicura, difesa-attacchi, privacy-pagamenti, architettura-fortezza и sicurezza-github. Первые три срабатывают автоматически, когда Claude создаёт страницу логина или API: накладывают заголовки безопасности, CSP, валидацию входа, хеширование паролей, email-коды подтверждения, TOTP и passkey-поддержку. Скилл difesa-attacchi ставит middleware guardian — WAF на чистом Node.js без рантайм-зависимостей, который детектирует SQLi, XSS, path traversal, брутфорс и ботов, ведёт rate limiting и IP-блоклист и умеет в stealth-режим (соединение обрывается без ответа). Скилл privacy-pagamenti защищает платёжные данные при интеграции Stripe или PayPal: проверяет webhook-подписи, минимизирует хранимый объём, соблюдает PCI-DSS и GDPR.
architettura-fortezza проектирует четырёхслойную архитектуру: невидимый reverse-proxy щит, скрытый origin-сервер, WireGuard-сетку и air-gapped оффлайн-хранилище с зашифрованными бэкапами. Шаблоны развёртывания лежат в references/fortezza/. Скилл sicurezza-github добавляет в репозиторий GitHub Actions для сканирования зависимостей, секретов, CodeQL и Dependabot. Публичный веб-порт скрыть нельзя — скрываются SSH, админка, origin и хранилище; против volumetric DDoS нужен внешний CDN.
Команды /proteggi-sito и /security-audit запускают полную установку защиты или аудит проекта с отчётом.
Какие задачи решает
- наложить хардинг на сайт: заголовки безопасности, CSP, валидацию входа
- построить авторизацию с email-кодами, 2FA и passkey
- поставить WAF-агент с детекцией SQLi, XSS и брутфорса
- скрыть origin-сервер за обратным прокси и WireGuard-сеткой
- добавить GitHub Actions для сканирования зависимостей и секретов
Примеры запросов агенту
- Построй страницу логина с email-верификацией и 2FA
- Добавь Stripe-подписки с защитой платёжных данных
- /web-security-guard:security-audit — запусти аудит безопасности проекта
Как установить web-security-guard
Через маркетплейс плагинов
/plugin marketplace add ccplugins/awesome-claude-code-plugins/plugin install web-security-guard@awesome-claude-code-pluginsПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о web-security-guard
Как установить web-security-guard в Claude Code?
Выполни /plugin marketplace add ccplugins/awesome-claude-code-plugins, затем /plugin install web-security-guard@awesome-claude-code-plugins.
Что делает web-security-guard?
Плагин автоматически применяет хардинг при создании сайтов, строит защищённую авторизацию с 2FA и passkey, ставит WAF-агент с lockdown-режимом, скрывает origin-сервер и добавляет GitHub Actions для сканирования уязвимостей.
Что такое stealth-режим WAF-агента?
Stealth-версия middleware guardian обрывает соединение без ответа вместо отправки 403, чтобы атакующий не получил информации о сработавшей защите.
Исходный текст
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