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

# @bangdao-ai/acw-tools@1.13.68 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 12 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Staged Payload Carrier
- **Selected version:** 1.13.68
- **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: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

An automatic lifecycle hook can fetch and load a native archive after installation. No confirmed credential theft or agent-control modification was found.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 90.0%
- **Started:** 2026-09-22T05:40:54.092Z
- **Finished:** 2026-09-22T05:42:06.299Z
- **Download time:** 1040 ms
- **Static scan time:** 1102 ms
- **AI review time:** 70064 ms
- **Total time:** 72207 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:** An automatic lifecycle hook can fetch and load a native archive after installation. No confirmed credential theft or agent-control modification was found.

- **Trigger:** npm installation invokes the postinstall lifecycle hook when better-sqlite3 cannot load.

- **Impact:** A change to the remote archive could cause native code supplied after publication to run during installation.

- **Evidence paths:** postinstall.js

- **Review source:** ai\_review

- **Reviewed:** 2026-09-22T05:42:06.299Z

### AI review details

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

- **Mechanism:** The hook downloads an archive from the fixed OSS host, writes its contents under node\_modules/better-sqlite3, and invokes Node to require the native module.

- **Rationale:** The automatic unsigned remote native-payload path is a concrete supply-chain risk, although the inspected code ties it to its SQLite dependency and does not establish a separate malicious objective. This warrants a warning rather than a block.

- **Files touched:** node\_modules/better-sqlite3

- **Network endpoints:** https://bd-acw.oss-cn-beijing.aliyuncs.com/prebuilds/better-sqlite3

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 90.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The package automatically runs postinstall.js after installation., The postinstall code downloads a better-sqlite3 archive from a package-controlled OSS host when the native module fails., The downloaded archive is extracted into node\_modules and then loaded by a child Node process, without a visible integrity check.

- **Evidence against:** The download target is fixed to a better-sqlite3 prebuild location and the code limits extraction paths with path.basename., No credential collection, unrelated endpoint, or AI-agent configuration mutation was identified in the inspected install path.

## Affected versions and remediation

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

- Review the evidence and your use of @bangdao-ai/acw-tools@1.13.68 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## 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.68/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.68/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.68/postinstall.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: function _0x3f8a(_0x35d0c7,_0x257093){_0x35d0c7=_0x35d0c7-0xd6;const _0x2710fb=_0x2710();let _0x3f8a1a=_0x2710fb[_0x35d0c7];return _0x3f8a1a;}const _0x2d62c7=_0x3f8a;(function(_0x3...
```

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

Package source references network APIs.

### 6. 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.68/claudeCodeParser.js>)

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

Public source snippet (untrusted):

```javascript
L2: 
L3: (function(_0x2f8cbc,_0x4c879e){const _0x58c135={_0x26e467:0x108,_0x156c56:0x150,_0x172472:0xcd,_0x4eed4c:0xc7,_0x33b410:0x176,_0x258205:0xd6,_0x485025:0x10d,_0x21aea2:0xe5,_0x5f038...
```

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

Package source appears deliberately obfuscated.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 10. 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.68/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 = 4452941
magicHex = [redacted]
```

### 11. 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.68/index.js>)

Package contains an oversized executable-looking CLI entrypoint.

Public source snippet (untrusted):

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

### 12. 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.68
- **License:** MIT
- **Version published:** 2026-08-28T16:22:15.456Z
- **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
- **Maintainers:** baigod, jingli.chang, shaoshuai.liu, ypsoul, sunyuanyue, cocowangruixue, cocowangruixue2
- **Keywords:** mcp, model-context-protocol, acw, rules, template, common-admin, downloader, cursor, ai, automation
- **Runtime engines:** node: \>=20.0.0
- **Artifact files:** 13
- **Artifact unpacked size:** 5,364,063 bytes
- **Artifact signatures:** 1
- **Attestations:** No

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