eslint-plugin-vercel-ai-security weekly downloads statistics
By ofri-peretz · npm · AI SDKs
ESLint AI SDK security rules for the Vercel AI SDK — detects prompt injection, system-prompt leaks, hardcoded API keys, and unvalidated model output in generateText and streamText.
eslint-plugin-vercel-ai-security has 2,327 recorded weekly downloads on npm, a decrease of 8.6% over the past 30 days, ranking #1838 of 3,247 tracked listings.
About eslint-plugin-vercel-ai-security
Getting Started
- To check out the guide, visit eslint.interlace.tools. 📚
npm install --save-dev eslint eslint-plugin-vercel-ai-security
// eslint.config.mjs
import { configs } from 'eslint-plugin-vercel-ai-security';
export default [configs.recommended];
recommended is the preset to start with. The others are listed under Configuration Presets below.
Using oxlint or Vite+? Install oxlint-plugin-vercel-ai-security: the same rules under the same vercel-ai-security/<rule> IDs, without ESLint. Its page has the setup.
Description
This plugin provides ESLint rules that flag prompt injection, system-prompt leaks, hardcoded API keys and unvalidated model output in Vercel AI SDK code.
<!-- AUTO-GENERATED:DOCTRINE:START - Do not edit manually -->- Why — a linter nobody reads protects nothing. We would rather miss a finding than spend your attention on one that was never real.
- How — evidence, not names. A rule fires on what the code does, resolved through the AST and ESLint's own scope analysis.
- What — every finding carries its fix, in prose for a human and as structured JSON for an agent. Security rules add a CWE mapping and, where assigned, a CVSS score.
That trade costs recall, and we measure it: methodology · results · a false positive is a bug.
<!-- AUTO-GENERATED:DOCTRINE:END -->⚙️ Configuration Presets
| Preset | Description |
|---|---|
recommended | Balanced security (8 errors, 2 warnings) |
strict | Maximum security (18 errors, 1 warning) |
minimal | Minimal config |
📚 Supported Libraries
| Library | npm | Downloads | Detection |
|---|---|---|---|
ai (Vercel AI SDK) | Prompt Injection, Data Leakage |
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- static-analysis
- linting
- code-quality
- security
- sast
- appsec
- vulnerability
- owasp
- cwe
- interlace-security
- vercel
- vercel-ai
- vercel-ai-sdk
- ai-sdk
- ai-security
- llm
- llm-security
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (592)Similar npm AI SDKs plugins
All 20 eslint-plugin-vercel-ai-security alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-vercel-ai-security. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.