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

# @miomioos/mio-agent@0.3.14 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
**Allowed — no malicious behavior detected** — 16 low-signal patterns reviewed and cleared.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 0.3.14
- **Selected version is latest:** No
- **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: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

Static hints map to expected daemon behavior: explicit enrollment, keychain token storage, local proxying, runtime launch, and optional service installation. I found no npm lifecycle execution, unconsented AI-agent control-surface mutation, credential exfiltration, destructive behavior, or remote payload execution outside the documented package purpose.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 82.0%
- **Started:** 2026-07-09T00:55:35.077Z
- **Finished:** 2026-07-09T00:56:14.114Z
- **Download time:** 780 ms
- **Static scan time:** 343 ms
- **AI review time:** 37913 ms
- **Total time:** 39037 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:** No confirmed malicious attack surface by static inspection. The package is a user-invoked MioMioOS agent daemon with expected auth, local proxy, runtime spawning, and optional LaunchAgent setup.

- **Trigger:** Explicit CLI commands such as login, start, run, install --background, doctor, pair-phone, or agentcli

- **Impact:** Can run an AI agent bridge after user enrollment, but no install-time hijack, secret harvesting, or unaligned exfiltration was found.

- **Evidence paths:** package.json, README.md, dist/cli/index.js, dist/runtimes/skills/mio-messaging.md, dist/runtimes/skills/mio-tasks.md, dist/runtimes/skills/mio-team.md, dist/runtimes/skills/mio-attachments.md, dist/runtimes/skills/mio-memory.md

- **Review source:** ai\_review

- **Reviewed:** 2026-07-09T00:56:14.114Z

### AI review details

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

- **Mechanism:** Package-aligned daemon, enrollment, local proxy, and optional service installer

- **Rationale:** Static hints map to expected daemon behavior: explicit enrollment, keychain token storage, local proxying, runtime launch, and optional service installation. I found no npm lifecycle execution, unconsented AI-agent control-surface mutation, credential exfiltration, destructive behavior, or remote payload execution outside the documented package purpose.

- **Files touched:** package.json, README.md, dist/cli/index.js, dist/runtimes/skills/mio-messaging.md, dist/runtimes/skills/mio-tasks.md, dist/runtimes/skills/mio-team.md, dist/runtimes/skills/mio-attachments.md, dist/runtimes/skills/mio-memory.md

- **Network endpoints:** https://mio.wdao.chat, https://github.com/MioMioOS/mio-agent/releases/download/v\<version\>/, http://127.0.0.1:7878, http://127.0.0.1:\<ephemeral\>/act

### Review decision

- **Verdict:** Clean

- **Confidence:** 82.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Medium

- **Evidence for AI clean decision:** dist/cli/index.js implements user-invoked background install with LaunchAgent and GitHub release download, dist/cli/index.js stores a machine token in macOS Keychain after login approval, dist/cli/index.js starts local agent proxy and can spawn Claude/Codex runtimes from daemon config

- **Evidence against:** package.json has no install/preinstall/postinstall hook; only prepublishOnly build script, Network calls are package-aligned: login/enrollment to https://mio.wdao.chat by default, configured server\_url, and GitHub releases for explicit install, Token use is for Authorization to Mio internal agent APIs; no evidence of broad env/credential harvesting, Background persistence requires explicit mio-agent install --background --version, not npm install-time mutation, Downloaded SEA release is checked against SHASUMS256.txt and manifest before install, README describes the package as a MioMioOS background AI worker daemon and documents the same commands

## Affected versions and remediation

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

- No action is needed for @miomioos/mio-agent@0.3.14. Pin the version in your lockfile and check new releases as they are scanned.

## Public findings

These are automated scan signals. The review checked each one and found no malicious behavior, so all of them are cleared.

### 1. Low: Non Install Lifecycle Scripts (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 80.0%

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

### 2. Low: Scripts Present (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. High: Child Process (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.14/dist/cli/index.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L189: (and others from agentProxy.ts / the server)
L190: `});var Po={};He(Po,{runAgentcliCommand:()=>lh});async function lh(){return To(process.argv.slice(3),{stdin:process.stdin,stdout:process.stdout,stderr:process.stderr})}var Io=C(()=...
L191: `;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 (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.14/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 yf=Object.create;var Rs=Object.defineProperty;var _f=Object.getOwnPropertyDescriptor;var wf=Object.getOwnPropertyNames;var vf=Object.getPrototypeOf,bf=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"})+`
...
L102: `)}}async function nh(n,e,t,r,s,i){switch(n){case"upload":return rh(e,t,r,s,i);case"view":return sh(e,t,r,s,i);default:return i.write(JSON.stringify({ok:!1,code:"UNKNOWN_COMMAND",m...
L103: `),1}}async function Ps(
```

### 5. Medium: Network (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 6. Medium: Environment Vars (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 7. Medium: Install Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.14/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 yf=Object.create;var Rs=Object.defineProperty;var _f=Object.getOwnPropertyDescriptor;var wf=Object.getOwnPropertyNames;var vf=Object.getPrototypeOf,bf=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"})+`
...
L102: `)}}async function nh(n,e,t,r,s,i){switch(n){case"upload":return rh(e,t,r,s,i);case"view":return sh(e,t,r,s,i);default:return i.write(JSON.stringify({ok:!1,code:"UNKNOWN_COMMAND",m...
L103: `),1}}async function Ps(
```

### 8. Low: Filesystem (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 9. High: Same File Env Network Execution (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.14/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
L189: (and others from agentProxy.ts / the server)
L190: `});var Po={};He(Po,{runAgentcliCommand:()=>lh});async function lh(){return To(process.argv.slice(3),{stdin:process.stdin,stdout:process.stdout,stderr:process.stderr})}var Io=C(()=...
L191: `;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...
...
L201: --help                Show this message
L202: `)}async function xh(n){let e;try{({values:e}=wh({args:n,options:{server:{type:"string",default:Us},"device-name":{type:"string",default:Pn.hostname()},help:{type:"boolean",default...
L203: `);let s=e?["-n",String(t),"-F",...r]:["-n",String(t),...r],i=Ch("tail",s,{stdio:"inherit"});return await new Promise(o=>{i
```

### 10. Critical: Credential Exfiltration (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.14/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 yf=Object.create;var Rs=Object.defineProperty;var _f=Object.getOwnPropertyDescriptor;var wf=Object.getOwnPropertyNames;var vf=Object.getPrototypeOf,bf=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"})+`
...
L102: `)}}async function nh(n,e,t,r,s,i){switch(n){case"upload":return rh(e,t,r,s,i);case"view":return sh(e,t,r,s,i);default:return i.write(JSON.stringify({ok:!1,code:"UNKNOWN_COMMAND",m...
L103: `),1}}async function Ps(
```

### 11. High: Command Output Exfiltration (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.14/dist/cli/index.js>)

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

Public source snippet (untrusted):

```javascript
L189: (and others from agentProxy.ts / the server)
L190: `});var Po={};He(Po,{runAgentcliCommand:()=>lh});async function lh(){return To(process.argv.slice(3),{stdin:process.stdin,stdout:process.stdout,stderr:process.stderr})}var Io=C(()=...
L191: `;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...
...
L201: --help                Show this message
L202: `)}async function xh(n){let e;try{({values:e}=wh({args:n,options:{server:{type:"string",default:Us},"device-name":{type:"string",default:Pn.hostname()},help:{type:"boolean",default...
L203: `);let s=e?["-n",String(t),"-F",...r]:["-n",String(t),...r],i=Ch("tail",s,{stdio:"inherit"});return await new Promise(o=>{i
```

### 12. Critical: Trigger Reachable Dangerous Capability (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli/index.js
- **Public source:** [View source](<https://unpkg.com/@miomioos/mio-agent@0.3.14/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 yf=Object.create;var Rs=Object.defineProperty;var _f=Object.getOwnPropertyDescriptor;var wf=Object.getOwnPropertyNames;var vf=Object.getPrototypeOf,bf=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"})+`
...
L102: `)}}async function nh(n,e,t,r,s,i){switch(n){case"upload":return rh(e,t,r,s,i);case"view":return sh(e,t,r,s,i);default:return i.write(JSON.stringify({ok:!
```

### 13. Low: High Entropy Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 14. Low: Url Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 15. Medium: Structural Risk Force Deep Review (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

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

### 16. Low: No License (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **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.14
- **License:** UNLICENSED
- **Version published:** 2026-07-09T00:06:39.149Z
- **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:** 360,668 bytes
- **Artifact signatures:** 1
- **Attestations:** No

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