js-assert-plus
TDD assertion library for node.js and the browser. Test framework agnostic.
This report shows the evidence for js-assert-plus@1.0.0, the only known version.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiSource establishes import-time child-process launch followed by obfuscated network retrieval and dynamic execution. Absence of lifecycle hooks does not mitigate this runtime backdoor.
Decision evidence
public snapshot- index.js decodes and imports child_process.spawn.
- index.js spawns node to run lib/chai/utils/assertion.js on every require.
- lib/chai/utils/assertion.js is obfuscated and performs an HTTP client GET.
- The fetched response is executed with new Function(...)(require).
- package.json has no preinstall, install, or postinstall hook.
- No package-source file-write or credential-harvesting code was confirmed.
Source & flagged code
4 flagged · loading sourceSource contains an obfuscated payload loader that reconstructs and executes hidden code.
lib/chai/utils/assertion.jsView on unpkg · L1Package source references a known benign dynamic code generation pattern.
lib/chai/utils/assertion.jsView on unpkg · L1Package source references dynamic require/import behavior.
register-assert.jsView on unpkg · L1Source fingerprint signature matches a known malicious package signature; route for source-aware review.
chai.jsView on unpkgFindings
Affected versions and remediation
This report applies to js-assert-plus@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing js-assert-plus@1.0.0. 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.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.