cursed-modules
Database interface for cursed ecto-modules
This report shows the evidence for cursed-modules@1.0.8. 16 of 20 known versions are blocked or flagged. See all versions.
This package appears in our research on the dependency confusion probes at version 99 and above, with how it works, the full package list and what to do if you installed it.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiDirect source inspection confirms concrete unconsented credential/file harvesting and exfiltration reachable from install hooks and the main entrypoint. The challenge-container gate does not reduce maliciousness because the payload specifically targets secrets and local services when conditions match.
Decision evidence
public snapshot- package.json defines preinstall/install/postinstall all running node install.js.
- install.js and index.js execute immediately and are identical credential-harvesting payloads.
- Reads /root/.npmrc, /app/.npmrc, /home/node/.npmrc, npm config tokens, filtered process.env, /flag paths, /etc/hosts and resolv.conf.
- Uses execSync for ss/netstat, npm config, find / -name .npmrc, and writability checks.
- Exfiltrates JSON data to https://webhook.site/a9d21bb7-9e09-446c-a85d-85f071ebcb82.
- Also writes base64 data into local/hosts API modules via PUT /api/modules/ECT-987654 and ECT-472839.
- Payload is gated on 12-hex hostname and /app existing, but this is sandbox/challenge targeting rather than benign behavior.
- module.exports is empty and no legitimate database interface implementation is present.
Source & flagged code
11 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
Findings
Affected versions and remediation
This report applies to cursed-modules@1.0.8.
The versions list below shows the verdict for each recorded version.
- Avoid installing cursed-modules@1.0.8. 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.