web-security-review

web-security-review is a skill for Claude Code, Codex from photostructure/coding-skills. It costs 172 tokens per session (3,978 once invoked), scanned A, original, MIT.

A security review guide for JavaScript and TypeScript web applications and Electron desktop applications. It looks for security weaknesses that can be demonstrated from the code and its configuration.

In plain words
What is it for?
Use it to review browser or server code, Electron processes, packaging, configuration, deployment files, and CI/CD settings for exploitable security problems.
Why use it?
It helps separate evidence-backed vulnerabilities from guesses or harmless patterns. This gives developers a focused list of issues to investigate and fix.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Part of the security plugin — 2 skills shipped together

Good fit Use it to review browser or server code, Electron processes, packaging, configuration, deployment files, and CI/CD settings for exploitable security problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/photostructure/coding-skills/web-security-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add photostructure/coding-skills --skill web-security-review
Clone the repo
git clone --depth 1 https://github.com/photostructure/coding-skills

Made for: Claude Code, Codex.

Or install security, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-security-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/photostructure/coding-skills/web-security-review/github.svg)](https://agentmods.dev/skills/photostructure/coding-skills/web-security-review)
Your own site
<a href="https://agentmods.dev/skills/photostructure/coding-skills/web-security-review"><img src="https://agentmods.dev/badge/skills/photostructure/coding-skills/web-security-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-security-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/photostructure/coding-skills/web-security-review"><img src="https://agentmods.dev/badge/skills/photostructure/coding-skills/web-security-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,978 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00172 $0.03978
Opus 5.5 $0.00069 $0.01591
Sonnet 5.5 $0.00034 $0.00796
Haiku 4.5 $0.00017 $0.00398

Measured 3mo ago against content hash 0adc83a4bd06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-security-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/security/skills/web-security-review/SKILL.md · 282 lines

How it starts

The opening of the file, as written. The whole thing — 282 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web and Electron Security Review (JavaScript / TypeScript)

Leaf-mode guard

If the task identifies your role as leaf-reviewer or sets delegation-budget: 0, read and follow references/validation-pass.md, validate only the supplied candidates, return the verdicts to the caller, and stop before the full workflow below.

Identify exploitable security vulnerabilities in JavaScript/TypeScript web and Electron desktop applications. Reason about the code the way a security researcher would — trace data flow, understand framework and runtime protections, and report only findings you can justify with concrete proof. Signal over noise.

This skill is a best-of-three composite. See ATTRIBUTION.md.

Scope

In scope: Node.js/TypeScript backends (Express, NestJS, Fastify, Next.js API routes), browser/SSR frontends (React, Vue, Angular, Next.js), and Electron main, preload, renderer, worker, and utility-process code. Server-side, client-side, and desktop JS/TS, plus the config, packaging, CI/CD, and IaC files that ship with them.

Out of scope: other languages (defer to a language-specific reviewer) and the exclusions in references/false-positives.md.

Report vs. research — the prime directive

  • Report on: only the file, diff, or path the user asked about.
  • Research: the entire codebase to establish the facts before reporting.

Before flagging anything, trace where the input actually comes from, whether it is validated/sanitized upstream, how it is configured, and what framework protection applies. Never report on pattern-match alone. Investigate first, report second.

Reporting gate: proof, not probability

Report a finding only when you can construct concrete proof appropriate to the class. If you can't describe how the bug actually manifests, it isn't a finding. Use one of these proof shapes:

  • Data-flow flaw: the exact attacker-controlled input, its route through the code, and the security-sensitive sink it reaches.
  • Exposure flaw: the sensitive value or resource, where an attacker can observe or retrieve it, and why the value is real and security-relevant. Never validate a suspected credential against a live service.
  • Configuration flaw: the effective unsafe setting, the attacker capability or reachable operation it affects, the security boundary it removes, and the concrete resulting impact.

Read the full file on GitHub · 282 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 282 lines · 172 tokens per session scan A 0adc83a4bd06

Subscribe to this mod's changes

web-security-review is a skill published in the GitHub repository photostructure/coding-skills (5 stars, last pushed 14d ago), licensed MIT. It adds 172 tokens to every session and 3,978 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

web-security-review compared with skills from other repositories

web-security-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web-security-reviewphotostructure/coding-skillsSkill514d agoMITA172Claude Code, Codex
github-pr-reviewfvadicamo/dev-agent-skillsSkill722mo agoMITA95Claude Code
github-pr-creationfvadicamo/dev-agent-skillsSkill722mo agoMITA75Claude Code
refactoring-patternswondelai/skillsSkill2.8ktodayMITA125Claude Code, Codex
auditoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA35Claude Code
boundariesoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA33Claude Code
triageoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA32Claude Code