Skip to content

fix(web): safely serialize AIBOM data in result template - #111

Open
andife wants to merge 1 commit into
GenAI-Security-Project:mainfrom
andife:fix/result-template-json-escaping
Open

andife wants to merge 1 commit into
GenAI-Security-Project:mainfrom
andife:fix/result-template-json-escaping

Conversation

@andife

@andife andife commented Oct 18, 2026

Copy link
Copy Markdown

Summary: Serialize generated CycloneDX JSON with the context-aware Jinja tojson filter, preventing model metadata from terminating the surrounding script element. Adds a script-terminator regression test. Testing: targeted web-controller tests and the full test suite pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant