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 init-js-examples (npm)

0
Critical
Published: 07/22/2026 (07/22/2026, 20:24:58 UTC)
Source: GCVE Database
Product: init-js-examples

Description

The npm package 'init-js-examples' version 1.0.0 contains malicious code that executes during the postinstall lifecycle hook. This code opens a TCP connection to a hardcoded remote IP address and connects it to a shell process, effectively granting the remote endpoint interactive shell access. This results in full remote code execution and establishes a persistent backdoor on the host where the package is installed.

Affected software

npmghsa
init-js-examples
Affected versions
=1.0.0

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:50:24 UTC

Technical Analysis

The 'init-js-examples' npm package version 1.0.0 includes a postinstall script (setup.js) that opens a TCP socket to 130.61.90.45:4443 and connects this socket bidirectionally to a spawned /bin/sh shell process. Because this script runs automatically during 'npm install', it grants the remote server full interactive shell access on the installer's machine, enabling remote code execution and persistent backdoor access.

Potential Impact

Successful installation of this package version results in the remote attacker gaining full interactive shell access on the victim's system. This allows arbitrary command execution and persistent unauthorized control over the affected host.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid installing 'init-js-examples' version 1.0.0. Verify package integrity before installation and consider using trusted package sources. Monitor for updates from the package maintainer or npm security advisories for any forthcoming fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

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

Threat ID: 6a6151149c2644c7f8da4fd8

Added to database: 07/22/2026, 23:24:04 UTC

Last enriched: 07/22/2026, 23:50:24 UTC

Last updated: 07/22/2026, 23:50:24 UTC

Views: 2

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

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

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