T08 · Insecure Dependencies
- Location
SKILL.md:101- Finding
Remote JavaScript Dependencies Without Integrity Protection
- Content
View full analysis
``` ### Technical Analysis The Skill instructs the Agent to generate HTML documents that execute JavaScript fetched from third-party CDNs whenever a visualization is opened. Although the React and Babel URLs contain version numbers, none of the script elements provides a Subresource Integrity (`integrity`) hash. The Tailwind dependency is loaded from the unversioned `https://cdn.tailwindcss.com` endpoint, so its effective content may change after the Skill has been reviewed. This design makes the behavior of generated artifacts dependent on remotely controlled content. If a CDN account, distribution system, DNS path, or upstream asset is compromised, substituted JavaScript will execute in the generated page. The remote scripts execute in the same document context as the embedded `SOLUTION_DATA`, visualization DOM, and other page state. The instruction at line 141 describing the output as self-contained and offline-capable is also inconsistent with these runtime network dependencies. The generated page cannot obtain these resources offline unless they have already been cached or replaced with local files. ### Attack Path 1. A user supplies Python solution code or optimization-result ...[truncated 1668 chars]- Remediation
View remediation
