nosqli
Skill by BitterSecurity
Explains NoSQL injection attack patterns for MongoDB, CouchDB, Firebase and Redis, with payloads, tools, severity ratings and defender guidance. It is aimed at security testers reviewing web apps and data stores.
Install nosqli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/BitterSecurity/Decepticon /tmp/Decepticon && mkdir -p ~/.claude/skills && cp -r /tmp/Decepticon/packages/decepticon/decepticon/skills/standard/exploit/web/nosqli ~/.claude/skills/nosqliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/BitterSecurity/Decepticon /tmp/Decepticon && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Decepticon/packages/decepticon/decepticon/skills/standard/exploit/web/nosqli ~/.gemini/antigravity-cli/skills/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
This skill is a reference for NoSQL injection. It explains that NoSQL stores parse JSON and native objects, so user input that becomes part of a query object can change the query. It covers MongoDB operator injection with $ne, $gt and $regex for auth bypass and blind extraction, plus server-side JavaScript injection through $where. It also lists attack checks for open CouchDB, public Firebase Realtime Database rules and unauthenticated Redis.
The file includes curl and redis-cli commands, a blind extraction loop, a severity table and defensive code examples for typechecking input. It names tools such as NoSQLMap and mongoaudit. It is written for security testers and developers reviewing NoSQL-backed applications.
Written from the project's SKILL.md and checked against it.
What it can do
- MongoDB operator injectionShows $ne, $gt and $regex payloads for login bypass and blind character extraction.
- Server-side JS injectionGives $where payloads, including a time-based example using sleep.
- Blind extraction scriptProvides a bash loop that tests characters against a login endpoint with $regex.
- CouchDB exposure checksLists curl commands to read _all_dbs and _users documents on an open CouchDB.
- Firebase public-read checkShows a curl request that returns the database when rules allow public reads.
- Redis unauthenticated checksLists redis-cli commands for INFO and related checks on an unauthenticated Redis server.
- Severity tableRates common NoSQL findings from high to critical with scores.
- Defender guidanceGives typecheck examples and notes on parameterized queries and Mongoose schemas.
What you need
- curl
- redis-cli
- jq
Try asking
- Show MongoDB operator injection payloads for a login form with JSON input.
- Explain how to check a Firebase project for public-read database rules.
- Rate the severity of an unauthenticated Redis server on an internal network.
Good to know
- The $where example is deprecated in MongoDB 4.4 but may still appear in legacy systems.
- The source describes the Redis module-loading attack only when the server runs as root and the module directory is writable.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/decepticon/decepticon/skills/standard/exploit/web/nosqli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md3 KB
Alternatives to nosqli
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
nosqli: common questions
Which NoSQL databases does nosqli cover?
The skill covers MongoDB, CouchDB, Firebase Realtime Database and Redis. MongoDB is described as the most common target.
How can developers defend against these attacks?
The source recommends typechecking request fields before a query, using parameterized queries or ODMs such as Mongoose, and setting strictQuery in Mongoose.
What tools does the skill mention?
It names NoSQLMap for automated MongoDB injection, mongoaudit as a config scanner, Burp Intruder with a payload list, and fuzzdb for NoSQL payload variants.
How do I install nosqli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is nosqli free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is nosqli safe to use?
It scores 83 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 nosqli?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
