@ornikar/slate-react-fork
Tools for building completely customizable richtext editors with React.
This report shows the evidence for @ornikar/slate-react-fork@1.0.6. 11 of 11 known versions are blocked or flagged. The newest version, 1.0.11, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe preinstall hook executes an obfuscated credential-harvesting payload unrelated to the Slate React library. Normal editor code in dist does not mitigate the install-time compromise.
Decision evidence
public snapshot- package.json runs `node setup.mjs` during preinstall.
- setup.mjs downloads Bun from GitHub and executes `math_init.js`.
- math_init.js is a large, heavily obfuscated active payload.
- math_init.js contains dynamic Function/eval and child_process use.
- Decoded control flow in math_init.js scans GitHub-token sources and sends data through network requests.
- dist/index.js and dist/index.es.js contain normal Slate React editor code.
- No malicious behavior was found in the published runtime entrypoints.
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 · L1Findings
Affected versions and remediation
This report applies to @ornikar/slate-react-fork@1.0.6.
The versions list below shows the verdict for each recorded version.
- Avoid installing @ornikar/slate-react-fork@1.0.6. 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.