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

BatShadow Unleashes Go Vampire Bot

BatShadow Unleashes Go Vampire Bot

October 10, 2025
BatShadow Unleashes Go Vampire Bot

Hackers Exploit Service Finder Flaw

October 10, 2025
Redis Use After Free Bug Enables RCE

FileFix Attack Evades Security Tools

October 10, 2025
Hackers Abuse WordPress for Phishing

Hackers Abuse WordPress for Phishing

October 10, 2025
Hackers Abuse WordPress for Phishing

Severe Framelink Figma MCP Code Flaw

October 10, 2025
Hackers Abuse WordPress for Phishing

Android Spyware ClayRat Imitates Apps

October 10, 2025

Latest Alerts

BatShadow Unleashes Go Vampire Bot

Hackers Exploit Service Finder Flaw

FileFix Attack Evades Security Tools

Hackers Abuse WordPress for Phishing

Severe Framelink Figma MCP Code Flaw

Android Spyware ClayRat Imitates Apps

Subscribe to our newsletter

    Latest Incidents

    Crimson Collective Hits AWS Instances

    GitHub Copilot Chat Flaw Leaks Repo Data

    Microsoft 365 Outage Hits Services

    Dozens Hit in Oracle-Linked Hacks

    BK Technologies Admits Cyber Breach

    Chinese Hackers Hit Williams Connolly

    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