---
canonical: "https://firewall.lpm.dev/npm/mx-www-app-lib2/v/1.0.0"
markdown: "https://firewall.lpm.dev/npm/mx-www-app-lib2/v/1.0.0.md"
package: "mx-www-app-lib2"
report_status: "published"
title: "mx-www-app-lib2@1.0.0 npm security report"
verdict: "malicious"
version: "1.0.0"
---

# mx-www-app-lib2@1.0.0 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
**Blocked & quarantined** — Unconsented collection and local disclosure/persistence of hostname, username, working directory, platform, and timestamp.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 1.0.0
- **Selected version is latest:** Yes
- **Analysis source:** AI Security Review (lpm-firewall-ai)

Installing the package automatically collects local host and environment metadata, then writes it to a temporary file. This occurs without an explicit user command.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Malicious
- **Confidence:** 94.0%
- **Started:** 2026-07-31T22:56:51.574Z
- **Finished:** 2026-07-31T22:57:09.835Z
- **Download time:** 514 ms
- **Static scan time:** 7 ms
- **AI review time:** 17739 ms
- **Total time:** 18261 ms

## Security analysis

### Published attack-surface review

- **Summary:** Installing the package automatically collects local host and environment metadata, then writes it to a temporary file. This occurs without an explicit user command.

- **Trigger:** npm postinstall during package installation

- **Impact:** Unconsented collection and local disclosure/persistence of hostname, username, working directory, platform, and timestamp.

- **Evidence paths:** package.json, index.js

- **Review source:** ai\_review

- **Reviewed:** 2026-07-31T22:57:09.835Z

### AI review details

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

- **Mechanism:** install-time host metadata collection and temporary-file write

- **Attack narrative:** On npm installation, the postinstall inline Node command reads host and process context values and writes them to mexc-confirmation-dios.txt in the OS temporary directory. The package labels itself as a dependency-confusion proof of concept. No network exfiltration was found, but the unsolicited install-time metadata collection and filesystem mutation are concrete malicious behavior.

- **Rationale:** Direct inspection confirms an automatic postinstall collector and file write; the benign runtime entrypoint does not mitigate that install-time behavior. No network transmission was found.

- **Files touched:** package.json, index.js, os.tmpdir()/mexc-confirmation-dios.txt

### Review decision

- **Verdict:** Malicious

- **Confidence:** 94.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for:** package.json defines an automatic postinstall Node command., Postinstall collects hostname, user, cwd, platform, and time., Postinstall writes collected host metadata to os.tmpdir()/mexc-confirmation-dios.txt., package.json describes a dependency-confusion proof of concept.

- **Evidence against:** No outbound network endpoint is present in inspected source., index.js only logs a placeholder message.

## Public findings

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

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node -e "const o=require('os');const f=require('fs');const p=require('path');f.writeFileSync(p.join(o.tmpdir(),'mexc-confirmation-dios.txt'),'HOST='+o.hostname()+'
USER='+(process....
```

### 2. Critical: Red Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 95.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/mx-www-app-lib2@1.0.0/package.json>)

Install-time lifecycle script matches a deterministic static-gate block pattern.

Public source snippet (untrusted):

```json
scripts.postinstall = node -e "const o=require('os');const f=require('fs');const p=require('path');f.writeFileSync(p.join(o.tmpdir(),'mexc-confirmation-dios.txt'),'HOST='+o.hostname()+'
USER='+(process....
```

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

Package declares npm scripts.

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

Package source contains high-entropy string patterns.

### 5. 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:** postinstall
- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** mx-www-app-lib2
- **Ecosystem:** npm
- **Version:** 1.0.0
- **License:** UNLICENSED
- **Version published:** 2026-07-31T16:01:34.847Z
- **Package first seen:** 2026-07-31T22:57:09.835Z
- **Package last seen:** 2026-07-31T22:57:09.835Z
- **Known versions:** 1
- **Latest version:** 1.0.0
- **Appeal under review:** No
- **Description:** Security placeholder to prevent dependency confusion on mx-www-app-lib2. Published by diosikigai for BugRap PoC.
- **Author:** diosikigai
- **Artifact files:** 2
- **Artifact unpacked size:** 849 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/mx-www-app-lib2/v/1.0.0>)
- [Repository](<https://github.com/diosikigai/mexc-poc.git>)
- [Homepage](<https://github.com/diosikigai/mexc-poc#readme>)
- [Issues](<https://github.com/diosikigai/mexc-poc/issues>)
