Loading npm security reports…
Loading npm security reports…
hyperframes@0.9.78: Remote code execution – npm package flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 21 findings warrant review before installing.
AI security reviewscanned on Nov 22, 2026, 11:07 UTC · by lpm-firewall-ai The earlier review correctly identified a reachable automatic self-update, but the current rules specifically classify updating the same package from npm with an off-switch as suspicious, so this does not meet the publish-block rule. The cited OpenRouter credential flow uses the user’s OpenRouter key with OpenRouter for image captioning and is unrelated to the updater.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
A normal CLI command, when a cached update check reports a newer version and the installation is recognized as global; help, certain maintenance commands, and JSON mode skip this path.
Impact
The update can replace the installed CLI without an explicit update request. The current rule classifies an npm self-update with an off-switch as suspicious.
Mechanism
The CLI schedules a detached installer that invokes the detected package manager to update HyperFrames itself. The npm path uses registry.npmjs.org. HYPERFRAMES_NO_AUTO_INSTALL=1 disables automatic installation.
Evidence
dist/cli.js dist/autoUpdate-2EKEBOOJ.js dist/chunk-N37C7OVU.js dist/capture-25S3MK5V.js HyperFrames global installation (location detected at runtime) HyperFrames configuration file (location resolved at runtime)
Network endpoints2
registry.npmjs.org openrouter.ai
Decision evidencepublic snapshot Evidence for warning
A normal CLI command can reach the background update scheduler when its cached check reports a newer version; the path excludes help, selected maintenance commands, and JSON mode. The updater checks the HyperFrames version metadata at registry.npmjs.org. For an npm global install, the updater runs `npm install -g hyperframes@<version>` for HyperFrames itself. The update scheduler has an off-switch: `HYPERFRAMES_NO_AUTO_INSTALL=1` (and also skips unattended runs). Evidence against
The updater is limited to a newer version in the same release line and uses the detected package manager for the existing global installation. The cited OPENROUTER_API_KEY flow sends the user-supplied key to openrouter.ai for the image-captioning request; it does not send it to the package publisher or the npm registry. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · Possible obfuscation · Telemetry · URL strings
Manifest No manifest risk signals triggered.
Scanned 553 files · 16.4 MB of source
50 external domains referenced
127.0.0.1 a.basemaps.cartocdn.com accounts.google.com aomediacodec.github.io api.anthropic.com api.figma.com api.heygen.com api.openverse.org api2.heygen.com app.heygen.com assets.invalid auth.x.ai cdn.example.com cdn.jsdelivr.net cdnjs.cloudflare.com chatgpt.com check.invalid cli-chat-proxy.grok.com dev.hyperframes.dev developers.heygen.com docs.aws.amazon.com docs.docker.com document.invalid evilmartians.com example.com ffmpeg.org fonts.google.com fonts.googleapis.com fonts.gstatic.com foo.com generativelanguage.googleapis.com github.com gsap.com hands.hyperframes.invalid heygen-hyperframes-reviews-prod-767398024897-us-east-2.s3.amazonaws.com heygen-hyperframes-reviews-prod-767398024897-us-east-2.s3.us-east-2.amazonaws.com huggingface.co hyperframes-composition-sync-prod.s3.us-east-2.amazonaws.com hyperframes-render.invalid hyperframes.dev hyperframes.heygen.com hyperframes.local hyperframes.studio icons.duckduckgo.com json-schema.org linear.app local.invalid oauth2.googleapis.com openrouter.ai project.invalid Oversized source lightweight scan
dist/studio/assets/index-2w86vAP0.js 5.03 MB file, sampled 256 KB
Network High entropy strings Minified URL strings ffmpeg.org react.dev www.w3.org
Findings1 critical · 7 high · 6 medium · 7 low Source & flagged code13 flagged High Child process
Package source references child process execution.
dist/chunk-3M2LMZHQ.js View on unpkg · L67 Code excerpt · 3 lines 67 // src/utils/cancellableProcess.ts
68 import { spawn as spawn2 } from "child_process" ;
69 import { StringDecoder } from "string_decoder" ;
Low Eval
Package source references a known benign dynamic code generation pattern.
dist/chunk-Y7BB2EGO.js View on unpkg · L752 Code excerpt · 3 lines 752 name = makeLegalFunctionName (name);
753 return new Function ("body" , "return function " + name + '() {\n "use strict"; return body.apply(this, arguments);\n};\n' )(body);
754 }
Low Weak crypto
Package source references weak cryptographic algorithms.
dist/chunk-Y7BB2EGO.js View on unpkg · L5 Code excerpt · 12 lines 5 var __filename = __hf_fileURLToPath (import .meta.url);
6 var __dirname = (__filename);
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/warmCheck.js View on unpkg · L3 Code excerpt · 3 lines 3 import { dirname as __hf_dirname } from "node:path" ;
4 var require = __hf_createRequire (import .meta.url);
5 var __filename = __hf_fileURLToPath (import .meta.url);
High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/chunk-VQ7E2EIL.js View on unpkg · L5 Code excerpt · 12 lines 5 var __filename = __hf_fileURLToPath (import .meta.url);
6 var __dirname = __hf_dirname (__filename);
7 import {
⋯
153 isNotMediaPayload,
154 isPrivateUnderAssetRoots,
155 isProresProfile,
⋯
437 let end = from ;
438 while (isNameChar (text.charCodeAt (end))) end++;
439 return end;
⋯
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/chunk-77O7KCFT.js View on unpkg · L5 Code excerpt · 12 lines 5 var __filename = __hf_fileURLToPath (import .meta.url);
6 var __dirname = __hf_dirname (__filename);
7 import {
⋯
66 // src/commands/doctor.ts
67 import { execFileSync } from "child_process" ;
68 import * as fs from "fs" ;
⋯
81 }
82 var DOCKER_INSTALL_HINT = ;
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/autoUpdate-2EKEBOOJ.js View on unpkg · L5 Code excerpt · 12 lines Cross-file remote execution chain: dist/autoUpdate-2EKEBOOJ.js spawns dist/chunk-2RY2LWAA.js; helper contains network access plus dynamic code execution.
5 var __filename = __hf_fileURLToPath (import .meta.url);
6 var __dirname = __hf_dirname (__filename);
7 import {
⋯
57 // src/utils/autoUpdate.ts
58 import { spawn } from "child_process" ;
59 import { appendFileSync, mkdirSync, openSync } from "fs" ;
⋯
High Trigger reachable command output exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/chunk-IKOQI4OO.js View on unpkg · L299 Code excerpt · 7 lines Trigger-reachable command-output exfiltration chain: manifest.exports -> dist/api.js -> dist/chunk-IKOQI4OO.js
299 var systemAnswers = /* @__PURE__ */ new Map ();
300 var SYSTEM_LOOKUP = `require("node:dns").lookup(process.argv[1], { all: true, family: 4 }, (error, answers) =>
301 error ? process.stderr.write (String (error.code)) : process.stdout.write (JSON.stringify (answers.map ((a) => a.address))))`;
302 var liveLookups = /* @__PURE__ */ new Set ();
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
dist/processes.ps1 View on unpkg Scanner record · 4 lines path = dist/processes.ps1
kind = build_helper
sizeBytes = 1063
magicHex = [redacted]
dist/studio/assets/index-2w86vAP0.js View file Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
dist/studio/assets/index-2w86vAP0.js View on unpkg Scanner record · 4 lines path = dist/studio/assets/index-2w86vAP0.js
kind = oversized_source_file
sizeBytes = 5276945
magicHex = [redacted]
High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/chunk-5OYVXICZ.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 3
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/chunk-HGII5UWZ.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = hyperframes@0.9.77
matchedIdentity = npm:aHlwZXJmcmFtZXM:0.9.77
similarity = 0.750
summary = stored previous version shares package body but lacks this dangerous source file
dist/chunk-IKOQI4OO.js
1 finding
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
__hf_dirname
121 if (keepRuntimeAlive ()) {
122 process["exitCode" ] = status;
145 var xhr = new XMLHttpRequest ();
146 xhr.open ("GET" , url, false );
148 return xhr.responseText;
457 yield { attrs: html.slice (attrsStart, gt), body: html.slice (gt + 1 , close.index) };
458 opener.lastIndex = close.index + close[0 ].length;
"https://docs.docker.com/get-docker/"
83 var findDocker = () => findTrustedExecutable ("docker" );
84 function dockerInsideProject (cwd = process.cwd ()) {
85 const names = process.platform === "win32" ? ["docker.exe" , "docker.cmd" ] : ["docker" ];
86 return names.map ((name) => join (cwd, "node_modules" , ".bin" , name)).find (existsSync);
67
function isAutoInstallDisabled () {
68 return updateCheckDisabled () || process.env["HYPERFRAMES_NO_AUTO_INSTALL" ] === "1" || isUnattended ();
141 const install = () => execFile (BIN, ARGS, { cwd: ${JSON.stringify (o.cwd)}, windowsHide: true , maxBuffer: 4 * 1024 * 1024 }, (err, _stdout, stderr) => {
⋯
309 const answers = new Promise ((resolve, reject) => {
310 const child = execFile (