---
canonical: "https://firewall.lpm.dev/npm/@bangdao-ai/acw-tools/v/1.13.73"
markdown: "https://firewall.lpm.dev/npm/@bangdao-ai/acw-tools/v/1.13.73.md"
package: "@bangdao-ai/acw-tools"
report_status: "published"
title: "@bangdao-ai/acw-tools@1.13.73 npm security report"
verdict: "malicious"
version: "1.13.73"
---

# @bangdao-ai/acw-tools@1.13.73 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** — A package-controlled remote host can supply native code that executes during installation.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Install Hook Abuse
- **Selected version:** 1.13.73
- **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: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

Installing the package runs an obfuscated downloader that obtains and loads a native payload without an integrity check. It also runs a rebuild command with lifecycle scripts enabled.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 94.0%
- **Started:** 2026-09-12T09:53:13.213Z
- **Finished:** 2026-09-12T09:54:09.190Z
- **Download time:** 512 ms
- **Static scan time:** 1035 ms
- **AI review time:** 54428 ms
- **Total time:** 55977 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:** Installing the package runs an obfuscated downloader that obtains and loads a native payload without an integrity check. It also runs a rebuild command with lifecycle scripts enabled.

- **Trigger:** npm installation

- **Impact:** A package-controlled remote host can supply native code that executes during installation.

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

- **Review source:** ai\_review

- **Reviewed:** 2026-09-12T09:54:09.190Z

### AI review details

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

- **Mechanism:** Obfuscated install-time remote native payload download and execution

- **Attack narrative:** The package registers postinstall, which runs an intentionally obfuscated script. That script fetches a better-sqlite3 archive from the vendor OSS endpoint, writes extracted files under node\_modules, and validates them by loading the module in a child Node process. Because the download has no visible integrity verification, the remote host controls native code executed during package installation; the script additionally runs npm rebuild with foreground lifecycle scripts.

- **Rationale:** This is an automatic, obfuscated install hook that downloads and executes unverified native code from a remote host. Its dependency-repair purpose does not remove the install-time remote-code-execution risk.

- **Files touched:** package.json, postinstall.js, node\_modules/better-sqlite3, node\_modules/better-sqlite3/prebuilds

- **Network endpoints:** bd-acw.oss-cn-beijing.aliyuncs.com

### Review decision

- **Verdict:** Malicious

- **Confidence:** 94.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** Installation automatically runs an obfuscated postinstall program., The postinstall code downloads a native archive from a vendor-controlled OSS host, extracts it into better-sqlite3, then loads it with Node., The install hook also invokes npm rebuild with foreground scripts, allowing further lifecycle execution.

- **Evidence against:** No runtime self-dependency is declared., The downloaded artifact is named as a better-sqlite3 prebuild, consistent with the package's optional SQLite dependency.

## Affected versions and remediation

This report applies to @bangdao-ai/acw-tools@1.13.73.

- Avoid installing @bangdao-ai/acw-tools@1.13.73. 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/@bangdao-ai/acw-tools@1.13.73/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

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

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

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

Public source snippet (untrusted):

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

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

Package declares npm scripts.

### 4. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** postinstall.js
- **Public source:** [View source](<https://unpkg.com/@bangdao-ai/acw-tools@1.13.73/postinstall.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: const _0x121e8b=_0x596e;(function(_0x51c660,_0x63287){const _0x50f299=_0x596e,_0x54709e=_0x51c660();while(!![]){try{const _0x1c89e7=parseInt(_0x50f299(0x18d))/0x1+parseInt(_0x50f29...
```

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

Package source references network APIs.

### 6. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** postinstall.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@bangdao-ai/acw-tools@1.13.73/postinstall.js%23virtual%3Anormalized%3Around1>)

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

Public source snippet (untrusted):

```text
L1: #!/usr/bin/env node
L2: const _0x121e8b=_0x596e;(function(_0x51c660,_0x63287){const _0x50f299=_0x596e,_0x54709e=_0x51c660();while(!![]){try{const _0x1c89e7=parseInt(_0x50f299(0x18d))/0x1+parseInt(_0x50f29...
```

### 7. High: Obfuscated Payload Loader
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** claudeCodeParser.js
- **Public source:** [View source](<https://unpkg.com/@bangdao-ai/acw-tools@1.13.73/claudeCodeParser.js>)

Source contains an obfuscated payload loader that reconstructs and executes hidden code.

Public source snippet (untrusted):

```javascript
L2: 
L3: (function(_0x5ba6f7,_0x2ac66b){const _0x2a3b5d={_0x2324bc:0x15a,_0x392028:0x180,_0x5f4780:0x1f6,_0x158d04:0x167,_0x8cf506:0x1cc,_0x309bfb:0x1b9,_0x19bcc3:0x181,_0x1ac688:0x297,_0x2...
```

### 8. High: Obfuscated
- **Category:** Supply Chain
- **Confidence:** 100.0%

Package source appears deliberately obfuscated.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 11. Medium: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/@bangdao-ai/acw-tools@1.13.73/index.js>)

Package contains source files above the normal full-analysis size ceiling.

Public source snippet (untrusted):

```javascript
path = index.js
kind = oversized_source_file
sizeBytes = 4548560
magicHex = [redacted]
```

### 12. Medium: Oversized Cli Entrypoint
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/@bangdao-ai/acw-tools@1.13.73/index.js>)

Package contains an oversized executable-looking CLI entrypoint.

Public source snippet (untrusted):

```javascript
path = index.js
kind = oversized_cli_entrypoint
sizeBytes = 4548560
magicHex = [redacted]
```

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

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

### Published dependency entries
- @modelcontextprotocol/sdk ^1.18.2 (Dependency)
- adm-zip ^0.5.10 (Dependency)
- ali-oss ^6.23.0 (Dependency)
- zod ^3.23.8 (Dependency)
- better-sqlite3 ^12.4.1 (OptionalDependency)

## Package metadata
- **Package:** @bangdao-ai/acw-tools
- **Ecosystem:** npm
- **Version:** 1.13.73
- **License:** MIT
- **Version published:** 2026-09-12T00:58:23.752Z
- **Package first seen:** 2026-09-03T18:15:50.925Z
- **Package last seen:** 2026-09-23T23:11:02.520Z
- **Known versions:** 6
- **Latest version:** 1.13.78
- **Appeal under review:** No
- **Description:** MCP (Model Context Protocol) tools for ACW - download rules and initialize Common Admin projects
- **Author:** bangdao-ai
- **Keywords:** mcp, model-context-protocol, acw, rules, template, common-admin, downloader, cursor, ai, automation
- **Runtime engines:** node: \>=20.0.0
- **Artifact files:** 14
- **Artifact unpacked size:** 5,461,945 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@bangdao-ai/acw-tools/v/1.13.73>)
- [Repository](<https://github.com/bangdao-ai/acw-tools.git>)
- [Homepage](<https://github.com/bangdao-ai/acw-tools#readme>)
- [Issues](<https://github.com/bangdao-ai/acw-tools/issues>)
