Scan your whole stack
From OX Research Newsroom
Are you using @vllnt/next-llms?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.1-canary.7877bb2
@vllnt/next-llms was last scanned on 23 Nov 2026 at version 0.1.1-canary.7877bb2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.1-canary.7877bb2 LATEST | 23 Nov 2026 | No rules fired |
| 0.1.0 | 22 Nov 2026 | No rules fired |
| 0.1.0-canary.8750ffb | 22 Nov 2026 | No rules fired |
| 0.1.0-canary.06b7b79 | 22 Nov 2026 | Not shown |
| 0.1.0-canary.b0bb621 | 31 Oct 2026 | Not shown |
Findings for v0.1.1-canary.7877bb2. 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.1-canary.7877bb2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Make your Next.js site legible to AI agents — generate a spec-compliant
llms.txt manifest and serve any page as raw markdown.
// app/llms.txt/route.ts
import { generateLlmsText } from "@vllnt/next-llms";
export function GET() {
return new Response(
generateLlmsText({
title: "Acme",
summary: "Acme is a widget API.",
sections: [
{
title: "Docs",
links: [{ title: "Quickstart", url: "/docs/quickstart.md" }],
},
],
}),
{ headers: { "Content-Type": "text/plain; charset=utf-8" } },
);
}
Emit the llms.txt index and expose any page's markdown at /path.md so agents
skip HTML parsing. Zero runtime dependencies — pure Web-standard APIs that run
in any Next.js runtime (and Remix, Hono, Deno, …).
llms.txt — generateLlmsText emits the llmstxt.org
shape: an # title, a > blockquote, ## Section link lists, and a
droppable ## Optional section.createMarkdownRoute serves any page as
text/markdown, stripping a trailing .md and resolving the slug through
your own content source.Request / Response;
nothing added to your bundle.next; it runs
on the Edge, Node, or any Web-standard runtime.any.Cache-Control defaults, overridable per route.pnpm add @vllnt/next-llms
Node.js >=18; no peer dependencies (the package imports nothing from next or
react). Every push to main can publish a prerelease to the canary channel
(pnpm add @vllnt/next-llms@canary); stable releases are published from a
vX.Y.Z tag. The older generateLlmsFullText API from early canary builds is
not part of the stable API; use the two exports below.
// app/[...slug]/route.ts — serve any page as raw markdown
import { createMarkdownRoute } from "@vllnt/next-llms";
export const GET = createMarkdownRoute(async (slug) => {
const doc = await getDoc(slug.join("/")); // your content source
return doc?.markdown ?? null; // null → 404
});
/docs/intro.md resolves the slug ["docs", "intro"] and returns the markdown
with Content-Type: text/markdown, or 404 when the resolver returns null.
| Export | Kind | Result |
|---|---|---|
generateLlmsText(config) |
function | string — the llms.txt index |
createMarkdownRoute(resolver, options?) |
factory | (request: Request) => Promise<Response> |
Full reference: docs/API.md. Also see the LLM index, changelog, and issue tracker.
., .., or contain /, \ or NUL (400), but you still own how a slug
maps to a file or record.generateLlmsText escapes link titles and URLs and collapses line breaks, and
rejects blank titles/URLs and javascript:, data: or vbscript: URLs with
a TypeError.{ cacheControl: "private, no-store" }; authorization alone does not disable
caching.See docs/API.md and the security reporting policy.
pnpm test # single run
pnpm test:coverage # enforced 100% on covered files
See CONTRIBUTING.md.
Built by bntvllnt · bntvllnt.com · X @bntvllnt
Part of the @vllnt open-source fleet — vllnt.com
If this is useful, sponsor the work.
MIT — see LICENSE.
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.