Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

nosql-injection

Skill by Zyrexnn

Describes NoSQL injection techniques for MongoDB, CouchDB and Redis, with payloads and a testing checklist. It is written for security testers who already know SQL injection.

  • Score 81
  • 1.1k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install nosql-injection

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Zyrexnn/Cybermes /tmp/Cybermes && mkdir -p ~/.claude/skills && cp -r /tmp/Cybermes/skills/nosql-injection ~/.claude/skills/nosql-injection

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install nosql-injection in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is an attack playbook for NoSQL injection. It explains how MongoDB query operators such as $ne, $gt and $regex can change query logic when user input is passed as an object instead of a string. It includes example login bypass payloads for JSON and form-encoded requests, a blind extraction method using $regex, and notes on $where JavaScript injection and aggregation pipeline injection.

The playbook also covers unauthenticated CouchDB and Redis exposure, detection payloads, and a testing checklist. It is aimed at penetration testers and security reviewers who want to check whether a backend accepts operator objects in its queries.

Written from the project's SKILL.md and checked against it.

What it can do

  • Operator injection overviewExplains how query operator objects differ from SQL string injection in MongoDB.
  • Login bypass payloadsLists JSON and URL-encoded examples that use $ne, $gt and $regex to test authentication.
  • Blind extraction with $regexDescribes character-by-character extraction of field values using a boolean response oracle.
  • $where injectionCovers server-side JavaScript injection in $where, including timing-based checks.
  • Aggregation pipeline injectionShows how user input in $match, $lookup and $out stages can be abused.
  • CouchDB and Redis checksLists exposed admin API and unauthenticated Redis checks on ports 5984 and 6379.
  • Detection payloads and checklistProvides test strings and a checklist for reviewing NoSQL-backed inputs.

Try asking

  • Give me a checklist for testing a login form for MongoDB operator injection.
  • Explain how $regex can be used for blind extraction of a password field.
  • List the detection payloads I should send to a search endpoint for NoSQL injection.

Good to know

  • The source states that $where does not give OS command execution, though older MongoDB builds raised RCE concerns.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/nosql-injection/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB

Alternatives to nosql-injection

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

nosql-injection: common questions

What is NoSQL injection according to this playbook?

The playbook describes it as injecting query operators, such as $ne or $gt, that change query logic. It differs from SQL injection, which breaks out of string literals.

Which databases does this skill cover?

It covers MongoDB in most depth, along with CouchDB HTTP admin exposure and unauthenticated Redis access.

Can $where be used to run operating system commands?

The source says $where does not give OS command execution. It notes that older MongoDB builds without a tight V8 sandbox historically raised RCE concerns.

How do I install nosql-injection?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is nosql-injection free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is nosql-injection safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to nosql-injection?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

nosql-injection Install

Add to stack

Loading.