---
canonical: "https://firewall.lpm.dev/npm/@henri-ralmeida/prumo/v/1.3.16"
markdown: "https://firewall.lpm.dev/npm/@henri-ralmeida/prumo/v/1.3.16.md"
package: "@henri-ralmeida/prumo"
report_status: "published"
title: "@henri-ralmeida/prumo@1.3.16 npm security report"
verdict: "policy_finding"
version: "1.3.16"
---

# @henri-ralmeida/prumo@1.3.16 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. It changes foreign agent control surfaces and creates a process that starts at login without an explicit setup command.

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

This finding concerns changes to an AI agent's instructions or configuration without explicit user action. It does not by itself establish malware intent. The CLI warns by default and blocks when configured for this policy.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

LPM flags this version as an AI-agent control-surface risk. A global installation automatically detects AI-agent environments and writes Prumo instructions into their configuration. It then registers a persistent local dashboard process.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 98.0%
- **Started:** 2026-09-19T11:14:50.305Z
- **Finished:** 2026-09-19T11:15:49.952Z
- **Download time:** 755 ms
- **Static scan time:** 478 ms
- **AI review time:** 58413 ms
- **Total time:** 59647 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:** A global installation automatically detects AI-agent environments and writes Prumo instructions into their configuration. It then registers a persistent local dashboard process.

- **Trigger:** npm postinstall during a global installation of the package.

- **Impact:** It changes foreign agent control surfaces and creates a process that starts at login without an explicit setup command.

- **Evidence paths:** package.json, scripts/postinstall.mjs, bin/prumo.mjs, lib/install.mjs, lib/autostart.mjs

- **Review source:** ai\_review

- **Reviewed:** 2026-09-19T11:15:49.952Z

### AI review details

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

- **Mechanism:** Automatic AI-agent configuration mutation and dashboard autostart registration.

- **Attack narrative:** During global npm installation, postinstall runs \`prumo install --all\`. That flow discovers supported agent harnesses, injects Prumo instructions into Codex configuration, and automatically enables a persistent dashboard service. The changes affect user-controlled agent configuration and operating-system startup settings without requiring the user to run the documented install command or select a target.

- **Rationale:** The package performs unconsented postinstall mutation of broad AI-agent control surfaces and establishes persistence. This meets the install-control-surface blocking rule even though the observed dashboard binds only to loopback.

- **Files touched:** AGENTS.override.md, AGENTS.md, Library/LaunchAgents/dev.prumo.dashboard.plist, .config/systemd/user/prumo-dashboard.service

- **Network endpoints:** http://127.0.0.1:4949

### Review decision

- **Verdict:** Malicious

- **Confidence:** 98.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for policy risk:** The manifest runs a postinstall lifecycle script., Postinstall automatically invokes the CLI with install --all when globally installed., The installer appends package instructions to Codex AGENTS files without an explicit user command., The automatic install enables a dashboard after any successful harness installation., The dashboard creates persistent launchd, systemd, or startup entries.

- **Evidence against:** No remote network endpoint, credential collection, or data-exfiltration sink was found in the inspected install path.

## Affected versions and remediation

This report applies to @henri-ralmeida/prumo@1.3.16.

- Avoid installing @henri-ralmeida/prumo@1.3.16. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

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

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

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

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

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

Public source snippet (untrusted):

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

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

Package declares npm scripts.

### 4. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%

Package source references a known benign dynamic code generation pattern.

### 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:** lib/autostart.mjs
- **Public source:** [View source](<https://unpkg.com/@henri-ralmeida/prumo@1.3.16/lib/autostart.mjs>)

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

Public source snippet (untrusted):

```javascript
L1: import { execFileSync, spawn, spawnSync } from 'node:child_process'
L2: import { existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, writeFileSync } from 'node:fs'
L3: import { createServer } from 'node:net'
L4: import { homedir } from 'node:os'
...
L22: const source = `[Console]::OutputEncoding=[System.Text.UTF8Encoding]::new(); $p=Get-CimInstance Win32_Process -Filter "ProcessId = ${id}"; if ($null -eq $p) { exit 1 }; @{ executab...
L23: return JSON.parse(execFileSync('powershell.exe', ['-NoProfile', '-NonInteractive', '-Command', source], { encoding: 'utf8', windowsHide: true, timeout: 10000 }))
L24: }
...
L33: function defaults(options = {}) {
L34: const home = options.home ?? homedir()
L35: const platform = options.platform ?? process.platform
L36: const packageR
```

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

Package source references filesystem APIs.

### 9. Critical: Ai Agent Control Hijack
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** lib/install.mjs
- **Public source:** [View source](<https://unpkg.com/@henri-ralmeida/prumo@1.3.16/lib/install.mjs>)

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 code directly mutates a foreign AI-agent control surface:
L1: import { existsSync, readFileSync, writeFileSync, mkdirSync, readdirSync, lstatSync, renameSync, unlinkSync, rmdirSync, rmSync, copyFileSync, statSync, accessSync, constants, readl...
L2: import { homedir } from 'node:os'
...
L73: } else if (stat.isDirectory()) {
L74: mkdirSync(destination, { recursive: true })
L75: for (const name of readdirSync(source)) copySnapshot(join(source, name), join(destination, name))
L76: } else {
L77: mkdirSync(dirname(destination), { recursive: true })
L78: copyFileSync(source, destination, constants.COPYFILE_EXCL)
L79: }
...
L125: } else if (stat.isDirectory()) {
L126: mkdirSync(relocated, { recursive: true })
L127: for (const name of readdirSync(current)) copyRelocatedTree(join(curre
```

### 10. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** lib/autostart.mjs
- **Public source:** [View source](<https://unpkg.com/@henri-ralmeida/prumo@1.3.16/lib/autostart.mjs>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: manifest.bin -> bin/prumo.mjs -> lib/autostart.mjs
L1: import { execFileSync, spawn, spawnSync } from 'node:child_process'
L2: import { existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, writeFileSync } from 'node:fs'
L3: import { createServer } from 'node:net'
L4: import { homedir } from 'node:os'
...
L22: const source = `[Console]::OutputEncoding=[System.Text.UTF8Encoding]::new(); $p=Get-CimInstance Win32_Process -Filter "ProcessId = ${id}"; if ($null -eq $p) { exit 1 }; @{ executab...
L23: return JSON.parse(execFileSync('powershell.exe', ['-NoProfile', '-NonInteractive', '-Command', source], { encoding: 'utf8', windowsHide: true, timeout: 10000 }))
L24: }
...
L33: function defaults(options = {}) {
L34: const home = options.home ??
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

### 14. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** scripts/serve.mjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@henri-ralmeida/prumo@1.3.16/scripts/serve.mjs%23virtual%3Anormalized%3Around1>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 1
```

### 15. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/validation.mjs
- **Public source:** [View source](<https://unpkg.com/@henri-ralmeida/prumo@1.3.16/scripts/validation.mjs>)

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 = @henri-ralmeida/prumo@1.3.8
matchedPath = scripts/validation.mjs
matchedIdentity = npm:QGhlbnJpLXJhbG1laWRhL3BydW1v:1.3.8
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 16. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/i18n.mjs
- **Public source:** [View source](<https://unpkg.com/@henri-ralmeida/prumo@1.3.16/scripts/i18n.mjs>)

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 = @henri-ralmeida/prumo@1.3.8
matchedPath = scripts/i18n.mjs
matchedIdentity = npm:QGhlbnJpLXJhbG1laWRhL3BydW1v:1.3.8
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

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

## Package metadata
- **Package:** @henri-ralmeida/prumo
- **Ecosystem:** npm
- **Version:** 1.3.16
- **License:** MIT
- **Version published:** 2026-09-18T15:18:55.397Z
- **Package first seen:** 2026-09-11T10:32:29.154Z
- **Package last seen:** 2026-10-08T17:09:04.433Z
- **Known versions:** 12
- **Latest version:** 2.6.1
- **Appeal under review:** No
- **Description:** Evidence-driven task orchestration with PO First for Claude Code, Kiro and Codex
- **Author:** Henrique Almeida
- **Keywords:** agent-skills, claude-code, kiro, codex, orchestration, po-first
- **Runtime engines:** node: \>=22
- **Artifact files:** 30
- **Artifact unpacked size:** 645,585 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@henri-ralmeida/prumo/v/1.3.16>)
- [Repository](<https://github.com/henri-ralmeida/prumo.git>)
- [Homepage](<https://github.com/henri-ralmeida/prumo#readme>)
- [Issues](<https://github.com/henri-ralmeida/prumo/issues>)
