Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in crypto-javas (npm)

0
Unknown
Published: 08/05/2026 (08/05/2026, 12:59:52 UTC)
Source: GCVE Database
Product: crypto-javas

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5a8df6a7a735756b97bf8957dfacf2076f6ea39d4fdc8489755ea14e8c89f9c1) [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

npmghsa
crypto-javas
Affected versions
=2.0.4=2.0.7=2.0.8

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12359
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735741bf8831d539157719

Added to database: 08/05/2026, 15:31:13 UTC

Last updated: 08/05/2026, 15:31:13 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses