Dependencies & Supply Chain
medium Severity
Free Check

Unpinned CDN Resources (@latest)

Flags script tags loading unpinned CDN URLs (e.g. unpkg.com/package@latest) that can receive untested or malicious updates.

Test Your Website for Unpinned CDN Resources (@latest)

Run this check along with 90+ automated tests across your domain.

Why It Matters

Loading floating versions means any compromised version published upstream immediately infects your live production website.

How We Check This

We check script and link URLs for unpinned tags like @latest or missing explicit semantic versions.

How to Fix & Implement

Copy-paste configuration blocks tailored for your web server or edge proxy.

nginx snippet
<script src="https://cdn.jsdelivr.net/npm/package@1.2.3/dist/index.js"></script>

Frequently Asked Questions

Why is @latest dangerous in production?

An upstream package maintainer account takeover will instantly execute the attacker’s code on your users without any deployment on your end.