cassini-workshop: Skill for Claude Code

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

security-web is a skill for Claude Code from robconery/cassini-workshop. It costs 207 tokens per session (3,019 once invoked), scanned A, a copy of security-web, MIT.

A security review guide for TypeScript and JavaScript web applications. It checks how untrusted data crosses boundaries such as web requests, file uploads, and client-side code.

In plain words
What is it for?
Use it to review frontend and backend code for issues such as XSS, CSRF, injection, IDOR, SSRF, unsafe file uploads, and path traversal.
Why use it?
It helps find vulnerabilities before attackers can exploit weak authentication, unsafe input handling, exposed secrets, or incorrect access checks.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is robconery/cassini-workshop's own configuration. It tells Claude Code how to work on cassini-workshop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cassini-workshop configures →

Reuse

Borrowing it

Nothing to install: this file belongs to robconery/cassini-workshop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/robconery/cassini-workshop/main/.claude/skills/security-web/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/robconery/cassini-workshop

Made for: Claude Code.

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 security-web

README.md
[![agentmods](https://agentmods.dev/badge/skills/robconery/cassini-workshop/security-web/github.svg)](https://agentmods.dev/skills/robconery/cassini-workshop/security-web)
Your own site
<a href="https://agentmods.dev/skills/robconery/cassini-workshop/security-web"><img src="https://agentmods.dev/badge/skills/robconery/cassini-workshop/security-web/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 security-web

Your own site · 80×15
<a href="https://agentmods.dev/skills/robconery/cassini-workshop/security-web"><img src="https://agentmods.dev/badge/skills/robconery/cassini-workshop/security-web.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 207 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,019 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 100% copy Near-identical to another mod 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.00207 $0.03019
Opus 5.5 $0.00083 $0.01208
Sonnet 5.5 $0.00041 $0.00604
Haiku 4.5 $0.00021 $0.00302

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

Security

Grade A, and why

security-web 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/input-validation.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

100% identical to security-web — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/security-web/SKILL.md · 208 lines

How it starts

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

Web Application Security Review

Treat every byte that crossed a network boundary as hostile until proven otherwise, and prove it on the server. The client is an untrusted rendering surface you do not control. Frameworks add convenience (Server Actions, Nitro routes, Bun.serve, Hono middleware) that hides the trust boundary — this skill's job is to make the reviewer see the boundary the framework obscured.

🎯 Why: Design for Change

The goal of writing software is to be able to change it safely. Secure-by-default config (CSP, cookie flags, parameterized queries, authz-at-the-edge) means the next feature ships without re-litigating the threat model. Every insecure default you accept becomes a foothold the next change has to step around.

This skill is for security review and secure implementation. For general TypeScript correctness use typescript-best-practices; for schema-level integrity use postgres-dba. This skill never assumes another layer will catch it.

How to use this skill (review workflow)

  1. Map the attack surface first. Identify every trust boundary: HTTP handlers, Server Actions, form posts, websocket frames, file uploads, outbound fetches, postMessage, process.env reaching the client, third-party script tags. A vuln you didn't enumerate is a vuln you didn't find.
  2. Triage each input against the decision guide below; open the matching references/*.md for the exploit, the vulnerable pattern, the fix, and the false-positive caveat.
  3. Apply the framework reference (references/nextjs.md, nuxt.md, bun.md, hono.md) — the generic finding almost always has a framework-specific trap or a framework-specific fix.
  4. Report findings in the standard format (templates/finding.md): severity, location (file:line), a concrete exploit walkthrough, and the minimal fix. No exploit path stated → it is an observation, not a finding; say which.
  5. Recommend the secure default, not a bespoke patch. The templates/ configs (CSP, security headers, cookies, CORS) are the target state; a one-off escape is a stopgap.

Read the full file on GitHub · 208 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. 2mo ago First seen · 208 lines · 207 tokens per session scan A e9026350da7e

Subscribe to this mod's changes

security-web is a skill published in the GitHub repository robconery/cassini-workshop (1 stars, last pushed 4mo ago), licensed MIT. It adds 207 tokens to every session and 3,019 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to security-web, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

frontmcp-setup

Use when starting, scaffolding, or organizing a FrontMCP project. Covers creating a new project (CLI scaffold or manual) for Node, Vercel, and other targets; standalone versus Nx-monorepo layout, naming conventions, generators, and dependency rules; composing multiple @App classes, ESM packages, and remote MCP servers…

agentfront/frontmcp · 176 tokens

edge-commerce

Reduce latency globally by running geo-routing, A/B tests, and personalization logic at the network edge using Cloudflare Workers or Vercel.

finsilabs/awesome-ecommerce-skills · 30 tokens

review-stack

Stack review of one or more third-party tools (OXC, TanStack, Vite, cf, Sentry, pnpm, Claude Code...) against current official best practices, or of what a dependency bump brings (bumped): one parallel subagent per tool, verified findings, one consolidated plan in chat. USE WHEN: user runs /review-stack or explicitly…

louisbrulenaudet/monorepo-template · 115 tokens

spatialite

Use when adding spatial SQL to a single-file SQLite database with SpatiaLite — modspatialite loading, InitSpatialMetaData, AddGeometryColumn, CreateSpatialIndex/MbrWithin, STTransform and GEOS predicates, spatialitetool or ogr2ogr import of Shapefile, and GPKG fallback; also for 'no such module: modspatialite', 'no…

znlgis/opengis-skills · 115 tokens

research-brief

Produce a concise source-backed research brief with tradeoffs and confidence.

spyrae/kronos-agent-os · 17 tokens

cf

USE WHEN: running, finding, or troubleshooting Cloudflare CLI (cf) commands in this repo - dev servers, builds and their Build Output, Env types, startup profiling, production profiles, Workers Issues, and telemetry, local KV/D1/R2 data, the commands that still need Wrangler, or the cf equivalent of a Wrangler habit.…

louisbrulenaudet/monorepo-template · 81 tokens