NinjaSurfer Docs / capabilities ← Back to the site
Docs · capabilities

Capabilities

Chromium 158.0.8127.89, platforms: linux-x64, macos-arm64, windows-x64. Windows, macOS and Android are personas from the catalog of real machines.

Each capability has a default policy and optional modes; one that is not in the browser yet is marked (planned). Available in lists where you can use it: browser (command line), js-sdk, cli (ninjasurfer start PROFILE), mcp (ninjasurfer mcp).

Persona

Capability Default Modes Available in Requires Limitations
Persona identity fields (UA, Client Hints, navigator.platform, deviceMemory) (persona.identity) Derived from --persona-seed; without a seed the browser uses seed 0. Same seed gives the same fields on the same build. — browser, js-sdk, cli, mcp — Different seeds select from small pools and do not guarantee a unique or unlinkable fingerprint.; Host-derived surfaces (GPU, screen, fonts without a pack, network stack) do not change with the seed.
Windows and macOS personas (--persona-os=win|mac) (persona.os-win-mac) Default win. A Windows or macOS device identity from the persona catalog, set in the engine; the operating system underneath stays the host's. — browser, js-sdk, cli, mcp — Not a virtual machine: the operating system and its devices stay the host's.; No Touch ID or Windows Hello.
Android phone identity (--persona-os=android) (persona.android) An Android phone identity from real-device captures: mobile UA, Client Hints, touch points, display and GPU. — browser, js-sdk, cli, mcp — A phone identity, not a phone: no sensors, cameras or telephony are added to the host.
navigator.hardwareConcurrency (persona.hardware-concurrency) Persona value capped by the CPUs the process may use (cgroup quota and affinity). — browser, js-sdk, cli, mcp — Changes when the CPU allocation changes, even with the same seed.

Graphics

Capability Default Modes Available in Requires Limitations
WebGL with the persona GPU identity (graphics.webgl) Desktop personas report the GPU of their reference capture in UNMASKED_VENDOR/UNMASKED_RENDERER (Windows: the entry's personal-PC GPU on D3D11, such as Intel UHD Graphics; macOS: Apple M4 or M2 on Metal; Android: the phone's Adreno, Mali or Xclipse through ANGLE), in every realm. Limits and extensions are what the backend implements: a persona may only lower a limit, extensions its GPU lacks are hidden, KHR_parallel_shader_compile is emulated where the backend has no parallel compile. — browser, js-sdk, cli, mcp — Rendering and pixels are those of the host backend (SwiftShader on a GPU-less host), not of a Windows or Mac GPU.; Extensions the backend cannot run are not exposed (macOS: WEBGL_compressed_texture_pvrtc, WEBGL_render_shared_exponent).; MAX_SAMPLES is the backend's (4 on SwiftShader).
WebGPU, emulated on GPU-less hosts (graphics.webgpu) Without a hardware GPU, requestAdapter() returns the SwiftShader Vulkan adapter without launcher flags, presented as the persona GPU: isFallbackAdapter=false, vendor/architecture of the reference capture (Windows nvidia/turing, macOS apple/metal-3), in every realm. Features and limits are what the backend really implements; experimental features are hidden. — browser, js-sdk, cli, mcp — Features the backend lacks are not exposed: shader-f16 (macOS also texture-compression-astc/etc2), unlike the reference GPUs.; subgroups (and subgroup-size-control where the reference GPU offers it) only for persona GPUs whose wave the backend runs (NVIDIA and Apple M4: 32 lanes in compute and fragment shaders); other models (Intel gen 9) do not offer them, as their reference Chrome; subgroupMinSize/subgroupMaxSize report the persona GPU's sizes.; Performance is that of the CPU.; Not yet verified on a GPU host.
Screen, DPR, color depth and CSS media features (graphics.screen-media) Reported from the real display or headless window. — browser, js-sdk, cli, mcp — Not part of the persona: the same seed on another screen reports other values.

Fonts

Capability Default Modes Available in Requires Limitations
The original Windows and macOS fonts (--font-pack) (fonts.packs) Without --font-pack the host's Fontconfig fonts (upstream behaviour). win and mac profiles select the original Windows or macOS fonts of their OS version (local.win-os / local.mac-os), downloaded from the signed font index and imported into the browser's font store (--font-pack-import): only their faces, generic roles and hidden families are used, hermetically; NinjaSurfer ships no fonts. — browser, js-sdk, cli, mcp The persona OS's font sets on this machine: ninjasurfer fetch or ninjasurfer fonts fetch-operator downloads and imports them, checked against the signed index. Rendered by Chromium's Skia/FreeType on Linux, not Windows DirectWrite/ClearType or macOS CoreText output: family names and metrics are the originals', glyph pixels differ.; No substitute, Noto or emoji packs are used. A win or mac launch without its OS's imported set fails (exit 75) instead of falling back to other fonts.; Glyph coverage is that of the OS fonts; host faces are never used (hermetic), so a character the OS fonts lack renders as .notdef, as on that OS without extra fonts. A 21-language corpus and the base code points of all Emoji 16.0 sequences are covered on both OSes.; Chrome on a Mac adds 15% to the ascent of Times, Helvetica and Courier (Blink, Mac only); a mac persona does the same on any host.
Windows and macOS font family names (Segoe UI, Helvetica Neue, Menlo, ...) (fonts.os-family-names) Without the OS's imported fonts no Windows or macOS family name is offered; local() and Local Font Access know only the selected sets' own faces. fonts:os-originals: a win or mac profile with its OS's imported set (local.win-os or local.mac-os) — The original Windows and macOS families under their real names: CSS family requests, local() by full and PostScript names, Local Font Access; macOS "System Font" only behind system-ui; families starting with '.' are not offered; roles as the stock browser on that OS. browser, js-sdk, cli, mcp — Rendering stays Chromium's Skia/FreeType on Linux, not Windows DirectWrite/ClearType or macOS CoreText output.; Only the families of the OS's font set are offered (the fonts of real Windows and macOS installations); a family the set lacks falls back as on a machine without it.

Network

Capability Default Modes Available in Requires Limitations
WebRTC default IP handling policy (network.webrtc-default-policy) disable_non_proxied_udp unless --webrtc-ip-handling-policy is set: no direct UDP, TURN over TCP/TLS only, through the proxy when one applies. — browser, js-sdk, cli, mcp A TURN server over TCP/TLS for WebRTC connections. No STUN, direct P2P or TURN over UDP by default.; An explicit default_public_interface_only exposes the host public address and sends UDP around any proxy.
Private mDNS host-only WebRTC (network.webrtc-mdns-host-only) Off by default; --enable-features=NinjaSurferWebRtcMdnsHostOnly gathers only private-interface mDNS host candidates. — browser, js-sdk, cli, mcp A real active private network interface. Private data channels only; no STUN/TURN.
Authenticated http/https proxies through a local adapter (network.proxy-credentials) A proxy URL with user:password reaches the browser through a local adapter on 127.0.0.1 that adds the credentials (TLS to an https proxy); it serves only its browser, refuses private targets and has head/connect/idle deadlines. Wrong credentials surface as the proxy's 407. — js-sdk, cli, mcp An http:// or https:// proxy; socks5 with credentials is refused (Chromium has no SOCKS5 authentication). —

Media and devices

Capability Default Modes Available in Requires Limitations
Media devices under a persona (--persona-media) (media.persona-devices) system-audio: only the system default (and on Windows communications) microphone and speaker, labelled for the persona OS; no camera, video capture fails with NotFoundError. media:none: --persona-media=none — No media devices at all.; media:host: --persona-media=host [--persona-media-camera=<raw id>] — The same audio devices plus exactly one host camera (the given one, else the system's first) with a persona label, no pan/tilt/zoom, a fixed format grid. browser, js-sdk, cli, mcp A host microphone; for media:host a host camera. Host device names and count are hidden; device choice is the host default.; Without persona switches the host devices are listed as upstream.
AudioContext sample rate (media.audio-sample-rate) Persona default sample rate and latencies; an explicit AudioContext({sampleRate}) is honoured. — browser, js-sdk, cli, mcp — Offline rendering is the engine's own output with no per-persona noise: one audio fingerprint per platform, the Linux x86 one under every persona, Windows and macOS personas included.

Location, time and locale

Capability Default Modes Available in Requires Limitations
Fixed geolocation (--persona-lat/--persona-lng) (geo.persona-geolocation) Explicit coordinates override the Geolocation API and auto-grant the permission; invalid or partial input stops startup. — browser, js-sdk, cli, mcp — Not derived from the seed; keep it consistent with the proxy and timezone yourself.
Timezone from the egress IP (timezone="auto") (geo.timezone-auto) The SDK resolves the egress IP to an IANA timezone through NinjaSurfer's IP API (/v1/ip). — js-sdk, cli, mcp NinjaSurfer's IP API (/v1/ip). SDK feature only; the browser command line takes an explicit timezone.

Storage and profiles

Capability Default Modes Available in Requires Limitations
Client certificates per profile (Linux NSS database) (storage-profile.client-certificates) A profile's browser runs with HOME=<profile>/home, so client certificates and added CAs (<profile>/home/.pki/nssdb) are offered only by that profile, also with several profiles open, after a crash, an export/import and an update. — js-sdk, cli, mcp Linux host; the browser opened through the SDK profile API (startProfile). A browser started without a profile uses the OS user's own NSS database (the browser entrypoint does not separate certificates).; macOS and Windows hosts keep client certificates in the Keychain and the Windows certificate store, shared by every profile of the OS user.; Snapshots and restores cover user-data only, not the certificates.
Persistent profiles (SDK profiles) (storage-profile.persistent-profiles) A profile keeps its persona, settings, pinned identity and browser data across launches in its own directory; one process holds it at a time (lock); several profiles run at once, each isolated (cookies, storage, caches, service workers, permissions, per-origin ids). Export/import moves it as an encrypted archive; snapshots guard browser upgrades. — js-sdk, cli, mcp The NinjaSurfer browser (installed, or CHROME_BIN). One host per profile: no sync or shared profile roots.

Automation

Capability Default Modes Available in Requires Limitations
navigator.webdriver (automation.webdriver-flag) Always false, including under automation. — browser, js-sdk, cli, mcp — Differs from the WebDriver specification for automated sessions; not a guarantee that automation goes unnoticed.
No "controlled by automated test software" infobar (automation.no-automation-infobar) The automation-disclosure infobar is never shown, even when the browser is launched with --enable-automation (which Puppeteer/Selenium and some external MCP drivers add). This is deliberately separate from the dangerous-flag warning (ShowBadFlagsPrompt), which still fires for every unsafe flag. — browser, js-sdk, cli, mcp — Suppresses the infobar at the engine level for every launch path; the SDK Playwright wrapper also drops --enable-automation (automation.playwright-wrapper). Not a guarantee that automation goes unnoticed by every detector.
Playwright wrapper without Playwright's site-visible switches (automation.playwright-wrapper) NinjaSurfer(...) launches through Playwright but drops the switches a site can see (scrollbars, storage partitioning, HTTPS upgrades, extensions, colour profile, mute) and keeps only a reviewed --disable-features list; the sandbox stays on and webdriver stays false. — js-sdk, cli, mcp playwright-core 1.64.1. Playwright still enables the Runtime domain on every page; the browser keeps that invisible to the page.
Own DevTools endpoint (launchAgent, startProfile / CLI start) (automation.cdp-endpoint) launchAgent and ninjasurfer start PROFILE start the browser on a free or a fixed port, verify that the endpoint is their own browser's before use, fail fast on an occupied port or an early exit, and stop the whole process tree on close. — js-sdk, cli, mcp The NinjaSurfer browser (installed, or CHROME_BIN); start never downloads a first browser (a withdrawn installed one is updated once). CDP access is unauthenticated on 127.0.0.1: any local process of the same host can attach to an open endpoint.
MCP server (ninjasurfer mcp) (automation.mcp-server) ninjasurfer mcp exposes the browser to MCP clients over stdio: one browser per server however the first calls interleave, closed on shutdown; snapshots describe secret fields as filled/empty, never by value. — js-sdk, cli, mcp @modelcontextprotocol/sdk and zod. —