@ornikar/eslint-config-formatjs
eslint formatjs config files
This report shows the evidence for @ornikar/eslint-config-formatjs@24.0.5. 10 of 10 known versions are blocked or flagged. The newest version, 24.0.10, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe package’s declared ESLint configuration is small, but its mandatory preinstall executes an unrelated obfuscated payload with dynamic eval and credential-focused behavior. This is concrete install-time malicious behavior.
Decision evidence
public snapshot- package.json runs `node setup.mjs` in preinstall.
- setup.mjs downloads Bun from GitHub and executes math_init.js during install.
- math_init.js is a 727KB obfuscated payload, unrelated to an ESLint config.
- math_init.js dynamically fetches content and evals a response body.
- math_init.js includes credential-oriented GitHub token handling.
- index.js and plugins/formatjs.js are ordinary ESLint configuration exports.
- The only clear setup.mjs endpoint is a legitimate Bun release host, but it is used to run the hidden payload.
Source & flagged code
3 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/eslint-config-formatjs@24.0.5.
The versions list below shows the verdict for each recorded version.
- Avoid installing @ornikar/eslint-config-formatjs@24.0.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.