Severity
High
Short Description
Contains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
Packages
View packages with this alert.Suggestion
Publish the HTTP URL dependency to npm or a private package repository and consume it from there.
An HTTP Dependency Alert is generated when a package resolves dependencies over an HTTP connection instead of the more secure HTTPS. This is flagged as a high severity risk because HTTP connections are not encrypted, making them susceptible to man-in-the-middle (MITM) attacks.
HTTP dependencies pose significant security risks as they can be intercepted and altered by malicious actors during transmission. This can lead to various attacks, including injecting malicious code into your dependencies, which could compromise your entire application.
Why HTTP Dependencies are Risky
Ensure that all dependencies in your project are fetched over secure HTTPS connections. Replace any HTTP URLs with HTTPS in your dependency configuration files.
Review and Update Dependencies:
Automate HTTPS Enforcement:
Regular Audits:
Package: 10up-toolkit
Package: algoliasearch.zendesk-hc
Socket's security system identifies dependencies resolved over HTTP by scanning the package's configuration files. It analyzes URLs used for dependency resolution and flags any that use the HTTP protocol.