Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. test-module-a
  4. ›
  5. GMS-2020-535

GMS-2020-535: Malicious Package

September 11, 2020 (updated September 30, 2021)

All versions of test-module-a contain malicious code as a preinstall script. The package fetches all names of npm packages owned by the user and attempts to add another maintainer to every package as a means of package hijacking, ## Recommendation

Remove the package from your system. If you own any packages that were compromised please contact npm security immediately at security@npmjs.com. Also enable 2FA for publishing to further secure packages you maintain.

References

  • github.com/advisories/GHSA-76xq-58hj-vwm2
  • www.npmjs.com/advisories/929

Code Behaviors & Features

Detect and mitigate GMS-2020-535 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

Source file

npm/test-module-a/GMS-2020-535.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:05 +0000.