Security Plugins (11+)
Vulnerability detection with CWE/OWASP mapping. Every rule is actionable
and AI-parseable.
Quality Plugins (7+)
Code architecture, conventions, and maintainability. Rules that prevent
tech debt.
***
## Design Principles [#design-principles]
### AI-Native from Day One [#ai-native-from-day-one]
Every rule in Interlace includes structured metadata:
```js
// Every error includes:
{
messageId: 'insecureJwtAlgorithm',
data: {
cwe: 'CWE-327',
owasp: 'A02:2021',
cvss: 7.5,
fix: 'Use RS256 or ES256 instead of HS256 with public keys'
}
}
```
This enables AI assistants (Copilot, Cursor, Claude) to:
* Understand the **severity** of issues
* Apply the **correct fix** without hallucinating
* Prioritize by **risk score**
### Performance First [#performance-first]
We don't just add rules—we optimize them:
* **8x faster** cycle detection in `import-next`
* **Parallel rule execution** where possible
* **Lazy AST traversal** to avoid unnecessary work
### Framework-Aware [#framework-aware]
Generic rules produce false positives. Framework-aware rules understand context:
* `express-security` knows Express middleware patterns
* `nestjs-security` understands decorators and DI
* `lambda-security` recognizes handler signatures
***
## Adoption Strategies [#adoption-strategies]
### Start Small [#start-small]
```bash
# Week 1: Core security
npm install eslint-plugin-browser-security eslint-plugin-secure-coding
# Week 2: Add framework-specific
npm install eslint-plugin-express-security
# Week 3: Add quality
npm install eslint-plugin-conventions eslint-plugin-reliability
```
### By Stack [#by-stack]
| Stack | Recommended Plugins |
| ------------------- | ------------------------------------------ |
| **React SPA** | browser-security, secure-coding |
| **Next.js** | browser-security, import-next, conventions |
| **Express API** | express-security, node-security, jwt |
| **NestJS** | nestjs-security, jwt, mongodb-security |
| **AWS Lambda** | lambda-security, node-security |
| **AI Applications** | vercel-ai-security, secure-coding |
***
## Community & Contribution [#community--contribution]
Each plugin is:
* **Open source** (MIT licensed)
* **Independently maintainable** — You can fork just one plugin
* **Test-covered** — 85%+ coverage for security plugins
We believe security tooling should be transparent. Every rule's logic is visible, testable, and auditable.
***
## Next Steps [#next-steps]