Skip to content

Instantly share code, notes, and snippets.

@matthewsimo
Created September 8, 2025 20:45
Show Gist options
  • Save matthewsimo/d3fe37808f91ff2d85a72d8ebbef0915 to your computer and use it in GitHub Desktop.
Save matthewsimo/d3fe37808f91ff2d85a72d8ebbef0915 to your computer and use it in GitHub Desktop.
Quickly identify if

Run this command to check if your project is using one of the vulnerable packages in packages.txt

  1. Copy packages.txt to your project
  2. run $ npm list | grep -q -f packages.txt && echo "Found" || echo "Not found"
  3. If found, run npm list and verify package and version
backslash
chalk-template
supports-hyperlinks
has-ansi
simple-swizzle
color-string
error-ex
color-name
is-arrayish
slice-ansi
color-convert
wrap-ansi
ansi-regex
supports-color
strip-ansi
chalk
debug
ansi-styles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment