cookie-phase
This document describes the management of vulnerabilities for the project and all modules within the organization.
This report shows the evidence for cookie-phase@2.3.5, the only known version.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiThe source confirms a runtime path from normal package use to a detached helper that fetches and executes remote code; this is concrete malicious behavior even without install hooks. Scanner labels are corroborated by direct inspection of index.js and lib/initializeCaller.js.
Decision evidence
public snapshot- index.js exports middleware that spawns detached node child process for lib/initializeCaller.js when called.
- lib/initializeCaller.js decodes an obscured HTTPS endpoint and POSTs to it with axios.
- lib/initializeCaller.js executes response.data via new Function("require", response.data).
- README presents normal chai plugin usage that calls cookiePhase, activating the background task.
- lib/const.js contains another base64-obscured URL, though it is not imported by the observed entrypoint.
- package.json has no install/preinstall/postinstall lifecycle scripts.
- The helper shadows process.env with hardcoded values rather than directly harvesting the real host environment.
- No filesystem writes, persistence, destructive code, or AI-agent control-surface mutation found in inspected source.
Source & flagged code
7 flagged · loading sourceSource spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
index.jsView on unpkg · L3Findings
Affected versions and remediation
This report applies to cookie-phase@2.3.5.
The versions list below shows the verdict for each recorded version.
- Avoid installing cookie-phase@2.3.5. 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.