T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:188- Finding
Unpinned Remote JavaScript Dependency in Generated Reports
- Content
View full analysis
- Remediation
View remediation
``` 2. Obtain the integrity value from a trusted source and independently verify it against the reviewed artifact. 3. Prefer bundling a reviewed local copy of Chart.js into the generated report or publication repository, eliminating runtime reliance on mutable remote code. 4. Add a restrictive Content Security Policy that permits scripts only from explicitly approved sources and disallows unexpected script execution. 5. Establish a controlled dependency-update process that reviews and tests each new Chart.js version before updating the pinned reference. ]]>
