feat(web-security): expand SQLi-to-RCE, math-rendering, and XS-Leak coverage - #122
Merged
GangGreenTemperTatum merged 2 commits intoAug 14, 2026
Merged
Conversation
…injection skills and ORB service-worker XS-Leak New skills and technique coverage from referenced security research: - sqli-to-rce-escalation: escalate a confirmed SQL injection into OS command execution or a planted webshell. DBMS-complete privilege preflight (MSSQL sysadmin, PostgreSQL rolsuper / pg_execute_server_program, MySQL FILE + secure_file_priv, Oracle DBA, embedded Java owners) and OS-reach primitives (xp_cmdshell, OLE Automation, COPY TO PROGRAM, pg_cron non-stacked ORDER BY reach, INTO OUTFILE/DUMPFILE UDF, Derby SYSCS_EXPORT_QUERY, H2 CREATE ALIAS). Covers MSSQL Msg 574 user- transaction COMMIT breakout, second-order write/read split, terminator and URL-encoding traps. Fills the gap left by blind-sqli-extraction, which stops at data read. - math-rendering-macro-injection: abuse user-controlled TeX macros in MathJax/KaTeX renderers -- newcommand-package operator shadowing (priority -1 CommandMap, no base lookup), KaTeX \def/\href trust and \html* sinks, macro-expansion DoS (maxMacros / maxExpand), with content-integrity/UI-redress and link-injection impact framing and remediation configs. - browser-side-channel: add ORB status-code XS-Leak revived via a service-worker fetch proxy that rewrites Sec-Fetch-Dest to "empty", turning ORB network errors into blank 200s so the script onload/onerror status-code oracle works again in modern Chrome/Firefox. Bumps web-security to 1.9.0 (81 skills).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Evaluated recent public web-security research and integrated the reusable techniques that filled genuine gaps in the capability playbook set. Markdown-only changes (new/updated SKILL.md files) plus a version bump — no tooling, MCP, or runtime changes.
Three additions, each vetted against the existing 79 skills to avoid duplication:
1.
sqli-to-rce-escalation(new skill)Escalates a confirmed SQL injection into OS command execution or a planted webshell.
blind-sqli-extractionalready covers reading data through an oracle, but nothing covered the escalation-to-RCE path. DBMS-complete:sysadmin, PostgreSQLrolsuper/pg_execute_server_program, MySQLFILE+secure_file_privsemantics, Oracle DBA, embedded-Java owners) — the escalation is gated on the DB role, not the injection.xp_cmdshell, OLE Automation,COPY TO PROGRAM, pg_cron non-stackedORDER BYreach,INTO OUTFILE/DUMPFILEUDF, DerbySYSCS_EXPORT_QUERY→ JSP webshell, H2CREATE ALIAS.COMMITbreakout, second-order write/read split, terminator + URL-encoding traps.2.
math-rendering-macro-injection(new skill)Abuse user-controlled TeX macros in MathJax/KaTeX renderers (GitHub-class content-integrity bug). Covers
newcommand-package operator shadowing (priority-1CommandMap, no base lookup), KaTeX\def/\hreftrustand\html*sinks, macro-expansion DoS (maxMacros/maxExpand), impact framing, and remediation configs. No prior skill touched math-rendering surfaces.3.
browser-side-channel(extended)Added the ORB status-code XS-Leak revived via a service-worker
fetchproxy that rewritesSec-Fetch-Desttoempty, turning ORB network errors into blank 200s so the<script>onload/onerrorstatus-code oracle works again in modern Chrome/Firefox. Complements the existing connection-pool / ETag / timing techniques.Evaluated but intentionally not added:
targetOriginIP-normalization bypass — already covered indom-vulnerability-detection.sast/ supply-chain capability, not web-security.Validation
dreadnode capability validate capabilities/web-security→ passes (81 skills; the twocaido-cli/burpwarns are pre-existing external-CLI checks, confirmed identical on cleanmain).trust:falseforbids\href; MathJaxpackages: {'[-]': [...]}removal syntax).secure_file_priv NULL= export-disabled, addedpg_execute_server_program, Oracle external-job and Derby CSV-quoting caveats, References + Checkpoints).Bumps
web-security1.8.0→1.9.0.