security-audit

security-audit is a skill for Claude Code, Codex from KhaledSaeed18/node-express-boilerplate. It costs 53 tokens per session (735 once invoked), scanned A, original, MIT.

A security review checklist for an Express API, a web service built with the Express Node.js framework. It checks login tokens, request-forgery protection, traffic limits, security headers, input checks, secrets, and dependencies.

In plain words
What is it for?
Use it for a project-specific security audit, a hardening review, or a release check of an Express API.
Why use it?
It helps find security weaknesses before release without changing the code during the review. Findings are reported by seriousness with references to the relevant file and line.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it for a project-specific security audit, a hardening review, or a release check of an Express API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khaledsaeed18/node-express-boilerplate/security-audit
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 KhaledSaeed18/node-express-boilerplate --skill security-audit
Clone the repo
git clone --depth 1 https://github.com/KhaledSaeed18/node-express-boilerplate

Made for: Claude Code, Codex.

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-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/khaledsaeed18/node-express-boilerplate/security-audit/github.svg)](https://agentmods.dev/skills/khaledsaeed18/node-express-boilerplate/security-audit)
Your own site
<a href="https://agentmods.dev/skills/khaledsaeed18/node-express-boilerplate/security-audit"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/node-express-boilerplate/security-audit/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-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/khaledsaeed18/node-express-boilerplate/security-audit"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/node-express-boilerplate/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 735 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.00735
Opus 5.5 $0.00021 $0.00294
Sonnet 5.5 $0.00011 $0.00147
Haiku 4.5 $0.00005 $0.00073

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

Security

Grade A, and why

security-audit 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 1mo 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.

.agents/skills/security-audit/SKILL.md · 53 lines

How it starts

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

Audit the codebase against this project's security architecture. Report findings ordered by severity with file:line references; do not change code unless asked.

1. Authentication & tokens

  • JWT access/refresh tokens must be delivered as signed HttpOnly cookies (src/services/auth.service.ts, cookie options in the auth controller). Flag any token exposed in a JSON body or non-HttpOnly cookie.
  • Cookie flags: httpOnly: true, secure in production, sameSite set, correct maxAge matching token expiry.
  • Refresh-token rotation: refresh must invalidate/replace the old token, never extend it silently.
  • protect middleware (src/middleware/auth.middleware.ts) applied to every non-public route; 401 for unauthenticated, 403 for authenticated-but-forbidden.
  • Ownership checks in services: a user must never read/update/delete another user's records (check every repository query filters by userId).

2. CSRF

  • doubleCsrfProtection applied to all mutating routes (POST/PUT/PATCH/DELETE) in every file in src/routes/.
  • Token endpoint GET /auth/csrf-token must not itself be state-changing.

3. Rate limiting & headers

  • Every route group attaches a limiter from src/middleware/limiter.middleware.ts; auth routes must have the strictest limit.
  • helmet and CORS configured in src/app.ts; CORS origin must come from config, never * with credentials.
  • trust proxy set correctly so limiters key on the real client IP.

4. Input validation & output shaping

  • Every POST/PUT/PATCH route has a Zod validation middleware from src/validations/.
  • Params/query used in queries (ids, pagination) are validated, not passed raw.
  • Services map entities through toResponseDTO() — flag any handler returning a raw Prisma entity (risk: leaking password, token hashes, internal fields).
  • Error responses come only from src/errors/ + global error middleware; flag any res.status().json() on an error path (risk: inconsistent shape, stack leaks). Error middleware must not expose stack traces or Prisma error details in production.

Read the full file on GitHub · 53 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. 1mo ago First seen · 53 lines · 53 tokens per session scan A bd3211b4fee8

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository KhaledSaeed18/node-express-boilerplate (36 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 735 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

triage-contributor-pr

Triage open pull requests from external contributors to prisma/orm and produce a per-PR verdict with evidence. Use when a maintainer asks to triage, evaluate, assess, or review the queue of incoming contributor PRs, to decide whether a fork PR is safe to run CI on, to check whether a PR is in scope for its version…

prisma/orm · 131 tokens

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens

review-triage-phase

Produces canonical review actions from fetched review state and renders action markdown. Use when the user wants only triage/action-planning for the review-framework workflow.

prisma/orm · 36 tokens

writing-emdash-docs

Write, revise, and review EmDash documentation for technical accuracy, useful structure, house style, and natural prose. Use when working on user documentation, guides, API reference pages, migration or upgrade guides, READMEs, contributor documentation, technical specifications, or release notes in the EmDash…

emdash-cms/emdash · 85 tokens

api-contract-audit

Static OpenAPI contract audit - endpoint drift (spec vs code), schema drift, status-code mismatch, breaking-change detection vs previous spec version, versioning consistency, security scheme alignment, deprecation markers, Richardson Maturity L0-L3 scoring. Framework auto-gen for FastAPI, NestJS…

marcoguillermaz/Tierward · 78 tokens

repo-hardening

Apply a security hardening baseline to a GitHub repository via gh api — branch and tag rulesets, Actions token defaults, secret scanning, Dependabot, private vulnerability reporting, CodeQL, immutable releases, and branch-restricted environments for deploy secrets. The write half of the pair with audit:security-audit…

edloidas/skills · 75 tokens