seaslides-html-slides-skill
Audited by Socket on Aug 23, 2026
8 alerts found:
Anomalyx7SecurityNo clear evidence of intentional malware/backdoor in the provided snippet. However, it has a significant security weakness for supply-chain/build pipelines: it fetches arbitrary http(s) URLs found in input SVG/image references and embeds the fetched bytes as base64 data URIs into output SVG files (SSRF-like artifact smuggling). It also injects generated chart SVG via innerHTML and parses untrusted JSON attributes without validation, increasing robustness and renderer-context injection risk. If inputs are not fully trusted, this module should be hardened (URL allowlist/denylist, SSRF protections, strict size/time limits for downloads, and avoidance or sanitization of innerHTML).
No clear malware/backdoor behavior is present, but there are high-impact security risks driven by untrusted remote content: (1) potential ZIP Slip/path traversal in _extract_zip_bytes due to unsanitized ZIP member filenames used in os.path.join without path normalization checks, and (2) potential SSRF/unrestricted outbound fetching by downloading arbitrary remote image URLs found in MinerU-produced Markdown via urllib.request.urlretrieve. These issues warrant review/hardening before use in hostile environments.
The module appears to be legitimate slide/UI glue code, but it contains a high-impact security risk: it can load remote HTML and inject it into the DOM via deck.innerHTML without sanitization, which can enable DOM XSS if the fetched content is compromised or attacker-influenced. It also dynamically imports an executable animation module from a CDN at runtime, adding supply-chain risk. No direct malware behaviors (exfiltration, keylogging, backdoors) are evident within this snippet beyond these trust-boundary expansion patterns.
The module is primarily a client-side slide navigator with animation and rendering enhancements. It does not show clear indicators of intentional malware (no visible exfiltration/credential theft), but it introduces significant security risk: it fetches HTML from content.html/demo.html and injects it via deck.innerHTML without sanitization (DOM XSS risk if the content is not fully trusted and protected). Additionally, it dynamically imports a third-party animation module from a public CDN at runtime, increasing supply-chain/execution surface. Overall: low evidence of malicious intent, but non-trivial exploitability via the fallback HTML injection path.
The primary security concern in this module is the runtime fallback that fetches HTML and inserts it via deck.innerHTML without sanitization or integrity controls, which can enable XSS/arbitrary script execution if the fetched endpoints are compromised or attacker-influenced. A secondary risk is the dynamic CDN import of the animation library (supply-chain/transport trust expansion). Other components (navigation, transforms, and rendering calls) appear to be typical UI behavior and do not independently indicate malware.
No clear indicators of direct malware behavior (no visible credential theft, exfiltration, or backdoor logic). However, the fragment includes a significant client-side security risk: it fetches HTML and injects it into the DOM via deck.innerHTML without sanitization, which can enable XSS if content.html/demo.html can be tampered with. It also dynamically imports a CDN-hosted module at runtime, adding a supply-chain/integrity risk. Overall, treat this as mostly a slideshow utility with notable security weaknesses around untrusted HTML injection and third-party runtime code loading.
The fragment is mainly client-side slideshow/navigation logic with presentation enhancements. No explicit credential theft, reverse shell behavior, filesystem/process actions, or direct exfiltration are evident in this module. However, it contains a high-impact security sink: unsanitized injection of fetched HTML into the DOM via deck.innerHTML, which can enable DOM-based XSS if the fetched content is not strictly trusted. It also executes a runtime third-party module imported from a CDN, adding supply-chain/trust dependency risk. Overall, while not overtly malicious by intent, the security posture is meaningfully exposed due to HTML injection and runtime CDN code execution.
This fragment is best characterized as legitimate image download/save/polling utility code with no clear indicators of intentional malware, obfuscation, or backdoor-like behavior. The primary security concerns are misuse-dependent: unrestricted outbound HTTP fetching of caller-provided URLs (SSRF risk) and writing attacker-influenced network bytes to caller-supplied filesystem paths without path sandboxing (potential arbitrary/unsafe file write depending on caller). It also parses untrusted image bytes with Pillow (parser attack surface) without explicit resource limits. Review and harden the caller’s URL/path sourcing (allowlists, scheme restrictions, and output directory enforcement) and keep Pillow updated.