<!-- keryn-summary:v1 -->
## Keryn AI-BOM


**Keryn — Checks passed &#40;Go&#41;**


Analysis: complete · Policy: checks passed · Approval: not recorded

base not recorded → analyzed 0000000

Cases: 7 current = 0 new + 0 existing + 7 unclassified. Unknown cleared from previous assessment. Newly blocking: unknown.

### Cases (7 of 7 shown; limit 20)

| Case | Effect | Location | Evidence | Contributing rules |
|---|---|---|---|---|
| Model Output Streamed or Rendered as Unsanitized HTML (sha256&#58;61dedc32607fae20a29bad35697c505ba7119b6cd124de61de2c63c8f1e01843) | review | ai&#95;route.ts:7 | pattern | 1 |
| Agent file write path traversal. (sha256&#58;dc9c0f2dd746743cfa27fe54474754ff1b22d4aa5298163cb64f7263345bd190) | review | ai&#95;route.ts:13 | pattern | 1 |
| Agent file write path traversal. (sha256&#58;91da11f4316f3023693b361fa2e473fe0f36452ab04c08d15e48c32f9022009b) | review | ai&#95;route.ts:15 | pattern | 1 |
| CWE-79 &#40;insecure-output-handling&#41;&#58; Renders raw HTML in React; if it carries LLM/markdown/user output, sanitize &#40;DOMPurify&#41;. (sha256&#58;fda094fae25a9c9150d9e993ce89bd34d70f35cc6f73a63ca3ace11908e79eac) | review | ui.tsx:6 | path-in-file | 6 |
| Assignment to innerHTML or outerHTML may render model, retrieved, or tool output as executable HTML. Confirm sanitizer use and source trust. (sha256&#58;f1c13928590c3148d0894548d457817226c49e42510b9efdaf77ddd9f6811a08) | review | ui.tsx:14 | path-in-file | 2 |
| Markdown rendering appears to allow raw HTML. If model or retrieved content reaches this renderer, this can become XSS. (sha256&#58;ff5a126e19946add5d2f52e4b33ab881325fafb7e7342ad075850a19dfc26092) | review | ui.tsx:16 | pattern | 1 |
| Assignment to innerHTML or outerHTML may render model, retrieved, or tool output as executable HTML. Confirm sanitizer use and source trust. (sha256&#58;f427b43820db7ba61aeafb03a9295b0d70e406061d9b69e298f05acd664ad793) | review | ui.tsx:18 | path-in-file | 2 |

0 cases omitted by display limit. 32 recorded rule hits; 25 non-case observations; 0 suppressed rule hits; 0 failed checks.

Exceptions&#58; 0 expired suppression entries; changes since the base unknown &#40;no base run with its exceptions&#41;

2 AI component(s) in `example-repo`.

### Raw rule details and AI-component constraints

| Level | Rule | Location | Message |
|---|---|---|---|
| error | seceng/unfiltered&#95;llm&#95;stream&#95;to&#95;client | ai&#95;route.ts&#58;7 | Model Output Streamed or Rendered as Unsanitized HTML · proof 1 &#40;pattern&#41; |
| warning | seceng/agent&#95;file&#95;write&#95;path&#95;traversal | ai&#95;route.ts&#58;13 | Agent file write path traversal. · proof 1 &#40;pattern&#41; |
| warning | seceng/agent&#95;file&#95;write&#95;path&#95;traversal | ai&#95;route.ts&#58;15 | Agent file write path traversal. · proof 1 &#40;pattern&#41; |
| error | vulnfix-ai-ai&#95;js&#95;dangerous&#95;html | ui.tsx&#58;6 | CWE-79 &#40;insecure-output-handling&#41;&#58; Renders raw HTML in React; if it carries LLM/markdown/user output, sanitize &#40;DOMPurify&#41;. · proof 2 &#40;path-in-file, confirmed by Deep&#41; |
| warning | seceng.llm05.inner-html-assignment | ui.tsx&#58;14 | Assignment to innerHTML or outerHTML may render model, retrieved, or tool output as executable HTML. Confirm sanitizer use and source trust. · proof 2 &#40;path-in-file, confirmed by Deep&#41; |
| warning | seceng.llm05.marked-html-enabled | ui.tsx&#58;16 | Markdown rendering appears to allow raw HTML. If model or retrieved content reaches this renderer, this can become XSS. · proof 1 &#40;pattern, needs review&#58; Deep found no data flow to it&#41; |
| warning | seceng.llm05.inner-html-assignment | ui.tsx&#58;18 | Assignment to innerHTML or outerHTML may render model, retrieved, or tool output as executable HTML. Confirm sanitizer use and source trust. · proof 2 &#40;path-in-file, confirmed by Deep&#41; |

**Coverage:** 1598/1598 rules executed &#40;0 unsupported, 0 partial, 0 timed out&#41;; 3 files scanned, 0 skipped; 15 absence findings collapsed into 13 repo-level findings.

_Inventory reflects static references only. Absence is not evidence of absence; presence does not prove runtime use._
