
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@mochi.js/inject
Advanced tools
Zero-jitter stealth payload for mochi — JIT-friendly proxies installed before any page script.
Zero-jitter stealth payload for mochi. Builds a single TurboFan-friendly IIFE that installs JS-layer fingerprint proxies before any page script runs.
Internal package consumed by @mochi.js/core.
Status: shipping in v0.2. Module surface covers UA / UA-CH, navigator, plugins, screen, timing, fonts, MediaDevices, Permissions, WebGL, WebGPU, network-info, screen-orientation, mouse-event-screen, window-chrome, bot-globals, plus the byte-exact fingerprint modules:
audio-fingerprint — consumes the per-(profile, sample-rate) precomputed blob produced by R-047 and patches OfflineAudioContext.prototype.startRendering. The residual is distributed across the 489 samples in [4510..4999) with Math.fround to model the f32 readback step page-side, so the digest is byte-exact on every host architecture.canvas-fingerprint — consumes the R-048 baseline and patches HTMLCanvasElement.prototype.toDataURL (plus OffscreenCanvas / getImageData siblings). Probe-sized canvases (300×150) get the captured baseline verbatim; non-probe sizes fall through to native rendering so application canvas use keeps working.Delivery is dual-mechanism: Fetch.fulfillRequest body splice on Document responses (CSP-rewritten), with Page.addScriptToEvaluateOnNewDocument({ runImmediately: true, worldName: "" }) as fallback for about:blank / data: / other non-HTTP nav targets. Idempotency via globalThis.__mochi_inject_marker.
See PLAN.md §5.3 and §8.4 and https://mochijs.com/docs/reference/limits.
FAQs
Zero-jitter stealth payload for mochi — JIT-friendly proxies installed before any page script.
We found that @mochi.js/inject 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
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.