@or-sdk/flows
This report shows the evidence for @or-sdk/flows@2.7.9. 3 of 10 known versions are blocked or flagged. The newest version, 2.9.2, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe install-time execution chain is unrelated to the SDK entrypoints and contains obfuscated remote-code evaluation plus credential-targeting behavior. This is concrete malicious install-time behavior.
Decision evidence
public snapshot- package.json runs setup.mjs at preinstall.
- setup.mjs downloads and executes Bun, then runs math_init.js.
- math_init.js is heavily obfuscated and evaluates fetched response code.
- math_init.js imports child_process and contains GitHub-token collection/upload logic.
- dist and src implement the stated flows SDK; malicious code is isolated from its normal entrypoints.
- The only clear URL in setup.mjs is Bun's GitHub release URL.
Source & flagged code
5 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references a known benign dynamic code generation pattern.
math_init.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @or-sdk/flows@2.7.9.
The versions list below shows the verdict for each recorded version.
- Avoid installing @or-sdk/flows@2.7.9. 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.