
Security News
Rust RFC Proposes a Security Tab on crates.io for RustSec Advisories
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.
vite-plugin-tunnel-proxy
Advanced tools
A proxy plugin for vite that works with https and SwitchyOmega
A vite plugin that (at least for me) solves the problem of developing locally with browser based tunnel proxies like SwitchyOmega and https.
yarn add --dev vite-plugin-tunnel-proxy
I recommend using mkcert to generate locally trusted certificates.
mkcert install
mkcert -key-file .ssh.local/key.pem -cert-file .ssh.local/cert.pem example.test localhost 127.0.0.1 ::1
And use them in the vite config:
import { defineConfig } from 'vite'
import vitePluginTunnelProxy from 'vite-plugin-tunnel-proxy'
export default defineConfig({
server: {
https: {
key: './.ssh.local/key.pem',
cert: './.ssh.local/cert.pem'
}
},
plugins: [
vitePluginTunnelProxy()
],
})
You can use whatever proxy you like, I prefer SwitchyOmega.
Create a new profile of the type Proxy Profile and configure it as follows:
| Protocol | Server | Port |
|---|---|---|
| HTTP | localhost | 8080 |
Save and activate the profile (or add it to a Switch Profile). And voilĂ , application is being served on https://example.test with a valid certificate.
FAQs
A proxy plugin for vite that works with https and SwitchyOmega
The npm package vite-plugin-tunnel-proxy receives a total of 0 weekly downloads. As such, vite-plugin-tunnel-proxy popularity was classified as not popular.
We found that vite-plugin-tunnel-proxy 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
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.

Security News
/Research
Socket found a Rust typosquat (finch-rust) that loads sha-rust to steal credentials, using impersonation and an unpinned dependency to auto-deliver updates.

Research
/Security Fundamentals
A pair of typosquatted Go packages posing as Googleâs UUID library quietly turn helper functions into encrypted exfiltration channels to a paste site, putting developer and CI data at risk.