hunt-nosqli
Skill by uphiago
Guides security testers through NoSQL injection checks on MongoDB, CouchDB and Redis, covering auth bypass, $where blind injection and data dumps. It is a Claude skill with step-by-step curl commands.
Install hunt-nosqli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/uphiago/recon-skills /tmp/recon-skills && mkdir -p ~/.claude/skills && cp -r /tmp/recon-skills/redteam/hunt-nosqli ~/.claude/skills/hunt-nosqliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/uphiago/recon-skills /tmp/recon-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/recon-skills/redteam/hunt-nosqli ~/.gemini/antigravity-cli/skills/hunt-nosqliAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
hunt-nosqli is a skill that describes how to hunt for NoSQL injection. It covers MongoDB operator injection using $gt, $ne, $regex and $in, along with $where JavaScript injection, CouchDB and Redis command injection. The skill is organised as a phased methodology: auth bypass tests on login endpoints, URL and form parameter injection, time-based $where detection, character-by-character data extraction with $regex, and Redis access via SSRF using gopher://. It also lists a bypass table, a chain table linking findings to higher impact, and severity guidance.
The skill is written for security testers and red teamers who are assessing targets that use MongoDB or Mongoose, CouchDB, Redis, or that show NoSQL error messages. It uses curl commands with timeouts and points to the nosqlmap tool for automation. It also cross-references related skills such as hunt-sqli, hunt-ssrf and hunt-rce.
Written from the project's SKILL.md and checked against it.
What it can do
- MongoDB auth bypass testsTries operator payloads like $gt, $ne, $regex and $in in JSON login bodies.
- URL and form parameter injectionTests array-style parameters such as username[$gt] in query strings and POST data.
- $where blind injectionChecks for time-based $where injection with a 5 second delay and blind data exfiltration.
- Regex data dumpEnumerates usernames character by character using $regex prefix matches.
- nosqlmap automationShows how to run the nosqlmap tool with attack modes 1 and 2.
- Redis via SSRFDescribes probing internal Redis through gopher:// and using SLAVEOF or CONFIG SET.
- Bypass and chain tablesLists defence bypasses and how a NoSQLi finding can chain to admin access or RCE.
- Severity guidanceRates admin auth bypass as Critical, user collection dump as High and blind injection as Medium.
What you need
- curl
- Python with pip3 (for nosqlmap)
Try asking
- Test this MongoDB login endpoint for operator injection using $ne and $gt.
- Check whether the $where operator is enabled on this search API with a time-based test.
- Enumerate usernames on this endpoint using a $regex prefix approach.
Good to know
- Blind NoSQL injection that only returns true or false is harder to exploit and needs data extraction or auth bypass to prove impact.
- Redis access through this method depends on an SSRF finding.
- The source notes that Elasticsearch script injection applies to pre-5.0 versions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: redteam/hunt-nosqli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to hunt-nosqli
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
hunt-nosqli: common questions
Which databases does hunt-nosqli cover?
The source covers MongoDB and Mongoose, CouchDB, and Redis, with a note on Elasticsearch script injection for pre-5.0 versions.
What is the highest impact NoSQL injection in this skill?
The skill says $where injection is the highest-impact variant because it evaluates JavaScript.
Does the skill automate testing?
It shows how to run nosqlmap with attack modes 1 and 2, and the rest of the methodology uses manual curl commands.
How do I install hunt-nosqli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hunt-nosqli free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is hunt-nosqli safe to use?
It scores 73 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 hunt-nosqli?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
