T08 · Insecure Dependencies
- Location
SKILL.md:126- Finding
Unpinned Third-Party Scripts Loaded Without Integrity Verification
- Content
View full analysis
``` ```html ``` ```html ``` ### Technical Analysis The Skill recommends loading executable JavaScript directly from public CDNs. The Tailwind URL does not specify an exact version, and the Lucide URL explicitly references the mutable `latest` release. Consequently, the content executed by generated pages can change after the Skill has been audited. None of the resources include Subresource Integrity hashes. Although Flowbite is pinned to version `2.0.0`, the browser has no cryptographic mechanism to verify that the returned file is the expected reviewed artifact. This creates a supply-chain trust boundary in which the security of generated pages depends on the CDN, package registry, package publisher, and associated publishing credentials. ### Attack Path 1. An attacker compromises an upstream package, package-publisher account, CDN, or package distribution path. 2. The attacker changes the resource returned by an unversioned or mutable URL, particularly `cdn.tailwindcss.com` or the Lucide `latest` URL. Alternatively, the attacker causes a pinned CDN resource without integrity protection to return modified content. 3. A page generated according to the Skill loads the affected external resource. 4. The browser executes the modified JavaScript within the generated page's origin and security context. 5. The malicious script can acces ...[truncated 955 chars]- Remediation
View remediation
