
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
@ax2/redirect-ssl
Advanced tools
Enforce HTTPS on your Nuxt app with Koa backend
Install package
yarn add @ax2/redirect-ssl
Require and use middleware (Make sure adding it as the first in the chain)
const redirectSSL = require('redirect-ssl')
// Add middleware
app.use(redirectSSL)
// Or if want to provide options
app.use(redirectSSL.create({ redirectPort: 8443 }))
trueTrust and check x-forwarded-proto header for HTTPS detection.
process.env.NODE_ENV === 'production'Only enabled in production environment. Force redirecting locally by setting this option to true.
443Redirect users to this port for HTTPS. (:443 is omitted from URL as is default for https:// schema)
undefinedRedirects using this value as host, if omitted will use request host for redirects.
NOTE It should not contain schema or trailing slashes. (Example: google.com)
trueRedirect when no SSL detection method is available too. disable this option if you encounter redirect loops.
307 Temporary RedirectStatus code when redirecting. The reason of choosing 307 for default is:
POST TO GET by user agents. (If you don't care, use 302 Found)308 Permanent Redirect or 301 Moved Permanently)MIT - Nuxt.js
FAQs
Enforce HTTPS on your Nuxt app with Koa backend
The npm package @ax2/redirect-ssl receives a total of 3 weekly downloads. As such, @ax2/redirect-ssl popularity was classified as not popular.
We found that @ax2/redirect-ssl 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.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.