---
canonical: "https://firewall.lpm.dev/npm/@askexenow/exe-os/v/0.9.361"
markdown: "https://firewall.lpm.dev/npm/@askexenow/exe-os/v/0.9.361.md"
package: "@askexenow/exe-os"
report_status: "published"
title: "@askexenow/exe-os@0.9.361 npm security report"
verdict: "malicious"
version: "0.9.361"
---

# @askexenow/exe-os@0.9.361 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
**Soft block: AI-agent control surface** — Warn by default; block when configured. Package code gains recurring execution in Claude Code sessions and can influence agent tool and prompt lifecycle.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Warn by default
- **Public report status:** Published
- **Threat category:** Soft block: AI-agent control surface
- **Selected version:** 0.9.361
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

LPM flags this version as an AI-agent control-surface risk. npm postinstall automatically mutates Claude Code's global configuration and registers executable hooks. Those hooks execute package code across broad Claude lifecycle events.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Malicious
- **Confidence:** 99.0%
- **Started:** 2026-08-06T20:13:32.880Z
- **Finished:** 2026-08-06T20:14:16.826Z
- **Download time:** 1008 ms
- **Static scan time:** 2070 ms
- **AI review time:** 40866 ms
- **Total time:** 43946 ms

## Security analysis

### Published attack-surface review

- **Summary:** npm postinstall automatically mutates Claude Code's global configuration and registers executable hooks. Those hooks execute package code across broad Claude lifecycle events.

- **Trigger:** npm install or package upgrade on a non-Windows host with existing ~/.exe-os setup state.

- **Impact:** Package code gains recurring execution in Claude Code sessions and can influence agent tool and prompt lifecycle.

- **Evidence paths:** package.json, postinstall.mjs, dist/bin/install.js, dist/chunk-U32RDCUB.js, dist/hooks/post-tool-combined.js, dist/hooks/prompt-submit.js

- **Review source:** ai\_review

- **Reviewed:** 2026-08-06T20:14:16.826Z

### AI review details

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

- **Mechanism:** postinstall registration of global MCP server, skills, and command hooks

- **Attack narrative:** Installing or upgrading the package runs postinstall.mjs, which invokes the installer without an explicit user command. For users with existing package state, it writes a global Claude MCP entry and injects commands that execute package hook scripts on session, prompt, tool, and stop events. This is an unconsented install-time mutation of a foreign, broad AI-agent control surface.

- **Rationale:** The lifecycle path is concrete and reaches global Claude configuration and recurring command hooks. This meets the blocking policy regardless of scanner similarity labels.

- **Files touched:** postinstall.mjs, dist/bin/install.js, dist/chunk-U32RDCUB.js, ~/.claude.json, ~/.claude/settings.json, ~/.claude/skills, ~/.exe/mcp.json

### Review decision

- **Verdict:** Malicious

- **Confidence:** 99.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for:** package.json runs postinstall.mjs automatically., postinstall.mjs invokes dist/bin/install.js --commands-only., dist/bin/install.js calls registerMcpServer and mergeHooks during postinstall after setup state exists., dist/chunk-U32RDCUB.js writes ~/.claude.json MCP configuration and ~/.claude/settings.json., mergeHooks installs package commands for Claude SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Stop, and other events., postinstall also copies package-authored skills into ~/.claude/skills.

- **Evidence against:** The observed network endpoint in dist/chunk-J73I53JO.js is user-consented cloud setup, not lifecycle exfiltration., The postinstall skips MCP/hooks on a fresh setup state, but mutates them automatically for existing users.

## Public findings

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

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node postinstall.mjs
```

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

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

Public source snippet (untrusted):

```json
scripts.postinstall = node postinstall.mjs
```

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

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

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

Package declares npm scripts.

### 5. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/chunk-75H4R62K.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/chunk-75H4R62K.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: // src/lib/cc-binary-detect.ts
L2: import { execSync } from "child_process";
L3: import { existsSync, readFileSync, readdirSync } from "fs";
```

### 6. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/chunk-J73I53JO.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/chunk-J73I53JO.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L532: const HEAP_FLAG_RE = /^--(max[-_]old[-_]space[-_]size|max[-_]semi[-_]space[-_]size|max[-_]heap[-_]size)(=|$)/i;
L533: const execArgv = [
L534: ...process.execArgv.filter((a) => !HEAP_FLAG_RE.test(a)),
```

### 7. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** postinstall.mjs
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/postinstall.mjs>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L49: try {
L50: const mod = await import(pathToFileURL(path.join(packageRoot, "dist", "lib", "platform-support.js")).href);
L51: if (typeof mod.windowsRefusalText === "function") text = mod.windowsRefusalText();
```

### 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. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/chunk-6EM6USV7.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/chunk-6EM6USV7.js>)

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

Public source snippet (untrusted):

```javascript
L21: // src/lib/exe-daemon-client.ts
L22: import net from "net";
L23: import os from "os";
L24: import { spawn, execSync as execSync2 } from "child_process";
L25: import { randomUUID as randomUUID2 } from "crypto";
...
L65: function daemonPidPath() {
L66: return process.env.EXE_DAEMON_PID ?? path.join(exeDir(), "exed.pid");
L67: }
...
L122: attr.ppid = ppid;
L123: if (process.platform !== "win32" && Number.isInteger(ppid) && ppid > 0) {
L124: try {
...
L192: try {
```

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

Package source references filesystem APIs.

### 12. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/chunk-J73I53JO.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/chunk-J73I53JO.js>)

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

Public source snippet (untrusted):

```javascript
L34: import crypto from "crypto";
L35: import { execSync } from "child_process";
L36: import { existsSync as existsSync2, mkdirSync, readFileSync, unlinkSync as unlinkSync2, chmodSync } from "fs";
...
L45: import path from "path";
L46: var GGUF_URL = process.env.EXE_EMBED_MODEL_URL ?? "";
L47: var EXPECTED_SHA256 = process.env.EXE_EMBED_MODEL_SHA256 ?? "";
...
L116: resetInactivityTimer();
L117: if (!fileStream.write(value)) {
L118: await new Promise((resolve) => fileStream.once("drain", resolve));
...
L147: if (attempt < MAX_RETRIES) {
L148: process.stderr.write(`
L149: Download attempt ${attempt} failed, retrying...
```

### 13. Critical: Download Execute
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/bin/install.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/bin/install.js>)

Source downloads or fetches remote code and executes it.

Public source snippet (untrusted):

```javascript
L213: import { existsSync, openSync, closeSync, writeFileSync, readFileSync, unlinkSync, statSync, mkdirSync, chmodSync, renameSync, readdirSync } from "fs";
L214: import { spawn, execSync } from "child_process";
L215: import path from "path";
L216: import os from "os";
L217: var homedir = os.homedir;
L218: function exeDir() {
...
L228: try {
L229: const pkg = JSON.parse(readFileSync(path.join(pkgRoot, "package.json"), "utf8"));
L230: return pkg.version;
...
L249: versionMismatchWarned = true;
L250: process.stderr.write(
L251: `exe-os: daemon/client version mismatch (daemon ${daemonVersion}, client ${clientVersion}). Run: exe-os-install --global
```

### 14. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** dist/bin/deferred-daemon-restart.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/bin/deferred-daemon-restart.js>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: dist/bin/deferred-daemon-restart.js spawns dist/chunk-3OEVDGIY.js; helper contains network access plus dynamic code execution.
L171: import { existsSync, openSync, closeSync, writeFileSync, unlinkSync, readFileSync } from "fs";
L172: import { spawn, execSync } from "child_process";
L173: import path from "path";
...
L184: try {
L185: const pkg = JSON.parse(readFileSync(path.join(pkgRoot, "package.json"), "utf8"));
L186: return pkg.version;
...
L205: versionMismatchWarned = true;
L206: process.stderr.write(
L207: `[deferred-restart] daemon/client version mismatch (daemon ${daemonVersion}, client ${clientVersion}). Run: exe-os-install --global
...
L213: const result2 = await new Promise((resolve) => {
L214: const req = http.get(`http://127.0.0.1:${DAEMON_PO
```

### 15. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/bin/install.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/bin/install.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.bin -> dist/bin/install.js
L213: import { existsSync, openSync, closeSync, writeFileSync, readFileSync, unlinkSync, statSync, mkdirSync, chmodSync, renameSync, readdirSync } from "fs";
L214: import { spawn, execSync } from "child_process";
L215: import path from "path";
L216: import os from "os";
L217: var homedir = os.homedir;
L218: function exeDir() {
...
L228: try {
L229: const pkg = JSON.parse(readFileSync(path.join(pkgRoot, "package.json"), "utf8"));
L230: return pkg.version;
...
L249: versionMismatchWarned = true;
L250: process.stderr.write(
L251: `exe-os: daemon/client version mismatch (daemon ${daemonVersion}, client ${clientVersion}). Run: exe-os-install --global
```

### 16. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/bin/install.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/bin/install.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: manifest.bin -> dist/bin/install.js
L213: import { existsSync, openSync, closeSync, writeFileSync, readFileSync, unlinkSync, statSync, mkdirSync, chmodSync, renameSync, readdirSync } from "fs";
L214: import { spawn, execSync } from "child_process";
L215: import path from "path";
L216: import os from "os";
L217: var homedir = os.homedir;
L218: function exeDir() {
...
L228: try {
L229: const pkg = JSON.parse(readFileSync(path.join(pkgRoot, "package.json"), "utf8"));
L230: return pkg.version;
...
L249: versionMismatchWarned = true;
L250: process.stderr.write(
L251: `exe-os: daemon/client version mismatch (daemon ${daemonVersion}, client ${clientVersion}). Run: exe-os-install --global
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 19. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/bin/exe-start.sh
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/bin/exe-start.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = dist/bin/exe-start.sh
kind = build_helper
sizeBytes = 10459
magicHex = [redacted]
```

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

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

Package manifest does not declare a clear license.

### 22. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/bin/codex-reviewd-cli.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/bin/codex-reviewd-cli.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 = @askexenow/exe-os@0.9.344
matchedPath = dist/bin/codex-reviewd-cli.js
matchedIdentity = npm:QGFza2V4ZW5vdy9leGUtb3M:0.9.344
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 23. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/chunk-5KLQCGI5.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/chunk-5KLQCGI5.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 = @askexenow/exe-os@0.9.344
matchedPath = dist/chunk-5KLQCGI5.js
matchedIdentity = npm:QGFza2V4ZW5vdy9leGUtb3M:0.9.344
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 24. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/chunk-64HUCOAL.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/chunk-64HUCOAL.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 = @askexenow/exe-os@0.9.359
matchedPath = dist/chunk-64HUCOAL.js
matchedIdentity = npm:QGFza2V4ZW5vdy9leGUtb3M:0.9.359
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 25. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 95.0%
- **Path:** dist/chunk-VGWGXAHT.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/chunk-VGWGXAHT.js>)

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

Public source snippet (untrusted):

```javascript
matchType = token_shingles
matchedPackage = @askexenow/exe-os@0.9.359
matchedPath = dist/chunk-74R44E4S.js
matchedIdentity = npm:QGFza2V4ZW5vdy9leGUtb3M:0.9.359
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
```

### 26. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 95.0%
- **Path:** dist/hooks/session-end.js
- **Public source:** [View source](<https://unpkg.com/@askexenow/exe-os@0.9.361/dist/hooks/session-end.js>)

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

Public source snippet (untrusted):

```javascript
matchType = token_shingles
matchedPackage = @askexenow/exe-os@0.9.359
matchedPath = dist/hooks/session-end.js
matchedIdentity = npm:QGFza2V4ZW5vdy9leGUtb3M:0.9.359
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall, prepare, prepublishOnly
- **Dependencies:** 25
- **Optional dependencies:** 2
- **Peer dependencies:** 0
- **Development dependencies:** 11
- **Published dependency-graph edges:** 27

### Published dependency entries
- @anthropic-ai/sdk ^0.95.2 (Dependency)
- @aws-sdk/client-s3 ^3.1052.0 (Dependency)
- @aws-sdk/s3-request-presigner ^3.1052.0 (Dependency)
- @libsql/client ^0.14.0 (Dependency)
- @modelcontextprotocol/sdk ^1.29.0 (Dependency)
- @opentelemetry/api ^1.9.1 (Dependency)
- @opentelemetry/sdk-node ^0.219.0 (Dependency)
- @opentelemetry/sdk-trace-base ^2.8.0 (Dependency)
- @slack/bolt ^4.7.0 (Dependency)
- @slack/web-api ^7.15.1 (Dependency)
- bip39 ^3.1.0 (Dependency)
- discord.js ^14.26.3 (Dependency)
- grammy ^1.42.0 (Dependency)
- ink ^6.8.0 (Dependency)
- ink-text-input ^6.0.0 (Dependency)
- jose ^6.2.2 (Dependency)
- node-llama-cpp ^3.18.1 (Dependency)
- nodemailer ^8.0.9 (Dependency)
- openai ^6.33.0 (Dependency)
- pg ^8.20.0 (Dependency)
- react ^19.2.4 (Dependency)
- typescript ^5.9.3 (Dependency)
- ws ^8.21.0 (Dependency)
- yjs ^13.6.30 (Dependency)
- zod ^4.3.6 (Dependency)
- @whiskeysockets/baileys ^7.0.0-rc12 (OptionalDependency)
- keytar ^7.9.0 (OptionalDependency)

## Package metadata
- **Package:** @askexenow/exe-os
- **Ecosystem:** npm
- **Version:** 0.9.361
- **License:** SEE LICENSE IN LICENSE
- **Version published:** 2026-08-06T14:27:24.794Z
- **Package first seen:** 2026-07-01T10:17:21.528Z
- **Package last seen:** 2026-08-14T09:16:04.081Z
- **Known versions:** 19
- **Latest version:** 0.9.372
- **Appeal under review:** No
- **Description:** AI employee operating system — persistent memory, task management, and multi-agent coordination for Claude Code.
- **Keywords:** claude-code, claude, mcp, memory, ai-agents, multi-agent, embeddings, vector-search, libsql, turso, rag
- **Runtime engines:** node: \>=20.0.0
- **Artifact files:** 691
- **Artifact unpacked size:** 7,266,802 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@askexenow/exe-os/v/0.9.361>)
- [Repository](<https://github.com/AskExe/exe-os.git>)
- [Homepage](<https://askexe.com/>)
- [Issues](<https://github.com/AskExe/exe-os/issues>)
