Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

WeaknessASC-2026-0059Other weakness

Unpinned AI dependencies and compromised maintainer releases

MediumFixed

Floating version ranges pull a malicious release as soon as a maintainer account or release pipeline is compromised, as the Ultralytics releases on PyPI (December 2024) and the Shai-Hulud worm on npm (September 2025) showed.

How to detect it

  • Version ranges instead of pinned versions
  • Installs that run lifecycle scripts

How to resolve it

  • Pin exact versions with lockfiles and hashes
  • Delay adoption of new releases by a few days
  • Disable install scripts by default

How to investigate

  1. Check whether a compromised version was installed anywhere
  2. Rotate credentials on affected machines and CI

Sources

Open it in the Learning Center's vulnerability database