
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.
@apad/injector
Advanced tools
开箱即用的js注入器,注入/替换 系统API,方便调试底层API,支持插件的cs <-> world甚至bg <-> world方式
cs.js
import { initClient } from '@apad/injector/client'
const injectorClient = initClient({ eval: true })
injectorClient.eval.run((a)=>a+1,[2])
world.js
import { initInjector } from '@apad/injector/injector'
const injector = initInjector({ eval: true })
cs.js
import '@apad/injector/ext-bg-messager/content-script'
world.js
import Messager from '@apad/injector/ext-bg-messager/window'
import { initInjector } from '@apad/injector/injector'
const injector = initInjector({ eval: true, Messager })
bg.js
import Messager from '@apad/injector/ext-bg-messager/background'
import { initClient } from '@apad/injector/client'
const injectorClient = initClient({ eval: true, Messager })
// 默认的是发给当前的tab
injectorClient.eval.run((a)=>a+1,[2])
// 加tab()是发送给特定tab
const tabId = 114514
injectorClient.tab(tabId).eval.run((a)=>a+1,[2])
FAQs
注入/替换 系统API,方便调试所有底层API,且支持在web插件中使用甚至可以支持bg
We found that @apad/injector 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
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.