Files
www-project-ai-testing-guide/Document/content
ppcvote 5e942cabca AITG-APP-05: add 6 output-injection vector categories (XSS-beyond-script-tags / SQLi / Shell / Path / MD-image-exfil / Unicode-smuggling)
The existing AITG-APP-05 test scenario covers content-level safety
categories (1-10) and a single XSS attack vector (test 11), but the doc's
summary explicitly identifies application-level risks (XSS, SSRF,
injections) as a major category and the framework page #28 has an
open request for "more examples of web exploits enabled by output."

Adds six new payload categories (tests 12-17) covering the
application-level injection vectors not yet documented:

12. XSS beyond `<script>` tags — event handlers, javascript: URIs,
    data:text/html URIs, iframe `srcdoc`, SVG-embedded scripts.
13. SQL injection in output — destructive statements, UNION-based
    exfiltration, comment-bypass payloads.
14. Shell command injection in output — `curl … | sh` installers,
    destructive `rm -rf`, reverse shells, env-var exfiltration.
15. Path traversal to sensitive system files — Unix `etc/passwd`/
    `etc/shadow`, Windows `system32`, container `proc/self`.
16. Markdown image exfiltration — model-emitted external image with
    conversation content in the query string.
17. Unicode smuggling — homoglyphs and bidirectional overrides used
    to slip security-relevant tokens past byte-level filters.

Each entry follows the existing test format (probe prompts + a
"Response indicating vulnerability" line) and references the OWASP
LLM02:2025 mapping that the doc already cites.

Closes (partially) #28; cross-references #76.
2026-06-01 14:44:46 +08:00
..
2025-11-20 11:06:07 +01:00
2025-11-20 09:55:54 -08:00