Scan your whole stack
From OX Research Newsroom
Are you using astro-toolbar-ua?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.4
astro-toolbar-ua was last scanned on 29 Nov 2026 at version 0.1.4. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.4 LATEST | 29 Nov 2026 | No rules fired |
Findings for v0.1.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.4; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Test platform detection and browser-specific behavior without leaving your browser — switch user agent strings directly from the Astro dev toolbar.
Need to check how your site behaves on iOS, Android, or Safari? Add it in one command:
# npm
npx astro add astro-toolbar-ua
# pnpm
pnpm astro add astro-toolbar-ua
# yarn
yarn astro add astro-toolbar-ua
Or install manually:
npm install -D astro-toolbar-ua
// astro.config.mjs
import { defineConfig } from "astro/config";
import toolbarUA from "astro-toolbar-ua";
export default defineConfig({
integrations: [toolbarUA()],
});
Open the UA Switch panel in the Astro dev toolbar. Pick a preset or paste a custom UA string. The page reloads with the new user agent applied.
A notification dot appears on the toolbar icon when a UA override is active.
| Category | Presets |
|---|---|
| Desktop | macOS, Windows, Linux |
| Mobile | iOS, Android |
| Browsers | Safari, Firefox, Edge |
You can also enter any custom UA string directly.
<head> script reads a localStorage key and overrides navigator.userAgent via Object.defineProperty — before any page scripts runlocalStorage and reloads the pageastro dev — production builds are not affectednavigator.userAgent. Does not modify server-side request headers.Object.defineProperty on navigator.userAgent works in Chromium and Firefox. Safari may not support it in all versions.If you find this useful, star the repo on GitHub — it helps others discover it.
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.