@lsqltmux-code/baileys@8.5.2
WhatsApp API Modification By Lsqltmux-Code
AI Security Review
scanned 8d ago · by lpm-firewall-aiSource inspection confirms that normal socket creation schedules authenticated follow actions for three package-selected newsletters without a user request. This is concrete unrequested account behavior; the preinstall version check does not explain or mitigate it.
Decision evidence
public snapshot- The package exports `makeWASocket`, which creates the socket layers used by the client.
- Creating a message socket calls `makeNewsletterSocket`, activating its constructor code.
- The newsletter socket schedules three `FOLLOW` queries for hard-coded newsletter IDs, starting ten seconds after construction and without checking user intent.
- The query sends the follow action through WhatsApp’s `w:mex` protocol.
- The install hook only checks the Node.js version; the confirmed attack is in normal runtime socket creation.
- The package’s `preinstall` hook runs a Node version check and exits if the version is below 20.
- Newsletter follow is a supported API capability, but the scheduled hard-coded follows have no user-selected target or consent check.
Source & flagged code
8 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage contains a high-severity secret pattern.
lib/WABinary/constants.jsView on unpkg · L600Google API key in lib/WABinary/constants.js
lib/WABinary/constants.jsView on unpkg · L600Findings
Affected versions and remediation
This report applies to @lsqltmux-code/baileys@8.5.2.
See all versions of @lsqltmux-code/baileys for other recorded verdicts.
- Avoid installing @lsqltmux-code/baileys@8.5.2. 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.