Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@verbaly/astro

Latest version: v0.87.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: aronchino
4 Stars
0 Forks
52 Versions
2.6K Downloads
TypeScript Repo language

Scan summary

@verbaly/astro was last scanned on 29 Nov 2026 at version 0.87.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 52 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 0.87.0.
  • Downloads: 2,645 downloads.

Versions

52 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.87.0 LATEST 29 Nov 2026 No rules fired
0.86.2 20 Nov 2026 No rules fired
0.86.1 20 Nov 2026 No rules fired
0.86.0 17 Nov 2026 Not shown
0.84.0 15 Nov 2026 Not shown

No rules fired in 0.87.0

Findings

Findings for v0.87.0. 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.87.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.


Write your text in place, in the frontmatter or right in the markup of your .astro files. The compiler extracts the messages, generates stable keys, typed params and one catalog per language, and the dev server keeps them in sync while you code.

One line in astro.config wires everything: the Vite plugin (live extraction, the verbaly/app module and the build report) and, if you use the mirror flow, verbaly render runs by itself after every build. The generated types live inside Astro's own .astro folder (via injectTypes), so no extra file lands in your project.

🚀 Install

pnpm add verbaly @verbaly/astro
pnpm add -D @verbaly/compiler   # the verbaly command: init, extract, check

⚡ Wire it up

// astro.config.mjs
import { defineConfig } from 'astro/config';
import verbaly from '@verbaly/astro';

export default defineConfig({
  integrations: [verbaly()],
});

Locales live in your verbaly.config (created by npx verbaly init), where verbaly check and extract read them too:

// verbaly.config.ts, created by npx verbaly init: list your languages, the build and `verbaly check` read them
export default { sourceLocale: 'en', locales: ['en', 'es', 'pt'] };

✍️ Write the text in place

---
import { createRequestInstance, sourceLocale } from 'verbaly/app';

const { t } = await createRequestInstance(Astro.currentLocale ?? sourceLocale);
const name = 'Ada';
const count = 3;
const title = t`Search and find`;
---

<h1>{title}</h1>
<p>{t`Hello ${name}, you have ${count} messages`}</p>
<img alt={t`Company logo`} src="/logo.png" />

Every message becomes a stable key with typed params. A build lists what verbaly check would fail on and goes on, so run check in CI (failOnMissing: true stops the build instead). The types go to the slot Astro gives integrations (.astro/integrations/_verbaly_astro/verbaly.d.ts), and npx verbaly extract writes that same file, so astro check never sees the module declared twice.

🌍 Two ways to ship the languages

Path-based pages (Astro's i18n routing): build one instance per request and use t as usual. Astro owns the routes, Verbaly owns the catalogs and the type safety.

---
import { createRequestInstance, sourceLocale } from 'verbaly/app';
const { t } = await createRequestInstance(Astro.currentLocale ?? sourceLocale);
---

createRequestInstance awaits the catalog before it returns, which is what makes the page arrive translated instead of flashing. Astro.currentLocale is undefined outside a localized route, so the fallback is not decoration.

The integration reads Astro's i18n too, so switchLocale and localePath from verbaly/app go to the page Astro serves in the other language: prefix-except-source by default, or prefix-all with prefixDefaultLocale: true. That needs Astro's defaultLocale to be your sourceLocale, and each language's path to be its code; the dev server and the build say so when it is not. A prefix mode your verbaly.config names stays as it is, and npx verbaly doctor shows the mode in use.

<button data-lang="es">Español</button>
<script>
  import { switchLocale } from 'verbaly/app';

  for (const button of document.querySelectorAll<HTMLButtonElement>('[data-lang]')) {
    button.addEventListener('click', () => switchLocale(button.dataset.lang!)); // goes to /es/…
  }
</script>

Mirror mode (one tree, pre-translated copies): keep your markup bound with data-verbaly attributes and add a render section to your verbaly.config. After astro build, the integration mirrors dist/ into dist/<locale>/ with every message pre-filled, plus hreflang and a per-locale sitemap if you configure baseUrl. No flash of untranslated content, no client work.

// verbaly.config.mjs
export default {
  locales: ['en', 'es', 'pt'],
  render: { baseUrl: 'https://example.com', sitemap: true },
};

Force it on or off with the integration option: verbaly({ render: true }).

Every url the mirror and verbaly/app write (hreflang, sitemap, canonical, links and localePath) follows Astro's own trailingSlash, so with 'never' the Spanish home is /es, never /es/. With <ClientRouter />, verbaly/app takes the language of each page before the swap, so a live bindDom paints the incoming page in its own language. Its default root is the whole document, so it keeps working after the router replaces the body.

📚 Docs

Full guide: verbaly.dev/docs/frameworks/astro

MIT © Aron Soto

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @verbaly/astro

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229