Loading npm security reports…
Loading npm security reports…
claude-yes@1.261.0: 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 Aug 8, 2026, 17:54 UTC · by lpm-firewall-ai No concrete malicious chain was found, but automatic remote code acquisition/execution and opt-in persistent remote agent control warrant a warning. The scanner's credential-exfiltration claim is not supported by the inspected source.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Run a CLI command; use --rust; or explicitly run ay setup/ay serve install --share.
Impact
A compromised upstream update or release binary could execute code; an operator-enabled share link can control the local service.
Mechanism
Runtime remote update/binary execution and opt-in persistent WebRTC agent bridge.
Evidence
package.json ts/cli.ts ts/versionChecker.ts ts/rustBinary.ts ts/share.ts ts/setup.ts ts/serve.ts ts/systemPathLink.ts dist/agent-yes.js
Network endpoints4
registry.npmjs.org /agent-yes/latest
github.com /snomiao/agent-yes/releases/download/v<version>/
wss://s.agent-yes.com
rtc.live.cloudflare.com /v1/turn/keys/<keyId>/credentials/generate-ice-servers
Decision evidencepublic snapshot Evidence for warning
ts/versionChecker.ts auto-installs newer agent-yes and re-execs on normal CLI runs. ts/rustBinary.ts downloads versioned GitHub release archives and executes the extracted binary. ts/share.ts exposes local API requests to authenticated WebRTC peers when explicitly enabled. ts/setup.ts can install a persistent share daemon and PATH symlinks via explicit setup. Evidence against
package.json has no preinstall/install/postinstall; prepare only invokes husky. Persistent setup is reached only through ay setup or ay serve install. Share transport uses a room secret, encrypted frames, and local bearer authorization. No source evidence of credential harvesting or unrelated exfiltration. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Native bindings · Network · Shell · Web socket
Supply chain High entropy strings · URL strings
Manifest No manifest risk signals triggered.
Scanned 287 files · 3.76 MB of source
21 external domains referenced
127.0.0.1 192.168.1.5 agent-yes.com agent-yes.localhost ay.local box.local cdn.jsdelivr.net developer.mozilla.org example.com github.com h.example mux.internal otoji.org raw.githubusercontent.com registry.npmjs.org rtc.live.cloudflare.com rustup.rs s.agent-yes.com www.w3.org x1.agent-yes.com x123.agent-yes.com Findings1 critical · 9 high · 5 medium · 6 low Source & flagged code13 flagged High Child process
Package source references child process execution.
dist/ts-BEA7L5a3.js View on unpkg · L11 Code excerpt · 3 lines 11 import { arch, platform } from "process" ;
12 import { execSync } from "child_process" ;
13 import { closeSync, constants, createReadStream, existsSync, mkdirSync, openSync } from "fs" ;
Code excerpt · 3 lines 17 import { fileURLToPath } from "url" ;
18 import { execaCommandSync, execaSync, parseCommandString } from "execa" ;
19 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-BEA7L5a3.js View on unpkg · L844 Code excerpt · 9 lines 844 try {
845 execSync (`${cargoCmd} --version` , { stdio: "ignore" });
846 } catch {
847 console.warn ("Warning: Rust/Cargo not found. bun-pty native module may not work." );
848 console.warn ("To fix this, install Rust: https://rustup.rs/" );
849 return ;
⋯
852 const isWindows = platform === "win32" ;
853 const tempBase = isWindows ? process.env.TEMP || "C:\\Temp" : "/tmp" ;
854 if (!existsSync ( (rustPtyDir, ))) {
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/ts-BEA7L5a3.js View on unpkg · L11 Code excerpt · 12 lines 11 import { arch, platform } from "process" ;
12 import { execSync } from "child_process" ;
13 import { closeSync, constants, createReadStream, existsSync, mkdirSync, openSync } from "fs" ;
⋯
22 import xterm from "@xterm/headless" ;
23 import { createServer } from "net" ;
24 import { execSync as execSync$1 } from "node:child_process" ;
⋯
71 write (data) {
72
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/agent-yes.config-DzNini0E.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 crypto
Package source references weak cryptographic algorithms.
dist/schedule-RQZ51pIT.js View on unpkg · L69 Code excerpt · 9 lines 69 stdin: "ignore" ,
70 stdout: capture ? "pipe" : "inherit" ,
71 stderr: capture ? "pipe" : "inherit" ,
⋯
73 });
74 const out = capture ? await new Response (p.stdout).text () : "" ;
75 return {
⋯
83 if (!oxmgrBin) {
84 process.stderr.write ("ay schedule: oxmgr not found\n install with: cargo install oxmgr\n or: bun add -g oxmgr\n" );
High Credential exfiltration
Source combines credential-like environment material and outbound requests; review data flow before blocking.
dist/share-B-e_9WBx.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 Copied package dependency bridge
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/versionChecker-BGz18IcX.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 Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/serve-BOcgkVeM.js View on unpkg · L28 Code excerpt · 12 lines Cross-file remote execution chain: dist/serve-BOcgkVeM.js spawns dist/expose-BG17GV7D.js; helper contains network access plus dynamic code execution.
28 import path from "path" ;
29 import { execFileSync } from "node:child_process" ;
30 import { existsSync, renameSync, watch, writeFileSync } from "node:fs" ;
⋯
62 const caps = scope.caps ?? (scope.canSend ? [...CAPS_INTERACTIVE] : [...CAPS_READONLY]);
63 const body = `${PREFIX}.${Buffer.from(JSON.stringify({
64 s: scope.pid,
⋯
355
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 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/rustBinary-DSq8TS1z.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = claude-yes@1.244.0
matchedIdentity = npm:Y2xhdWRlLXllcw:1.244.0
similarity = 0.583
summary = stored previous version shares package body but lacks this dangerous source file
dist/serve-BOcgkVeM.js1 finding
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
join
"Cargo.toml"
this .term.write (data, () => {
133 //#region ts/resume/codexSessionManager.ts
134 const getSessionsFile = () => process.env.CLI_YES_TEST_HOME ? path.join (process.env.CLI_YES_TEST_HOME, ".config" , "agent-yes" , "codex-sessions.json" ) : path.join (homedir (), ".confi...
135 const getCodexSessionsDir = () => process.env.CLI_YES_TEST_HOME ? path.join (process.env.CLI_YES_TEST_HOME, ".codex" , "sessions" ) : path.
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;
async function listStrayServeProcesses () {
356 if (process.platform === "win32" ) return [];
76
function perfLog (event: string, data: Record<string, unknown>, force = false ) {
77 if (!force && !PERF_VERBOSE) return ;