---
canonical: "https://firewall.lpm.dev/npm/@miomioos/mio-agent/v/0.3.18"
markdown: "https://firewall.lpm.dev/npm/@miomioos/mio-agent/v/0.3.18.md"
package: "@miomioos/mio-agent"
report_status: "published"
title: "@miomioos/mio-agent@0.3.18 npm security report"
verdict: "suspicious"
version: "0.3.18"
---

# @miomioos/mio-agent@0.3.18 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged as agent extension risk** — Allowed by default with warning: install-time first-party agent extension setup was detected.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only agent extension risk
- **Public report status:** Published
- **Threat category:** Agent extension lifecycle risk
- **Selected version:** 0.3.18
- **Selected version is latest:** Yes
- **Analysis source:** AI security review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The package is a high-impact, user-invoked AI daemon with persistent installation, so it warrants a warning. Source inspection does not establish concrete malicious behavior or an unconsented install-time attack chain.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 90.0%
- **Started:** 2026-08-14T17:05:45.026Z
- **Finished:** 2026-08-14T17:07:04.358Z
- **Download time:** 507 ms
- **Static scan time:** 931 ms
- **AI review time:** 77893 ms
- **Total time:** 79332 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** An explicit background-install command downloads a release binary and creates a persistent LaunchAgent. The daemon bridges configured Mio workroom traffic to locally installed Claude/Codex runtimes through a capability-scoped proxy; this is powerful but package-aligned.

- **Trigger:** User runs mio-agent install --background --version \<semver\> and configures/enrolls the daemon.

- **Impact:** A configured Mio server can drive the locally enabled agent workflow; background persistence increases the consequence of misuse or server compromise.

- **Evidence paths:** package.json, README.md, dist/cli/index.js

- **Review source:** ai\_review

- **Reviewed:** 2026-08-14T17:07:04.358Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Remote binary installation, LaunchAgent persistence, and AI-runtime message relay.

- **Rationale:** The package is a high-impact, user-invoked AI daemon with persistent installation, so it warrants a warning. Source inspection does not establish concrete malicious behavior or an unconsented install-time attack chain.

- **Files touched:** ~/.mio/agent.json, ~/.mio/bin/mio-agent, ~/Library/LaunchAgents/io.miomioos.mio-agent.plist

- **Network endpoints:** https://mio.wdao.chat, https://github.com/MioMioOS/mio-agent/releases/download/

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 90.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for warning:** Explicit background install downloads and extracts a remote binary., The install path writes and bootstraps a macOS LaunchAgent., Daemon provisions a capability-scoped proxy for Claude/Codex agent sessions.

- **Evidence against:** No npm install/preinstall/postinstall hook; only prepublishOnly is declared., Enrollment and API traffic are directed to the configured Mio server; no unrelated credential collection or covert exfiltration was confirmed., Persistence is reached through the explicit install --background command, not package installation.

## Affected versions and remediation

This report applies to @miomioos/mio-agent@0.3.18.

- Review the evidence and your use of @miomioos/mio-agent@0.3.18 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 2. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.18/dist/cli/index.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L190: (and others from agentProxy.ts / the server)
L191: `});var Uo={};qe(Uo,{runAgentcliCommand:()=>Eh});async function Eh(){return Mo(process.argv.slice(3),{stdin:process.stdin,stdout:process.stdout,stderr:process.stderr})}var Fo=R(()=...
L192: `;for(var p=0;p<a;p+=2){s+=d.WHITE_ALL;for(var f=0;f<a;f++)c[p][f]===o&&c[p+1][f]===o?s+=d.WHITE_ALL:c[p][f]===o&&c[p+1][f]===i?s+=d.WHITE_BLACK:c[p][f]===i&&c[p+1][f]===o?s+=d.BLA...
```

### 4. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.18/dist/cli/index.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import{createRequire as ___cr}from'module';import{fileURLToPath as ___fu}from'url';import{dirname as ___dn}from'path';const require=___cr(import.meta.url);const __filename=___fu(im...
L3: var Pf=Object.create;var Ls=Object.defineProperty;var If=Object.getOwnPropertyDescriptor;var Nf=Object.getOwnPropertyNames;var Mf=Object.getPrototypeOf,Lf=Object.prototype.hasOwnPr...
L4: `),1;let o=process.env.MIO_AGENT_PROXY_TOKEN_FILE;if(!o)return r.write(JSON.stringify({ok:!1,code:"MISSING_PROXY_TOKEN",message:"MIO_AGENT_PROXY_TOKEN_FILE is not set"})+`
...
L103: `)}}async function mh(n,e,t,r,s,i){switch(n){case"upload":return yh(e,t,r,s,i);case"view":return _h(e,t,r,s,i);default:return i.write(JSON.stringify({ok:!1,code:"UNKNOWN_COMMAND",m...
L104: `),1}}async function Bs(
```

### 5. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 6. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 7. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.18/dist/cli/index.js>)

Source writes installer persistence such as shell profile or service configuration.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import{createRequire as ___cr}from'module';import{fileURLToPath as ___fu}from'url';import{dirname as ___dn}from'path';const require=___cr(import.meta.url);const __filename=___fu(im...
L3: var Pf=Object.create;var Ls=Object.defineProperty;var If=Object.getOwnPropertyDescriptor;var Nf=Object.getOwnPropertyNames;var Mf=Object.getPrototypeOf,Lf=Object.prototype.hasOwnPr...
L4: `),1;let o=process.env.MIO_AGENT_PROXY_TOKEN_FILE;if(!o)return r.write(JSON.stringify({ok:!1,code:"MISSING_PROXY_TOKEN",message:"MIO_AGENT_PROXY_TOKEN_FILE is not set"})+`
...
L103: `)}}async function mh(n,e,t,r,s,i){switch(n){case"upload":return yh(e,t,r,s,i);case"view":return _h(e,t,r,s,i);default:return i.write(JSON.stringify({ok:!1,code:"UNKNOWN_COMMAND",m...
L104: `),1}}async function Bs(
```

### 8. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 9. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.18/dist/cli/index.js>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L190: (and others from agentProxy.ts / the server)
L191: `});var Uo={};qe(Uo,{runAgentcliCommand:()=>Eh});async function Eh(){return Mo(process.argv.slice(3),{stdin:process.stdin,stdout:process.stdout,stderr:process.stderr})}var Fo=R(()=...
L192: `;for(var p=0;p<a;p+=2){s+=d.WHITE_ALL;for(var f=0;f<a;f++)c[p][f]===o&&c[p+1][f]===o?s+=d.WHITE_ALL:c[p][f]===o&&c[p+1][f]===i?s+=d.WHITE_BLACK:c[p][f]===i&&c[p+1][f]===o?s+=d.BLA...
...
L202: --help                Show this message
L203: `)}async function Uh(n){let e;try{({values:e}=Nh({args:n,options:{server:{type:"string",default:Js},"device-name":{type:"string",default:Ln.hostname()},help:{type:"boolean",default...
L204: `);let s=e?["-n",String(t),"-F",...r]:["-n",String(t),...r],i=Hh("tail",s,{stdio:"inherit"});return await new Promise(o=>{i
```

### 10. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.18/dist/cli/index.js>)

Source appears to send environment or credential material to an external endpoint.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import{createRequire as ___cr}from'module';import{fileURLToPath as ___fu}from'url';import{dirname as ___dn}from'path';const require=___cr(import.meta.url);const __filename=___fu(im...
L3: var Pf=Object.create;var Ls=Object.defineProperty;var If=Object.getOwnPropertyDescriptor;var Nf=Object.getOwnPropertyNames;var Mf=Object.getPrototypeOf,Lf=Object.prototype.hasOwnPr...
L4: `),1;let o=process.env.MIO_AGENT_PROXY_TOKEN_FILE;if(!o)return r.write(JSON.stringify({ok:!1,code:"MISSING_PROXY_TOKEN",message:"MIO_AGENT_PROXY_TOKEN_FILE is not set"})+`
...
L103: `)}}async function mh(n,e,t,r,s,i){switch(n){case"upload":return yh(e,t,r,s,i);case"view":return _h(e,t,r,s,i);default:return i.write(JSON.stringify({ok:!1,code:"UNKNOWN_COMMAND",m...
L104: `),1}}async function Bs(
```

### 11. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.18/dist/cli/index.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L190: (and others from agentProxy.ts / the server)
L191: `});var Uo={};qe(Uo,{runAgentcliCommand:()=>Eh});async function Eh(){return Mo(process.argv.slice(3),{stdin:process.stdin,stdout:process.stdout,stderr:process.stderr})}var Fo=R(()=...
L192: `;for(var p=0;p<a;p+=2){s+=d.WHITE_ALL;for(var f=0;f<a;f++)c[p][f]===o&&c[p+1][f]===o?s+=d.WHITE_ALL:c[p][f]===o&&c[p+1][f]===i?s+=d.WHITE_BLACK:c[p][f]===i&&c[p+1][f]===o?s+=d.BLA...
...
L202: --help                Show this message
L203: `)}async function Uh(n){let e;try{({values:e}=Nh({args:n,options:{server:{type:"string",default:Js},"device-name":{type:"string",default:Ln.hostname()},help:{type:"boolean",default...
L204: `);let s=e?["-n",String(t),"-F",...r]:["-n",String(t),...r],i=Hh("tail",s,{stdio:"inherit"});return await new Promise(o=>{i
```

### 12. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.18/dist/cli/index.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.main -> dist/cli/index.js
L1: #!/usr/bin/env node
L2: import{createRequire as ___cr}from'module';import{fileURLToPath as ___fu}from'url';import{dirname as ___dn}from'path';const require=___cr(import.meta.url);const __filename=___fu(im...
L3: var Pf=Object.create;var Ls=Object.defineProperty;var If=Object.getOwnPropertyDescriptor;var Nf=Object.getOwnPropertyNames;var Mf=Object.getPrototypeOf,Lf=Object.prototype.hasOwnPr...
L4: `),1;let o=process.env.MIO_AGENT_PROXY_TOKEN_FILE;if(!o)return r.write(JSON.stringify({ok:!1,code:"MISSING_PROXY_TOKEN",message:"MIO_AGENT_PROXY_TOKEN_FILE is not set"})+`
...
L103: `)}}async function mh(n,e,t,r,s,i){switch(n){case"upload":return yh(e,t,r,s,i);case"view":return _h(e,t,r,s,i);default:return i.write(JSON.stringify({ok:!
```

### 13. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.18/dist/cli/index.js>)

A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: manifest.main -> dist/cli/index.js
L1: #!/usr/bin/env node
L2: import{createRequire as ___cr}from'module';import{fileURLToPath as ___fu}from'url';import{dirname as ___dn}from'path';const require=___cr(import.meta.url);const __filename=___fu(im...
L3: var Pf=Object.create;var Ls=Object.defineProperty;var If=Object.getOwnPropertyDescriptor;var Nf=Object.getOwnPropertyNames;var Mf=Object.getPrototypeOf,Lf=Object.prototype.hasOwnPr...
L4: `),1;let o=process.env.MIO_AGENT_PROXY_TOKEN_FILE;if(!o)return r.write(JSON.stringify({ok:!1,code:"MISSING_PROXY_TOKEN",message:"MIO_AGENT_PROXY_TOKEN_FILE is not set"})+`
...
L103: `)}}async function mh(n,e,t,r,s,i){switch(n){case"upload":return yh(e,t,r,s,i);case"view":return _h(e,t,r,s,i);default:return i.wr
```

### 14. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.18/dist/cli/index.js>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: manifest.main -> dist/cli/index.js
L190: (and others from agentProxy.ts / the server)
L191: `});var Uo={};qe(Uo,{runAgentcliCommand:()=>Eh});async function Eh(){return Mo(process.argv.slice(3),{stdin:process.stdin,stdout:process.stdout,stderr:process.stderr})}var Fo=R(()=...
L192: `;for(var p=0;p<a;p+=2){s+=d.WHITE_ALL;for(var f=0;f<a;f++)c[p][f]===o&&c[p+1][f]===o?s+=d.WHITE_ALL:c[p][f]===o&&c[p+1][f]===i?s+=d.WHITE_BLACK:c[p][f]===i&&c[p+1][f]===o?s+=d.BLA...
...
L202: --help                Show this message
L203: `)}async function Uh(n){let e;try{({values:e}=Nh({args:n,options:{server:{type:"string",default:Js},"device-name":{type:"string",default:Ln.hostname()},help:{type:"boolean",default...
L204: `);let s=e?["-n",String(t),"-F",...
```

### 15. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.18/dist/cli/index.js>)

A manifest entrypoint or package-local install chain reaches persistence behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: manifest.main -> dist/cli/index.js
L1: #!/usr/bin/env node
L2: import{createRequire as ___cr}from'module';import{fileURLToPath as ___fu}from'url';import{dirname as ___dn}from'path';const require=___cr(import.meta.url);const __filename=___fu(im...
L3: var Pf=Object.create;var Ls=Object.defineProperty;var If=Object.getOwnPropertyDescriptor;var Nf=Object.getOwnPropertyNames;var Mf=Object.getPrototypeOf,Lf=Object.prototype.hasOwnPr...
L4: `),1;let o=process.env.MIO_AGENT_PROXY_TOKEN_FILE;if(!o)return r.write(JSON.stringify({ok:!1,code:"MISSING_PROXY_TOKEN",message:"MIO_AGENT_PROXY_TOKEN_FILE is not set"})+`
...
L103: `)}}async function mh(n,e,t,r,s,i){switch(n){case"upload":return yh(e,t,r,s,i);case"view":return _h(e,t,r,s,i);default:return i.write(JSON.str
```

### 16. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 17. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 18. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 19. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepublishOnly
- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 11
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** @miomioos/mio-agent
- **Ecosystem:** npm
- **Version:** 0.3.18
- **License:** UNLICENSED
- **Version published:** 2026-08-14T16:56:07.428Z
- **Package first seen:** 2026-07-07T13:23:28.235Z
- **Package last seen:** 2026-11-08T03:16:09.744Z
- **Known versions:** 9
- **Latest version:** 0.3.18
- **Appeal under review:** No
- **Description:** Mio Agent — background AI worker daemon for MioIsland. Bridges Claude Code sessions to the MioMioOS server.
- **Author:** Laurent Liu
- **Maintainers:** miomioos
- **Keywords:** mio, claude, codex, ai, daemon, mio-agent
- **Runtime engines:** node: \>=20.0.0
- **Artifact files:** 10
- **Artifact unpacked size:** 370,847 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@miomioos/mio-agent/v/0.3.18>)
- [Repository](<https://github.com/MioMioOS/mio-agent>)
- [Homepage](<https://github.com/MioMioOS/mio-agent#readme>)
- [Issues](<https://github.com/MioMioOS/mio-agent/issues>)
