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

Steganography Cloud C2 In Modular Chain

Steganography Cloud C2 In Modular Chain

September 19, 2025
Steganography Cloud C2 In Modular Chain

Fake Empire Targets Crypto With AMOS

September 19, 2025
Steganography Cloud C2 In Modular Chain

SEO Poisoning Hits Chinese Users

September 19, 2025
Apple Backports Fix For Exploited Bug

Apple Backports Fix For Exploited Bug

September 18, 2025
Apple Backports Fix For Exploited Bug

FileFix Uses Steganography To Drop StealC

September 18, 2025
Apple Backports Fix For Exploited Bug

Google Removes 224 Android Malware Apps

September 18, 2025

Latest Alerts

Steganography Cloud C2 In Modular Chain

Fake Empire Targets Crypto With AMOS

SEO Poisoning Hits Chinese Users

FileFix Uses Steganography To Drop StealC

Apple Backports Fix For Exploited Bug

Google Removes 224 Android Malware Apps

Subscribe to our newsletter

    Latest Incidents

    Russian Hackers Hit Polish Hospitals

    New York Blood Center Data Breach

    Tiffany Data Breach Hits Thousands

    AI Forged Military IDs Used In Phishing

    Insight Partners Warns After Data Breach

    ShinyHunters Claims Salesforce Data Theft

    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