Skip to main content
skill CX Codex

web-security — Claude Code skill for web security

The web-security Claude Code skill checks web code for common security flaws and adds relevant safeguards. It activates as login, API, upload, and other web features are built.

LicenseRef-Proprietary ★ 326 updated 2026-11-01

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill web-security -a claude-code
Open on GitHub

What web-security does

The skill identifies web features in code and adds matching security measures as they are developed. It covers authentication, API routes, and file uploads, with risks such as exposed secrets, XSS, SQL injection, and access to another user’s data.

For authentication, it includes password hashing, login rate limiting, and session-cookie settings. API examples check the session and validate input with Zod. The upload example checks MIME type and extension, caps file size at 10 MB, and creates a safe filename. JPEG, PNG, WebP, GIF, and PDF are accepted.

The upload example saves files under public/uploads. The listed frameworks are Next.js, React, Express, Remix, and SvelteKit.

What it helps with

  • check a login form for password-guessing safeguards
  • add session checks and input validation to an API route
  • validate uploaded files by type, size, and filename
  • spot exposed secrets and SQL injection in web code

Example prompts for the agent

  • Add a sign-up form and check how it handles passwords.
  • Protect the API route that reads a user’s data.
  • Review avatar uploads for unsafe filenames and file types.

How to install web-security

1Skills CLI (Vercel)

npx skills add mrhlaingbwardev/agentic-hacking-skills --skill web-security -a claude-code

2Manually: put the files in place

~/.claude/skills/web-security-advanced/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/web-security-advanced/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about web-security

How do I install web-security in Claude Code?

Run npx skills add mrhlaingbwardev/agentic-hacking-skills --skill web-security -a claude-code. The skill file path is ~/.claude/skills/web-security-advanced/SKILL.md.

What does web-security do?

It detects web features in code and adds security checks for them. The listed risks include XSS, SQL injection, CSRF, and SSRF.

Which file types does web-security allow for uploads?

The upload example accepts JPEG, PNG, WebP, GIF, and PDF files. It sets a 10 MB size limit.

Similar skills

All skills for Security →

From the same set28

The whole set →
disclosure-communication The disclosure-communication Claude Code skill helps draft messages about security findings. It activates for reports to vendors, PSIRTs, CERTs, or bug bounty teams. CX Codex +1 ★ 326repo stars web-fetch-advanced The web-fetch-advanced Claude Code skill tries alternate ways to retrieve web content when a standard fetch fails. It covers JavaScript-rendered sites, file downloads, custom headers and proxies. CX Codex +1 ★ 326repo stars opsec The opsec Claude Code skill runs preliminary checks before other skills. It activates around security-testing and scanning commands. CX Codex +1 ★ 326repo stars cve-threat-intel The cve-threat-intel Claude Code skill finds recent CVEs and searches for public PoCs. It activates on requests about new vulnerabilities, exploits, or threats affecting a specific product. CX Codex +1 ★ 326repo stars supply-chain This Claude Code skill covers software supply-chain attack risks. It activates for requests about dependencies, package registries, or CI/CD compromise. CX Codex +1 ★ 326repo stars red-team-web-methodology red-team-web-methodology — a Claude Code skill for assessing web application security. It guides comprehensive tests that combine manual checks with business logic analysis. CX Codex +1 ★ 326repo stars bounty-deep-hunt The bounty-deep-hunt Claude Code skill pushes bug bounty work past routine checks and into less obvious vulnerability paths. It tracks tests until a finding is verified or the evidence-backed ledger is complete. CX Codex +1 ★ 326repo stars npm-package-dev The npm-package-dev Claude Code skill guides npm package creation and publishing. It activates for requests about package.json, the npm registry, or package release. CX Codex +1 ★ 326repo stars

Project sponsors

Companies that keep this analytics open