Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
ensure-https-www
Advanced tools
Ensure your domain redirects non-https non-www requests appropriately.
Ensure your domain redirects non-https non-www requests appropriately.
Here's how a properly configured domain looks:
$ ensure-https-www soundcasts.net /bundle.js
PASS http://soundcasts.net => https://www.soundcasts.net/
PASS http://www.soundcasts.net => https://www.soundcasts.net/
PASS https://soundcasts.net => https://www.soundcasts.net/
PASS https://www.soundcasts.net => https://www.soundcasts.net/
PASS http://soundcasts.net/bundle.js => https://www.soundcasts.net/bundle.js
PASS http://www.soundcasts.net/bundle.js => https://www.soundcasts.net/bundle.js
PASS https://soundcasts.net/bundle.js => https://www.soundcasts.net/bundle.js
PASS https://www.soundcasts.net/bundle.js => https://www.soundcasts.net/bundle.js
And here's how an improperly configured domain looks:
$ ensure-https-www nytimes.com /es/
FAIL http://nytimes.com => https://www.nytimes.com/ expected, but got http://www.nytimes.com/
PASS http://www.nytimes.com => https://www.nytimes.com/
FAIL https://nytimes.com => https://www.nytimes.com/ expected, but got http://www.nytimes.com/
FAIL https://www.nytimes.com => https://www.nytimes.com/ expected, but got http://www.nytimes.com/
FAIL http://nytimes.com/es/ => https://www.nytimes.com/es/ expected, but got http://www.nytimes.com/es/
PASS http://www.nytimes.com/es/ => https://www.nytimes.com/es/
FAIL https://nytimes.com/es/ => https://www.nytimes.com/es/ expected, but got http://www.nytimes.com/es/
PASS https://www.nytimes.com/es/ => https://www.nytimes.com/es/
usage: ensure-https-www <domain> <path>
domain
the non-www domain you want to test
example: soundcasts.net
path
a path you want to test
example: /bundle.js
FAQs
Ensure your domain redirects non-https non-www requests appropriately.
The npm package ensure-https-www receives a total of 0 weekly downloads. As such, ensure-https-www popularity was classified as not popular.
We found that ensure-https-www demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.