T09 · Insecure Skill Coding Practices
- Location
scripts/render_svg_to_png.py:114- Finding
Project-Controlled SVG Files Are Rendered by Edge with the Browser Sandbox Disabled
- Content
View full analysis
` elements - Event-handler attributes such as `onload` or `onclick` - `` content - ...[truncated 2119 chars]- Remediation
View remediation
` - `` - All `on*` event-handler attributes - External `href` and `xlink:href` values - `javascript:`, `file:`, and remote URI schemes - XML document type declarations and external entities 5. Allow only a documented subset of static SVG elements and attributes needed for brand graphics. 6. Disable browser networking during rendering through operating-system isolation or a container with no network access. 7. Execute the renderer under a dedicated low-privilege account or inside a disposable container or virtual machine. 8. Keep Edge updated and fail closed when safe isolation cannot be established. 9. Validate that input paths resolve beneath the intended project root before reading them. ]]>
