Loading npm security reports…
Loading npm security reports…
claude-yes@1.308.1: Staged payload carrier – npm package flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 25 findings warrant review before installing.
AI security reviewscanned on Nov 20, 2026, 07:32 UTC · by lpm-firewall-ai The CLI automatically checks for updates and installs then re-executes a newer agent-yes release on its default start path. Because this is the project’s own npm distribution and the update is announced, the source supports a warning about automatic remote code execution, not a publish block.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Running the CLI normally, unless AGENT_YES_NO_UPDATE is set.
Impact
New package code from the registry runs automatically without a per-update confirmation.
Mechanism
Checks npm for the latest agent-yes version, globally installs it with npm or Bun when newer, then re-executes the command.
Evidence
dist/cli.js dist/versionChecker-D8EXcyRl.js package.json ~/.cache/agent-yes/update-check.json Global installation of agent-yes
public snapshot
Evidence for warning
The CLI invokes the update checker on its ordinary start path, before handling the requested command. Unless disabled by an environment variable, the checker fetches the latest version and installs it globally when it is newer. The updater installs the canonical package name agent-yes, while this package manifest is named claude-yes. Evidence against
The updater fetches from the npm registry and installs the project’s canonical package, rather than sending user data to an unrelated host. The update routine prints a message before installing, and AGENT_YES_NO_UPDATE can disable it. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Possible obfuscation · URL strings
Manifest Git dependency
Scanned 546 files · 6.30 MB of source
36 external domains referenced
127.0.0.1 192.0.2.5 192.168.1.5 agent-yes.com agent-yes.localhost ay.local box.example.ts.net box.local box.tailnet.ts.net box.ts.net bun.sh cdn.jsdelivr.net cloudflareinsights.com dev.example.com developer.mozilla.org example.com example.invalid fnm.vercel.app github.com gitlab.com h.example lab.agent-yes.com mux.internal otoji.org raw.githubusercontent.com registry.npmjs.org rtc.live.cloudflare.com rustup.rs s.agent-yes.com static.cloudflareinsights.com tailscale.com www.apple.com www.npmjs.com www.w3.org x1.agent-yes.com x123.agent-yes.com Findings1 critical · 10 high · 7 medium · 7 low Source & flagged code16 flagged High Child process
Package source references child process execution.
dist/cmdDsh-h7V2ThH5.js View on unpkg · L25 Code excerpt · 3 lines 25 try {
26 if (await spawn ([DSH_TUI_BIN, "--version" ], {
27 stdin: "ignore" ,
Code excerpt · 3 lines 22 import { randomBytes } from "node:crypto" ;
23 import { execaCommandSync, execaSync, parseCommandString } from "execa" ;
24 import { fromReadable, fromWritable } from "from-node-stream" ;
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/ts-BCfnvSai.js View on unpkg · L1013 Code excerpt · 9 lines 1013 try {
1014 execSync (`${cargoCmd} --version` , { stdio: "ignore" });
1015 } catch {
1016 console.warn ("Warning: Rust/Cargo not found. bun-pty native module may not work." );
1017 console.warn ("To fix this, install Rust: https://rustup.rs/" );
1018 return ;
⋯
1021 const isWindows = platform === "win32" ;
1022 const tempBase = isWindows ? process.env.TEMP || "C:\\Temp" : "/tmp" ;
1023 if (!existsSync$1 ( (rustPtyDir, ))) {
Low Eval
Package source references a known benign dynamic code generation pattern.
dist/liagent/protocol.js View on unpkg · L353 Code excerpt · 3 lines 353 try {
354 return new Function (`return (async () => (\n${code}\n))();` );
355 } catch (e) {
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/agent-yes.config-ByXwI-t3.js View on unpkg · L31 Code excerpt · 3 lines 31 const legacyConfigs = await Promise.all ([
32 import (path.resolve (os.homedir (), ".agent-yes/config.ts" )).catch (() => ({ default : {} })).then ((mod) => mod.default ),
33 import (path.resolve (process.cwd (), "node_modules/.agent-yes/config.ts" )).catch (() => ({ default : {} })).then ((mod) => mod.default ),
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/schedule-DBNROhVI.js View on unpkg · L15 Low Weak crypto
Package source references weak cryptographic algorithms.
dist/schedule-DBNROhVI.js View on unpkg · L15 Shared code excerpt · 2 findings · 12 lines Cross-file remote execution chain: dist/schedule-DBNROhVI.js spawns dist/ts-BCfnvSai.js; helper contains network access plus dynamic code execution.
15 import { createHash } from "node:crypto" ;
16 import { execFile } from "node:child_process" ;
17 import { readFile } from "node:fs/promises" ;
⋯
42 stdin: "ignore" ,
43
Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/schedulesCli-DSBZwREE.js View on unpkg · L1 Code excerpt · 12 lines 1 import { _ as storeFile, a as launchdDaemonPlist, b as wakeDelay, c as nextCronId, d as parseState, f as parseStore, g as stateFile, h as resolveTarget, i as fmtTime, l as nextRuns...
2 import { spawn, spawnSync } from "child_process" ;
3 import { appendFileSync, existsSync, mkdirSync, openSync, readFileSync, renameSync, watch, writeFileSync } from "fs" ;
⋯
41 }
42 /** Resolve the target and `ay send --force`. Returns the exit code (3 = target not live). */
High Credential exfiltration
Source combines credential-like environment material and outbound requests; review data flow before blocking.
dist/share-zVt71n2g.js View on unpkg · L18 Code excerpt · 12 lines 18 const IDLE_RESTART_CHECK_MS = 6e4;
19 const PERF_SLOW_MS = Number (process.env.AGENT_YES_WEBRTC_PERF_SLOW_MS) || 750 ;
20 const PERF_BUFFERED_BYTES = Number (process.env.AGENT_YES_WEBRTC_PERF_BUFFERED_BYTES) || 1e6;
⋯
24 if (!force && !PERF_VERBOSE) return ;
25 process.stderr.write (`[share:perf] ${JSON.stringify({
26 t: Date.now (),
⋯
49 try {
50 const r = ( , {
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/liagent/cli.js View on unpkg · L34 Code excerpt · 12 lines 34 */
35 function privateDir (dir, tighten = false ) {
36 if (mkdirSync (dir, {
⋯
72 try {
73 return JSON.parse (readFileSync (file, "utf8" ));
74 } catch {
⋯
150 [--pr 299 ] [--note "..." ] [--needs "approve PR #299" ] [--kind <${PROGRESS_KINDS.join ( )}>]
High Copied package dependency bridge
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/versionChecker-D8EXcyRl.js View on unpkg · L114 Code excerpt · 4 lines package = claude-yes; repositoryIdentity = agent-yes; dependency = execa
114 try {
115 const { execaCommand } = await import ("execa" );
116 await execaCommand (installCmd, { stdio: "inherit" });
High Trigger reachable credential exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
ts/share.ts View on unpkg · L31 Code excerpt · 10 lines Trigger-reachable credential exfiltration chain: manifest.bin -> dist/agent-yes.js -> ts/cli.ts -> ts/subcommands.ts -> ts/channels.ts -> ts/share.ts
31 // Proactively recycle the signaling connection on this interval. The 20s ping is
32 // answered at the Cloudflare edge (setWebSocketAutoResponse, see cf/worker.ts) so
33 // it can't wake a hibernated DO — but that also means an auto-answered ping only
⋯
68 const IDLE_RESTART_CHECK_MS = 60_000;
69 const PERF_SLOW_MS = Number (process.env.AGENT_YES_WEBRTC_PERF_SLOW_MS) || 750 ;
70 const PERF_BUFFERED_BYTES = Number (process.env.AGENT_YES_WEBRTC_PERF_BUFFERED_BYTES) || 1_000_000;
⋯
75
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
ts/schedulesCli.ts View on unpkg · L2 Code excerpt · 12 lines Trigger-reachable persistence chain: manifest.bin -> dist/agent-yes.js -> ts/cli.ts -> ts/subcommands.ts -> ts/schedulesCli.ts
2 // its autostart, over the pure core in schedules.ts.
3 import { spawn, spawnSync } from "child_process" ;
4 import {
⋯
79
80 /** Resolve the target and `ay send --force`. Returns the exit code (3 = target not live). */
81 export function fire (e: StoreEntry, now: number, manual = false ): number {
⋯
83 try {
84 live = JSON.parse ( ([ , ]).stdout || );
High Runtime package install
Package source invokes a package manager install command at runtime.
scripts/cf.ts View on unpkg · L46 Code excerpt · 3 lines 46 try {
47 const r = spawnSync ("bunx" , ["wrangler" , ...process.argv.slice (2 )], { stdio: "inherit" , env });
48 process.exitCode = r.status ?? 1 ;
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
examples/gcp.sh View on unpkg Scanner record · 4 lines path = examples/gcp.sh
kind = build_helper
sizeBytes = 2338
magicHex = [redacted]
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/runner-B1vocYOj.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = claude-yes@1.307.0
matchedIdentity = npm:Y2xhdWRlLXllcw:1.307.0
similarity = 0.900
summary = stored previous version shares package body but lacks this dangerous source file
Code↓
Package metadata 9 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
join
"Cargo.toml"
stdout: capture ? "pipe" : "inherit" ,
44 stderr: capture ? "pipe" : "inherit" ,
47 const out = capture ? await new Response (p.stdout).text () : "" ;
74 const rows = JSON.parse (stdout);
75 const tz = Intl.DateTimeFormat ().resolvedOptions ().timeZone;
76 return [...rows.flatMap ((row) => typeof row?.name === "string" && row.name.startsWith (SCHED_PREFIX) && typeof row.cron_restart === "string" ? [{
43 function fire (e, now, manual = false ) {
46 live = JSON.parse (runSelf (["ls" , "--json" ]).stdout || "[]" );
113 if (!sub || sub === "help" || sub === "--help" || sub === "-h" ) {
114 process.stdout.write (CRON_HELP);
await
fetch
`https://rtc.live.cloudflare.com/v1/turn/keys/${keyId}/credentials/generate-ice-servers`
59 if (!r.ok) throw new Error (`Cloudflare TURN ${r.status}` );
60 const j = await r.json ();
61 const servers = j.iceServers?.length ? j.iceServers : STUN;
"|"
151 [--ref <id>] [--action "<command or URL>" ] [--link https://…] [--rev N] [--human]
152 liagent progress grant [hub] --node <id> --agent <name> [--ttl 8h]
76
function perfLog (event: string, data: Record<string, unknown>, force = false ) {
77 if (!force && !PERF_VERBOSE) return ;
runSelf
"ls"
"--json"
"[]"
150 if (!sub || sub === "help" || sub === "--help" || sub === "-h" ) {
151 process.stdout.write (CRON_HELP);