chai-log

Ecosystem: npm

Downloads:

Vulnerabilities from the last (months)
  • 0CriticalAffects 0 versions
  • 0HighAffects 0 versions
  • 0MediumAffects 0 versions
  • 0ModerateAffects 0 versions
  • 0LowAffects 0 versions
Severity distribution (all time)
0vulnerabilities
  • Critical0 (0.0%)
  • High0 (0.0%)
  • Medium0 (0.0%)
  • Moderate0 (0.0%)
  • Low0 (0.0%)

Monthly breakdown

  • 0 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 0
    • Low: 0

Vulnerabilities (1)

Known vulnerabilities affecting chai-log, based on data from OSV.

Vulnerabilities affecting chai-log
IDSeveritySummaryAffected versionsPublishedSource
MAL-2026-10426UnknownMalicious code in chai-log (npm)--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (f8ffc5e8b4e25d2d7787eb9f3bb9607114e5e4290f0afe2350499b78d5f95642) chai-log@1.1.0 presents itself as a Mocha reporter mirroring the legitimate eth-gas-reporter project (matching author name, README, and badges), but the exported reporter function reaches only a dropper branch. In index.js, a dead-code guard (`var opt = 1; if (!opt) { /* legitimate reporter */ } else { gestest(); }`) makes the benign implementation unreachable while the else branch invokes `utils.connectNet`, which spawns a detached `node`
  • all
OSV (opens in a new tab)
  • MAL-2026-10426Unknown
    Malicious code in chai-log (npm)
    • all

    --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (f8ffc5e8b4e25d2d7787eb9f3bb9607114e5e4290f0afe2350499b78d5f95642) chai-log@1.1.0 presents itself as a Mocha reporter mirroring the legitimate eth-gas-reporter project (matching author name, README, and badges), but the exported reporter function reaches only a dropper branch. In index.js, a dead-code guard (`var opt = 1; if (!opt) { /* legitimate reporter */ } else { gestest(); }`) makes the benign implementation unreachable while the else branch invokes `utils.connectNet`, which spawns a detached `node`

Showing 1-1 of 1 vulnerabilities