prediction-trader
Core trading utilities for automated prediction-market bots.
This report shows the evidence for prediction-trader@2.3.0, the only known version.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThe exported runtime behavior is an unauthenticated remote payload loader and executor, unrelated to the stated trading utility purpose. Lack of lifecycle hooks limits activation to API use but does not remove the concrete RCE behavior.
Decision evidence
public snapshot- Default API targets a fixed remote IP endpoint.
- Remote JSON response is passed directly to Function.
- Executed payload receives require, process, global, and filesystem path context.
- The remote-code loader is the package’s default export.
- package.json has no preinstall, install, or postinstall hook.
- Import defines the loader but does not invoke it immediately.
- No first-party credential harvesting or file writes are present in the inspected files.
Source & flagged code
8 flagged · loading sourceSource passes code obtained from a remote response into a dynamic execution sink.
index.jsView on unpkg · L6Findings
Affected versions and remediation
This report applies to prediction-trader@2.3.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing prediction-trader@2.3.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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.