Habr•September 19, 2026•🇷🇺Translated from Russian

Dependency Confusion Attacks Let Attackers Hijack Internal Library Names in Corporate Builds

A build of an internal library suddenly took minutes instead of seconds and began making unexpected outbound connections. All dependencies were internal and the component had no reason to reach the internet.

Initial suspicion fell on the proxy repository cache, yet its configuration was correct. Investigation revealed that the package manager was querying the company’s own package not only from the internal proxy but also from the public registry because a second source had been added to the settings.

Internal libraries are named with ordinary strings such as billing-common or auth-client. In most ecosystems a package is identified solely by this string; the first party to register the name on the public registry owns it. Because these human-readable names are rarely claimed publicly, they remain available for anyone to take.

When a package with the internal name and a deliberately high version such as 99.0.0 is published, the build system selects it over the legitimate internal version. Alex Birsan proved the attack in February 2021 by collecting internal names from public repositories and error logs, publishing high-version packages under those names, and waiting. The packages reached builds at more than 35 large organizations, including Microsoft, Apple, PayPal, Shopify, Netflix, Tesla and Uber.

Execution occurs at install time. In Python, setup.py runs when a source distribution is built; in npm, lifecycle scripts execute by default. Both run with the build agent’s privileges, granting access to tokens, signing keys and the internal network even if the resulting artifact is never promoted to production.

Effective defenses include using a single internal proxy repository that never mixes public answers for internal names, registering scoped namespaces such as @company and binding them to the private registry, maintaining lock files with content hashes, and disabling install scripts with flags such as --ignore-scripts.

Related articles

Security NEXT•Supply Chain & Open Source

Malicious Code Injected into LiteLLM Open Source AI Package via Supply Chain Attack

The open-source generative AI tool LiteLLM had malicious code inserted into its official distribution packages, enabling credential theft and remote code execution. The compromise affected version 1.107.0 released on October 21, 2026, and was delivered through legitimate channels in a classic software supply chain attack. Seven malicious wheel files were uploaded to PyPI, while official container images on Docker Hub and GitHub Container Registry were also tainted. Security firm JFrog discovered that the malware steals a wide range of secrets including cloud credentials, SSH private keys, browser-stored passwords, development tokens, and AI service API keys from LiteLLM's database. The code also supports execution of externally fetched payloads and abuses Python's startup mechanisms to run even when the application itself is not loaded. This marks the second supply chain incident involving the project in 2026, following a separate event in March.

BoletimSec•Supply Chain & Open Source

GhostAction Campaign Compromises 790 GitHub Repositories via Malicious Workflows

Researchers from OpenSourceMalware have identified 790 publicly accessible GitHub repositories containing malicious workflows planted by the GhostAction campaign as of October 9. The campaign abuses trusted maintainer accounts to inject workflows that automatically exfiltrate secrets including AWS access keys and tokens for GitHub, GitLab, Google, Slack, SendGrid, OpenAI, Anthropic, and OpenRouter. Earlier counts by GitGuardian recorded 772 repositories between August 31 and September 30, though the datasets differ and are not cumulative. A separate wave on October 8 impacted 346 repositories linked to two maintainer accounts, including a project belonging to Uber. The malicious workflow runs on code pushes or manual triggers, scans repository files and full Git history for credentials, and sends findings in plaintext to attacker infrastructure. Removing the workflow file does not mitigate exposure, as successful executions already leak credentials and old commits may still contain secrets.

AntiMalware•Supply Chain & Open Source

SberTech Launches Platform V Orchestrator for Security Services to Scan Software Before Corporate Deployment

SberTech has announced the launch of a new direction focused on analyzing the security of software prior to its integration into corporate infrastructures. The initiative is built around the company's own Laboratory for Software Verification and the technological platform Platform V Orchestrator for Security Services. This platform combines components for working with both built-in and external analysis tools, enabling checks of digital artifacts, control over software composition and changes, and detection of vulnerabilities, hidden threats, and defects in source code and repositories. SberTech aims to replace fragmented checks and manual result processing with a single managed process, allowing scaled verification without proportional team growth. The move responds to the adoption of hundreds of products from various vendors, widespread use of open-source components, and rising attacks on software supply chains. Primary customers include banks, industrial enterprises, telecom operators, energy companies, and the public sector. The solution is offered as a standalone product that supports on-premises deployment and operation in isolated environments such as private clouds and dedicated data processing contours.

Security NEXT•Supply Chain & Open Source

NEC Subcontractor Suffers Cyber Attack Leading to Customer System Disruptions and Personal Data Leak

NEC disclosed that a subcontractor handling system development and maintenance was compromised in a cyber attack during late September 2026. Attackers stole legitimate account credentials and used them to access multiple customer environments from the subcontractor's systems. The intrusion resulted in server files being encrypted, rendering customer systems inoperable. Additional files containing personal information and system details were exfiltrated from a shared cloud storage platform used for coordination between NEC, the subcontractor, and customers. Affected customers have been notified individually, with further details on compromised personal data to be provided as they become available. The incident highlights risks associated with third-party vendor access in IT supply chains.