agent-device@0.21.42
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.41
vet-skills diff agent-device 0.21.41 0.21.42In the sandbox, this version reached for nothing 0.21.41 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-23 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: Privileged sudo command; Credential pass-through configuration; Auto-update or dynamic fetch configuration. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
…p/Contents/Developer (or your Xcode's path) before running agent-device, or run sudo xcode-select -s /Applications/Xcode.app.`}}function ot(e,t,n){if(e.exitCode===0)…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…===`/rpc`?Response.json({jsonrpc:`2.0`,id:r,error:{code:-32001,message:`Invalid proxy token`,data:e(new n(`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.…runtime`)throw new a(`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 V({host:e.host,command:i,positionals:o,flags:s,cl…Fix: Pin versions and sources; vendor anything fetched at install time.…:`≠`,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.…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.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.…a as pe,i as w,n as T,o as E,r as D}from"./args.js";import{n as O,r as k}from"./remote-config-flags.js";import{b as A,g as j,i as M}from"./remote-connection-state.js";import{i as N}from"./auth-session.js";import P from"node:fs";import{path…Fix: Pin versions and sources; vendor anything fetched at install time.…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.…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.…=K(`settle`,`settleQuietMs`,`timeoutMs`),Hi=K(`replayUpdate`,`replayEnv`),Ui=K(`remoteConfig`,`stateDir`,`daemonBaseUrl`,`daemonAuthToken`,`daemonTransport`,`daemonServerMode`,`tenant`,`sessionIsolation`,`runId`,`leaseId`,`leaseBackend`,`s…Fix: Pin versions and sources; vendor anything fetched at install time.…ed before completing the capture: ${e.message}`,{hint:`Keep audio-probe.resource.json; stop resolves the record through descriptor cleanup.`})}async function A(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.… t=e.effectiveFlags.daemonBaseUrl;return e.debugOutputEnabled&&!e.effectiveFlags.json&&!t?qe(e.daemonPaths.logPath):null}async function Ae(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.…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.…ion:N(z([`symbols`])),artifact:N(P(`Apple crash artifact path (.ips, .crash, or .log).`)),dsym:P(`Path to a matching .dSYM bundle.`),searchPath:P(`Directory to scan for matching .dSYM bundles.`),out:P(`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.….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.…purpose===`simctl-screen-recording`?`SIGINT`:`SIGTERM`}const xr=`owned-processes.json`;function Sr(e){let t=f.resolve(e.stateDir),n=f.resolve(e.sessionsDir),r=f.join(t,xr),i=t=>{if(t.kind===`daemon`)return r;let i=f.resolve(e.resolveSessio…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…IN`,S=v.join(ee(),`.agent-device`,`macos-helper`,`current`),C=v.join(S,`manifest.json`),w=/^[A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]+)+$/;function T(e){let n=e.trim();if(!w.test(n))throw new t(`INVALID_ARGS`,`macOS bundle id must use reverse-DNS f…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…the proxy`,{hint:`Upload the artifact, or use a "url" source.`});return Response.json({jsonrpc:`2.0`,id:t,error:{code:-32602,message:r.message,data:e(r)}},{status:400})}function y(e){if(e)try{return S(S(JSON.parse(e))?.params)}catch{return…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.…aseUrl:P(),proxyBaseUrl:jr(P(),{operatorPath:`Configure the remote proxy in the remote-config profile or operator config for the process serving these tools.`}),bearerToken:jr(P(),{envFlagKeys:[`metroBearerToken`,`daemonAuthToken`]}),bridg…Fix: Pin versions and sources; vendor anything fetched at install time.…=r(a,{diagnosticId:u().diagnosticId,logPath:d({force:!0})?.path});return e.flags.json?await U({success:!1,error:o}):await H(o,{debugTier:t.debugOutputEnabled,command:e.command}),C(1)}}async function De(e){let{runReactDevtoolsComma…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.… you own.`: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.…LID_ARGS`,`AGENT_DEVICE_HOME must be absolute or ~/...`);return _.join(t,`config.json`)}function x(e){let t=e.AGENT_DEVICE_CLAIMS_DIR?.trim();if(!t)return _.join(ne.homedir(),`.agent-device`,`device-claims`);if(!_.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.…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.…replayBackend));return{...Ee(e),metadata:G(e)}}const Zr=`expired-provider-leases.json`,Qr=`live-provider-leases.json`,$r=[`leaseId`,`tenantId`,`runId`,`backend`,`leaseProvider`],ei=[`createdAt`,`heartbeatAt`,`expiresAt`],ti={running:0,drai…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…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.…urn e===`shared_group_writable`&&typeof t==`string`?`Remove group write access (chmod g-w) from this directory: ${t}. Or ${g}`:`Use a cache directory nobody else can …Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.…`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 Cn(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.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
Not checked against OSV yet; the weekly check has not reached this version.
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.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Credential pass-through configuration≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Auto-update or dynamic fetch configuration≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.