Versions of the package degit before 2.8.6, from 3.0.0 and before 3.3.1 are vulnerable to Command Injection due to improper sanitisation of user input for git…
CyberXYZ does not call a package safe in absolute terms. It records 1 known vulnerability for degit (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does degit have known vulnerabilities?
Yes. CyberXYZ records 1 known vulnerability for degit (npm), the worst rated HIGH. They are GHSA-77c7-pq4r-6mcq.
Which version of degit should I use?
3.3.1 or later clears every advisory recorded for degit (npm). Check the release you pick before installing it.
How do I check degit before installing?
Search degit in CyberXYZ Check at https://cyberxyz.io/check?q=degit. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 05:19 UTC. The most recent advisory here was published 2026-06-09. Updated continuously from NVD, GHSA, OSV and CNA feeds.