/viperclaw:viper-nodejs-express-nestjsfrom viperclaw
Audits Node.js backend apps (Express, NestJS, Fastify) for security issues: Guard/Pipe ordering, prototype pollution, trust-proxy boundaries, child_process sinks, and event-loop ReDoS.
Ships in viperclaw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
viper-nodejs-express-nestjs)p/nodejs & p/typescript, eslint-plugin-security.flowchart LR
Req["Express / NestJS Request"] --> Guard["AuthGuard + ValidationPipe(whitelist)"] --> Proto["Prototype-Safe Object Handling"] --> Exec["execFile (shell: false) / Safe Path"]
viperclaw taint . --db .viperclaw/graph.db
@Public(), UseGuards, ValidationPipe, app.set('trust proxy', Object.assign, lodash.merge, child_process, vm.runInNewContext.new ValidationPipe({ whitelist: true, forbidNonWhitelisted: true, transform: true }) is registered globally, and audit every @Public() decorator to ensure sensitive controllers are not inadvertently exposed.qs depth/allowPrototypes), and dynamic property assignments (obj[userKey][subKey] = val); use Object.create(null) or Map for user-keyed dictionaries.trust proxy & Forwarded Header Boundaries: Verify app.set("trust proxy", ...) is configured with the exact hop count or CIDR of the upstream load balancer so rate limiters and audit logs cannot be circumvented via untrusted X-Forwarded-For headers.child_process.exec(cmd) with execFile(bin, args, { shell: false }), and never use Node's built-in vm module to run untrusted code.res.sendFile or fs.createReadStream, use path.resolve(ROOT_DIR, userPath) and verify resolved.startsWith(ROOT_DIR + path.sep).// ❌ VULNERABLE: NestJS DTO without whitelist allows mass-assigning role
app.useGlobalPipes(new ValidationPipe());
// ✅ HARDENED: Strips unknown properties and rejects unexpected fields
app.useGlobalPipes(new ValidationPipe({
whitelist: true,
forbidNonWhitelisted: true,
transform: true,
}));
OWASP NodeJS Cheat Sheet, Semgrep Node/TS, CWE-1321, CWE-78| Severity Tier | Baseline CVSS v3.1 Vector | Qualifying Security Impact |
|---|---|---|
| CRITICAL (9.0–10.0) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | Unauthenticated remote code execution, cross-tenant authentication or isolation gap, or direct theft of funds/keys. |
| HIGH (7.0–8.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | Authenticated privilege escalation, unauthorized sensitive data exposure, or single-request service outage. |
| MEDIUM (4.0–6.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | Scoped information disclosure, non-admin state mutation, or configuration weakness requiring user interaction. |
| LOW (0.1–3.9) | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N | Defense-in-depth hardening gap requiring high precondition complexity and minimal direct impact. |
viperclaw taint . --db .viperclaw/graph.db and viperclaw verify to record the verified state in .viperclaw/graph.db.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zahidoverflow/viperclaw --plugin viperclaw72 skills in this plugin
/viper-agent-skill-supplychainAI Agent Skill, Plugin & MCP Config Supply-Chain Auditor (modeled on NVIDIA SkillSpector & OWASP Agentic Skills Top 10). Audits SKILL.md bundles and MCP JSON configs./viper-ai-llm-guardrailsAI, LLM & MCP Application Security & Guardrails Auditor (OWASP LLM Top 10). Reviews prompt boundaries, RAG data isolation, tool-call authorization, and output sanitization./viper-api-gateway-apigee-kongAPI Gateway, BFF & Rate-Tier Policy Auditor (Kong, AWS API Gateway, Apigee, Envoy Gateway). Reviews JWT authorizers, backend origin lockdown, and route-level quotas.Other plugins' skills for the same job