Loading npm security reports…
Loading npm security reports…
hyperframes@0.9.79: 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:11 UTC · by lpm-firewall-ai The CLI can automatically install a newer hyperframes release on its default startup path, but it updates this same package through npm and provides an off-switch. The current self-update rule classifies that behavior as suspicious, not malicious; the OpenRouter request serves the image-captioning feature using its configured key and processed images.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Default CLI startup for eligible commands, when update metadata indicates a newer version; the update check is skipped for CI, unattended runs, or when disabled.
Impact
Changes the installed CLI without an explicit update command. Under the self-update rule, this is a warning-level capability.
Mechanism
Fetches the latest hyperframes version from the npm registry and schedules a detached global install of that same package. HYPERFRAMES_NO_AUTO_INSTALL=1 disables installation.
Evidence
dist/cli.js dist/autoUpdate-225B2IYO.js dist/chunk-VK4DJ4YE.js dist/capture-25S3MK5V.js
Network endpoints2
registry.npmjs.org /hyperframes/${updateChannel()}
openrouter.ai /api/v1/chat/completions
Decision evidencepublic snapshot Evidence for warning
Ordinary CLI startup schedules a background install when an update is available; the path excludes several commands and JSON output. The updater launches an installer for a newer hyperframes release, and supports disabling automatic installation with HYPERFRAMES_NO_AUTO_INSTALL=1. The update check fetches version metadata from the hyperframes npm registry endpoint. The OpenRouter path uses OPENROUTER_API_KEY for image captioning and sends project images as part of that feature. Evidence against
The automatic updater is limited to detected global installs and checks running-process and pending-update state before installing. The update is an npm install of hyperframes itself; the current rule treats a same-package npm self-update with an off-switch as suspicious. The OpenRouter request is part of image captioning, using the configured OpenRouter key and images the feature processes. 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-CQEVrgMa.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-SJKHL2P5.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-225B2IYO.js View on unpkg · L5 Code excerpt · 12 lines Cross-file remote execution chain: dist/autoUpdate-225B2IYO.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-CQEVrgMa.js View file Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
dist/studio/assets/index-CQEVrgMa.js View on unpkg Scanner record · 4 lines path = dist/studio/assets/index-CQEVrgMa.js
kind = oversized_source_file
sizeBytes = 5278685
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-6AQ75HKC.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 (