eslint-plugin-vercel-ai-security weekly downloads statistics
By ofri-peretz · npm · AI SDKs
ESLint plugin for Vercel AI SDK security — detects prompt injection, system-prompt leaks, hardcoded API keys, and unvalidated model output in generateText and streamText.
eslint-plugin-vercel-ai-security has 1,501 recorded weekly downloads on npm, an increase of 162% over the past 30 days, ranking #1377 of 2,322 tracked listings.
About eslint-plugin-vercel-ai-security
⭐ If this plugin caught a real bug for you, star the repo — it's the signal that keeps these rules maintained.
Description
This plugin provides Security rules for Vercel AI SDK usage (prompt injection, data handling).
<!-- 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 -->Getting Started
- To check out the guide, visit eslint.interlace.tools. 📚
npm install eslint-plugin-vercel-ai-security --save-dev
⚙️ 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 |
🤖 AI-Agent Optimized Messages
All rule messages follow a structured format optimized for AI coding assistants:
🔒 CWE-74 OWASP:A03-Injection CVSS:9 | Unsafe Prompt | CRITICAL [SOC2,GDPR]
Fix: Validate input before use | https://owasp.org/...
By providing this structured context (CWE, OWASP, Fix), we enable AI tools to reason about the security flaw rather than hallucinating. This allows Copilot/Cursor to suggest the exact correct fix immediately.…
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 (544)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 Oct 20, 2026. See the methodology.