
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
vue-router-interceptor
Advanced tools
帮你轻松管理路由的轻型拦截器
在大型单页(SPA)应用中,路由起着举足轻重的作用,在遇到复杂场景的时候,通常需要在进入路由时进行各种验证拦截操作、数据前置等等,这款插件就是为这种复杂场景而生
npm install vue-router-interceptor --save-dev
import router from 'router'
import VueRouterInterceptor from 'vue-router-interceptor'
const interceptor = VueRouterInterceptor.Create(router)
const requireAuth = interceptor.register('requireAuth')
function middlewre () {
// ...
}
requireAuth.use(middleware)
requireAuth.listen()
更多细节请查阅 在线文档
MIT
FAQs
Effortlessly interceptor your router
The npm package vue-router-interceptor receives a total of 2 weekly downloads. As such, vue-router-interceptor popularity was classified as not popular.
We found that vue-router-interceptor 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 uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.