Loading npm security reports…
Loading npm security reports…
claude-yes@1.305.0: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
25 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 16, 2026, 08:01 UTC · by lpm-firewall-ai The flagged credential flow uses optional Cloudflare TURN credentials with Cloudflare’s own API, and WebRTC sharing is an explicit feature. The package has no install hook; its runtime updater installs the project’s own package and can be disabled with AGENT_YES_NO_UPDATE.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
The CLI checks for updates during invocation; WebRTC signaling and TURN credential requests occur when sharing is enabled.
Impact
Automatic self-updates and WebRTC relay setup; no unrelated credential exfiltration or other attack behavior was found.
Mechanism
The updater queries npm for agent-yes and may install its newer release globally. Configured Cloudflare TURN credentials go to Cloudflare’s TURN API.
Evidence
~/.cache/agent-yes/update-check.json ~/.agent-yes/.share-room
Network endpoints3
registry.npmjs.org rtc.live.cloudflare.com s.agent-yes.com
public snapshot
Evidence for AI clean decision
The manifest has prepare and prepublishOnly scripts, but no install, preinstall, or postinstall hook. TURN credentials are read only when configured and sent to Cloudflare’s TURN API to request relay credentials. The WebRTC sharing feature is documented and is started with an explicit serve option. The updater checks the project’s own npm package and provides an opt-out; no unrelated credential destination was identified. Evidence against
A normal CLI invocation can automatically install a newer global agent-yes release unless AGENT_YES_NO_UPDATE is set. When WebRTC sharing is started, the package connects to its agent-yes rendezvous host. 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 534 files · 6.23 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 The lines the automated scan flagged. The review checked them and cleared this version.
High Child processCleared
Package source references child process execution.
dist/notifyDaemon-lKGqTaRP.js View on unpkg · L16 Code excerpt · 3 lines 16 import { randomUUID } from "node:crypto" ;
17 import { execFile, execFileSync } from "node:child_process" ;
18 import { Worker } from "node:worker_threads" ;
Code excerpt · 3 lines 21 import { randomBytes } from "node:crypto" ;
22 import { execaCommandSync, execaSync, parseCommandString } from "execa" ;
23 import { fromReadable, fromWritable } from "from-node-stream" ;
High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/ts-fu6RkZvs.js View on unpkg · L1029 Code excerpt · 9 lines 1029 try {
1030 execSync (`${cargoCmd} --version` , { stdio: "ignore" });
1031 } {
Low EvalCleared
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 requireCleared
Package source references dynamic require/import behavior.
dist/agent-yes.config-CRfpdp3A.js View on unpkg · L213 Code excerpt · 3 lines 213 const legacyConfigs = await Promise.all ([
214 import (path.resolve (os.homedir (), ".agent-yes/config.ts" )).catch (() => ({ default : {} })).then ((mod) => mod.default ),
215 import (path.resolve (process.cwd (), "node_modules/.agent-yes/config.ts" )).catch (() => ({ default : {} })).then ((mod) => mod.default ),
Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/schedule-CS_mDYxL.js View on unpkg · L38 Code excerpt · 9 lines 38 stdin: "ignore" ,
39 stdout: capture ? "pipe" : "inherit" ,
40 stderr: capture ? "pipe" : "inherit" ,
⋯
42 });
43 const out = capture ? await new Response (p.stdout).text () : "" ;
44 return {
⋯
52 if (!oxmgrBin) {
53 process.stderr.write ( );
Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
dist/schedulesCli-CLqieyQZ.js View on unpkg · L1 Code excerpt · 12 lines 1 import { spawn, spawnSync } from "child_process" ;
2 import { appendFileSync, existsSync, mkdirSync, openSync, readFileSync, renameSync, watch, writeFileSync } from "fs" ;
⋯
33 `;
34 function logFile (env = process.env, home = homedir ()) {
35 return env.AY_SCHEDULES_LOG || path.join (home, ".local" , "share" , "agent-yes" , "schedules.log" );
High Credential exfiltrationCleared
Source combines credential-like environment material and outbound requests; review data flow before blocking.
dist/share-CbFetL5H.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 r = ( , {
High Sandbox evasion gated capabilityCleared
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 bridgeCleared
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/versionChecker-Ci-46UHn.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" });
Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/serve-Dl6jyBtk.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = claude-yes@1.304.2
matchedIdentity = npm:Y2xhdWRlLXllcw:1.304.2
similarity = 0.975
summary = stored previous version shares package body but lacks this dangerous source file
High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/serve-Dl6jyBtk.js View on unpkg · L33 Code excerpt · 12 lines Cross-file remote execution chain: dist/serve-Dl6jyBtk.js spawns dist/expose-Bhsn5yUz.js; helper contains network access plus dynamic code execution.
33 import path from "path" ;
High Trigger reachable credential exfiltrationCleared
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 persistenceCleared
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. ( ([ , ]).stdout || );
High Runtime package installCleared
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 helperCleared
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]
1 finding
Package metadata 9 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Medium Git dependency Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
catch
1032 console.warn ("Warning: Rust/Cargo not found. bun-pty native module may not work." );
1033 console.warn ("To fix this, install Rust: https://rustup.rs/" );
1037 const isWindows = platform === "win32" ;
1038 const tempBase = isWindows ? process.env.TEMP || "C:\\Temp" : "/tmp" ;
1039 if (!existsSync$1 (join (rustPtyDir, "Cargo.toml" ))) {
"ay schedule: oxmgr not found\n install with: cargo install oxmgr\n or: bun add -g oxmgr\n"
39 new Intl.DateTimeFormat ("en-US" , { timeZone: tz });
240 const j = JSON.parse (text);
357 if (o.platform === "darwin" ) return "launchd" ;
const
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]
34 import { execFileSync } from "node:child_process" ;
35 import { fileURLToPath } from "node:url" ;
66 const caps = scope.caps ?? (scope.canSend ? [...CAPS_INTERACTIVE] : [...CAPS_READONLY]);
67 const body = `${PREFIX}.${Buffer.from(JSON.stringify({
485 async function listStrayServeProcesses () {
486 if (process.platform === "win32" ) return [];
76 function perfLog (event: string, data: Record<string, unknown>, force = false ) {
77 if (!force && !PERF_VERBOSE) return ;
parse
runSelf
"ls"
"--json"
"[]"
150 if (!sub || sub === "help" || sub === "--help" || sub === "-h" ) {
151 process.stdout.write (CRON_HELP);