mukul975/anthropic-cybersecurity-skills/exploiting-nosql-injection-vulnerabilities
Claude Code and agent skill by mukul975/anthropic-cybersecurity-skills
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Detects and exploits NoSQL injection vulnerabilities in MongoDB, CouchDB,
Install
npx vskill@latest install mukul975/anthropic-cybersecurity-skills/exploiting-nosql-injection-vulnerabilitiesSKILL.md
Exploiting NoSQL Injection Vulnerabilities
When to Use
- During web application penetration testing of applications using NoSQL databases
- When testing authentication mechanisms backed by MongoDB or similar databases
- When assessing APIs that accept JSON input for database queries
- During bug bounty hunting on applications with NoSQL backends
- When performing security code review of database query construction
Prerequisites
- Burp Suite Professional or Community Edition with JSON support
- NoSQLMap tool installed (
pip install nosqlmapor from GitHub) - Understanding of MongoDB query operators ($ne, $gt, $regex, $where, $exists)
- Target application using a NoSQL database (MongoDB, CouchDB, Cassandra)
- Proxy configured for HTTP traffic interception
- Python 3.x for custom payload scripting
Workflow
Step 1 — Identify NoSQL Injection Points
Step 2 — Perform Authentication Bypass
Step 3 — Extract Data Using Boolean-Based Blind Injection
Step 4 — Exploit JavaScript Injection via $where
Step 5 — Use NoSQLMap for Automated Testing
Step 6 — Test URL Parameter Injection
Key Concepts
| Concept | Description | |
|---|---|---|
| Operator Injection | Injecting MongoDB operators ($ne, $gt, $regex) into query parameters | |
| Authentication Bypass | Using operators to match any document and bypass login checks | |
| Blind Extraction | Character-by-character data extraction using $regex boolean responses | |
| $where Injection | Executing arbitrary JavaScript on the MongoDB server via $where operator | |
| Type Juggling | Exploiting how NoSQL databases handle different input types (string vs object) | |
| BSON Injection | Manipulating Binary JSON serialization in MongoDB wire protocol | |
| Server-Side JS | JavaScript execution context available in MongoDB for query evaluation |
Tools & Systems
| Tool | Purpose | |
|---|---|---|
| NoSQLMap | Automated NoSQL injection detection and exploitation framework | |
| Burp Suite | HTTP proxy for intercepting and modifying JSON requests | |
| MongoDB Shell | Direct database interaction for testing query behavior | |
| nosqli | Dedicated NoSQL injection scanner and exploitation tool | |
| PayloadsAllTheThings | Curated NoSQL injection payload repository | |
| Nuclei | Template-based scanner with NoSQL injection detection templates | |
| Postman | API testing platform for crafting NoSQL injection requests |
Common Scenarios
- Login Bypass — Bypass MongoDB-backed authentication using
{"$ne": ""}operator injection in username and password fields - Data Enumeration — Extract database contents character by character using
$regexblind injection when no direct output is visible - Privilege Escalation — Modify user role fields through NoSQL injection in profile update endpoints
- API Key Extraction — Extract API keys or tokens stored in MongoDB collections through boolean-based blind techniques
- Account Takeover — Enumerate valid usernames via regex injection then brute-force passwords through operator-based authentication bypass
Output Format
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/exploiting-nosql-injection-vulnerabilities/SKILL.md
Popularity
- Repository stars
- 6,099
- Repository forks
- 838
- 7-day trend score
- 44
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 8 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mukul975/anthropic-cybersecurity-skills/exploiting-nosql-injection-vulnerabilities)