Plugin: anthropic-security
Rules
All ESLint rules in eslint-plugin-anthropic-security, with severity, CWE and fix support
All Rules
Legend: Type-unaware Type-awareRecommendedFixableSuggestionsWarns
| Rule | 🧠 | 💼 | 🔧 | 💡 | ⚠️ | Docs |
|---|---|---|---|---|---|---|
| no-browser-api-key-exposure Forbid dangerouslyAllowBrowser, which exposes the Anthropic API key to the client | 🟢 | |||||
| no-hardcoded-api-key Forbid a literal API key in the Anthropic client options | 🟢 | |||||
| no-untrusted-content-in-prompt Disallow untrusted content built into the Anthropic system prompt | 🟢 |
Showing 3 of 3 rules
Building secure JavaScript with Interlace? Star the repo to get new rules and CWE coverage as we ship them — or follow the AI-code-security benchmarks behind them.