nosql-injection

Detect NoSQL injection via MongoDB operator manipulation and blind enumeration.

241|28|Updated May 20, 2026
One-click install
npx skills add https://github.com/ok-helloworld/vibe-pentest --skill nosql-injection-ok-helloworld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nosql-injection
Source: https://github.com/ok-helloworld/vibe-pentest/tree/main/references/pentest_skills/nosql-injection
Command: npx skills add https://github.com/ok-helloworld/vibe-pentest --skill nosql-injection-ok-helloworld

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you identify and validate NoSQL injection weaknesses where JSON query objects, flexible search filters, or backend query DSLs can be manipulated to change database query logic.

Core Features & Use Cases

  • Operator-based exploitation guidance: Shows how payloads using MongoDB-style operators (for example $ne, $gt, $regex, $exists, $in) can bypass authentication or broaden query matches.
  • Blind and logic-abuse attack patterns: Explains boolean or timing oracles (for example via $regex or $where) to support data extraction and enumeration.
  • Broader NoSQL surface coverage: Covers aggregation pipeline injection concepts plus checks for CouchDB and Redis exposure patterns that may indicate similar injection risk.
  • Practical testing checklist: Provides targeted input variants for JSON and URL-encoded form endpoints and highlights typical detection signals like operator-related error messages.

Quick Start

Use the nosql-injection skill to test a suspected login or search endpoint by attempting JSON and URL-encoded operator manipulations, then confirm impact using the provided blind-oracle and checklist guidance while keeping actions within an authorized scope.

Frequently Asked Questions about nosql-injection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does MongoDB operator injection bypass authentication?

MongoDB operator injection bypasses authentication by manipulating JSON query objects with operators like $ne or $gt to force true evaluations. This Skill guides validation of these flaws by demonstrating how $regex and $where logic abuse alters query matching behavior.

What is blind data extraction in NoSQL injection?

Blind data extraction in NoSQL injection leverages boolean or timing oracles using $regex or $where operators. This Skill explains how to select exploitation strategies that infer data character by character without direct database output.

How do I test login endpoints for NoSQL injection vulnerabilities?

Test login endpoints for NoSQL injection by submitting JSON and URL-encoded operator manipulations. This Skill provides a practical testing checklist with targeted input variants and highlights detection signals like operator-related error messages.

Does NoSQL injection apply to CouchDB and Redis backends?

NoSQL injection applies to CouchDB and Redis-like backends where user input transforms into query DSLs. This Skill covers broader surface patterns and aggregation pipeline injection concepts to identify similar logic manipulation risks.

How do aggregation pipeline injection attacks work?

Aggregation pipeline injection works by manipulating user input that transforms into pipeline stages to alter database query logic. This Skill provides guidance on these attack concepts alongside standard MongoDB-style operator manipulation checks.

What are the limitations of NoSQL injection testing checklists?

Limitations of NoSQL injection testing checklists include varying backend DSL support and the need to keep actions within an authorized scope. This Skill helps navigate constraints by providing DB-agnostic coverage while confirming impact safely.