Download the PHP package sunnysideup/scan-for-bad-npm-packages without Composer
On this page you can find all versions of the php package sunnysideup/scan-for-bad-npm-packages. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sunnysideup/scan-for-bad-npm-packages
More information about sunnysideup/scan-for-bad-npm-packages
Files in sunnysideup/scan-for-bad-npm-packages
Download sunnysideup/scan-for-bad-npm-packages
More information about sunnysideup/scan-for-bad-npm-packages
Files in sunnysideup/scan-for-bad-npm-packages
Vendor sunnysideup
Package scan-for-bad-npm-packages
Short Description Scans for Shai Hulud and other bad npm packages. USE AT YOUR OWN RISK!
License MIT
Package scan-for-bad-npm-packages
Short Description Scans for Shai Hulud and other bad npm packages. USE AT YOUR OWN RISK!
License MIT
Please rate this library. Is it a good library?
Informations about the package scan-for-bad-npm-packages
status
this is just a bit of a hack right now, Nothing useful yet. Please use at your own risk!!!!!!!!!!!!!
tl;dr
Scans for possible “shai hulud” attacks using an external source for list of possible attack strings (file or URL) via --list <path|url>.
Scans recursively for package.json (excluding node_modules) and checks:
- Installed version in node_modules
- Requested spec in package.json (strips ^/~)
- Lockfiles in the same project dir: package-lock.json, npm-shrinkwrap.json, yarn.lock (classic & berry), pnpm-lock.yaml
Outputs TSV: STATUS PACKAGE@VERSION PATH.
how to run
check first
- run
nano /tmp/processor.shto see if it exists - run
nano /tmp/migrate-repos.shto see if it exists - open: https://github.com/search?q=Shai-Hulud+org%3APLACEHOLDER&type=repositories&s=updated&o=desc (source: https://www.wiz.io/blog/shai-hulud-npm-supply-chain-attack)
- open: https://github.com/search?q=%22Shai-Hulud+Migration%22+org%3APLACEHOLDER&type=repositories&s=updated&o=desc (source: https://www.wiz.io/blog/shai-hulud-npm-supply-chain-attack)
run first (CAREFUL!!!!)
scan your computer
Ideally, you would run this on your whole machine.
Also do
Check your github account for any untoward changes.
Also see
All versions of scan-for-bad-npm-packages with dependencies
PHP Build Version
Package Version
No informations.
The package sunnysideup/scan-for-bad-npm-packages contains the following files
Loading the files please wait ...