测试版 Shoulder 目前处于测试阶段 — 结果有时可能不正确。您的反馈塑造我们接下来要修复的内容。 分享反馈
#3 A03:2025

Software Supply Chain Failures

Expanded from 'Vulnerable and Outdated Components' to address broader supply chain risks including unknown vulnerabilities introduced by third-parties, compromised packages, and build system attacks.

概述

New category for 2025. The previous 'Vulnerable and Outdated Components' has evolved to encompass the full spectrum of supply chain risks, including compromised dependencies, typosquatting, and CI/CD pipeline attacks.

攻击者如何利用此漏洞

理解攻击模式有助于您构建更好的防御。这些是安全团队监控的技术。

Typosquatting attack

Malicious packages with names similar to popular libraries are published to package registries, hoping developers will install them by mistake.

检测信号: Dependencies with unusual names, recent package publications, or low download counts

Compromised maintainer

An attacker gains access to a legitimate package maintainer's account and publishes malicious updates.

检测信号: Unexpected version bumps, new dependencies added, obfuscated code in updates

Build system compromise

CI/CD pipelines are compromised to inject malicious code during the build process.

检测信号: Build artifacts differ from source, unexpected network calls during build

如何预防

  • Remove unused dependencies, features, components, and documentation
  • Continuously inventory component versions and their dependencies using SBOM
  • Monitor sources like CVE, NVD, and OSV for vulnerabilities in components
  • Only obtain components from official sources over secure links
  • Verify package integrity using checksums and signatures
  • Implement lockfiles and review dependency updates carefully
  • Secure CI/CD pipelines with proper access controls and audit logging
  • Use dependency scanning tools in your build pipeline

有Shoulder检测的CWE (2)

这些CWE有Shoulder检测规则。点击查看具体漏洞和修复方法。

其他映射的CWE (7)

这些CWE映射到此类别,但尚无Shoulder规则。