Menu

  • Alerts
  • Incidents
  • News
  • APTs
  • Cyber Decoded
  • Cyber Hygiene
  • Cyber Review
  • Cyber Tips
  • Definitions
  • Malware
  • Threat Actors
  • Tutorials

Useful Tools

  • Password generator
  • Report an incident
  • Report to authorities
No Result
View All Result
CTF Hack Havoc
CyberMaterial
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
Hall of Hacks
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
No Result
View All Result
Hall of Hacks
CyberMaterial
No Result
View All Result
Home Alerts

Malicious npm Packages Steal Source Code

August 31, 2023
Reading Time: 2 mins read
in Alerts
Malicious npm Packages Steal Source Code

An ongoing threat involving malicious npm packages has emerged, aiming to compromise developers and pilfer valuable source code and configuration files from their machines. This development underscores the ever-present danger that looms in open-source repositories.

Checkmarx, a software supply chain security firm, has revealed that the orchestrator of this campaign has been linked to malicious activity dating back to 2021. The campaign involves the continuous distribution of these harmful packages, with the most recent report providing a continuation of the threat.

These npm packages are meticulously engineered to activate immediately after installation, leveraging a postinstall hook within the package.json file. This process triggers the execution of preinstall.js, which then spawns index.js to extract system metadata and collect source code and confidential information from specific directories. The culmination of the attack involves compressing the pilfered data into a ZIP archive, which is subsequently sent to a predetermined FTP server. A consistent pattern observed across these malicious packages is the use of “lexi2” as the author within the package.json file, enabling Checkmarx to trace the origins of this activity back to as early as 2021.

While the exact motives behind this campaign remain uncertain, the choice of package names like binarium-client, binarium-crm, and rocketrefer indicates a potential focus on the cryptocurrency sector.

This sector, known for its high-profile targets, continues to be at risk from not only malicious packages but also from persistent adversaries with long-standing and calculated attack strategies. Security researcher Yehuda Gelb stresses the importance of recognizing that the threats faced are not solely related to malicious packages but also encompass meticulously planned attacks that span months or even years.

References:
  • Malicious npm Packages Aim to Target Developers for Source Code Theft
  • An Ongoing Open Source Attack Reveals Roots Dating Back To 2021
Tags: August 2023CheckmarxCyberattackCybersecuritynpmNPM packageopen sourceSource codeVulnerabilities
ADVERTISEMENT

Related Posts

Intellexa Leak Exposes Predator Zero Days

Silver Fox Spreads ValleyRAT In China

December 5, 2025
Intellexa Leak Exposes Predator Zero Days

Intellexa Leak Exposes Predator Zero Days

December 5, 2025
Hackers Exploit ArrayOS AG VPN Flaw

Hackers Exploit ArrayOS AG VPN Flaw

December 5, 2025
WordPress Elementor Addon Flaw Exploited

Record DDoS Linked To Massive Botnet

December 4, 2025
WordPress Elementor Addon Flaw Exploited

RSC Bugs Let Hackers Run Remote Code Now

December 4, 2025
WordPress Elementor Addon Flaw Exploited

WordPress Elementor Addon Flaw Exploited

December 4, 2025

Latest Alerts

Silver Fox Spreads ValleyRAT In China

Intellexa Leak Exposes Predator Zero Days

Hackers Exploit ArrayOS AG VPN Flaw

Record DDoS Linked To Massive Botnet

RSC Bugs Let Hackers Run Remote Code Now

WordPress Elementor Addon Flaw Exploited

Subscribe to our newsletter

    Latest Incidents

    ASUS Confirms Vendor Breach By Everest

    Marquis Breach Hits Over 780,000 People

    Leroy Merlin Reports Data Breach

    Freedom Mobile Customer Data Breach Exposed

    Penn Phoenix Data Breach Oracle Hack Now

    Defender Outage Disrupts Threat Alerting

    CyberMaterial Logo
    • About Us
    • Contact Us
    • Jobs
    • Legal and Privacy Policy
    • Site Map

    © 2025 | CyberMaterial | All rights reserved

    Welcome Back!

    Login to your account below

    Forgotten Password?

    Retrieve your password

    Please enter your username or email address to reset your password.

    Log In

    Add New Playlist

    No Result
    View All Result
    • Alerts
    • Incidents
    • News
    • Cyber Decoded
    • Cyber Hygiene
    • Cyber Review
    • Definitions
    • Malware
    • Cyber Tips
    • Tutorials
    • Advanced Persistent Threats
    • Threat Actors
    • Report an incident
    • Password Generator
    • About Us
    • Contact Us
    • Advertise with us

    Copyright © 2025 CyberMaterial