CVE-2025-10894
Nx: nx/devkit: malicious versions of nx and plugins published to npm
Malicious code was inserted into the Nx (build system) package and several related plugins. The tampered package was published to the npm software registry, via a supply-chain attack. Affected versions contain code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.6
Nx: nx/devkit: malicious versions of nx and plugins published to npm
Malicious code was inserted into the Nx (build system) package and several related plugins. The tampered package was published to the npm software registry, via a supply-chain attack. Affected versions contain code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
- Record
CVE-2025-10894- CVSS 3.1
- 9.6 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H - Weakness
- CWE-506
- Updated
- 2026-11-02
EUVDEUVD-2025-29473
9.6
Malicious code was inserted into the Nx (build system) package and several related plugins. The tampered package was published to the npm software registry, via a supply-chain attack. Affected versions contain code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
- Record
EUVD-2025-29473- CVSS 3.1
- 9.6 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-cxm3-wv7p-598c No score
Malicious versions of Nx were published
Summary
Malicious versions of the nx package, as well as some supporting plugin packages, were published to npm, containing code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Immediate Actions Required
For all users, check if you were impacted
- Check your account's audit logs (https://github.com/settings/security-log?q=action%3Arepo.create) to see if a repo containing s1ngularity-repository in the name was published to your Github account. If so your credentials were likely compromised. Unfortunately, Github may have proactively deleted the repo for you. To be safe, rotate any credentials such as Github, NPM, and anything that may have been in your environment variables.
- Check your local machine to see if there is a file at
/tmp/inventory.txt, this file will contain a list of files which the malware probably read from. If this file exists, you have been affected. - Check this https://github.com/[GithubSlug]?tab=repositories&q=s1ngularity-repository to see if you have a repo containing s1ngularity-repository remains on your Github account. If you do not have the repository available to you anymore, reach out to Github support and they can provide you the contents of the repository.
- Download the file in the repo for your own records.
- Then, remove the repo from GitHub.
- E-mail [email protected] and we will instruct you on how to decode the file so you are aware what information was leaked
- Rotate your credentials and tokens on all of your accounts.
Rotate your Github token
In order to rotate your Github token, follow these steps:
- Visit https://github.com/settings/connections/applications/178c6fc778ccc68e1d6a. This is the setting for the Github app used by the
ghCLI to authenticate itself. - Revoke access to that app. This will invalidate the OLD token which may have been compromised.
- The next time you run the
ghCLI, you will reauth and a NEW token will be generated.
If you do not do this, your Github access token may be utilized to do malicious activity on your Github account.
Rotate all of your tokens but this is specific instruction for Github to make it as easy as possible.
For all users, stop using the malicious versions
# Check if the version of nx you are using was a malicious version
npm ls nx
# If using affected versions, update immediately:
npm uninstall nx && npm install nx@latest
# Clear caches for any package manager
yarn cache clean --all
pnpm store prune --force
npm cache clean --force
# Remove cache directories
# Windows
%LocalAppData%/npm-cache/_npx
# Unix
~/.npm/_npx
# Outputs of
yarn cache dir
pnpm store path
For Users Who were compromised:
Refer to the section above to see if you were compromised. If so, do the following.
- Rotate npm tokens: Visit https://www.npmjs.com/ and rotate your tokens.
- Rotate Github Tokens: Visit https://www.github.com/ and rotate your tokens.
- Change Github Credentials: Change passwords for Github
- Change your passwords for any other services you use.
- Check your
.zshrcand.bashrcfiles for any unfamiliar lines and remove them.
Purge Malicious Versions from Internal Registries
For maintainers of internal registries Immediately remove the compromised versions listed above from your internal package registries (e.g., JFrog Artifactory, Sonatype Nexus) or any other proxies to [npmjs.org](http://npmjs.org/). This will prevent further internal downloads of the malicious code.
Affected Versions of nx
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- 20.10.0
- 21.6.0
- 20.11.0
- 21.7.0
- 21.8.0
- 20.12.0
- Published at 8:37 PM
These versions have since been removed from NPM as of 10:44 PM EDT
Affected Versions of @nx/devkit, @nx/js, @nx/workspace, @nx/node
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- Published at 8:42 PM
Affected Versions…
- Record
GHSA-cxm3-wv7p-598c- Weakness
- CWE-506
- Updated
- 2026-11-02
NVD
9.6
Malicious code was inserted into the Nx (build system) package and several related plugins. The tampered package was published to the npm software registry, via a supply-chain attack. Affected versions contain code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
- Record
CVE-2025-10894- CVSS 3.1
- 9.6 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H - Weakness
- CWE-506
- Updated
- 2026-11-02
OSVGHSA-cxm3-wv7p-598c No score
Malicious versions of Nx were published
Summary
Malicious versions of the nx package, as well as some supporting plugin packages, were published to npm, containing code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Immediate Actions Required
For all users, check if you were impacted
- Check your account's audit logs (https://github.com/settings/security-log?q=action%3Arepo.create) to see if a repo containing s1ngularity-repository in the name was published to your Github account. If so your credentials were likely compromised. Unfortunately, Github may have proactively deleted the repo for you. To be safe, rotate any credentials such as Github, NPM, and anything that may have been in your environment variables.
- Check your local machine to see if there is a file at
/tmp/inventory.txt, this file will contain a list of files which the malware probably read from. If this file exists, you have been affected. - Check this https://github.com/[GithubSlug]?tab=repositories&q=s1ngularity-repository to see if you have a repo containing s1ngularity-repository remains on your Github account. If you do not have the repository available to you anymore, reach out to Github support and they can provide you the contents of the repository.
- Download the file in the repo for your own records.
- Then, remove the repo from GitHub.
- E-mail [email protected] and we will instruct you on how to decode the file so you are aware what information was leaked
- Rotate your credentials and tokens on all of your accounts.
Rotate your Github token
In order to rotate your Github token, follow these steps:
- Visit https://github.com/settings/connections/applications/178c6fc778ccc68e1d6a. This is the setting for the Github app used by the
ghCLI to authenticate itself. - Revoke access to that app. This will invalidate the OLD token which may have been compromised.
- The next time you run the
ghCLI, you will reauth and a NEW token will be generated.
If you do not do this, your Github access token may be utilized to do malicious activity on your Github account.
Rotate all of your tokens but this is specific instruction for Github to make it as easy as possible.
For all users, stop using the malicious versions
# Check if the version of nx you are using was a malicious version
npm ls nx
# If using affected versions, update immediately:
npm uninstall nx && npm install nx@latest
# Clear caches for any package manager
yarn cache clean --all
pnpm store prune --force
npm cache clean --force
# Remove cache directories
# Windows
%LocalAppData%/npm-cache/_npx
# Unix
~/.npm/_npx
# Outputs of
yarn cache dir
pnpm store path
For Users Who were compromised:
Refer to the section above to see if you were compromised. If so, do the following.
- Rotate npm tokens: Visit https://www.npmjs.com/ and rotate your tokens.
- Rotate Github Tokens: Visit https://www.github.com/ and rotate your tokens.
- Change Github Credentials: Change passwords for Github
- Change your passwords for any other services you use.
- Check your
.zshrcand.bashrcfiles for any unfamiliar lines and remove them.
Purge Malicious Versions from Internal Registries
For maintainers of internal registries Immediately remove the compromised versions listed above from your internal package registries (e.g., JFrog Artifactory, Sonatype Nexus) or any other proxies to [npmjs.org](http://npmjs.org/). This will prevent further internal downloads of the malicious code.
Affected Versions of nx
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- 20.10.0
- 21.6.0
- 20.11.0
- 21.7.0
- 21.8.0
- 20.12.0
- Published at 8:37 PM
These versions have since been removed from NPM as of 10:44 PM EDT
Affected Versions of @nx/devkit, @nx/js, @nx/workspace, @nx/node
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- Published at 8:42 PM
Affected Versions…
- Record
GHSA-cxm3-wv7p-598c- Weakness
- CWE-506
- Updated
- 2026-11-02
OSVMAL-2025-41436 No score
Malicious code in @nx/devkit (npm)
-= Per source details. Do not edit below this line.=-
Source: ghsa-malware (8b11cb4be7497510402676b2b593e6a5d3e0dee4e1443996403e8aa496f284f3)
Summary
Malicious versions of the nx package, as well as some supporting plugin packages, were published to npm, containing code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Immediate Actions Required
For all users, check if you were impacted
- Check your account's audit logs (https://github.com/settings/security-log?q=action%3Arepo.create) to see if a repo containing s1ngularity-repository in the name was published to your Github account. If so your credentials were likely compromised. Unfortunately, Github may have proactively deleted the repo for you. To be safe, rotate any credentials such as Github, NPM, and anything that may have been in your environment variables.
- Check your local machine to see if there is a file at
/tmp/inventory.txt, this file will contain a list of files which the malware probably read from. If this file exists, you have been affected. - Check this https://github.com/[GithubSlug]?tab=repositories&q=s1ngularity-repository to see if you have a repo containing s1ngularity-repository remains on your Github account. If you do not have the repository available to you anymore, reach out to Github support and they can provide you the contents of the repository.
- Download the file in the repo for your own records.
- Then, remove the repo from GitHub.
- E-mail [email protected] and we will instruct you on how to decode the file so you are aware what information was leaked
- Rotate your credentials and tokens on all of your accounts.
Rotate your Github token
In order to rotate your Github token, follow these steps:
- Visit https://github.com/settings/connections/applications/178c6fc778ccc68e1d6a. This is the setting for the Github app used by the
ghCLI to authenticate itself. - Revoke access to that app. This will invalidate the OLD token which may have been compromised.
- The next time you run the
ghCLI, you will reauth and a NEW token will be generated.
If you do not do this, your Github access token may be utilized to do malicious activity on your Github account.
Rotate all of your tokens but this is specific instruction for Github to make it as easy as possible.
For all users, stop using the malicious versions
# Check if the version of nx you are using was a malicious version
npm ls nx
# If using affected versions, update immediately:
npm uninstall nx && npm install nx@latest
# Clear caches for any package manager
yarn cache clean --all
pnpm store prune --force
npm cache clean --force
# Remove cache directories
# Windows
%LocalAppData%/npm-cache/_npx
# Unix
~/.npm/_npx
# Outputs of
yarn cache dir
pnpm store path
For Users Who were compromised:
Refer to the section above to see if you were compromised. If so, do the following.
- Rotate npm tokens: Visit https://www.npmjs.com/ and rotate your tokens.
- Rotate Github Tokens: Visit https://www.github.com/ and rotate your tokens.
- Change Github Credentials: Change passwords for Github
- Change your passwords for any other services you use.
- Check your
.zshrcand.bashrcfiles for any unfamiliar lines and remove them.
Purge Malicious Versions from Internal Registries
For maintainers of internal registries Immediately remove the compromised versions listed above from your internal package registries (e.g., JFrog Artifactory, Sonatype Nexus) or any other proxies to [npmjs.org](http://npmjs.org/). This will prevent further internal downloads of the malicious code.
Affected Versions of nx
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- 20.10.0
- 21.6.0
- 20.11.0
- 21.7.0
- 21.8.0
- 20.12.0
- Published at 8:37 PM
These versions have since been removed from NPM as of 10:44 PM EDT
Affected…
- Record
MAL-2025-41436- Updated
- 2026-11-02
Show 7 moreShow less
OSVMAL-2025-41437 No score
Malicious code in @nx/enterprise-cloud (npm)
-= Per source details. Do not edit below this line.=-
Source: ghsa-malware (8b11cb4be7497510402676b2b593e6a5d3e0dee4e1443996403e8aa496f284f3)
Summary
Malicious versions of the nx package, as well as some supporting plugin packages, were published to npm, containing code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Immediate Actions Required
For all users, check if you were impacted
- Check your account's audit logs (https://github.com/settings/security-log?q=action%3Arepo.create) to see if a repo containing s1ngularity-repository in the name was published to your Github account. If so your credentials were likely compromised. Unfortunately, Github may have proactively deleted the repo for you. To be safe, rotate any credentials such as Github, NPM, and anything that may have been in your environment variables.
- Check your local machine to see if there is a file at
/tmp/inventory.txt, this file will contain a list of files which the malware probably read from. If this file exists, you have been affected. - Check this https://github.com/[GithubSlug]?tab=repositories&q=s1ngularity-repository to see if you have a repo containing s1ngularity-repository remains on your Github account. If you do not have the repository available to you anymore, reach out to Github support and they can provide you the contents of the repository.
- Download the file in the repo for your own records.
- Then, remove the repo from GitHub.
- E-mail [email protected] and we will instruct you on how to decode the file so you are aware what information was leaked
- Rotate your credentials and tokens on all of your accounts.
Rotate your Github token
In order to rotate your Github token, follow these steps:
- Visit https://github.com/settings/connections/applications/178c6fc778ccc68e1d6a. This is the setting for the Github app used by the
ghCLI to authenticate itself. - Revoke access to that app. This will invalidate the OLD token which may have been compromised.
- The next time you run the
ghCLI, you will reauth and a NEW token will be generated.
If you do not do this, your Github access token may be utilized to do malicious activity on your Github account.
Rotate all of your tokens but this is specific instruction for Github to make it as easy as possible.
For all users, stop using the malicious versions
# Check if the version of nx you are using was a malicious version
npm ls nx
# If using affected versions, update immediately:
npm uninstall nx && npm install nx@latest
# Clear caches for any package manager
yarn cache clean --all
pnpm store prune --force
npm cache clean --force
# Remove cache directories
# Windows
%LocalAppData%/npm-cache/_npx
# Unix
~/.npm/_npx
# Outputs of
yarn cache dir
pnpm store path
For Users Who were compromised:
Refer to the section above to see if you were compromised. If so, do the following.
- Rotate npm tokens: Visit https://www.npmjs.com/ and rotate your tokens.
- Rotate Github Tokens: Visit https://www.github.com/ and rotate your tokens.
- Change Github Credentials: Change passwords for Github
- Change your passwords for any other services you use.
- Check your
.zshrcand.bashrcfiles for any unfamiliar lines and remove them.
Purge Malicious Versions from Internal Registries
For maintainers of internal registries Immediately remove the compromised versions listed above from your internal package registries (e.g., JFrog Artifactory, Sonatype Nexus) or any other proxies to [npmjs.org](http://npmjs.org/). This will prevent further internal downloads of the malicious code.
Affected Versions of nx
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- 20.10.0
- 21.6.0
- 20.11.0
- 21.7.0
- 21.8.0
- 20.12.0
- Published at 8:37 PM
These versions have since been removed from NPM as of 10:44 PM EDT
Affected…
- Record
MAL-2025-41437- Updated
- 2026-11-02
OSVMAL-2025-41438 No score
Malicious code in @nx/eslint (npm)
-= Per source details. Do not edit below this line.=-
Source: ghsa-malware (8b11cb4be7497510402676b2b593e6a5d3e0dee4e1443996403e8aa496f284f3)
Summary
Malicious versions of the nx package, as well as some supporting plugin packages, were published to npm, containing code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Immediate Actions Required
For all users, check if you were impacted
- Check your account's audit logs (https://github.com/settings/security-log?q=action%3Arepo.create) to see if a repo containing s1ngularity-repository in the name was published to your Github account. If so your credentials were likely compromised. Unfortunately, Github may have proactively deleted the repo for you. To be safe, rotate any credentials such as Github, NPM, and anything that may have been in your environment variables.
- Check your local machine to see if there is a file at
/tmp/inventory.txt, this file will contain a list of files which the malware probably read from. If this file exists, you have been affected. - Check this https://github.com/[GithubSlug]?tab=repositories&q=s1ngularity-repository to see if you have a repo containing s1ngularity-repository remains on your Github account. If you do not have the repository available to you anymore, reach out to Github support and they can provide you the contents of the repository.
- Download the file in the repo for your own records.
- Then, remove the repo from GitHub.
- E-mail [email protected] and we will instruct you on how to decode the file so you are aware what information was leaked
- Rotate your credentials and tokens on all of your accounts.
Rotate your Github token
In order to rotate your Github token, follow these steps:
- Visit https://github.com/settings/connections/applications/178c6fc778ccc68e1d6a. This is the setting for the Github app used by the
ghCLI to authenticate itself. - Revoke access to that app. This will invalidate the OLD token which may have been compromised.
- The next time you run the
ghCLI, you will reauth and a NEW token will be generated.
If you do not do this, your Github access token may be utilized to do malicious activity on your Github account.
Rotate all of your tokens but this is specific instruction for Github to make it as easy as possible.
For all users, stop using the malicious versions
# Check if the version of nx you are using was a malicious version
npm ls nx
# If using affected versions, update immediately:
npm uninstall nx && npm install nx@latest
# Clear caches for any package manager
yarn cache clean --all
pnpm store prune --force
npm cache clean --force
# Remove cache directories
# Windows
%LocalAppData%/npm-cache/_npx
# Unix
~/.npm/_npx
# Outputs of
yarn cache dir
pnpm store path
For Users Who were compromised:
Refer to the section above to see if you were compromised. If so, do the following.
- Rotate npm tokens: Visit https://www.npmjs.com/ and rotate your tokens.
- Rotate Github Tokens: Visit https://www.github.com/ and rotate your tokens.
- Change Github Credentials: Change passwords for Github
- Change your passwords for any other services you use.
- Check your
.zshrcand.bashrcfiles for any unfamiliar lines and remove them.
Purge Malicious Versions from Internal Registries
For maintainers of internal registries Immediately remove the compromised versions listed above from your internal package registries (e.g., JFrog Artifactory, Sonatype Nexus) or any other proxies to [npmjs.org](http://npmjs.org/). This will prevent further internal downloads of the malicious code.
Affected Versions of nx
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- 20.10.0
- 21.6.0
- 20.11.0
- 21.7.0
- 21.8.0
- 20.12.0
- Published at 8:37 PM
These versions have since been removed from NPM as of 10:44 PM EDT
Affected…
- Record
MAL-2025-41438- Updated
- 2026-11-02
OSVMAL-2025-41439 No score
Malicious code in @nx/js (npm)
-= Per source details. Do not edit below this line.=-
Source: ghsa-malware (8b11cb4be7497510402676b2b593e6a5d3e0dee4e1443996403e8aa496f284f3)
Summary
Malicious versions of the nx package, as well as some supporting plugin packages, were published to npm, containing code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Immediate Actions Required
For all users, check if you were impacted
- Check your account's audit logs (https://github.com/settings/security-log?q=action%3Arepo.create) to see if a repo containing s1ngularity-repository in the name was published to your Github account. If so your credentials were likely compromised. Unfortunately, Github may have proactively deleted the repo for you. To be safe, rotate any credentials such as Github, NPM, and anything that may have been in your environment variables.
- Check your local machine to see if there is a file at
/tmp/inventory.txt, this file will contain a list of files which the malware probably read from. If this file exists, you have been affected. - Check this https://github.com/[GithubSlug]?tab=repositories&q=s1ngularity-repository to see if you have a repo containing s1ngularity-repository remains on your Github account. If you do not have the repository available to you anymore, reach out to Github support and they can provide you the contents of the repository.
- Download the file in the repo for your own records.
- Then, remove the repo from GitHub.
- E-mail [email protected] and we will instruct you on how to decode the file so you are aware what information was leaked
- Rotate your credentials and tokens on all of your accounts.
Rotate your Github token
In order to rotate your Github token, follow these steps:
- Visit https://github.com/settings/connections/applications/178c6fc778ccc68e1d6a. This is the setting for the Github app used by the
ghCLI to authenticate itself. - Revoke access to that app. This will invalidate the OLD token which may have been compromised.
- The next time you run the
ghCLI, you will reauth and a NEW token will be generated.
If you do not do this, your Github access token may be utilized to do malicious activity on your Github account.
Rotate all of your tokens but this is specific instruction for Github to make it as easy as possible.
For all users, stop using the malicious versions
# Check if the version of nx you are using was a malicious version
npm ls nx
# If using affected versions, update immediately:
npm uninstall nx && npm install nx@latest
# Clear caches for any package manager
yarn cache clean --all
pnpm store prune --force
npm cache clean --force
# Remove cache directories
# Windows
%LocalAppData%/npm-cache/_npx
# Unix
~/.npm/_npx
# Outputs of
yarn cache dir
pnpm store path
For Users Who were compromised:
Refer to the section above to see if you were compromised. If so, do the following.
- Rotate npm tokens: Visit https://www.npmjs.com/ and rotate your tokens.
- Rotate Github Tokens: Visit https://www.github.com/ and rotate your tokens.
- Change Github Credentials: Change passwords for Github
- Change your passwords for any other services you use.
- Check your
.zshrcand.bashrcfiles for any unfamiliar lines and remove them.
Purge Malicious Versions from Internal Registries
For maintainers of internal registries Immediately remove the compromised versions listed above from your internal package registries (e.g., JFrog Artifactory, Sonatype Nexus) or any other proxies to [npmjs.org](http://npmjs.org/). This will prevent further internal downloads of the malicious code.
Affected Versions of nx
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- 20.10.0
- 21.6.0
- 20.11.0
- 21.7.0
- 21.8.0
- 20.12.0
- Published at 8:37 PM
These versions have since been removed from NPM as of 10:44 PM EDT
Affected…
- Record
MAL-2025-41439- Updated
- 2026-11-02
OSVMAL-2025-41440 No score
Malicious code in @nx/key (npm)
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (4a77d672a4263588b96bbf3fbf8ddbd4e1e7b6ee0bccd619a447bf9e301883b3)
The package @nx/[email protected] is published under the @nx scope and ships a heavily obfuscated JavaScript file (native.js) using hex-mangled identifiers (_0x1bbf0b...) at the tarball root. The @nx scope was the target of a known supply-chain compromise in which malicious versions were published with obfuscated payloads that harvest credentials and developer secrets from the installer environment. A legitimate @nx package would not ship an obfuscated native.js with this fingerprint. The combination of (a) publication under a high-value compromised scope and (b) shipping an obfuscated JS payload as a top-level file matches the structural fingerprint of that compromise.
Source: ghsa-malware (8b11cb4be7497510402676b2b593e6a5d3e0dee4e1443996403e8aa496f284f3)
Summary
Malicious versions of the nx package, as well as some supporting plugin packages, were published to npm, containing code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Immediate Actions Required
For all users, check if you were impacted
- Check your account's audit logs (https://github.com/settings/security-log?q=action%3Arepo.create) to see if a repo containing s1ngularity-repository in the name was published to your Github account. If so your credentials were likely compromised. Unfortunately, Github may have proactively deleted the repo for you. To be safe, rotate any credentials such as Github, NPM, and anything that may have been in your environment variables.
- Check your local machine to see if there is a file at
/tmp/inventory.txt, this file will contain a list of files which the malware probably read from. If this file exists, you have been affected. - Check this https://github.com/[GithubSlug]?tab=repositories&q=s1ngularity-repository to see if you have a repo containing s1ngularity-repository remains on your Github account. If you do not have the repository available to you anymore, reach out to Github support and they can provide you the contents of the repository.
- Download the file in the repo for your own records.
- Then, remove the repo from GitHub.
- E-mail [email protected] and we will instruct you on how to decode the file so you are aware what information was leaked
- Rotate your credentials and tokens on all of your accounts.
Rotate your Github token
In order to rotate your Github token, follow these steps:
- Visit https://github.com/settings/connections/applications/178c6fc778ccc68e1d6a. This is the setting for the Github app used by the
ghCLI to authenticate itself. - Revoke access to that app. This will invalidate the OLD token which may have been compromised.
- The next time you run the
ghCLI, you will reauth and a NEW token will be generated.
If you do not do this, your Github access token may be utilized to do malicious activity on your Github account.
Rotate all of your tokens but this is specific instruction for Github to make it as easy as possible.
For all users, stop using the malicious versions
# Check if the version of nx you are using was a malicious version
npm ls nx
# If using affected versions, update immediately:
npm uninstall nx && npm install nx@latest
# Clear caches for any package manager
yarn cache clean --all
pnpm store prune --force
npm cache clean --force
# Remove cache directories
# Windows
%LocalAppData%/npm-cache/_npx
# Unix
~/.npm/_npx
# Outputs of
yarn cache dir
pnpm store path
For Users Who were compromised:
Refer to the section above to see if you were compromised. If so, do the following.
- Rotate npm tokens: Visit https://www.npmjs.com/ and rotate your tokens.
- Rotate Github Tokens: Visit https://www.github.com/ and rotate your tokens.
- Change Github Credentials: Change…
- Record
MAL-2025-41440- Updated
- 2026-11-02
OSVMAL-2025-41441 No score
Malicious code in @nx/node (npm)
-= Per source details. Do not edit below this line.=-
Source: ghsa-malware (8b11cb4be7497510402676b2b593e6a5d3e0dee4e1443996403e8aa496f284f3)
Summary
Malicious versions of the nx package, as well as some supporting plugin packages, were published to npm, containing code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Immediate Actions Required
For all users, check if you were impacted
- Check your account's audit logs (https://github.com/settings/security-log?q=action%3Arepo.create) to see if a repo containing s1ngularity-repository in the name was published to your Github account. If so your credentials were likely compromised. Unfortunately, Github may have proactively deleted the repo for you. To be safe, rotate any credentials such as Github, NPM, and anything that may have been in your environment variables.
- Check your local machine to see if there is a file at
/tmp/inventory.txt, this file will contain a list of files which the malware probably read from. If this file exists, you have been affected. - Check this https://github.com/[GithubSlug]?tab=repositories&q=s1ngularity-repository to see if you have a repo containing s1ngularity-repository remains on your Github account. If you do not have the repository available to you anymore, reach out to Github support and they can provide you the contents of the repository.
- Download the file in the repo for your own records.
- Then, remove the repo from GitHub.
- E-mail [email protected] and we will instruct you on how to decode the file so you are aware what information was leaked
- Rotate your credentials and tokens on all of your accounts.
Rotate your Github token
In order to rotate your Github token, follow these steps:
- Visit https://github.com/settings/connections/applications/178c6fc778ccc68e1d6a. This is the setting for the Github app used by the
ghCLI to authenticate itself. - Revoke access to that app. This will invalidate the OLD token which may have been compromised.
- The next time you run the
ghCLI, you will reauth and a NEW token will be generated.
If you do not do this, your Github access token may be utilized to do malicious activity on your Github account.
Rotate all of your tokens but this is specific instruction for Github to make it as easy as possible.
For all users, stop using the malicious versions
# Check if the version of nx you are using was a malicious version
npm ls nx
# If using affected versions, update immediately:
npm uninstall nx && npm install nx@latest
# Clear caches for any package manager
yarn cache clean --all
pnpm store prune --force
npm cache clean --force
# Remove cache directories
# Windows
%LocalAppData%/npm-cache/_npx
# Unix
~/.npm/_npx
# Outputs of
yarn cache dir
pnpm store path
For Users Who were compromised:
Refer to the section above to see if you were compromised. If so, do the following.
- Rotate npm tokens: Visit https://www.npmjs.com/ and rotate your tokens.
- Rotate Github Tokens: Visit https://www.github.com/ and rotate your tokens.
- Change Github Credentials: Change passwords for Github
- Change your passwords for any other services you use.
- Check your
.zshrcand.bashrcfiles for any unfamiliar lines and remove them.
Purge Malicious Versions from Internal Registries
For maintainers of internal registries Immediately remove the compromised versions listed above from your internal package registries (e.g., JFrog Artifactory, Sonatype Nexus) or any other proxies to [npmjs.org](http://npmjs.org/). This will prevent further internal downloads of the malicious code.
Affected Versions of nx
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- 20.10.0
- 21.6.0
- 20.11.0
- 21.7.0
- 21.8.0
- 20.12.0
- Published at 8:37 PM
These versions have since been removed from NPM as of 10:44 PM EDT
Affected…
- Record
MAL-2025-41441- Updated
- 2026-11-02
OSVMAL-2025-41442 No score
Malicious code in @nx/workspace (npm)
-= Per source details. Do not edit below this line.=-
Source: ghsa-malware (8b11cb4be7497510402676b2b593e6a5d3e0dee4e1443996403e8aa496f284f3)
Summary
Malicious versions of the nx package, as well as some supporting plugin packages, were published to npm, containing code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Immediate Actions Required
For all users, check if you were impacted
- Check your account's audit logs (https://github.com/settings/security-log?q=action%3Arepo.create) to see if a repo containing s1ngularity-repository in the name was published to your Github account. If so your credentials were likely compromised. Unfortunately, Github may have proactively deleted the repo for you. To be safe, rotate any credentials such as Github, NPM, and anything that may have been in your environment variables.
- Check your local machine to see if there is a file at
/tmp/inventory.txt, this file will contain a list of files which the malware probably read from. If this file exists, you have been affected. - Check this https://github.com/[GithubSlug]?tab=repositories&q=s1ngularity-repository to see if you have a repo containing s1ngularity-repository remains on your Github account. If you do not have the repository available to you anymore, reach out to Github support and they can provide you the contents of the repository.
- Download the file in the repo for your own records.
- Then, remove the repo from GitHub.
- E-mail [email protected] and we will instruct you on how to decode the file so you are aware what information was leaked
- Rotate your credentials and tokens on all of your accounts.
Rotate your Github token
In order to rotate your Github token, follow these steps:
- Visit https://github.com/settings/connections/applications/178c6fc778ccc68e1d6a. This is the setting for the Github app used by the
ghCLI to authenticate itself. - Revoke access to that app. This will invalidate the OLD token which may have been compromised.
- The next time you run the
ghCLI, you will reauth and a NEW token will be generated.
If you do not do this, your Github access token may be utilized to do malicious activity on your Github account.
Rotate all of your tokens but this is specific instruction for Github to make it as easy as possible.
For all users, stop using the malicious versions
# Check if the version of nx you are using was a malicious version
npm ls nx
# If using affected versions, update immediately:
npm uninstall nx && npm install nx@latest
# Clear caches for any package manager
yarn cache clean --all
pnpm store prune --force
npm cache clean --force
# Remove cache directories
# Windows
%LocalAppData%/npm-cache/_npx
# Unix
~/.npm/_npx
# Outputs of
yarn cache dir
pnpm store path
For Users Who were compromised:
Refer to the section above to see if you were compromised. If so, do the following.
- Rotate npm tokens: Visit https://www.npmjs.com/ and rotate your tokens.
- Rotate Github Tokens: Visit https://www.github.com/ and rotate your tokens.
- Change Github Credentials: Change passwords for Github
- Change your passwords for any other services you use.
- Check your
.zshrcand.bashrcfiles for any unfamiliar lines and remove them.
Purge Malicious Versions from Internal Registries
For maintainers of internal registries Immediately remove the compromised versions listed above from your internal package registries (e.g., JFrog Artifactory, Sonatype Nexus) or any other proxies to [npmjs.org](http://npmjs.org/). This will prevent further internal downloads of the malicious code.
Affected Versions of nx
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- 20.10.0
- 21.6.0
- 20.11.0
- 21.7.0
- 21.8.0
- 20.12.0
- Published at 8:37 PM
These versions have since been removed from NPM as of 10:44 PM EDT
Affected…
- Record
MAL-2025-41442- Updated
- 2026-11-02
OSVMAL-2025-41443 No score
Malicious code in nx (npm)
-= Per source details. Do not edit below this line.=-
Source: ghsa-malware (8b11cb4be7497510402676b2b593e6a5d3e0dee4e1443996403e8aa496f284f3)
Summary
Malicious versions of the nx package, as well as some supporting plugin packages, were published to npm, containing code that scans the file system, collects credentials, and posts them to GitHub as a repo under user's accounts.
Immediate Actions Required
For all users, check if you were impacted
- Check your account's audit logs (https://github.com/settings/security-log?q=action%3Arepo.create) to see if a repo containing s1ngularity-repository in the name was published to your Github account. If so your credentials were likely compromised. Unfortunately, Github may have proactively deleted the repo for you. To be safe, rotate any credentials such as Github, NPM, and anything that may have been in your environment variables.
- Check your local machine to see if there is a file at
/tmp/inventory.txt, this file will contain a list of files which the malware probably read from. If this file exists, you have been affected. - Check this https://github.com/[GithubSlug]?tab=repositories&q=s1ngularity-repository to see if you have a repo containing s1ngularity-repository remains on your Github account. If you do not have the repository available to you anymore, reach out to Github support and they can provide you the contents of the repository.
- Download the file in the repo for your own records.
- Then, remove the repo from GitHub.
- E-mail [email protected] and we will instruct you on how to decode the file so you are aware what information was leaked
- Rotate your credentials and tokens on all of your accounts.
Rotate your Github token
In order to rotate your Github token, follow these steps:
- Visit https://github.com/settings/connections/applications/178c6fc778ccc68e1d6a. This is the setting for the Github app used by the
ghCLI to authenticate itself. - Revoke access to that app. This will invalidate the OLD token which may have been compromised.
- The next time you run the
ghCLI, you will reauth and a NEW token will be generated.
If you do not do this, your Github access token may be utilized to do malicious activity on your Github account.
Rotate all of your tokens but this is specific instruction for Github to make it as easy as possible.
For all users, stop using the malicious versions
# Check if the version of nx you are using was a malicious version
npm ls nx
# If using affected versions, update immediately:
npm uninstall nx && npm install nx@latest
# Clear caches for any package manager
yarn cache clean --all
pnpm store prune --force
npm cache clean --force
# Remove cache directories
# Windows
%LocalAppData%/npm-cache/_npx
# Unix
~/.npm/_npx
# Outputs of
yarn cache dir
pnpm store path
For Users Who were compromised:
Refer to the section above to see if you were compromised. If so, do the following.
- Rotate npm tokens: Visit https://www.npmjs.com/ and rotate your tokens.
- Rotate Github Tokens: Visit https://www.github.com/ and rotate your tokens.
- Change Github Credentials: Change passwords for Github
- Change your passwords for any other services you use.
- Check your
.zshrcand.bashrcfiles for any unfamiliar lines and remove them.
Purge Malicious Versions from Internal Registries
For maintainers of internal registries Immediately remove the compromised versions listed above from your internal package registries (e.g., JFrog Artifactory, Sonatype Nexus) or any other proxies to [npmjs.org](http://npmjs.org/). This will prevent further internal downloads of the malicious code.
Affected Versions of nx
- 21.5.0
- Published at 6:32 PM
- 20.9.0
- 20.10.0
- 21.6.0
- 20.11.0
- 21.7.0
- 21.8.0
- 20.12.0
- Published at 8:37 PM
These versions have since been removed from NPM as of 10:44 PM EDT
Affected…
- Record
MAL-2025-41443- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@nx/devkitnpm |
Listed versions 20.9.021.5.0 |
None known |
@nx/enterprise-cloudnpm |
Listed versions 3.2.0 |
None known |
@nx/eslintnpm |
Listed versions 21.5.0 |
None known |
@nx/jsnpm |
Listed versions 20.9.021.5.0 |
None known |
@nx/nodenpm |
Listed versions 20.9.021.5.0 |
None known |
@nx/workspacenpm |
Listed versions 20.9.021.5.0 |
None known |
nxnpm |
Listed versions 20.9.020.10.020.11.020.12.021.5.021.6.021.7.021.8.0 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | pvharmo2/gha-lab-23db52563c | 2026-09-02 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-10894 is a critical vulnerability (CVSS 9.6) in Red Hat Multicluster Global Hub, published August 27, 2025. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.56%, the 47th percentile. No source names a fixed version.
References
access.redhat.com/security/cve/CVE-2025-10894
access.redhat.com/security/supply-chain-attacks-NPM-packages
bugzilla.redhat.com/show_bug.cgi?id=2396282
github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c
stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-package-compromised-with-data-stealing-malware
wiz.io/blog/s1ngularity-supply-chain-attack
Show 10 moreShow less
github.com/nrwl/nx/issues/32522
github.com/nrwl/nx/issues/32523
github.com/nrwl/nx/pull/32458
github.com/nrwl/nx/commit/3905475cfd0e0ea670e20c6a9eaeb768169dc33d
x.com/adnanthekhan/status/1958722939534417989
nvd.nist.gov/vuln/detail/CVE-2025-10894
github.com/ossf/malicious-packages/blob/924e3cfb512a9097299503a28807f7cbe55b2975/osv/malicious/npm/@nx/key/MAL-2025-41440.json
npmjs.com/package/@nx/key/v/5.0.7
github.com/advisories/GHSA-cxm3-wv7p-598c
github.com/nrwl/nx
Left out here: the rest of 10 source descriptions. The JSON record has them.