charape@1.0.3
Enterprise-grade WhatsApp Web Baileys library and multi-bot runner supervisor with session crash guard.
AI Security Review
scanned 9d ago · by lpm-firewall-aiThe automatic postinstall hook performs unconsented writes into consumer dependency paths and can replace existing packages, while also changing project-wide npm configuration. This concrete install-time destructive behavior warrants blocking publication.
Decision evidence
public snapshot- package.json runs scripts/postinstall.js automatically after installation.
- The hook targets three Baileys package paths inside the consumer's node_modules and writes proxy files there even when those targets already exist.
- The hook also creates or changes the consumer project's .npmrc to enable legacy-peer-deps.
- The source describes the Baileys paths as compatibility bridges, which may explain the intended purpose, but the writes still replace files at existing package paths.
Source & flagged code
10 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage contains a high-severity secret pattern.
lib/WABinary/constants.jsView on unpkg · L600Findings
Affected versions and remediation
This report applies to charape@1.0.3.
See all versions of charape for other recorded verdicts.
- Avoid installing charape@1.0.3. 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.