Tuesday, August 11, 2026
LIVEThe Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///The Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///
Subscribe
Cyber Security
Independent · Digital
Thehackingpost
CybersecurityAI-assisted

Microsoft Warns of Hackers Attacking Developers with Malicious Next.js Repositories

A cybersecurity campaign is targeting software developers using malicious repositories masquerading as Next.js projects and technical assessment materials. The attackers employ job-themed tactics to trick developers into cloning and executing compromised…

A cybersecurity campaign is targeting software developers using malicious repositories masquerading as Next.js projects and technical assessment materials. The attackers employ job-themed tactics to trick developers into cloning and executing compromised code, which connects to a command-and-control (C2) infrastructure, granting unauthorized access to the developer's systems and sensitive data.

The campaign was initially identified through unusual network activity from Node.js processes on affected machines, which were communicating with known C2 IP addresses. This prompted a detailed investigation that traced the Node.js executions to malicious repositories, including those on Bitbucket, disguised as recruitment-related technical assessments.

Further analysis by Microsoft Defender Experts identified a broader cluster of related repositories by examining shared code structures, loader logic, and naming patterns. Repository families such as "Cryptan," "JP-soccer," "RoyalJapan," and "SettleMint" featured near-identical variants, aiding the discovery of additional repositories with similar execution logic.

This campaign poses a significant risk to corporate development environments, as developer machines often have access to critical assets such as source code, environment secrets, cloud API keys, database credentials, and build pipelines. Compromise of a single device can expose an organization's entire infrastructure.

The attackers embed malicious behavior within projects that appear normal, facilitating reliable code execution while blending into routine developer workflows.

A cybersecurity campaign is targeting software developers using malicious repositories masquerading as Next.js projects and technical assessment materials.
Sam Quinlan · Thehackingpost

Three Entry Points, One Shared Backdoor

The campaign utilizes three execution paths, all leading to the runtime retrieval and execution of attacker-controlled JavaScript:

Visual Studio Code Automation: When a developer opens a project folder, a pre-configured .vscode/tasks.json file immediately triggers a Node.js script fetching a JavaScript loader from a Vercel-hosted endpoint.

Development Server Start: Executing npm run dev triggers Trojanized assets to retrieve the JavaScript loader from Vercel.

Server Startup: Malicious backend routes decode a base64 endpoint from a .env file, transmitting the process environment to the attacker and executing JavaScript via dynamic compilation.

Advertisement

Once triggered, a Stage 1 payload profiles the host and polls the C2 server at fixed intervals. Stage 2 takes over to perform tasks such as directory browsing, file collection, and data uploads to attacker infrastructure.

Developers should enable Visual Studio Code Workspace Trust and Restricted Mode to block automatic code execution in unknown folders. Organizations should implement attack surface reduction rules to prevent obfuscated script execution, enforce strong authentication, and avoid storing production credentials on development machines. Security teams should monitor for unusual Node.js outbound connections and conduct identity risk assessments if developer endpoints are compromised.

Based on reporting by Cyber Security News.

AI transparency. This article was produced with the assistance of artificial intelligence and published under human editorial oversight. AI systems can make mistakes. Read how we use AI (EU AI Act, Art. 50).
Related Stories