Skip to content

Commit 4f4dba9

Browse files
committed
Updated README a bit
1 parent 6e6b261 commit 4f4dba9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

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

5-
These are checked against an allow list, and if they have not been explicitly allowed then the install script will be blocked.
5+
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.
6+
7+
Package install scripts are checked against an allow list, and if they have not been explicitly allowed then the script will be blocked.
68

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

0 commit comments

Comments
 (0)