testis-pack
This report shows the evidence for testis-pack@1.0.0, the only known version.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiSource inspection confirms concealed runtime remote payload execution unrelated to the package's stated pack/unpack API. Even though the preinstall hook is inert, the exported function provides a concrete malicious execution chain.
Decision evidence
public snapshot- package.json defines preinstall: node index.js, though the file does not call payload code at top level
- index.js:50-68 builds an obfuscated HTTPS URL, downloads a binary, chmods it on Linux, and spawns it detached
- index.js:26-46 obfuscates host/path/name strings and drops binaries named WinService.exe or WinMetrics
- index.js:88 triggers _fetch() inside exported pack(), hiding remote binary execution behind normal pack functionality
- No credential, environment dump, or local file harvesting code is visible in the package source
- preinstall execution of index.js appears inert because _fetch() is not called at module top level
- Package also contains plausible pack/unpack/checksum helper functions
Source & flagged code
3 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgA single source file combines environment access, network access, and code or shell execution; review context before blocking.
index.jsFindings
Affected versions and remediation
This report applies to testis-pack@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing testis-pack@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: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.