GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
HomeMalicious Packagesua-parser-js
Supply-Chain Attack

ua-parser-js

The maintainer's npm account was hijacked and malicious versions published, installing a crypto-miner and a password-stealing trojan on Windows and Linux.
Attack type
Account compromise
Ecosystem
npm
Year
2021
Severity
Critical

Impact

ua-parser-js had ~8M weekly downloads and is a transitive dependency of thousands of projects.

Incident facts

Attack typeAccount compromise
Ecosystemnpm
Year2021
SeverityCritical

Am I affected?

Check your lockfile or manifest against the Gold database.

Scan your dependencies

What is account compromise?

A legitimate package's maintainer account or pipeline was taken over and a malicious version published.

Advisory IDs

CVE-2021-41265
Read the advisory / write-up

Protect your supply chain

Attacks like this are why dependency provenance matters. Scan your manifests against the Gold database.

Free API & badgeScan your dependencies

Related account compromise incidents

Account compromise@solana/web3.jsnpm2024Account compromisepolyfill.io (polyfill-service)CDN2024Account compromise@ledgerhq/connect-kitnpm2023Account compromisectxPyPI2022Account compromisecoa / rcnpm2021Account compromisecodecov bash-uploaderCI/CD2021