The images in this article were generated with artificial intelligence. How we publish
Filtered copy of malware known as Shai-Hulud He has already jumped from the public repository to real life: security researchers have found malicious packages published in the npm record containing code designed to steal credentials, secrets and data from cryptographic wallets, and in one case turn the infected machine into an agent for DDoS attacks.
The mechanism used by the attackers combines old but effective techniques: typosquating (names similar to legitimate packages) to attract accidental downloads and repackaging of filtered code without even obuscarso. This facilitates the recognition by other criminals and, in turn, reduces the need for advanced skills to deploy mass exfiltration campaigns.

The real risk here is not only the number of downloads - which can be reduced in a particular lot - but the impact on supply chains: a developer who incorporates a compromised dependency in a construction environment or CI can expose keys with publication permits, APIs or tokens that are then automatically published in public repositories controlled by the attacker. This "automatic publication" behavior amplifies the gap by converting stolen secrets into accessible and traceable information.
From the operational point of view, malicious packages combine two types of threat. On the one hand, information theft functions that explore directories, configuration files and processes to extract credentials. On the other hand, modules that implement attack capabilities: HTTP saturation, TCP / UDP floods and TCP resets to form a bots network. The coexistence of both functionalities transforms an incident of the escape of secrets into a platform for continuous offensive actions.
If you manage projects that use npm, the first priority is to assume that any unverified dependence can be a vector. You must immediately remove any suspicious package, revoke and rotate associated credentials and tokens, and check if your systems have uploaded artifacts or secrets to public repositories. It is also appropriate to proactively block the command and control domains and hosts identified by the researchers to limit exfiltration.
In terms of detection, look for Node processes, unusual outgoing connections and self-created repositories in GitHub that contain files with credentials names. Independencies analysis tools and code secret scanning are useful, but not infallible: it adds controls on your pipelines that prevent the execution of postinstall third party scripts without approval and uses white list policies for critical packages.
To reduce the attack surface sustainably, it is essential to apply minimum privilege principles to tokens and keys, activate multifactor authentication in critical accounts, and use automatic rotation mechanisms. It is also recommended to use signature version and verification locks where possible, and to enrich your CI / CD telemetry to detect package facilities in unplanned phases.

The community and platforms have responsibilities: public repositories must improve the mechanisms for automatic detection of typosquatting patterns and exfilter behaviour, and maintainers must document procedures for the management of dependency incidents. Meanwhile, development teams must operate under the premise that third-party software is a risk that should be mitigated with additional control layers.
If you want to read the technical analysis that motivated these recommendations, the findings of the researchers are published in the security blog that detected the malicious loads: OXsecurity - Shai-Hulud report. For a practical guide on good safety practices when using npm, see official documentation: NPM - safety and good practice.
The lesson is clear: malicious code leaks do not stay on paper. They replicate and integrate into development ecosystems that depend on thousands of packages. The only effective defense combines the hygiene of credentials, strict control of dependencies and continuous visibility of what is performed in your construction and production environments.
Related
More news on the same subject.

FBI and six countries link Integrity Technology Group to entity post theft in SE Asia
On October 8, the FBI and agencies in six countries issued a joint warning that assigns to a Chinese company, Integrity Technology Group, a sustained series of intrusions whose ...

Campaign with LLM and ARTEX attacks South Korean financial institutions and exfilters data
Security researchers have documented a campaign directed against South Korean financial institutions using language-driven attack tools to automate intrusions and data extractio...

ChainDrop campaign exposes tensorlake in npm; version 0.5.144 withdrawal
A package of npm called tensorlake, an SDK in TypeScript oriented to Tensorlake applications and services, was engaged in a supply chain campaign linked to the attack family kno...

Google reports DNS kidnapping: TLS certificates for google.com.gh, google.sl and google.as
Google reported on October 6 that attackers managed to issue unauthorized HTTPS certificates for Google and YouTube names after compromising authoritative DNS records of three t...

Cyber risk in 2026 moves to workflows and IA, according to Voice of the CISO
The data added by five editions of the Voice of the CISO study - including the most recent findings of 2026 - draw a less intense change than risk location: the threat is moving...

Phishing BitB points to advertising professionals and account managers to steal MFA
Security researchers have described a phishing campaign for advertising professionals and account managers that uses a human-operated platform to mimic ad products linked to IA ...

LibreOffice / OpenOffice Calc allows remote source execution when opening ODB / JDBC leaves
Researchers have shown that a malicious spreadsheet can force LibreOffice and Apache OpenOffice to run code controlled by an attacker at the time the file is opened, without sho...