embedded-captions

Warn

Audited by Socket on Sep 19, 2026

3 alerts found:

Anomalyx3
AnomalyLOW
scripts/preview-frames.cjs

The code is a legitimate local animation preview and screenshot-generation utility. It contains no clear malware, credential theft, persistence, destructive behavior, or deliberate exfiltration. However, rendering untrusted project HTML with Puppeteer launched using disabled web security and allowing most network requests can permit project content to access resources or send data in ways that would normally be restricted. The tool should only process trusted projects, or use stronger isolation such as a sandboxed browser, blocked outbound networking, and stricter file/resource controls.

Confidence: 98%Severity: 58%
AnomalyLOW
scripts/measure-layout.cjs

This module is a local rendering/measurement harness with no explicit data-theft/exfiltration behavior visible. However, it has meaningful security risk due to (a) dynamic discovery and require() of Puppeteer from filesystem locations influenced by process.env.HYPERFRAMES_ROOT and broad directories (possible dependency-path poisoning/loader abuse), and (b) weakened browser security flags while executing a user-supplied local index.html, plus injecting a locally discovered JS payload (gsap.min.js) into the page via evaluateOnNewDocument. Use only with trusted projectDir and trustworthy dependency paths/checkout contents.

Confidence: 66%Severity: 57%
AnomalyLOW
scripts/check-occlusion.cjs

This code is primarily a local image/layout analysis CLI. It does not show direct malware behaviors (no networking, credential theft, or obvious persistence). However, it introduces a notable security risk: it dynamically resolves and requires 'sharp' from non-standard/writable filesystem locations (including HYPERFRAMES_ROOT and a user Downloads path), and it spawns a child Node process with an attacker-controlled project directory argument. If an attacker can influence those search roots/contents or the project directory processed by the child script, they could potentially achieve unintended code execution via the dependency or via measure-layout.cjs behavior. Otherwise, for trusted environments and inputs, the operational risk is low.

Confidence: 60%Severity: 55%
Audit Metadata
Analyzed At
Sep 19, 2026, 04:55 PM
Package URL
pkg:socket/skills-sh/heygen-com%2Fhyperframes%2Fembedded-captions%2F@65963912997d36eeaec032c456203bb32b850e6a0b4fdbf3a386d20fe6ecf8fc
Security Audit — socket — embedded-captions