Back to skills
SKILL.md
Nosql Injection
ASecurityNoSQL injection — MongoDB and document/KV stores. Operator injection (JSON and param-array), authentication bypass, blind boolean/regex extraction, and server-side JS execution (//mapReduce). Tier 1. Payloads: payloads/nosql.md. Use when input reaches a NoSQL query (JSON APIs, Mongo/Express/PHP backends).
- 16 stars
- 0 votes
- 0 copies
- 3 views
- Added November 17, 2026
Works with
Security analysis
100/100npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill nosql-injection --agent claude-codeAre you the author of Nosql Injection?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-nosql-injection)---
name: nosql-injection
description: "NoSQL injection — MongoDB and document/KV stores. Operator injection (JSON and param-array), authentication bypass, blind boolean/regex extraction, and server-side JS execution (//mapReduce). Tier 1. Payloads: payloads/nosql.md. Use when input reaches a NoSQL query (JSON APIs, Mongo/Express/PHP backends)."
---
# NoSQL Injection
Operator and type-juggling injection into document queries. Inject in JSON values **and keys**, and in string contexts. Payloads: `${CLAUDE_PLUGIN_ROOT}/payloads/nosql.md`.
## Trigger phrases
`nosql injection, mongodb injection, $ne, $where, $regex, operator injection, nosqli`
## Method
1. **Auth bypass:** `{"user":"admin","pass":{"$ne":null}}`, `{"user":{"$gt":""},"pass":{"$gt":""}}`; query-string array form `user[$ne]=x&pass[$ne]=x`.
2. **Type juggling / WAF bypass:** switch form↔JSON; arrays/objects where strings expected — often evades WAFs.
3. **Blind extraction:** `{"pass":{"$regex":"^a"}}` — binary-search each char by response diff.
4. **Server-side JS (misconfig):** `{"$where":"sleep(5000)"}` (time-blind), `$where`/`$function`/`$accumulator`/mapReduce for JS exec → potential RCE.
5. **Modern:** duplicate-JSON-key precondition-strip; Mongoose bypass classes (verify version, e.g. CVE-2025-23061-style).
## Escalation
Auth bypass → account access; $where JS → data exfil/RCE on misconfigured instances.
## 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 injected query/operator, the bypass/extraction result, and (for $where) the execution proof. Use OAST/time for blind.
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.