File tree Expand file tree Collapse file tree 1 file changed +7
-17
lines changed
Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -37,25 +37,15 @@ npm config set registry https://<PHYLUM_ORG>%2F<PHYLUM_GROUP>:<PHYLUM_API_KEY>@n
3737>
3838> Do not accidentally save your token into your shell history.
3939
40- A blocked package will show up in ` npm ` output as missing :
40+ A blocked package will show up in ` npm ` output as E403 :
4141
4242``` text
43- npm error code E404
44- npm error 404 Not Found - GET http://:***@npm.phylum.io/<malicious>
45- npm error 404
46- npm error 404 '<malicious>@*' is not in this registry.
47- npm error 404
48- npm error 404 Note that you can also install from a
49- npm error 404 tarball, folder, http url, or git url.
50- ```
51-
52- Alternatively, if only a specific version is affected:
53-
54- ``` text
55- npm error code ETARGET
56- npm error notarget No matching version found for <malicious>@<version>.
57- npm error notarget In most cases you or one of your dependencies are requesting
58- npm error notarget a package version that doesn't exist.
43+ npm error code E403
44+ npm error 403 Could not download <malicious>@<version> due to policy violations:
45+ npm error 403 Blocked by package firewall.
46+ npm error 403 In most cases, you or one of your dependencies are requesting
47+ npm error 403 a package version that is forbidden by your security policy, or
48+ npm error 403 on a server you do not have access to.
5949```
6050
6151If you're using ` pnpm ` , the output will look like this:
You can’t perform that action at this time.
0 commit comments