
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@satumjs/async-override
Advanced tools
override async for sandbox
// 用于行内代码,生成 fakeUrl 用于缓存等
getFileFakeUrl(fileName:string, appName?:string): string
// 改写 fetch 方法
satumMicroFetchFactory(
data: IMicroApp | { system: IActorSystem, appName?: string },
fetch?: typeof fetch,
): (req: string | RequestInfo, options?: RequestInit) => Promise<Response | undefined>
// 改写 ajax 类
satumMicroFetchFactory(
data: IMicroApp | { system: IActorSystem, appName?: string },
customAjaxClass?: typeof XMLHttpRequest,
): XMLHttpRequest
// 改写 document.createElement 方法
satumMicroCreateElementFactory(
data: IMicroApp | { system: IActorSystem, appName?: string },
createElement?: typeof document.createElement,
fakeWinName?: string, // window 对象上 沙箱的 property
): (tagName: keyof HTMLElementTagNameMap, options?: ElementCreationOptions) => HTMLElement | null
// 改写 document.head.appendChild 方法
satumMicroHeadAppendChildFactory(
fakeHead: HTMLElement,
appendChild?: typeof document.head.appendChild,
customProcess?: (el: HTMLElement, fakeHead: HTMLElement, embedStylesIntoTemplate?: boolean) => HTMLElement | boolean | undefined,
): appendChild(el: HTMLElement) => HTMLElement
FAQs
override async for sandbox
We found that @satumjs/async-override 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.