Gold Open Source
ExplorePackagesVulnerabilitiesMCP Servers
Login
Gold Open Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security, malware, 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
Home/Malicious Packages/ua-parser-js
Supply-Chain Attack

ua-parser-js

ShareXLinkedInRedditHN

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.

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; a free CI gate that blocks risky dependencies before they merge is coming soon.

Scan your dependenciesFree API & badge

▪ Related account compromise incidents

@solana/web3.jsnpm · 2024polyfill.io (polyfill-service)CDN · 2024@ledgerhq/connect-kitnpm · 2023ctxPyPI · 2022coa / rcnpm · 2021codecov bash-uploaderCI/CD · 2021