---
canonical: "https://firewall.lpm.dev/npm/u-foo/v/3.0.6"
markdown: "https://firewall.lpm.dev/npm/u-foo/v/3.0.6.md"
package: "u-foo"
report_status: "under_review"
title: "u-foo@3.0.6 npm security report"
verdict: "suspicious"
version: "3.0.6"
---

# u-foo@3.0.6 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 — allowed with a warning** — Allowed by default policy, but 21 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Under Review
- **Threat category:** None published
- **Selected version:** 3.0.6
- **Selected version is latest:** No
- **Analysis source:** Static Scan Results (rust-scanner)

Static analysis flagged 21 finding(s) at 97.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Suspicious
- **Confidence:** 97.0%
- **Started:** 2026-07-22T14:41:21.438Z
- **Finished:** 2026-07-22T14:41:28.146Z
- **Download time:** 1523 ms
- **Static scan time:** 5184 ms
- **AI review time:** Not available
- **Total time:** 6708 ms

## Security analysis

No additional public attack-surface or AI-review details are available.

## Public findings

### 1. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall.js
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall.js
```

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

Package declares npm scripts.

### 4. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** bin/ufoo.js
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/bin/ufoo.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L80: 
L81: const { execSync } = require("child_process");
L82: const path = require("path");
```

### 5. High: Shell
- **Category:** Source
- **Confidence:** 85.0%

Package source references shell execution.

### 6. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** bin/ukimi.js
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/bin/ukimi.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L13: 
L14: const AgentLauncher = require("../src/agents/launch/launcher");
L15: const { resolveDefaultManualBootstrap } = require("../[redacted]");
```

### 7. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** src/runtime/projects/projectId.js
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/src/runtime/projects/projectId.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: const crypto = require("crypto");
L2: const fs = require("fs");
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 11. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** src/coordination/bus/inject.js
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/src/coordination/bus/inject.js>)

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

Public source snippet (untrusted):

```javascript
L1: const { spawn, spawnSync } = require("child_process");
L2: const fs = require("fs");
L3: const net = require("net");
L4: const path = require("path");
...
L7: 
L8: const SHOULD_LOG_INJECT = process.env.UFOO_INJECT_DEBUG === "1";
L9: const logInject = (message) => {
```

### 12. Critical: Ai Agent Control Hijack
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** scripts/postinstall.js
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/scripts/postinstall.js>)

Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.

Public source snippet (untrusted):

```javascript
Install-time AI-agent control hijack evidence:
L62: function installClaudeCommands(home, sources) {
L63: const commandsDir = path.join(home, ".claude", "commands");
L64: fs.mkdirSync(commandsDir, { recursive: true });
L65: 
...
L73: function installSkillDirs(targetDir, sources, label) {
L74: fs.mkdirSync(targetDir, { recursive: true });
L75: 
...
L83: // Install ufoo skills for Claude and Codex at npm install time.
L84: // - Claude slash commands: ~/.claude/commands/<name>.md -> SKILL.md
L85: // - Claude skills: ~/.claude/skills/<name> -> skill dir
L86: // - Codex skills: ${CODEX_HOME:-~/.codex}/skills/<name> -> skill dir
L87: try {
Payload evidence from SKILLS/ufoo/SKILL.md:
L141: Notes:
L142: - Use `--scope private` for helper-internal reports (assistant-like private channel).
L143: - `-
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 15. 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.

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

Package manifest does not declare a clear license.

### 17. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/runtime/daemon/mcpServer.js
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/src/runtime/daemon/mcpServer.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = u-foo@2.5.14
matchedPath = src/runtime/daemon/mcpServer.js
matchedIdentity = npm:dS1mb28:2.5.14
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 18. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/agents/launch/launcher.js
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/src/agents/launch/launcher.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = u-foo@2.5.14
matchedPath = src/agents/launch/launcher.js
matchedIdentity = npm:dS1mb28:2.5.14
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 19. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/app/chat/transport.js
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/src/app/chat/transport.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = u-foo@2.5.14
matchedPath = src/app/chat/transport.js
matchedIdentity = npm:dS1mb28:2.5.14
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 20. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/app/cli/run.js
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/src/app/cli/run.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = u-foo@2.5.14
matchedPath = src/app/cli/run.js
matchedIdentity = npm:dS1mb28:2.5.14
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 21. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/coordination/bus/index.js
- **Public source:** [View source](<https://unpkg.com/u-foo@3.0.6/src/coordination/bus/index.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = u-foo@2.5.14
matchedPath = src/coordination/bus/index.js
matchedIdentity = npm:dS1mb28:2.5.14
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

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

### Published dependency entries
- @anthropic-ai/claude-agent-sdk ^0.2.138 (Dependency)
- @openai/codex-sdk ^0.130.0 (Dependency)
- @xterm/addon-serialize ^0.14.0 (Dependency)
- @xterm/headless ^6.0.0 (Dependency)
- chalk ^4.1.2 (Dependency)
- commander ^13.1.0 (Dependency)
- gray-matter ^4.0.3 (Dependency)
- ink ^5.2.1 (Dependency)
- node-pty ^1.1.0 (Dependency)
- react ^18.3.1 (Dependency)
- ws ^8.19.0 (Dependency)

## Package metadata
- **Package:** u-foo
- **Ecosystem:** npm
- **Version:** 3.0.6
- **License:** SEE LICENSE IN LICENSE
- **Version published:** 2026-07-22T14:40:45.504Z
- **Package first seen:** 2026-07-09T10:56:36.043Z
- **Package last seen:** 2026-08-19T17:46:23.807Z
- **Known versions:** 12
- **Latest version:** 3.0.25
- **Appeal under review:** No
- **Description:** Multi-Agent Workspace Protocol. Just add u. claude → uclaude, codex → ucodex.
- **Author:** UFOO Team
- **Maintainers:** icyouo
- **Keywords:** cli, ai, agent, multi-agent, claude, codex, orchestration, workspace
- **Runtime engines:** node: \>=18
- **Artifact files:** 346
- **Artifact unpacked size:** 2,800,181 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/u-foo/v/3.0.6>)
- [Repository](<https://github.com/Icyoung/ufoo>)
- [Homepage](<https://ufoo.dev/>)
- [Issues](<https://github.com/Icyoung/ufoo/issues>)
