Skill / SKILL.md

Api Mongo Agg Facet Bypass

NoorQureshi/security-skills

Bypass a MongoDB aggregation-pipeline stage allowlist by nesting disallowed read stages inside $facet, then $unionWith/$lookup sibling collections to exfiltrate secrets (invite tokens, creds, hashes). Load when: an endpoint accepts a user-supplied `pipeline` (or errors like "operator-form queries not accepted, use the pipeline parameter"), a Node/Express + MongoDB backend, 24-hex `_id`s, or an "advanced query" API. Authorized targets only.
3 views 30 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Bypass a MongoDB aggregation-pipeline stage allowlist by nesting disallowed read stages inside $facet, then $unionWith/$lookup sibling collections to exfiltrate secrets (invite tokens, creds, hashes). Load when: an endpoint accepts a user-supplied `pipeline` (or errors like "operator-form queries not accepted, use the pipeline parameter"), a Node/Express + MongoDB backend, 24-hex `_id`s, or an "advanced query" API. Authorized targets only.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/NoorQureshi/security-skills' skill-source

Use the complete skill-source/skills/api/api-mongo-agg-facet-bypass directory with your client’s skill installer.

  • skills/api/api-mongo-agg-facet-bypass

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/api/api-mongo-agg-facet-bypass

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
a4b942eafccb9ddd3657888596e87c912f53dfab891c0aabc612da4ff6e53db8
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills