Skip to main content

hunting-orm-and-query-builder-injection

Hunt injection that survives an object-relational mapper or query builder: untrusted input reaching a raw-query escape hatch, an unparameterizable identifier (a column, table, or sort order), or a structured filter or update object whose keys become query operators or column references. Covers raw-query methods that take a string or fragment, sort and column selectors taken from the request, and operator injection where a request body passed as a filter turns a comparison always-true or references a field it should not. Use when data access goes through an ORM or query builder and untrusted input reaches a raw method, an identifier argument, or a filter or update object rather than a bound value. The untrusted value that becomes query structure is the source, the data-access call is the sink, and the missing allowlist between them is the bug.

Jump to install

Source facts

Repository
UnboundCompute/security-agent-skills
Last source activity
August 21, 2026 at 08:02
Detected SKILL.md language
English
Stars
4
Forks
2

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.