Skip to content

Commit

Permalink
Updated README a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
ashward committed Mar 12, 2021
1 parent 6e6b261 commit 4f4dba9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

JSInstallGuard is a small security wrapper around the package manager which intercepts any `preinstall` and `postinstall` scripts.

These are checked against an allow list, and if they have not been explicitly allowed then the install script will be blocked.
These are commonly the point where malicious code is inserted in compromised npm packages. By preventing these scripts running until they have been explicitly trusted, then this helps detect any potential malicious intent before it can do any damage.

Package install scripts are checked against an allow list, and if they have not been explicitly allowed then the script will be blocked.

It supports both `yarn` and `npm` package managers.

Expand Down

0 comments on commit 4f4dba9

Please sign in to comment.