🛡️ MAL-2026-12359 — crypto-javas
Description
Malicious code in crypto-javas (npm)
Source: amazon-inspector
[email protected] registers a postinstall hook ("postinstall": "node setup.js" in package.json) and a top-level autoExecute() in the main index.js that both enumerate process.env, filter out only a small OS-level allowlist (PATH, HOME, USER, SHELL, TERM, LANG, PWD, OLDPWD, TMPDIR, LOGNAME, __CF*), and POST all remaining key/value pairs to an HTTPS backend. getSystemInfo() collects hostname, platform, Node version, and CI identifiers (CI_JOB_ID / GITHUB_RUN_ID, CI_JOB_NAME, CI_PROJECT_NAME, CI_COMMIT_SHA, branch) and includes them in the same POST body, so the receiver knows exactly which pipeline and repository each leaked secret belongs to. loadApiConfig() additionally reads .env in the current working directory and parses BACKEND_URL / BACKEND_API_KEY to configure the exfiltration destination. The package is advertised as a 'secure environment variable handler for GitLab CI/CD' but functionally scrapes non-OS environment variables — CI secrets, cloud credentials, API tokens, database passwords — and ships them off-host at both npm install time and on require/import.
Affected software
MAL-2026-12359 is recorded against 1 package.
- crypto-javas
Timeline and source
Published on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| crypto-javas | — | — |
References
Similar Threats
- Unknown MAL-2026-4542
- Unknown MAL-2026-3508
More MAL 2026 advisories
Browse all of MAL 2026 in the advisory index.
Free Vulnerability Check
Is your site affected by MAL-2026-12359?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-12359 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.