Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

fix insecure install #266

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix insecure install #266

wants to merge 1 commit into from

Conversation

JacksonGL
Copy link

The documentation mentions a one line install command: curl http://npmjs.org/install.sh | sh. It is safer to download via the HTTPS protocol, since http enables main-in-the-middle-attack, and if succeeds in this case, it becomes arbitrary execution attack.

The [documentation](https://github.com/npm/npm-registry-couchapp/blob/master/www/attachments/install.html#L3) mentions a one line install ```curl http://npmjs.org/install.sh | sh```. It may be safer to download via the HTTPS protocol, since http enables main-in-the-middle-attack, and if succeed in this case, it becomes arbitrary execution attack.
@isaacs isaacs added the review label Mar 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants