Skip to content
HighSupply chainBLWK-DEV-007

Packages are installed from a plain-HTTP registry (‹path›) ​

What this means ​

‹path› installs from ‹detail› over unencrypted HTTP. Anyone on the network path can swap in a package that runs its own code at install time, and can read any token sent with the request.

How to fix it ​

Change the address to https:// (npm config set registry https://…, or index-url / extra-index-url in pip.conf). If the registry has no HTTPS, put it behind a TLS proxy rather than installing over plain HTTP.

Check it yourself ​

Run a scan and look for BLWK-DEV-007 in the results:

sh
bulwark scan

Installed the standalone CLI package instead of the app? The command is bulwarkctl.

How Bulwark decides

Bulwark reads dev_tool_config and reports this check when:

text
kind in ["npm", "pip"] and http_registry == true

If a value can't be read, Bulwark reports the check as undetermined rather than passing it. View the rule source.

References ​

Released under the Apache License 2.0.