editable-contracts
JSON driven editable contracts
This report shows the evidence for editable-contracts@0.0.16. 16 of 16 known versions are blocked or flagged. The newest version, 0.0.27, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe preinstall chain executes a concealed payload rather than package functionality, with remote eval and token handling. This is concrete malicious install-time behavior.
Decision evidence
public snapshot- package.json runs `node setup.mjs` during preinstall.
- setup.mjs downloads Bun, then executes `math_init.js` at install time.
- math_init.js is a 728 KB obfuscated payload containing remote-content `eval`.
- math_init.js contains npm/GitHub token-handling paths and child-process use.
- dist/editable-contracts.js and src/editable-contracts.ts implement the stated MobX editor library.
Source & flagged code
4 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 · L1Manifest entrypoint contains risky behavior absent from dist/build output.
setup.mjsView on unpkg · L1Source file is highly similar to a previously finalized malicious package; route for source-aware review.
setup.mjsView on unpkgFindings
Affected versions and remediation
This report applies to editable-contracts@0.0.16.
The versions list below shows the verdict for each recorded version.
- Avoid installing editable-contracts@0.0.16. 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.