
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
connect-http-please
Advanced tools
Follows HTTPS redirects for you, seamlessly.
Don't want to enter HTTPS while in development?
Don't want to fiddle around self-signed certificates for your HTTPS proxy?
Add connect-http-please
to your middleware chain and it will follow HTTPS redirects for you.
httplease = require 'connect-http-please'
(...)
middlewares = [
httplease()
myproxy( { to: 'somesite.com' } )
]
(...)
server.listen(80)
Now, imagine your browser issues a request to localhost/secure
.
This gets proxied to somesite.com/secure
.
However, somesite.com/secure
won't accept HTTP: instead, it sends a
301 - location: https://somesite.com/secure
Then, connect-http-please
detects that this is
301
/302
) toSo, it saves your browser the trouble, fetches the content via HTTPS and returns your original request.
Your browser never knew he had to spoke HTTPS.
This middleware is meant as a facilitator for DEVELOPMENT PURPOSES.
Do not use it in production or in critical environments.
Even though this middleware makes the requests via https, there's no
guarantee of safety between your browser and this proxy.
You have been warned.
FAQs
Follow redirects to https transparently and deliver them via http
The npm package connect-http-please receives a total of 116 weekly downloads. As such, connect-http-please popularity was classified as not popular.
We found that connect-http-please demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.