PkgRadar

npm · registry.npmjs.org

chai-as-init

Js Decode Then Exec: base64 / atob / fromCharCode decode adjacent to eval / new Function — canonical obfuscated-loader pattern.

Why PkgRadar flagged 1.4.6

SeveritySignalEvidence
highJs Decode Then Execbase64 / atob / fromCharCode decode adjacent to eval / new Function — canonical obfuscated-loader pattern. · package/lib/initializeCaller.js

Scanned versions

VersionVerdictScoreScanned (UTC)
1.4.6High risk452026-06-03
1.4.5High risk02026-06-03

Block this in CI

PkgRadar gates chai-as-init (and every other dependency) before it merges. One line in your pipeline:

pkgradar gate --ecosystem npm [email protected]
chai-as-init — npm malware advisory | PkgRadar