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

HTTPBot DDoS Threat To Windows Systems

Horabot Malware Targets LatAm Via Phishing

May 15, 2025
HTTPBot DDoS Threat To Windows Systems

Google Patches Chrome Account Takeover Bug

May 15, 2025
HTTPBot DDoS Threat To Windows Systems

HTTPBot DDoS Threat To Windows Systems

May 15, 2025
Microsoft Defender Bug Allows SYSTEM Access

Uncanny Automator Bug Risks WordPress Sites

May 14, 2025
Microsoft Defender Bug Allows SYSTEM Access

Devs Hit By PyPI Solana Token Secret Theft

May 14, 2025
Microsoft Defender Bug Allows SYSTEM Access

Microsoft Defender Bug Allows SYSTEM Access

May 14, 2025

Latest Alerts

Google Patches Chrome Account Takeover Bug

Horabot Malware Targets LatAm Via Phishing

HTTPBot DDoS Threat To Windows Systems

Microsoft Defender Bug Allows SYSTEM Access

Uncanny Automator Bug Risks WordPress Sites

Devs Hit By PyPI Solana Token Secret Theft

Subscribe to our newsletter

    Latest Incidents

    Dior Breach Exposes Asian Customer Data

    Australian Human Rights Body Files Leaked

    Nucor Cyberattack Halts Plants Networks

    Alabama Cybersecurity Event Hits Services

    Andy Frain Data Breach Impacts 100k People

    Hong Kong DSC Hit By Ransomware Attack

    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