split-layout-technical
Warn
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: MEDIUMOBFUSCATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [OBFUSCATION]: The file
demo/index.htmlcontains a large Base64-encoded string (encodedHtml) that decodes to a full HTML document including JavaScript and CSS logic. This technique hides the implementation of the demo from plain-text inspection. - [INDIRECT_PROMPT_INJECTION]: The demo system in
demo/index.htmlis designed to ingest and process untrusted asset data and metadata provided at runtime. - Ingestion points: The demo script listens for
neuform-assets-v1messages from the parent window to hydrate its content with binary data. - Boundary markers: The demo content is executed within an
iframeusing thesandbox="allow-scripts"attribute and a restrictive Content Security Policy (CSP) defined in thesrcdocheader. - Capability inventory: The decoded demo script performs DOM manipulation, asset replacement via Blob URLs, and utilizes GSAP for animations. It also requests runtime scripts from local relative paths.
- Sanitization: A Content Security Policy is implemented to restrict the demo's capabilities, including setting
default-src 'none'and specifying allowed font and script origins. - [DYNAMIC_EXECUTION]: The demo utilizes
iframe.srcdocto dynamically load and execute the HTML and JavaScript content decoded from theencodedHtmlstring.
Audit Metadata