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

@vllnt/next-llms

Latest version: v0.1.1-canary.7877bb2

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: bntvllnt
1 Stars
0 Forks
11 Versions
8.7K Downloads
Shell Repo language

Scan summary

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

  • Releases: 11 versions; the latest 4 were published within 2 days (22 and 23 Nov 2026).
  • Findings: No rules fired in version 0.1.1-canary.7877bb2.
  • Downloads: 8,658 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 0.1.1-canary.7877bb2

Findings

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.

README

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

npm CI license

@vllnt/next-llms

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

Features

  • Spec-compliant llms.txt — generateLlmsText emits the llmstxt.org shape: an # title, a > blockquote, ## Section link lists, and a droppable ## Optional section.
  • Raw-markdown routes — createMarkdownRoute serves any page as text/markdown, stripping a trailing .md and resolving the slug through your own content source.
  • Zero dependencies — pure TypeScript over Web Request / Response; nothing added to your bundle.
  • Runtime-agnostic — the route handler imports nothing from next; it runs on the Edge, Node, or any Web-standard runtime.
  • Typed end to end — concrete config types guide correct usage; no any.
  • Cache-friendly — sensible Cache-Control defaults, overridable per route.

Installation

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.

Usage

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

API Reference

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.

Security

  • No secrets touched — the package generates text and serves whatever your resolver returns.
  • Your resolver is the boundary — authorize the slug before returning content. The route rejects malformed percent-encoding and slug segments that are empty, ., .., 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.
  • Successful responses default to public caching (one hour in browsers, one day in shared caches). For private or personalized content, explicitly pass { cacheControl: "private, no-store" }; authorization alone does not disable caching.

See docs/API.md and the security reporting policy.

Testing

pnpm test           # single run
pnpm test:coverage  # enforced 100% on covered files

Contributing

See CONTRIBUTING.md.

Author

Built by bntvllnt · bntvllnt.com · X @bntvllnt

Part of the @vllnt open-source fleet — vllnt.com

If this is useful, sponsor the work.

License

MIT — see LICENSE.

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 @vllnt/next-llms

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229