
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
vite-plugin-cloudflare-redirect
Advanced tools
Vite plugin to handle Cloudflare's _redirects file following https://developers.cloudflare.com/pages/platform/redirects/.
Create a _redirects file at /public (or following the publicDir config):
# /public/_redirects
/foo https://example.com 302
// vite.config.js
import { defineConfig } from 'vite'
import { cloudflareRedirect } from 'vite-plugin-cloudflare-redirect'
export default defineConfig({
plugins: [
cloudflareRedirect({
redirectsFile: './custom/_redirects' // optional
})
]
})
By default if no options are passed, the plugin would try to load from /public/_redirects (from publicDir config). If the file isn't found, no redirects will happen. Pass the redirectsFile option to specify a custom path.
MIT
FAQs
Vite plugin to handle Cloudflare's _redirects file
We found that vite-plugin-cloudflare-redirect demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.