Loading npm security reports…
@reason-machines/cli-linux-arm64@0.2.373: Credential exfiltration | LPM Firewall
Blocked & quarantined
Third-party account access tokens are disclosed to a package-selected service without a recipient-specific affirmative consent gate.
AI Security Reviewscanned 5d ago · by lpm-firewall-ai Source confirms that default-on worker behavior reads saved third-party access tokens and sends them to the Reason service. The transfer is a concrete credential disclosure without an affirmative recipient-specific gate, supporting a block.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
A Reason worker starts on a connected computer while local logins are enabled, which is the default when no setting is supplied.
Impact
Third-party account access tokens are disclosed to a package-selected service without a recipient-specific affirmative consent gate.
Mechanism
The worker reads local provider credential stores and submits access tokens to the Reason local-subscription API.
Attack narrative
When the Reason worker starts, its default-on local-login feature reads saved access tokens for third-party providers and repeatedly submits them to the Reason service’s local-subscription endpoint. The feature can be turned off, and the CLI describes the token transfer, but neither the default nor that disclosure supplies recipient-specific affirmative consent to send those credentials to the package-selected service.
AI rationale
Source confirms that default-on worker behavior reads saved third-party access tokens and sends them to the Reason service. The transfer is a concrete credential disclosure without an affirmative recipient-specific gate, supporting a block.
Evidence
bin/vm-hands/vm-hands-entry-lite-m8jcht6h.js bin/vm-hands/vm-hands-entry-lite-5kgvss4p.js bin/vm-hands/vm-hands-entry-lite-zfwg7ehq.js bin/vm-hands/vm-hands-entry-lite-ha8fgq32.js .lpm-inspection-7UdUhi/0-c064bf5447bc.txt ~/.claude/.credentials.json ~/.codex/auth.json ~/.grok/auth.json ~/.local/share/opencode/auth.json ~/.pi/agent/auth.json
Decision evidencepublic snapshot AI called this Malicious at 94.0% confidence as Malware with low false-positive risk.
Evidence for block
When a connected worker starts, local logins trigger an automatic handover routine; the CLI defaults this setting on when it is not specified. The routine reads saved provider credentials and forwards each provider’s access token, omitting refresh tokens. The handover sends the token to the local-subscription API on the Reason service; the source identifies the production API host. The package’s native executable contains the same default, worker trigger, and token transfer behavior. Evidence against
The CLI presents local logins as a feature for Sessions and documents that Reason receives current access tokens. The transfer is limited to connected workers and can be disabled through the local-login setting. Behavioral surface
Source ChildProcess Crypto DynamicRequire EnvironmentVars Eval Filesystem Network Shell WebSocket
Source & flagged code25 flagged · loading source 60 mux backend dial failed (${H})
L61: `)}),M.on("error",()=>O.destroy()),M.once("close",()=>O.destroy()),O.once("close",()=>M.destroy()),M.pipe(O),O.pipe(M)}let U=$6((M)=>{G.add(M),M.once("close",()=>G.delete(M)),M.on(...
L62: `).filter(Boolean);if(F===1)return[];throw Error(`ripgrep failed with exit code ${F}: ${q}`)}import{join as V0,dirname as T6}from"path";import{fileURLToPath as S6}from"url";import*...
High Child Process
Package source references child process execution.
bin/runtime/srt/sandbox-runtime.mjs View on unpkg · L60 55 \r
L56: `)}}),J.on("request",async(Q,Y)=>{Q.on("error",(G)=>{Z(`Client request error: ${G.message}`,{level:"error"})}),Y.on("error",(G)=>{Z(`Client response error: ${G.message}`,{level:"er...
L57: `)),$.end(eq(W))}function L7($){return Buffer.from([5,$,0,1,0,0,0,0,0,0])}function tq($){return new Promise((J)=>{let X=Buffer.alloc(0),Q=(W)=>{$.off("data",G),clearTimeout(Y),J(W)...
...
L60: mux backend dial failed (${H})
L61: `)}),M.on("error",()=>O.destroy()),M.once("close",()=>O.destroy()),O.once("close",()=>M.destroy()),M.pipe(O),O.pipe(M)}let U=$6((M)=>{G.add(M),M.once("close",()=>G.delete(M)),M.on(...
L62: `).filter(Boolean);if(F===1)return[];throw Error(`ripgrep failed with exit code ${F}: ${q}`)}import{join as V0,dirname as T6}from"path";import{fileURLToPath as S6}from"url";import*
High Same File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
Findings1 Critical 21 High 6 Medium 4 Low
Critical Remote Asset Decode Execute bin/vm-hands/index-bbk6a9sk.js
High Child Process bin/runtime/srt/sandbox-runtime.mjs
High Shell bin/vm-hands/vm-hands-entry-lite-m8jcht6h.js
High Eval bin/vm-hands/vm-hands-entry-lite-hc3p6r9p.js
High Same File Env Network Execution bin/runtime/srt/sandbox-runtime.mjs
High Command Output Exfiltration bin/runtime/srt/sandbox-runtime.mjs
High Obfuscated Payload Loader bin/vm-hands/index-bbk6a9sk.js
High External Ai Agent Control Surface Mutation bin/vm-hands/index-bbk6a9sk.js
High Cross File Remote Execution Context bin/vm-hands/vm-hands-executor-z89arnng.js
High Semantic Analysis Limited bin/vm-hands/index-bbk6a9sk.js
Affected versions and remediation This report applies to @reason-machines/cli-linux-arm64@0.2.373 .
See all versions of @reason-machines/cli-linux-arm64 for other recorded verdicts.
Avoid installing @reason-machines/cli-linux-arm64@0.2.373. Remove it from direct dependencies and check your lockfile for transitive copies. Choose an independently verified alternative or release. This report does not establish that other versions are safe. If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment. Evidence last updated: 2026-10-17 23:20:37.038Z (UTC) .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced .
api.reasonmachines.ai
HighEntropyStrings
Minified
PossibleObfuscation
UrlStrings
scanned 71 file(s), 5.43 MB of source, external domains: 127.0.0.1, api-staging.ara.so, api.ara.so, api.github.com, api.reasonmachines.ai, api.reasonmachines.com, auth.x.ai, bootstrap.invalid, camo.githubusercontent.com, cdn.playwright.dev, chromewebstore.google.com, claude.ai, cursor.com, docs.reasonmachines.com, dotenvx.com, dummy.test, edgeupdates.microsoft.com, example.com, ffmpeg.martin-riedl.de, github.com, github.com.helper, json-schema.org, mcp.reasonmachines.com, nodejs.org, openbox.org, playwright.bloburl, playwright.dev, playwright.download.prss.microsoft.com, proxy.example.com, raw.githubusercontent.com, reasonmachines.ai, reasonmachines.com, registry.npmjs.org, staging-api.reasonmachines.ai, staging-api.reasonmachines.com, staging.reasonmachines.ai, storage.googleapis.com, support.microsoft.com, worker-probe.invalid, www.apple.com, www.w3.org
bin/runtime/srt/sandbox-runtime.mjs
47 \r
L48: Connection blocked by network allowlist`);return}if(W||Y.destroyed){Y.destroy();return}let P=jJ(j)??j;if($.mitmCA&&($.shouldTerminateTLS?.(P,C)??!0)){Y.write(`HTTP/1.1 200 Connecti...
L49: \r
...
L55: \r
L56: `)}}),J.on("request",async(Q,Y)=>{Q.on("error",(G)=>{Z(`Client request error: ${G.message}`,{level:"error"})}),Y.on("error",(G)=>{Z(`Client response error: ${G.message}`,{level:"er...
L57: `)),$.end(eq(W))}function L7($){return Buffer.from([5,$,0,1,0,0,0,0,0,0])}function tq($){return new Promise((J)=>{let X=Buffer.alloc(0),Q=(W)=>{$.off("data",G),clearTimeout(Y),J(W)...
...
L60: mux backend dial failed (${H})
L61: `)}),M.on("error",()=>O.destroy()),M.once("close",()=>O.destroy()),O.once("close",()=>M.destroy()),M.pipe(O),O.pipe(M)}let U=$6((M)=>{G.add(M),M.once("close",()
High Command Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
bin/runtime/srt/sandbox-runtime.mjs View on unpkg · L47 bin/vm-hands/vm-hands-entry-lite-m8jcht6h.js View file 98 [ "$h" = ${W9($.sha256)} ] || { echo worker_ssh_artifact_mismatch >&2; exit 72; }
L99: exec "$a" worker __ssh-bootstrap`;return`exec /usr/bin/env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin /bin/sh -c ${W9(J)}`}function fJ($,J){if(!/^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$/.test...
L100: `)){let[Q,...X]=Z.trim().split(/\s+/);if(["proxyjump","proxycommand"].includes(Q??"")&&X.join(" ").toLowerCase()!=="none")throw Error("worker_ssh_proxy_unsupported")}}function fY($...
High Shell
Package source references shell execution.
bin/vm-hands/vm-hands-entry-lite-m8jcht6h.js View on unpkg · L98 • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-nb5kxm2n.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-m8jcht6h.js View on unpkg bin/vm-hands/vm-hands-entry-lite-hc3p6r9p.js View file 1 // @bun
L2: import{fk as s}from"./vm-hands-entry-lite-g036gtem.js";var mc={};s(mc,{xor:()=>Zl,xid:()=>kl,void:()=>Bl,uuidv7:()=>$l,uuidv6:()=>ul,uuidv4:()=>el,uuid:()=>vl,util:()=>k,url:()=>gl...
L3: `)}var Pr=(n)=>(i,o,v,r)=>{let t=v?{...v,async:!1}:{async:!1},e=i._zod.run({value:o,issues:[]},t);if(e instanceof Promise)throw new C;if(e.issues.length){let u=new(r?.Err??n)(e.iss...
High Eval
Package source references dynamic code evaluation.
bin/vm-hands/vm-hands-entry-lite-hc3p6r9p.js View on unpkg · L1 bin/vm-hands/vm-hands-entry-lite-m9awmyqz.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-70xn5vnc.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-m9awmyqz.js View on unpkg 305 }
L306: `.trim();import{Buffer as Y9}from"buffer";import{randomUUID as z1}from"crypto";class tQ extends Error{code;constructor($){super($==="hands_repl_private_profile_attribute_denied"?"P...
L307: `):W;J({status:F.statusCode??502,headers:z,body:Buffer.concat(B)})})}),G=setTimeout(()=>V.destroy(Error("hands_browser_fetch_timeout")),X7);V.once("close",()=>clearTimeout(G)),V.on...
Medium Dynamic Require
Package source references dynamic require/import behavior.
bin/vm-hands/vm-hands-entry-lite-m9awmyqz.js View on unpkg · L305 bin/vm-hands/vm-hands-entry-lite-pt4r24ky.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-3wgag7rz.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-pt4r24ky.js View on unpkg 1 // @bun
L2: import{ae as p,ce as V,fe as f}from"./vm-hands-entry-lite-1085xsma.js";import{Zh as E}from"./vm-hands-entry-lite-5kgvss4p.js";import{ni as y}from"./vm-hands-entry-lite-r6pap1kh.js"...
L3: `)}function g(H,z){let M;try{M=L(H,"utf8")}catch{return null}let J=b(M);if(!J)return null;let Q=v(J.launcher)?V(J.launcher):J.launcher,{program:Z,identity:B}=d(Q,J.args,z),$=M.repl...
Medium Install Persistence
Source writes installer persistence such as shell profile or service configuration.
bin/vm-hands/vm-hands-entry-lite-pt4r24ky.js View on unpkg · L1 1 // @bun
L2: import{Aa as iJ0}from"./vm-hands-entry-lite-45j8qwsf.js";import{ck as NV0,dk as rn,ek as EJ,gk as an,hk as X0}from"./vm-hands-entry-lite-g036gtem.js";var on={};var $T;var WT=an(()=...
L3: `)!=-1,q=this._styles,O=q.length;while(O--){var E=G[q[O]];if(A=E.open+A.replace(E.closeRe,E.open)+E.close,R)A=A.replace($,function(D){return E.close+D+E.open})}return A}X.setTheme=...
L4: `).join(`
L5: `+N),U.push(z+"m+"+Y.exports.humanize(this.diff)+"\x1B[0m")}else U[0]=$()+M+" "+U[0]}function $(){if(Q.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function W(...
L6: `)}function K(U){if(U)process.env.DEBUG=U;else delete process.env.DEBUG}function H(){return process.env.DEBUG}function B(U){U.inspectOpts={};let M=Object.keys(Q.inspectOpts);for(le...
...
L8: `:`
L9: `,U=B.
Critical Remote Asset Decode Execute
Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.
bin/vm-hands/index-bbk6a9sk.js View on unpkg · L1 239 `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICO...
L240: GFS4: `),console.error(A)};if(!X[W]){if(U=global[W]||[],B(X,U),X.close=function(A){function R(q,O){return A.call(X,q,function(E){if(!E)z();if(typeof O==="function")O.apply(this,arg...
L241: `:""},this._extScope=S,this._scope=new X.Scope({parent:S}),this._nodes=[new F]}toString(){return this._root.render(this.opts)}name(S){return this._scope.name(S)}scopeName(S){return...
High Obfuscated Payload Loader
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
bin/vm-hands/index-bbk6a9sk.js View on unpkg · L239 • Runtime or CLI code links a write operation to an explicit external AI-agent control path:
buffer()),u=await kl(b,v,y.output);console.log(` screenshot saved to ${u}`)}var p50=j0({"packages/playwright-[redacted].ts"(){kx()}});async function n50(){let q=await k7();if(!q.model.attachments.length){console.log(" no attachments");return}console.log(` ${"#".padstart(4)} ${"name".padend(40)} ${"content-type".padend(30)} ${"action".padend(8)}`),console.log(` ${"\u2500".repeat(4)} ${"\u2500".repeat(40)} ${"\u2500".repeat(30)} ${"\u2500".repeat(8)}`);for(let y=0;y<q.model.attachments.length;y++){let x=q.model.attachments[y],j=q.callidtoordinal.get(x.callid);console.log(` ${(y+1+".").padstart(4)} ${x.name.padend(40)} ${x.contenttype.padend(30)} ${(j!==void 0?string(j):x.callid).padend(8)}`)}}asyn
High External Ai Agent Control Surface Mutation
Runtime or CLI source writes behavior-bearing configuration into a user or project AI-agent control surface.
bin/vm-hands/index-bbk6a9sk.js View on unpkg • stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 3
High Semantic Analysis Limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
bin/vm-hands/index-bbk6a9sk.js View on unpkg • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/index-bbk6a9sk.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/index-bbk6a9sk.js View on unpkg bin/vm-hands/vm-hands-executor-z89arnng.js View file 1 Cross-file remote execution chain: bin/vm-hands/vm-hands-executor-z89arnng.js spawns bin/vm-hands/vm-hands-entry-lite-anmv8hp7.js; helper contains network access plus dynamic code execution.
L1: // @bun
L2: import{s as Mq}from"./vm-hands-entry-lite-3fdaf4hf.js";import{Lb as Uq,pc as Fq,rb as Lq,tc as Tq}from"./vm-hands-entry-lite-m9awmyqz.js";import"./vm-hands-entry-lite-sb9a1jcn.js";...
L3: `).filter(Boolean);B=Z.length;let Y=Q.map((L)=>{try{return Number(JSON.parse(L).elapsed_ms)||0}catch{return 0}});if(Y.length)X("vm_hands.srt_server_starts",{count:Y.length,elapsed_...
L4: `).filter(Boolean).slice(0,1000);if(!Y.length)return null;let L={},F=0;for(let M of Y)try{let R=JSON.parse(M),K=typeof R.code==="string"&&/^[a-z_]{1,40}$/.test(R.code)?R.code:"othe...
L5: `).find((V)=>V.startsWith("0:
High Cross File Remote Execution Context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
bin/vm-hands/vm-hands-executor-z89arnng.js View on unpkg · L1 • path = bin/ara
kind = native_binary
sizeBytes = 102934672
magicHex = [redacted]
Medium Ships Native Binary
Package ships native binary artifacts.
bin/ara View on unpkg • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/ask-relay-ymd2qzgp.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/ask-relay-8z5hmrxz.js View on unpkg bin/vm-hands/vm-hands-entry-lite-g9sz0618.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-2jbj99sk.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-g9sz0618.js View on unpkg bin/vm-hands/vm-hands-entry-lite-jpq28ncg.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-maqkw6pg.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-jpq28ncg.js View on unpkg • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/status-3wwz3xqm.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/status-n6bv9tmq.js View on unpkg bin/vm-hands/vm-hands-entry-lite-5kgvss4p.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-5kgvss4p.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-5kgvss4p.js View on unpkg bin/vm-hands/vm-hands-entry-lite-anmv8hp7.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-anmv8hp7.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-anmv8hp7.js View on unpkg bin/vm-hands/vm-hands-entry-lite-dcynw6t2.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-dcynw6t2.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-dcynw6t2.js View on unpkg bin/vm-hands/vm-hands-entry-lite-ha8fgq32.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-z964akpr.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-ha8fgq32.js View on unpkg High Known Malware Source Similarity bin/vm-hands/ask-relay-8z5hmrxz.js
High Known Malware Source Similarity bin/vm-hands/index-bbk6a9sk.js
High Known Malware Source Similarity bin/vm-hands/vm-hands-entry-lite-g9sz0618.js
High Known Malware Source Similarity bin/vm-hands/vm-hands-entry-lite-jpq28ncg.js
High Known Malware Source Similarity bin/vm-hands/vm-hands-entry-lite-m8jcht6h.js
High Known Malware Source Similarity bin/vm-hands/vm-hands-entry-lite-pt4r24ky.js
High Known Malware Source Similarity bin/vm-hands/status-n6bv9tmq.js
High Known Malware Source Similarity bin/vm-hands/vm-hands-entry-lite-5kgvss4p.js
High Known Malware Source Similarity bin/vm-hands/vm-hands-entry-lite-anmv8hp7.js
High Known Malware Source Similarity bin/vm-hands/vm-hands-entry-lite-dcynw6t2.js
High Known Malware Source Similarity bin/vm-hands/vm-hands-entry-lite-ha8fgq32.js
High Known Malware Source Similarity bin/vm-hands/vm-hands-entry-lite-m9awmyqz.js
Medium Dynamic Require bin/vm-hands/vm-hands-entry-lite-m9awmyqz.js
Medium Install Persistence bin/vm-hands/vm-hands-entry-lite-pt4r24ky.js
Medium Ships Native Binary bin/ara
Medium Structural Risk Force Deep Review
Behavioral surface ChildProcess Crypto DynamicRequire EnvironmentVars Eval Filesystem Network Shell WebSocket HighEntropyStrings Minified PossibleObfuscation UrlStrings NoLicense
Source & flagged code25 flagged 60 mux backend dial failed (${H})
L61: `)}),M.on("error",()=>O.destroy()),M.once("close",()=>O.destroy()),O.once("close",()=>M.destroy()),M.pipe(O),O.pipe(M)}let U=$6((M)=>{G.add(M),M.once("close",()=>G.delete(M)),M.on(...
L62: `).filter(Boolean);if(F===1)return[];throw Error(`ripgrep failed with exit code ${F}: ${q}`)}import{join as V0,dirname as T6}from"path";import{fileURLToPath as S6}from"url";import*...
High Child Process
Package source references child process execution.
bin/runtime/srt/sandbox-runtime.mjs View on unpkg · L60 55 \r
L56: `)}}),J.on("request",async(Q,Y)=>{Q.on("error",(G)=>{Z(`Client request error: ${G.message}`,{level:"error"})}),Y.on("error",(G)=>{Z(`Client response error: ${G.message}`,{level:"er...
L57: `)),$.end(eq(W))}function L7($){return Buffer.from([5,$,0,1,0,0,0,0,0,0])}function tq($){return new Promise((J)=>{let X=Buffer.alloc(0),Q=(W)=>{$.off("data",G),clearTimeout(Y),J(W)...
...
L60: mux backend dial failed (${H})
L61: `)}),M.on("error",()=>O.destroy()),M.once("close",()=>O.destroy()),O.once("close",()=>M.destroy()),M.pipe(O),O.pipe(M)}let U=$6((M)=>{G.add(M),M.once("close",()=>G.delete(M)),M.on(...
L62: `).filter(Boolean);if(F===1)return[];throw Error(`ripgrep failed with exit code ${F}: ${q}`)}import{join as V0,dirname as T6}from"path";import{fileURLToPath as S6}from"url";import*
High Same File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
bin/runtime/srt/sandbox-runtime.mjs View on unpkg · L55 47 \r
L48: Connection blocked by network allowlist`);return}if(W||Y.destroyed){Y.destroy();return}let P=jJ(j)??j;if($.mitmCA&&($.shouldTerminateTLS?.(P,C)??!0)){Y.write(`HTTP/1.1 200 Connecti...
L49: \r
...
L55: \r
L56: `)}}),J.on("request",async(Q,Y)=>{Q.on("error",(G)=>{Z(`Client request error: ${G.message}`,{level:"error"})}),Y.on("error",(G)=>{Z(`Client response error: ${G.message}`,{level:"er...
L57: `)),$.end(eq(W))}function L7($){return Buffer.from([5,$,0,1,0,0,0,0,0,0])}function tq($){return new Promise((J)=>{let X=Buffer.alloc(0),Q=(W)=>{$.off("data",G),clearTimeout(Y),J(W)...
...
L60: mux backend dial failed (${H})
L61: `)}),M.on("error",()=>O.destroy()),M.once("close",()=>O.destroy()),O.once("close",()=>M.destroy()),M.pipe(O),O.pipe(M)}let U=$6((M)=>{G.add(M),M.once("close",()
High Command Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
bin/runtime/srt/sandbox-runtime.mjs View on unpkg · L47 bin/vm-hands/vm-hands-entry-lite-m8jcht6h.js View file Lines 78-118 javascript
78 `);let B0=j9($,h,{displayVideo:h["display.stream.v1"]===!0&&await U(),handsBrowser:h["hands.connect"]===!0&&M,userChrome:i&&"host"in i?i.host:null,...T===void 0?{}:{githubSignedIn:T},persistentTerminals:h["pty.start"]===!0&&E2(),probing:a,ownComputer:X.ownComputer===!0});if(!W&&B0.worker.readiness?.["browser.pr-proof.v1"]===!0){let O0=await l5();if(W||j.signal.aborted)return B0;process.stderr.write("error"in O0?` Reason worker : PR video proof unavailable (${O0.error})
79 `:` Reason worker : PR video proof ready (ffmpeg ${O0.encoder.ffmpeg.path})
80 `),W=c5({assertCurrent:async()=>{if(!w())throw Error("proof_authority_lost")},...!("error"in O0)?{recording:O0}:{}})}return B0},F=await O(q,H?t3.filter((h)=>q[h]!==!0):[]),z=F9($,J,F,W?.capability);X.onStartup?.("inventory_completed");let _=!1,D=0,R=0,E="starting",P=null,I=!1,f=!1,S=null,k,p=()=>!V.drained&&Date.parse(Y)>Date.now()&&z.supported_operations.some((h)=>F.worker.readiness?.[h]===!0),w=()=>!_&&p(),C=null,x=()=>D+(C?.claims()??0),A=null,y=new Set,b=(h)=>{let a=h.capabilities.root_paths;if(Object.assign(h.capabilities,F9(h.config,h.state,F,W?.capability)),a)h.capabilities.root_paths=a ...
bin/vm-hands/vm-hands-entry-lite-hc3p6r9p.js View file Lines 1-21 javascript
2 import {fk as s} from "./vm-hands-entry-lite-g036gtem.js" ; var mc = {}; s (mc,{ xor :() => Zl, xid :() => kl, void :() => Bl,
bin/vm-hands/vm-hands-entry-lite-m9awmyqz.js View file Lines 285-325 javascript
285 // parse top-level await or return. Those programs retain the prior async
286 // block behavior; a syntax failure occurs before any user code executes.
287 if ( ! statementList || ! (error instanceof SyntaxError )) throw error;
bin/vm-hands/vm-hands-entry-lite-pt4r24ky.js View file Lines 1-21 javascript
2 import {ae as p,ce as V,fe as f} from "./vm-hands-entry-lite-1085xsma.js" ; import {Zh as E} from "./vm-hands-entry-lite-5kgvss4p.js" ; import {ni as y} from "./vm-hands-entry-lite-r6pap1kh.js"
1 // @bun
L2: import{Aa as iJ0}from"./vm-hands-entry-lite-45j8qwsf.js";import{ck as NV0,dk as rn,ek as EJ,gk as an,hk as X0}from"./vm-hands-entry-lite-g036gtem.js";var on={};var $T;var WT=an(()=...
L3: `)!=-1,q=this._styles,O=q.length;while(O--){var E=G[q[O]];if(A=E.open+A.replace(E.closeRe,E.open)+E.close,R)A=A.replace($,function(D){return E.close+D+E.open})}return A}X.setTheme=...
L4: `).join(`
L5: `+N),U.push(z+"m+"+Y.exports.humanize(this.diff)+"\x1B[0m")}else U[0]=$()+M+" "+U[0]}function $(){if(Q.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function W(...
L6: `)}function K(U){if(U)process.env.DEBUG=U;else delete process.env.DEBUG}function H(){return process.env.DEBUG}function B(U){U.inspectOpts={};let M=Object.keys(Q.inspectOpts);for(le...
...
L8: `:`
L9: `,U=B.
Critical Remote Asset Decode Execute
Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.
bin/vm-hands/index-bbk6a9sk.js View on unpkg · L1 239 `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICO...
L240: GFS4: `),console.error(A)};if(!X[W]){if(U=global[W]||[],B(X,U),X.close=function(A){function R(q,O){return A.call(X,q,function(E){if(!E)z();if(typeof O==="function")O.apply(this,arg...
L241: `:""},this._extScope=S,this._scope=new X.Scope({parent:S}),this._nodes=[new F]}toString(){return this._root.render(this.opts)}name(S){return this._scope.name(S)}scopeName(S){return...
High Obfuscated Payload Loader
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
bin/vm-hands/index-bbk6a9sk.js View on unpkg · L239 bin/vm-hands/vm-hands-executor-z89arnng.js View file 1 Cross-file remote execution chain: bin/vm-hands/vm-hands-executor-z89arnng.js spawns bin/vm-hands/vm-hands-entry-lite-anmv8hp7.js; helper contains network access plus dynamic code execution.
L1: // @bun
L2: import{s as Mq}from"./vm-hands-entry-lite-3fdaf4hf.js";import{Lb as Uq,pc as Fq,rb as Lq,tc as Tq}from"./vm-hands-entry-lite-m9awmyqz.js";import"./vm-hands-entry-lite-sb9a1jcn.js";...
L3: `).filter(Boolean);B=Z.length;let Y=Q.map((L)=>{try{return Number(JSON.parse(L).elapsed_ms)||0}catch{return 0}});if(Y.length)X("vm_hands.srt_server_starts",{count:Y.length,elapsed_...
L4: `).filter(Boolean).slice(0,1000);if(!Y.length)return null;let L={},F=0;for(let M of Y)try{let R=JSON.parse(M),K=typeof R.code==="string"&&/^[a-z_]{1,40}$/.test(R.code)?R.code:"othe...
L5: `).find((V)=>V.startsWith("0:
High Cross File Remote Execution Context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
bin/vm-hands/vm-hands-executor-z89arnng.js View on unpkg · L1 • path = bin/ara
kind = native_binary
sizeBytes = 102934672
magicHex = [redacted]
Medium Ships Native Binary
Package ships native binary artifacts.
bin/ara View on unpkg • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/ask-relay-ymd2qzgp.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/ask-relay-8z5hmrxz.js View on unpkg bin/vm-hands/vm-hands-entry-lite-g9sz0618.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-2jbj99sk.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-g9sz0618.js View on unpkg bin/vm-hands/vm-hands-entry-lite-jpq28ncg.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-maqkw6pg.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-jpq28ncg.js View on unpkg • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/status-3wwz3xqm.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/status-n6bv9tmq.js View on unpkg bin/vm-hands/vm-hands-entry-lite-5kgvss4p.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-5kgvss4p.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-5kgvss4p.js View on unpkg bin/vm-hands/vm-hands-entry-lite-anmv8hp7.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-anmv8hp7.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-anmv8hp7.js View on unpkg bin/vm-hands/vm-hands-entry-lite-dcynw6t2.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-dcynw6t2.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-dcynw6t2.js View on unpkg bin/vm-hands/vm-hands-entry-lite-ha8fgq32.js View file • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-z964akpr.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-ha8fgq32.js View on unpkg 81 ` )}t. clear (); for ( let a of h)t. add (a)}, UY ); M0 . unref (); let u0 = ( h ) => { if ( ! X .readinessProbes) i8 ({config:$,readiness:h,signal:j.signal, idle :() => x () === 0 ,permissions: J .roots[ 0 ].permissions, onReady :( a ) => { O (a,[]). then (n)}})}, C0 = H ? G .final. then ( async ( h ) => { if (j.signal.aborted) return ; n ( await O (h,[])); let a = t3. filter (( U0 ) => h[ U0 ] ===! 0 );process.stderr. write ( `Reason worker: deferred lanes decided (${ a . length ? `ready: ${ a . join ( ", " ) }` : "none ready"}).
82 ` ), u0 (h)},() => {}) : Promise . resolve (); if ( ! H ) u0 (q); L ?. then ( async ( h ) => { T = h; for (;;){ let a = F , U0 =await O (a.worker.readiness ?? {},a.worker.probing ?? []); if (j.signal.aborted) return ; if ( F !== a) continue ; n ( U0 ); return }}); let c0 = H && F .worker.probing?. includes ( "pty.start" ) ? G .pty. then ( async ( h ) => { let a = () => F .worker.probing?. includes ( "pty.start" ) ===! 0 ; if (j.signal.aborted ||! a ()) return ; let U0 =await O ({ ... F .worker.readiness, "pty.start" :h},( F .worker.probing ?? []). filter (( i ) => i !== "pty.start" )); if (j.signal.aborted ||! a ()) return ; n ( U0 )},() => {}) : Promise . resolve (), I$ = () => ({version: 1 ,instanceId: Q ,deviceId: J .deviceId,phase: E ,drai ...
83 `:a==="absent"?` Reason worker: CLI ${h} is published; no updater is installed for it here.
84 `:` Reason worker: CLI ${h} is published; the updater did not start, so its next scheduled check takes it.
85 `)}}):void 0),Y0=(h)=>{if(h==="stop")T$();if(h==="reload_roots"){let a=o($);if(!a||a.deviceId!==J.deviceId)throw Error("worker_identity_changed");J.roots=a.roots;let U0=PJ(J.roots,NJ());if(U0)z.root_paths=U0;else delete z.root_paths;C?.check()}if(h==="drain"||h==="resume"){if(_||Date.parse(Y)<=Date.now())throw Error("worker_stopping_or_expired");V={...V,drained:h==="drain"},R0($,V)}return I$()};X.prestartedControl?.handle(Y0);let E$=X.prestartedControl?await X.prestartedControl.closed:await j2($,Q,Y0),G$,x$=!1,f0=()=>{let h=Date.parse(Y)-Date.now();if(h>0){G$=setTimeout(f0,Math.min(h,214748364 ...
86 ` )}}),S.arm(),setTimeout(WJ,0);else if(!m.handsPrespawn&&S)S.close(),S=null}if(m.type=== "heartbeat" ){if(C&&!_&&Date.now()>=Q3)Q3=Date.now()+Y3,C.check().then((s0)=>{X3=s0?0: X3 + 1 , Q3 = Date. now () + (s0 ? Y3 : Math. min ( Y3 , U4 * 2 ** Math. min ( X3 - 1 , 10 )))}); if ( P = m.serverTime, I = m.drain, L1 (), ! _ && C$ ) v ?.(m.latestCliVersions?.[ C$ ]); if ( ! _) E = "running" ; if ( ! _ &&! f && I$ ().executionEligible){ if (f =! 0 , X . onStartup ?.( "ready" ),( X .platform ?? process.platform) === "darwin" ) setTimeout (() => { try { L9 ({skipWhenSettled: ! 0 })} catch {}}, 0 )}} if (m.type === "reconnecting" &&! _) E = "reconnecting" ; if (m.type === "stopped" ) D = 0 ; X . onEvent ?.(m)})}), await C ?.sett ...
87 `)});else if(_&&!x$)await g9({state:J,client:h});if(s$)await _J().catch(()=>{return})}catch(h){if(!(h instanceof L0&&h.status===401))throw h;if(R0($,{...V,revoked:!0}),h.code==="device_revoked")X.onDeviceRevoked?.();throw Error("worker_revoked")}finally{if(clearTimeout(G$),clearInterval(M0),k)clearTimeout(k);if(T1)process.removeListener("SIGTERM",Y$),process.removeListener("SIGINT",T$);X.signal?.removeEventListener("abort",Y$),j.abort(),S?.close(),await C?.settled().catch(()=>{return}),await W?.broker.close().catch(()=>{return}),await E$()}}function qJ($=process.env){if($.REASON_RELAY_CUSTOM_D ...
88 ` ; if (Buffer. byteLength ( Z ) > 65536 ) throw Error ( "worker_ssh_frame_too_large" ); let Q ; try { await new Promise (( X , Y ) => { Q = this .clock. after ( J ,() => Y ( Error ( "worker_ssh_write_timeout" ))), this .output. write ( Z ,( V ) => V ? Y ( Error ( "worker_ssh_connection_failed" )) : X ())})} finally { Q ?.()}}async receive ($ = 30000 , J ){ if ( J ?.aborted) throw Error ( "worker_ssh_cancelled" ); if ( this .queue. length ) return this .queue. shift (); if ( this .failure) throw this .failure; if ( this .waiter) throw Error ( "worker_ssh_concurrent_read" ); let Z , Q ; try { return await new Promise (( X , Y ) => { this .waiter = {resolve: X ,reject: Y }, Q = () => { this .waiter =void 0 , Y ( Error ( "worker_ssh .. .
90 [ - f "$a" ] && [ ! - L "$a" ] && [ - x "$a" ] || { echo worker_ssh_artifact_unavailable >& 2 ; exit 72 ; }
91 p = \${a% /*}; f=\${a##*/ }; p = \${p: -/ }
92 p = $ (cd - P "$p" && pwd - P )
93 [ " \$ {p%/}/$f" = "$a" ] || { echo worker_ssh_artifact_unavailable >& 2 ; exit 72 ; }
94 if [ - x / usr / bin / sha256sum ]; then h = $ ( / usr / bin / sha256sum < "$a" );
95 elif [ - x / usr / bin / shasum ]; then h = $ ( / usr / bin / shasum - a 256 < "$a" );
96 else echo worker_ssh_hash_tool_unavailable >& 2 ; exit 72 ; fi
98 [ "$h" = ${ W9 ($.sha256)} ] || { echo worker_ssh_artifact_mismatch >& 2 ; exit 72 ; }
99 exec "$a" worker __ssh - bootstrap `;return` exec / usr / bin / env - i PATH =/ usr / bin: / bin: / usr / sbin: / sbin / bin / sh - c ${ W9 ( J )} `}function fJ($,J){if(!/^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$/.test($.alias)||!O9($.sshConfig))throw Error("worker_ssh_invalid_target");return["-T","-a","-F",$.sshConfig,"-o","BatchMode=yes","-o","StrictHostKeyChecking=yes","-o","UpdateHostKeys=no","-o","ForwardAgent=no","-o","ClearAllForwardings=yes","-o","PermitLocalCommand=no","-o","GSSAPIDelegateCredentials=no","-o","SessionType=default","-o","StdinNull=no","-o","ForkAfterAuthentication=no","-o","ControlMaster=no","-o","ControlP ...
100 ` )){ let [Q, ... X] = Z . trim (). split ( / \s + / ); if ([ "proxyjump" , "proxycommand" ]. includes ( Q ?? "" ) && X . join ( " " ). toLowerCase () !== "none" ) throw Error ( "worker_ssh_proxy_unsupported" )}} function fY ( $ ){ let J = [ "artifact_unavailable" , "hash_tool_unavailable" , "artifact_mismatch" ]. find (( Z ) => $. includes ( `worker_ssh_${ Z }` )); return J ? `worker_ssh_${ J }` : /HOST IDENTIFICATION HAS CHANGED | Host key verification failed | No . * host key is known/ i . test ($) ? "worker_ssh_host_key_rejected" : /Permission denied | authentication failed | expired/ i . test ($) ? "worker_ssh_authentication_failed" : "worker_ssh_connection_failed" } async function mY ( $ ){awa ...
High Shell
Package source references shell execution.
bin/vm-hands/vm-hands-entry-lite-m8jcht6h.js View on unpkg · L98 101 `)}if(j.type==="stopped"){if(!q)throw Error("worker_ssh_invalid_readiness");return 0}}}catch(H){if(B.signal.aborted){M?.();try{await N.send({type:"stop"});let q=Y.now()+Z.shutdownGraceMs+1e4;while(Y.now()<q)if(kJ.parse(d2(await N.receive(Math.max(1,q-Y.now())))).type==="stopped")return 0}catch{}throw Error("worker_ssh_stop_unconfirmed")}if(H instanceof Error&&H.message==="worker_ssh_connection_closed"){let q=G??await Promise.race([V.result,new Promise((T)=>setTimeout(T,100))]);if(q?.exitCode)throw Error(q.errorCode)}throw H}finally{M?.(),process.removeListener("SIGINT",U),process.removeListene ...
102 ` ); else throw Error ( "probe_protocol_failed" )} catch { V . close (), J ( 1 )}}}}); try { return process.stdout. write ( JSON . stringify ({port: Y .port,token:$}) + `
103 ` ), await Z } finally { clearTimeout ( Q ), Y . stop ( ! 0 ),process.stdin. removeListener ( "end" , X ),process.stdin. pause ()}} import {closeSync as eY,createReadStream as $V,fstatSync as JV,readFileSync as ZV} from "fs" ; var nJ = "/run/sc/instance-generation" ; var rY = / ^ [1-9][0-9] {0,15} \n ?$ / ; function oY ( $ ){ return typeof $ === "number" && Number. isSafeInteger ($) && $ > 0 } function tJ ( $ ){ if ( typeof $ !== "string" ||! rY. test ($)) return null ; let J = Number ($. trim ()); return oY ( J ) ? J : null } var rJ = 3 , QV = 600000 , XV = 65536 , YV = 500 ; function oJ ( $ ){ if ($. length !== 3 || $[ 0 ] !== "standby" || $[ 1 ] !== "--handoff-fd" || $[ 2 ] !== String (rJ)) throw Error ( "worker_standby_inv .. .
105 enroll Obtain / redeem a ticket using the current Reason login
106 start Run the existing Device daemon in the foreground
107 status Read enrollment and live local control state
108 doctor Read local prerequisites; never enroll or repair
109 drain Persist withdrawal of new claims; keep current work
110 resume Explicitly clear persistent drain
111 stop Drain, then cancel at shutdownGraceMs (ephemeral: ends its Device)
112 revoke Revoke an offline Device and remove its local key
113 attach Start this same worker over verified system SSH
115 Config: version 1 ; apiOrigin, channel, stateDirectory, workspaceRoot, lifetime
116 (persistent | ephemeral); executionMode defaults confined (host is explicit consent);
117 slots (Sessions at once, 1 - 4 ) defaults 1 and a Machine worker runs one;
118 shutdownGraceMs defaults 30000. Paths must be absolute and canonical.
Long lines were clipped for display.
• matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-nb5kxm2n.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-m8jcht6h.js View on unpkg uuidv7
:()
=>
$l,
uuidv6
:()
=>
ul,
uuidv4
:()
=>
el,
uuid
:()
=>
vl,
util
:()
=>
k,
url
:()
=>
gl,
uppercase
:()
=>
Xr,
unknown
:()
=>
mr,
union
:()
=>
gt,
undefined
:()
=>
Tl,
ulid
:()
=>
Ul,
uint64
:()
=>
Ql,
uint32
:()
=>
ql,
tuple
:()
=>
Q$
,
trim
:()
=>
Tr,
treeifyError
:()
=>
Lt,
transform
:()
=>
ct,
toUpperCase
:()
=>
Br,
toLowerCase
:()
=>
Hr,
toJSONSchema
:()
=>
Yi,
templateLiteral
:()
=>
uc,
symbol
:()
=>
Fl,
superRefine
:()
=>
cg,
success
:()
=>
tc,
stringbool
:()
=>
Uc,
stringFormat
:()
=>
Ll,
string
:()
=>
On,
strictObject
:()
=>
Rl,
startsWith
:()
=>
Kr,
slugify
:()
=>
Mr,
size
:()
=>
Dr,setErrorM
...
3 `)}var Pr=(n)=>(i,o,v,r)=>{let t=v?{...v,async:!1}:{async:!1},e=i._zod.run({value:o,issues:[]},t);if(e instanceof Promise)throw new C;if(e.issues.length){let u=new(r?.Err??n)(e.issues.map((g)=>Y(g,t,W())));throw Qn(u,r?.callee),u}return e.value},Fn=Pr(B),Jr=(n)=>async(i,o,v,r)=>{let t=v?{...v,async:!0}:{async:!0},e=i._zod.run({value:o,issues:[]},t);if(e instanceof Promise)e=await e;if(e.issues.length){let u=new(r?.Err??n)(e.issues.map((g)=>Y(g,t,W())));throw Qn(u,r?.callee),u}return e.value},Tn=Jr(B),Lr=(n)=>(i,o,v)=>{let r=v?{...v,async:!1}:{async:!1},t=i._zod.run({value:o,issues:[]},r);if(t ...
High Eval
Package source references dynamic code evaluation.
bin/vm-hands/vm-hands-entry-lite-hc3p6r9p.js View on unpkg · L1 4 ` ). filter (( t ) => t),v = Math. min ( ... o. map (( t ) => t. length - t. trimStart (). length )),r = o. map (( t ) => t. slice (v)). map (( t ) => " " . repeat ( this .indent * 2 ) + t); for (let t of r) this .content. push (t)} compile (){let n = Function,i = this ?.args,v = [ ... ( this ?.content ?? [ "" ]). map (( r ) => ` ${ r }` )];return new n ( ... i,v. join ( `
5 ` ))}}var jo = {major: 4 ,minor: 4 ,patch: 3 };var z = l ( "$ZodType" ,( n , i ) => { var o;n ?? (n = {}),n._zod.def = i,n._zod.bag = n._zod.bag || {},n._zod.version = jo; let v = [ ... n._zod.def.checks ?? []]; if (n._zod.traits. has ( "$ZodCheck" ))v. unshift (n); for ( let r of v) for ( let t of r._zod.onattach) t (n); if (v. length === 0 )(o = n._zod).deferred ?? (o.deferred = []),n._zod.deferred?. push (() => {n._zod.run = n._zod.parse}); else { let r = ( e , u , g ) => { let $ = er (e),c; for ( let b of u){ if (b._zod.def.when){ if ( Jt (e)) continue ; if ( ! b._zod.def. when (e)) continue } else if ($) continue ; let S = e.issues. length , D = b._zod. check (e); if ( D instanceof Promise && g?.async ===! 1 ) throw ne ...
6 if (${G}.issues. length ) {
8 payload.issues = payload.issues. concat (${G}.issues. map ( iss => ({
10 path: iss.path ? [${V}, ... iss.path] : [${V}]
15 if (${G}.value === undefined ) {
17 newResult[${V}] = undefined ;
20 newResult[${V}] = ${ G }.value;
Long lines were clipped for display.
new
Function
(
'"use strict"; return (async () => {'
+
code
+
"
\n
})();"
);
289 value = await program ();
291 const output = render (value);
292 return logs. length === 0 ? output : value === undefined ? logs. join ( " \n " ) : logs. join ( " \n " ) + " \n " + output;
294 function install ( name , value ) { Object. defineProperty (globalThis, name, { value, configurable: false , enumerable: false , writable: false }); }
295 install ( "browser" , browser); install ( "context" , context); install ( "page" , page);
296 install ( "state" , state); install ( "browserState" , state);
297 install ( "a11y" , a11y); install ( "view" , view); install ( "routeFulfill" , routeFulfill); install ( "console" , replConsole);
298 install ( "__araHandsRepl" , Object. freeze ({ version, evaluate }));
300 `.trim(),iQ=String.raw`
302 const bridge = globalThis.__araHandsRepl;
303 if ( ! bridge || typeof bridge.evaluate !== "function" ) throw new Error ( "Reason Hands browser bridge is not installed" );
304 return await bridge. evaluate ( typeof input === "string" ? input : input && input.code);
306 `.trim();import{Buffer as Y9}from"buffer";import{randomUUID as z1}from"crypto";class tQ extends Error{code;constructor($){super($==="hands_repl_private_profile_attribute_denied"?"Private browser attribute read denied.":$);this.code=$;this.name="HandsReplBrowserDispatcherError"}}var eQ=new Set(["__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","__proto__","constructor","prototype"]),oQ=/^hands_[A-Za-z0-9_-]{8,128}$/,K1=2048,$Z=32,QZ=1e4,V1=new Set(["href","src","alt","title","role","aria-label","aria-expanded","aria-checked","aria-selected","aria-disabled","placeholder ...
307 ` ): W ; J ({status: F .statusCode ?? 502 ,headers:z,body:Buffer. concat ( B )})})}), G = setTimeout (() => V . destroy ( Error ( "hands_browser_fetch_timeout" )), X7 ); V . once ( "close" ,() => clearTimeout ( G )), V . on ( "error" , Y ), V . end ($. postDataBuffer () ??void 0 )})} async function G7 ( $ , Q , Z = () => {}, X = { lookup :( J ) => p1 ( J ,{all: ! 0 }),fetch: Y7 }){ let J =new WeakSet, Y =new WeakMap, K = ( V ) => { let G = Y . get ( V ); if ( G ) return G ; let F = ( async () => { if ( ! $.newCDPSession) return ; let B =await $. newCDPSession ( V ), H =new Map; B . on ( "Network.loadingFinished" ,({ requestId : z }) => H . delete (z)), B . on ( "Network.loadingFailed" ,({ requestId : z }) => H . delete (z)), B . on ( "Fetch.requestPaused" ...
Medium Dynamic Require
Package source references dynamic require/import behavior.
bin/vm-hands/vm-hands-entry-lite-m9awmyqz.js View on unpkg · L305 308 `)}function J8($){try{d1($)}catch{}}async function AZ($){if($.managedBrowser&&$.driverModuleDirectory!==void 0)throw Error("hands_browser_ambiguous_driver_configuration");let Q=$.launch||$.targetContext?null:$.managedBrowser?await i8($.managedBrowser,{executablePath:$.browserExecutablePath}):await K9({executablePath:$.browserExecutablePath,driverModuleDirectory:$.driverModuleDirectory});if(Q?.status==="unavailable")throw Error(` hands_browser_${Q.reason} `);let Z=Q?.status==="resolved"?Q.executablePath:$.browserExecutablePath;if(!Z||!S9(Z))throw Error("hands_browser_unavailable");let X=$.launch? ...
309 Viewing ${ B0 } (${ j0 . sourceWidth }x${ j0 . sourceHeight } source, sent at ${ j0 . width }x${ j0 . height }, ${ Math . round ( t0 . length / 1024 ) }KB).` } if ( U0 > 640 ) U0 = Math. round ( U0 * 0.75 );else W0 = Math. max ( 30 , W0 - 15 )}throw Error ( `view(): could not reduce the image under ${ Math . round ( qZ / 1024 ) }KB` )}finally{await y0.close().catch(()=>{ return })}},g = XZ ({browser:$.targetContext?. browser () ?? N ,context: M ,page:k,a11y:f,view:_, readWorkspaceFile :( b ) => TZ ($.workspaceRoot,b),privateProfile:$.privateProfile,beforeNavigation:$.beforeNavigation,recording:$.recording,screenshotExport:$.screenshotExport, actionRecorder :() => { let b = J ,h = Y ;retur ...
310 ${h} `}catch{return` ${u}
311 Screen capture unavailable. `}}return u})(),g,c=new Promise((u,a)=>{g=setTimeout(()=>a(Error("REPL evaluation timed out after 105 seconds")),e1)});try{return await Promise.race([_,c])}catch(u){if(u instanceof Error&&u.message.includes("timed out"))_.catch(()=>{return}),await w.resetEvaluator(M).catch(()=>{return});throw u}finally{if(g)clearTimeout(g)}},T=Promise.resolve(),S=new Set,m=new Set;J8($.socketPath);let E=s0.createServer((N)=>{S.add(N),N.once("close",()=>{S.delete(N),m.delete(N)}),N.setEncoding("utf8");let M="",D=!1;N.on("data",(w)=>{if(D)return;if(M+=w,M.length>t1){D=!0,F9(N,{ok:!1,er ...
312 ` ); if (k ===- 1 ) return ; D =! 0 ; let f = M . slice ( 0 ,k); if ($.onControl) try { let _ = JSON . parse (f); if ( typeof _.action === "string" && _.action !== "evaluate" )m. add ( N )} catch {} T = T . then ( async () => { if ( N .destroyed) return ; J = [], Y = {}; try { let _ = JSON . parse (f); if (_.action === "probe" ){ let b =await R (); await P ( "undefined" ,b.evaluator.runId), F9 ( N ,{ok: ! 0 ,output: "ARA_HANDS_REPL_READY" }); return } if ( typeof _.action === "string" && _.action !== "evaluate" && $.onControl){ F9 ( N ,{ok: ! 0 ,output: await $. onControl (_.action,_)}); return } if (_.action !== "evaluate" ||typeof _.code !== "string" ) throw Error ( "Invalid REPL request" ); let g = _.code,c =typeof _.runId === ...
313 `}catch{return!1}}var W7=/^( \/ .+)-sidechat-([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$/;function IZ($){let Q=W7.exec($.replace(/ \/ +$/,""));return Q?` ${ Q [ 1 ]} / repo `:null}import{randomUUID as V6}from"crypto";import{spawn as F6,spawnSync as H6}from"child_process";import{chmodSync as f9,closeSync as U6,constants as U$,fchmodSync as W6,fstatSync as B6,openSync as L6,copyFileSync as N6,existsSync as B$,lstatSync as t,statSync as m9,mkdtempSync as M6,mkdirSync as j9,realpathSync as n,renameSync as W8,rmSync as j6,writeFileSync as B8}from"fs";import{homedir as C6,tmpdir as V4}from"o ...
314 const { writeSync } = require("node:fs");
315 const { createRequire } = require("node:module");
316 const { join } = require("node:path");
317 const { createInterface } = require("node:readline");
318 const { formatWithOptions, inspect } = require("node:util");
319 const vm = require("node:vm");
321 const timeoutMs = ${ V$ };
322 const maxLogChars = 524288;
323 let activeOutput = [];
324 let activeOutputChars = 0;
325 function appendOutput(value) {
Long lines were clipped for display.
• matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-70xn5vnc.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-m9awmyqz.js View on unpkg ;
import
{Hi
as
m,Vi
as
w,Xi
as
u}
from
"./vm-hands-entry-lite-z4hpfwbj.js"
;
import
{spawnSync
as
F}
from
"child_process"
;
import
{createHash
as
e,randomUUID
as
zz}
from
"crypto"
;
import
{chmodSync
as
Hz,existsSync
as
P,mkdirSync
as
Jz,readdirSync
as
Mz,readFileSync
as
L,renameSync
as
Qz,rmSync
as
T,statSync
as
Zz,writeFileSync
as
$z}
from
"fs"
;
import
{dirname
as
Bz,isAbsolute
as
v,join
as
A}
from
"path"
;
var
W
=
"REASON_WORKER_SERVICE"
,j ...
3 `)}function g(H,z){let M;try{M=L(H,"utf8")}catch{return null}let J=b(M);if(!J)return null;let Q=v(J.launcher)?V(J.launcher):J.launcher,{program:Z,identity:B}=d(Q,J.args,z),$=M.replace(I,(j,Y,N,R)=>` ${ Y }${ S ( Z )}
Medium Install Persistence
Source writes installer persistence such as shell profile or service configuration.
bin/vm-hands/vm-hands-entry-lite-pt4r24ky.js View on unpkg · L1 4 ${ R } `);if(!B)$=$.replace(X,"");else if(X.test($))$=$.replace(X,(j,Y,N)=>` ${ Y }${ G ( B .app)}${ N } `);else $=$.replace(Gz,(j,Y,N)=>` ${ Y }
6 < string >${ G ( B .app)}</ string >${ N } `);return $===M?null:$}function Nz(H,z){let M=g(H,z);if(M!==null)C(H,M)}function _z(H,z,M){if(z.platform!=="darwin")return!1;let J=x(H,z,M);return J!==null&&g(J.definition,z)!==null}var K="com.reasonmachines.worker.",_="so.reason.worker.",O=[K,_];function Az(H){return O.some((z)=>H.startsWith(z)&&/^[A-Za-z0-9._-]+$/.test(H.slice(z.length)))}function l(H,z=K){return` ${z}connect${ H === "production" ? "" : `.${ H }` } `}function xz(H,z){return O.some((M)=>H===l(z,M))}function Dz(H,z,M){if(z==="connect")return l(H.channel,M);let J=e("sha256").update(H.workspaceRoot).diges ...
7 ` : "" }${o} `)===r(z,Q,Z,M,{...J,workerIdentity:()=>null},H.path).plist}function n(H,z){if(z==="connect")return{args:["connect"],environment:{REASON_CLI_CHANNEL:H.channel},description:"Reason connection of this computer"};return{args:["serve",H.name,"--dir",H.workspaceRoot,...H.executionMode==="confined"?["--sandbox"]:[]],environment:{},description:` Reason machine ${ H .name} worker `}}function G(H){return H.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">").replaceAll('"',""").replaceAll("'","'")}function k(H,z=!1){if(/[ \0 - \x1f\x7f ]/.test(H))throw new q("A background se ...
8 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
12 <string>${ G ( M . label ) }</string>
13 <key>AssociatedBundleIdentifiers</key>
17 <key>ProgramArguments</key>
21 <key>EnvironmentVariables</key>
Long lines were clipped for display.
• matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/vm-hands-entry-lite-3wgag7rz.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/vm-hands-entry-lite-pt4r24ky.js View on unpkg • Runtime or CLI code links a write operation to an explicit external AI-agent control path:
buffer()),u=await kl(b,v,y.output);console.log(` screenshot saved to ${u}`)}var p50=j0({"packages/playwright-[redacted].ts"(){kx()}});async function n50(){let q=await k7();if(!q.model.attachments.length){console.log(" no attachments");return}console.log(` ${"#".padstart(4)} ${"name".padend(40)} ${"content-type".padend(30)} ${"action".padend(8)}`),console.log(` ${"\u2500".repeat(4)} ${"\u2500".repeat(40)} ${"\u2500".repeat(30)} ${"\u2500".repeat(8)}`);for(let y=0;y<q.model.attachments.length;y++){let x=q.model.attachments[y],j=q.callidtoordinal.get(x.callid);console.log(` ${(y+1+".").padstart(4)} ${x.name.padend(40)} ${x.contenttype.padend(30)} ${(j!==void 0?string(j):x.callid).padend(8)}`)}}asyn
High External Ai Agent Control Surface Mutation
Runtime or CLI source writes behavior-bearing configuration into a user or project AI-agent control surface.
bin/vm-hands/index-bbk6a9sk.js View on unpkg • stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 3
High Semantic Analysis Limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
bin/vm-hands/index-bbk6a9sk.js View on unpkg • matchType = normalized_sha256
matchedPackage = @reason-machines/cli-linux-x64-musl@0.2.372
matchedPath = bin/vm-hands/index-bbk6a9sk.js
matchedIdentity = npm:[redacted]:0.2.372
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/vm-hands/index-bbk6a9sk.js View on unpkg