sanity-best-practices
Warn
Audited by Socket on Sep 17, 2026
1 alert found:
AnomalyAnomalyreferences/migration-html-import.md
LOWAnomalyLOW
references/migration-html-import.md
The code is primarily legitimate documentation for HTML-to-Portable-Text migration and contains no clear malware or intentional sabotage. It does contain a meaningful server-side request risk in the image upload helper because imported image URLs are fetched without validation or resource controls. Validate allowed protocols and destinations, block private and link-local addresses, enforce response-size and timeout limits, verify content type, constrain redirects, sanitize filenames, and validate link schemes before rendering or storing imported content.
Confidence: 96%Severity: 58%
Audit Metadata