agent-device@0.21.41
CAUTION· install onlyPublisher claims: "Open source device layer for AI coding agents: a CLI, MCP server, and typed Node.js API to control mobile, web, TV, and desktop apps on devices and simulators, locally or in the cloud." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
- It will ask for
- no credential variables read in the code
- Where it talks to
- no vendor host named in the codeAlso limrun.com, browserstack.com, warting.se — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- use of the skill by an agent
Connect it under the guard. Nothing executable in the bundle ran; the trace covers the install step only. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
What changed since 0.21.40
vet-skills diff agent-device 0.21.40 0.21.41In the sandbox, this version reached for nothing 0.21.40 did not. Compared from the two recorded runs, not from source.
The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-19 and scored it 64/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Hidden zero-width characters detected; Hidden zero-width characters detected; Host or code assembled from base64 fragments. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
…eturn e.run(t,n,{allowFailure:!0,signal:r.signal,timeoutMs:i})}const g=`manifest.json`;async function _(e){let{host:t,deadline:r,cacheRoot:i,binaryFilename:c}=e,l=o(`sha256`).update(JSON.stringify(e.keyInputs)).digest(`hex`).slice(0,32),u=…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…ow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:``,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃…Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.…:`≠`,nearhk:`⤤`,neArr:`⇗`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:``,NegativeThickSpace:``,NegativeThinSpace:``,NegativeVeryThinSpace:``,nequiv:…Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.…for(let e of r)t.push(Buffer.from(n),Buffer.from(e));else t.push(Buffer.from(n),Buffer.from(r));return t}function Z(e,t){e[E]=t;let n=e[M],r=e[N],i=ne.connect(e[_],{createConnection:()=>t,peerMaxConcurrentStreams:e[k],settings:{enablePush…Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.…k)throw Error(`Workload token exchange returned HTTP ${n.status}`);let r=await n.json();if(!r.token)throw Error(`This instance has no delegated asset permissions`);let i=Date.parse(r.expiresAt);if(!Number.isFinite(i)||i<=Date.now())throw E…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…aseUrl:M(),proxyBaseUrl:Pr(M(),{operatorPath:`Configure the remote proxy in the remote-config profile or operator config for the process serving these tools.`}),bearerToken:Pr(M(),{envFlagKeys:[`metroBearerToken`,`daemonAuthToken`]}),bridg…Fix: Pin versions and sources; vendor anything fetched at install time.…r between 1 and 21600`);let r={command:`run`,commandLine:t,cwd:n?.cwd??`.`,...n?.env?.length&&{env:n.env},...n?.timeoutSeconds!==void 0&&{timeoutSeconds:n.timeoutSe…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…=K(`settle`,`settleQuietMs`,`timeoutMs`),Ui=K(`replayUpdate`,`replayEnv`),Wi=K(`remoteConfig`,`stateDir`,`daemonBaseUrl`,`daemonAuthToken`,`daemonTransport`,`daemonServerMode`,`tenant`,`sessionIsolation`,`runId`,`leaseId`,`leaseBackend`,`s…Fix: Pin versions and sources; vendor anything fetched at install time.…===`/rpc`?Response.json({jsonrpc:`2.0`,id:r,error:{code:-32001,message:`Invalid proxy token`,data:e(new t(`UNAUTHORIZED`,`Invalid proxy token`))}},{status:401}):Response.j…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…p/Contents/Developer (or your Xcode's path) before running agent-device, or run sudo xcode-select -s /Applications/Xcode.app.`}}function tt(e,t,n){if(e.exitCode===0)…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…;import{exitAfterFlush as w}from"./process-exit.js";import{n as T,r as E}from"./remote-config-flags.js";import{m as D,v as O}from"./remote-connection-state.js";import{i as k}from"./auth-session.js";import A from"node:fs";import{pathToFileU…Fix: Pin versions and sources; vendor anything fetched at install time.Intro rule: category line, job pitch with the platform list, works-with/proof lines, nothing else. Per-platform transports, tool names, vendor lists, and supporFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.…runtime`)throw new i(`INVALID_ARGS`,`runtime command was removed. Use connect --remote-config <path> for remote runs, or metro prepare --remote-config <path> for inspection.`);else if(await B({host:e.host,command:a,positionals:o,flags:s,cl…Fix: Pin versions and sources; vendor anything fetched at install time.….indexOf(e);return(t,n)=>{r(t)&&(t===`error`||t===`warn`?console[t](e,n):console.log(e,n))}}function Ct(e){return(t,n)=>{if(t.trim()===``)throw Error(`commandLine must not be empty`);if(n?.timeoutSeconds!==void 0&&(!Number.isInteger(n.time…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.… t=e.effectiveFlags.daemonBaseUrl;return e.debugOutputEnabled&&!e.effectiveFlags.json&&!t?ze(e.daemonPaths.logPath):null}async function Se(e){if(e.command!==`test`)return;let{createReplayTestReporterRuntime:t}=await import(`./reporting.js`…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uD…Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.…rney.ad`.":e===`shared_group_writable`?`Close the directory to its group with \`chmod g-w ${t}\`, or save the script under a directory only you can write.`:`Save the …Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.…IN`,C=y.join(ee(),`.agent-device`,`macos-helper`,`current`),w=y.join(C,`manifest.json`),ie=/^[A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]+)+$/;function T(e){let n=e.trim();if(!ie.test(n))throw new t(`INVALID_ARGS`,`macOS bundle id must use reverse-DNS…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…artifact, or use a "url" or "github-actions-artifact" source.`});return Response.json({jsonrpc:`2.0`,id:n,error:{code:-32602,message:r.message,data:e(r)}},{status:400})}function ue(e){if(e)try{return y(y(JSON.parse(e))?.params)}catch{retur…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…ion:j(L([`symbols`])),artifact:j(M(`Apple crash artifact path (.ips, .crash, or .log).`)),dsym:M(`Path to a matching .dSYM bundle.`),searchPath:M(`Directory to scan for matching .dSYM bundles.`),out:M(`Output path for the symbolicated arti…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…LID_ARGS`,`AGENT_DEVICE_HOME must be absolute or ~/...`);return v.join(t,`config.json`)}function ie(e){let t=e.AGENT_DEVICE_CLAIMS_DIR?.trim();if(!t)return v.join(_.homedir(),`.agent-device`,`device-claims`);if(!v.isAbsolute(t))throw new r…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…=n(a,{diagnosticId:p().diagnosticId,logPath:l({force:!0})?.path});return e.flags.json?await W({success:!1,error:o}):await U(o,{debugTier:t.debugOutputEnabled,command:e.command}),w(1)}}async function ye(e){let{runReactDevtoolsComma…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…`immutable`)}static json(e,t=void 0){D.argumentLengthCheck(arguments,1,`Response.json`),t!==null&&(t=D.converters.ResponseInit(t));let n=R.encode(L(e)),r=u(n),i=ie(W({}),`response`);return q(i,t,{body:r[0],type:`application/json`}),i}stati…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…eys??[e]).map(Le).join(` or `);return r===``?`Set ${e} in ~/.agent-device/config.json ${n}`:`Set the ${r} environment variable${t.operatorConfig?` (or ${e} in ~/.agent-device/config.json)`:``} ${n}`}function Tn(e){if(e==null)return{};if(!e…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…eplayBackend));return{...we(e),metadata:Te(e)}}const Jr=`expired-provider-leases.json`,Yr=`live-provider-leases.json`,Xr=[`leaseId`,`tenantId`,`runId`,`backend`,`leaseProvider`],Zr=[`createdAt`,`heartbeatAt`,`expiresAt`],Qr={running:0,drai…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…ory above it that the group or other users can write, remove that write access (chmod g-w,o-w) from that directory. When it is v3 or a directory inside it (bin, home …Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.…ed before completing the capture: ${e.message}`,{hint:`Keep audio-probe.resource.json; stop resolves the record through descriptor cleanup.`})}async function j(e){try{return await e.terminate(),await e.wait.catch(()=>{}),{status:`cleaned`}…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…purpose===`simctl-screen-recording`?`SIGINT`:`SIGTERM`}const sr=`owned-processes.json`;function cr(e){let t=d.resolve(e.stateDir),n=d.resolve(e.sessionsDir),r=d.join(t,sr),i=t=>{if(t.kind===`daemon`)return r;let i=d.resolve(e.resolveSessio…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…urn e===`shared_group_writable`&&typeof t==`string`?`Remove group write access (chmod g-w) from this directory: ${t}. Or ${h}`:`Use a cache directory nobody else can …Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
No advisories in OSV for agent-device@0.21.41 as of 2 h ago. This is the package itself, not its dependencies.
What would make this Verified
16 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim callstack: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
- Obfuscated code≈ +5 on the totalRemove base64-assembled strings, eval of decoded text and minified blobs. Reviewers and scanners both treat unreadable code as hostile.
- Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
- Host or code assembled from base64 fragments≈ +4 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
- Auto-update or dynamic fetch configuration≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.