nestjs-security-review

nestjs-security-review is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 50 tokens per session (1,015 once invoked), scanned A, original, MIT.

A security review checklist for NestJS APIs, covering service registration, input validation, and protected routes.

In plain words
What is it for?
Use it to review a NestJS controller, module, data-transfer object, or route guard.
Why use it?
It helps find API code that is not wired up, accepts unchecked input, or allows access without the required guard.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it to review a NestJS controller, module, data-transfer object, or route guard.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beel-collab/presets.dev/nestjs-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 beel-collab/presets.dev --skill nestjs-security-review
Clone the repo
git clone --depth 1 https://github.com/beel-collab/presets.dev

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 nestjs-security-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/beel-collab/presets.dev/nestjs-security-review/github.svg)](https://agentmods.dev/skills/beel-collab/presets.dev/nestjs-security-review)
Your own site
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/nestjs-security-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/nestjs-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 nestjs-security-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/nestjs-security-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/nestjs-security-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,015 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.00050 $0.01015
Opus 5.5 $0.00020 $0.00406
Sonnet 5.5 $0.00010 $0.00203
Haiku 4.5 $0.00005 $0.00102

Measured 20d ago against content hash 22aefcedc40d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nestjs-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 20d 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.

antigravity/nestjs/nestjs-security-review/SKILL.md · 95 lines

How it starts

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

NestJS Security Review Skill for Antigravity CLI

Install

Install the native export at .agents/skills/nestjs-security-review/SKILL.md (one file shared with Codex). Copy that export, not this catalog file. Catalog fields such as tools and author are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read .agents/skills, so a second copy with the same name collides.

NestJS Security Review

Shared skill nestjs-security-review for NestJS. Codex and Antigravity CLI both read .agents/skills/nestjs-security-review/SKILL.md. Install this one file. Codex calls it with $nestjs-security-review or /skills. Cursor, GitHub Copilot, and Devin also read .agents/skills. A second copy with the same name collides. Do not install another tool's file there.

When to run

Run this review for a NestJS controller, module, DTO, or guard.

When to leave it

Stop for an Express app that does not use Nest. Do not upgrade Nest unless the user asked.

Steps

  1. Read the installed @nestjs/core version and the Node engine. A pattern from a newer major is a finding.
  2. For each new provider, confirm it is registered and exported only if another module injects it. A missing registration is a high finding.
  3. For each @Body(), confirm a real check. A class DTO with ValidationPipe, or @Body({ schema }) with StandardSchemaValidationPipe registered, is valid. Do not flag the schema form. An interface, or a schema option with no pipe, is a high finding.
  4. For each write, confirm a guard and that the service does not persist a client-supplied role or owner from a spread DTO.
  5. Confirm the global validation pipe is still enabled.
  6. Run the project's test script only if the user asked. Otherwise write not run.

Output

Findings with severity, file, line, the missing provider or guard, and a fix.

## Findings
- high | path:line | what is wrong | what to do instead

## No findings
Say "No findings" and list the files you opened. A search you skipped is not a clean result.

## Example
Input: `@Post() create(@Body() body: CreateNote)` where `CreateNote` is only an interface.
Output: high | notes.controller.ts:14 | an interface is erased and does not validate | use a class with `ValidationPipe`, or `@Body({ schema })` plus `StandardSchemaValidationPipe`.

Read the full file on GitHub · 95 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. 20d ago First seen · 95 lines · 50 tokens per session scan A 22aefcedc40d

Subscribe to this mod's changes

nestjs-security-review is a skill published in the GitHub repository beel-collab/presets.dev (3 stars, last pushed 10d ago), licensed MIT. It adds 50 tokens to every session and 1,015 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-11-13.

Related

nestjs-security-review compared with skills from other repositories

nestjs-security-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nestjs-security-reviewbeel-collab/presets.devSkill310d agoMITA50Claude Code, Codex
typescript-developmentsammcj/agentic-codingSkill175yesterdayApache-2.0A17Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex