oxlint-plugin-nestjs-security 0.0.0-stage → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Ofri Peretz
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+
package/README.md CHANGED
@@ -1,3 +1,194 @@
1
- # Temporary Holding Version
1
+ <p align="center">
2
+ <a href="https://eslint.interlace.tools/docs/security/plugin-nestjs-security?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security" target="blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://eslint.interlace.tools/logos/interlace-dark.svg"><img src="https://eslint.interlace.tools/logos/interlace-light.svg" alt="Interlace" height="90" /></picture></a>
3
+ &nbsp;&nbsp;
4
+ <a href="https://nestjs.com" target="_blank"><img src="https://eslint.interlace.tools/logos/nestjs.svg" alt="NestJS" height="90" /></a>
5
+ &nbsp;&nbsp;
6
+ <a href="https://oxc.rs" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://eslint.interlace.tools/logos/oxlint-dark.svg"><img src="https://eslint.interlace.tools/logos/oxlint-light.svg" alt="oxlint" height="90" /></picture></a>
7
+ </p>
2
8
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
9
+ <p align="center">
10
+ Security rules tailored for NestJS applications (Controllers, Providers, Decorators).
11
+ </p>
12
+
13
+ <p align="center">
14
+ <a href="https://www.npmjs.com/package/oxlint-plugin-nestjs-security" target="_blank"><img src="https://img.shields.io/npm/v/oxlint-plugin-nestjs-security.svg" alt="NPM Version" /></a>
15
+ <a href="https://www.npmjs.com/package/oxlint-plugin-nestjs-security" target="_blank"><img src="https://img.shields.io/npm/dm/oxlint-plugin-nestjs-security.svg" alt="NPM Downloads" /></a>
16
+ <a href="https://packagephobia.com/result?p=oxlint-plugin-nestjs-security" target="_blank"><img src="https://badgen.net/packagephobia/install/oxlint-plugin-nestjs-security" alt="Install Size" /></a>
17
+ <a href="https://opensource.org/licenses/MIT" target="_blank"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="Package License" /></a>
18
+ <a href="https://app.codecov.io/gh/ofri-peretz/eslint/components?components%5B0%5D=eslint-plugin-nestjs-security" target="_blank"><img src="https://codecov.io/gh/ofri-peretz/eslint/graph/badge.svg?component=eslint-plugin-nestjs-security" alt="Codecov" /></a>
19
+ <a href="https://github.com/ofri-peretz/eslint" target="_blank"><img src="https://img.shields.io/badge/Since-Dec_2025-blue?logo=rocket&logoColor=white" alt="Since Dec 2025" /></a>
20
+ <a href="https://scorecard.dev/viewer/?uri=github.com/ofri-peretz/eslint" target="_blank"><img src="https://api.securityscorecards.dev/projects/github.com/ofri-peretz/eslint/badge" alt="OpenSSF Scorecard" /></a>
21
+ </p>
22
+
23
+ > ⭐ If this plugin caught a real bug for you, [**star the repo**](https://github.com/ofri-peretz/eslint) — it's the signal that keeps these rules maintained.
24
+
25
+ ## Description
26
+
27
+ `oxlint-plugin-nestjs-security` is the [oxlint](https://oxc.rs/docs/guide/usage/linter/js-plugins) and [Vite+](https://viteplus.dev/guide/lint) name for [`eslint-plugin-nestjs-security`](https://www.npmjs.com/package/eslint-plugin-nestjs-security). It carries the same rules under the same IDs (`nestjs-security/<rule>`), always at the same version, because it re-exports that package rather than copying it. Installing it does not install ESLint.
28
+
29
+ ## Covered natively by oxlint
30
+
31
+ None of these 10 rules has an oxlint built-in equivalent. Every rule here is new to oxlint.
32
+
33
+ - **Why** — a linter nobody reads protects nothing. We would rather miss a finding
34
+ than spend your attention on one that was never real.
35
+ - **How** — evidence, not names. A rule fires on what the code _does_, resolved
36
+ through the AST and ESLint's own scope analysis.
37
+ - **What** — every finding carries its fix, in prose for a human and as structured
38
+ JSON for an agent. Security rules add a CWE mapping and, where assigned, a CVSS score.
39
+
40
+ That trade costs recall, and we measure it:
41
+ [methodology](https://github.com/ofri-peretz/eslint/blob/main/BENCHMARK-METHODOLOGY.md)
42
+ · [results](https://github.com/ofri-peretz/eslint/blob/main/BENCHMARK-RESULTS.md)
43
+ · [a false positive is a bug](https://github.com/ofri-peretz/eslint/issues).
44
+
45
+ ## Getting Started
46
+
47
+ ```bash
48
+ npm install oxlint-plugin-nestjs-security --save-dev
49
+ ```
50
+
51
+ ### Vite+
52
+
53
+ ```ts
54
+ // vite.config.ts
55
+ import { defineConfig } from 'vite-plus';
56
+
57
+ export default defineConfig({
58
+ lint: {
59
+ jsPlugins: ['oxlint-plugin-nestjs-security'],
60
+ rules: {
61
+ 'nestjs-security/no-hybrid-app-config-loss': 'error',
62
+ 'nestjs-security/no-permissive-cors': 'error',
63
+ 'nestjs-security/no-unsafe-multer-filename': 'error',
64
+ 'nestjs-security/require-guards': 'error',
65
+ 'nestjs-security/require-validation-pipe-whitelist': 'error',
66
+ },
67
+ },
68
+ });
69
+ ```
70
+
71
+ ### oxlint
72
+
73
+ ```json
74
+ {
75
+ "jsPlugins": ["oxlint-plugin-nestjs-security"],
76
+ "rules": {
77
+ "nestjs-security/no-hybrid-app-config-loss": "error",
78
+ "nestjs-security/no-permissive-cors": "error",
79
+ "nestjs-security/no-unsafe-multer-filename": "error",
80
+ "nestjs-security/require-guards": "error",
81
+ "nestjs-security/require-validation-pipe-whitelist": "error"
82
+ }
83
+ }
84
+ ```
85
+
86
+ These are the rules the plugin recommends (💼 in the table below).
87
+
88
+ ### ESLint
89
+
90
+ Install [`eslint-plugin-nestjs-security`](https://www.npmjs.com/package/eslint-plugin-nestjs-security) instead. It has the same rules, plus presets for ESLint's flat config.
91
+
92
+ ## 📦 Compatibility
93
+
94
+ | Package | Version |
95
+ | :------ | :--------------------------------------------------------------- |
96
+ | oxlint | verified on `1.88.0`: CI loads every rule ID through `jsPlugins` |
97
+ | Vite+ | `lint.jsPlugins` in `vite.config.ts` |
98
+ | Node.js | `>=18.0.0` |
99
+
100
+ ## Rules
101
+
102
+ **Legend**
103
+
104
+ | Icon | Description |
105
+ | :--: | :------------------------------------------------------------------------ |
106
+ | 💼 | **Recommended**: Included in the recommended preset. |
107
+ | ⚠️ | **Warns**: Set to warn in recommended preset. |
108
+ | 🔧 | **Auto-fixable**: Automatically fixable by the `--fix` CLI option. |
109
+ | 💡 | **Suggestions**: Providing code suggestions in IDE. |
110
+ | 🚫 | **Deprecated**: This rule is deprecated. |
111
+ | 🟢 | **Type-unaware**: AST-only, runs in oxlint JS-plugin tier. |
112
+ | 🟡 | **Type-aware (refining)**: pure-AST primary path; types refine precision. |
113
+ | 🟠 | **Type-aware (graceful)**: requires TS program; silent without it. |
114
+
115
+ | Rule | CWE | OWASP | CVSS | Description | 🧠 | 💼 | ⚠️ | 🔧 | 💡 | 🚫 |
116
+ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-----: | :------: | :--: | :----------------------------------------------------------------------------------------------------------- | :-: | :-: | :-: | :-: | :-: | :-: |
117
+ | [no-exposed-private-fields](https://eslint.interlace.tools/docs/security/plugin-nestjs-security/rules/no-exposed-private-fields?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security) | CWE-200 | A01:2021 | | This rule detects sensitive fields (like passwords, tokens, secrets) in entity or DTO classes that are not… | 🟢 | | ⚠️ | | | |
118
+ | [no-hybrid-app-config-loss](https://eslint.interlace.tools/docs/security/plugin-nestjs-security/rules/no-hybrid-app-config-loss?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security) | CWE-20 | A03:2021 | | Detect connectMicroservice() without inheritAppConfig, which silently drops every global pipe and guard fro… | 🟢 | 💼 | | | | |
119
+ | [no-missing-validation-pipe](https://eslint.interlace.tools/docs/security/plugin-nestjs-security/rules/no-missing-validation-pipe?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security) | CWE-20 | A03:2021 | | The rule provides LLM-optimized error messages (Compact 2-line format) with actionable security guidance: | 🟡 | | ⚠️ | | | |
120
+ | [no-permissive-cors](https://eslint.interlace.tools/docs/security/plugin-nestjs-security/rules/no-permissive-cors?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security) | CWE-942 | A05:2021 | | Flags CORS configured to accept any origin — a bare enableCors(), origin '*', or the reflecting origin true. | 🟢 | 💼 | | | | |
121
+ | [no-res-bypass-serialization](https://eslint.interlace.tools/docs/security/plugin-nestjs-security/rules/no-res-bypass-serialization?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security) | CWE-200 | A01:2021 | | This rule detects route handlers that inject @Res() without passthrough and then write an object, which sil… | 🟢 | | ⚠️ | | | |
122
+ | [no-unguarded-swagger](https://eslint.interlace.tools/docs/security/plugin-nestjs-security/rules/no-unguarded-swagger?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security) | CWE-200 | A01:2021 | | This rule detects SwaggerModule.setup() running unconditionally in an application bootstrap, which publishe… | 🟢 | | ⚠️ | | | |
123
+ | [no-unsafe-multer-filename](https://eslint.interlace.tools/docs/security/plugin-nestjs-security/rules/no-unsafe-multer-filename?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security) | CWE-22 | A01:2021 | | Flags a multer diskStorage filename callback that stores an upload under the name the client chose. | 🟢 | 💼 | | | | |
124
+ | [require-guards](https://eslint.interlace.tools/docs/security/plugin-nestjs-security/rules/require-guards?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security) | CWE-306 | A01:2021 | | The rule provides LLM-optimized error messages (Compact 2-line format) with actionable security guidance: | 🟢 | 💼 | | | | |
125
+ | [require-throttler](https://eslint.interlace.tools/docs/security/plugin-nestjs-security/rules/require-throttler?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security) | CWE-770 | A05:2021 | | This rule detects NestJS controllers and route handlers that lack rate limiting, which can make the applica… | 🟢 | | ⚠️ | | | |
126
+ | [require-validation-pipe-whitelist](https://eslint.interlace.tools/docs/security/plugin-nestjs-security/rules/require-validation-pipe-whitelist?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security) | CWE-915 | A03:2021 | | Requires whitelist true on ValidationPipe, so properties the DTO never declared are stripped instead of rea… | 🟢 | 💼 | | | | |
127
+
128
+ <!-- AUTO-GENERATED:ECOSYSTEM_TABLE:START - Do not edit manually -->
129
+
130
+ ## 🔗 Related ESLint Plugins
131
+
132
+ Part of the **Interlace ESLint ecosystem** — AI-native rules with LLM-optimized error messages:
133
+
134
+ **Security**
135
+
136
+ | Plugin | Downloads | Description |
137
+ | :----------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------- |
138
+ | [`eslint-plugin-anthropic-security`](https://www.npmjs.com/package/eslint-plugin-anthropic-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-anthropic-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-anthropic-security) | Anthropic SDK security. |
139
+ | [`eslint-plugin-browser-security`](https://www.npmjs.com/package/eslint-plugin-browser-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-browser-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-browser-security) | XSS, DOM security. |
140
+ | [`eslint-plugin-drizzle-security`](https://www.npmjs.com/package/eslint-plugin-drizzle-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-drizzle-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-drizzle-security) | Drizzle security. |
141
+ | [`eslint-plugin-express-security`](https://www.npmjs.com/package/eslint-plugin-express-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-express-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-express-security) | Express middleware hardening. |
142
+ | [`eslint-plugin-gemini-security`](https://www.npmjs.com/package/eslint-plugin-gemini-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-gemini-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-gemini-security) | Google Gemini SDK security. |
143
+ | [`eslint-plugin-jwt-security`](https://www.npmjs.com/package/eslint-plugin-jwt-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-jwt-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-jwt-security) | Token security. |
144
+ | [`eslint-plugin-knex-security`](https://www.npmjs.com/package/eslint-plugin-knex-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-knex-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-knex-security) | Knex security. |
145
+ | [`eslint-plugin-lambda-security`](https://www.npmjs.com/package/eslint-plugin-lambda-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-lambda-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-lambda-security) | AWS Lambda hardening. |
146
+ | [`eslint-plugin-mcp-sdk-security`](https://www.npmjs.com/package/eslint-plugin-mcp-sdk-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-mcp-sdk-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-mcp-sdk-security) | MCP SDK security. |
147
+ | [`eslint-plugin-mongodb-security`](https://www.npmjs.com/package/eslint-plugin-mongodb-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-mongodb-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-mongodb-security) | MongoDB injection. |
148
+ | [`eslint-plugin-mysql-security`](https://www.npmjs.com/package/eslint-plugin-mysql-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-mysql-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-mysql-security) | MySQL security. |
149
+ | [`eslint-plugin-nestjs-security`](https://www.npmjs.com/package/eslint-plugin-nestjs-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-nestjs-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-nestjs-security) | NestJS framework hardening. |
150
+ | [`eslint-plugin-node-security`](https://www.npmjs.com/package/eslint-plugin-node-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-node-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-node-security) | Server-side patterns. |
151
+ | [`eslint-plugin-openai-security`](https://www.npmjs.com/package/eslint-plugin-openai-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-openai-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-openai-security) | OpenAI SDK security. |
152
+ | [`eslint-plugin-postgresql-security`](https://www.npmjs.com/package/eslint-plugin-postgresql-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-postgresql-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-postgresql-security) | PostgreSQL security. |
153
+ | [`eslint-plugin-prisma-security`](https://www.npmjs.com/package/eslint-plugin-prisma-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-prisma-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-prisma-security) | Prisma security. |
154
+ | [`eslint-plugin-secure-coding`](https://www.npmjs.com/package/eslint-plugin-secure-coding) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-secure-coding.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-secure-coding) | Injection prevention. |
155
+ | [`eslint-plugin-sequelize-security`](https://www.npmjs.com/package/eslint-plugin-sequelize-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-sequelize-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-sequelize-security) | Sequelize ORM security. |
156
+ | [`eslint-plugin-sqlite-security`](https://www.npmjs.com/package/eslint-plugin-sqlite-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-sqlite-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-sqlite-security) | SQLite security. |
157
+ | [`eslint-plugin-supabase-security`](https://www.npmjs.com/package/eslint-plugin-supabase-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-supabase-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-supabase-security) | Supabase security. |
158
+ | [`eslint-plugin-typeorm-security`](https://www.npmjs.com/package/eslint-plugin-typeorm-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-typeorm-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-typeorm-security) | TypeORM security. |
159
+ | [`eslint-plugin-vercel-ai-security`](https://www.npmjs.com/package/eslint-plugin-vercel-ai-security) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-vercel-ai-security.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-vercel-ai-security) | AI SDK security. |
160
+
161
+ **Code quality**
162
+
163
+ | Plugin | Downloads | Description |
164
+ | :--------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------- |
165
+ | [`eslint-plugin-cli-floor`](https://www.npmjs.com/package/eslint-plugin-cli-floor) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-cli-floor.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-cli-floor) | CLI floor for commander, yargs and burgee. |
166
+ | [`eslint-plugin-conventions`](https://www.npmjs.com/package/eslint-plugin-conventions) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-conventions.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-conventions) | Team-specific habits and styles. |
167
+ | [`eslint-plugin-import-next`](https://www.npmjs.com/package/eslint-plugin-import-next) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-import-next.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-import-next) | Fast cycle + import-graph analysis. |
168
+ | [`eslint-plugin-maintainability`](https://www.npmjs.com/package/eslint-plugin-maintainability) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-maintainability.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-maintainability) | Cognitive load and clean-code patterns. |
169
+ | [`eslint-plugin-modernization`](https://www.npmjs.com/package/eslint-plugin-modernization) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-modernization.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-modernization) | ESNext migration + syntax evolution. |
170
+ | [`eslint-plugin-modularity`](https://www.npmjs.com/package/eslint-plugin-modularity) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-modularity.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-modularity) | Structural integrity and DDD patterns. |
171
+ | [`eslint-plugin-operability`](https://www.npmjs.com/package/eslint-plugin-operability) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-operability.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-operability) | Production readiness and resource health. |
172
+ | [`eslint-plugin-react-a11y`](https://www.npmjs.com/package/eslint-plugin-react-a11y) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-react-a11y.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-react-a11y) | React accessibility / WCAG. |
173
+ | [`eslint-plugin-react-features`](https://www.npmjs.com/package/eslint-plugin-react-features) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-react-features.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-react-features) | React best practices and optimization. |
174
+ | [`eslint-plugin-reliability`](https://www.npmjs.com/package/eslint-plugin-reliability) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-reliability.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-reliability) | Runtime stability and error safety. |
175
+
176
+ <!-- AUTO-GENERATED:ECOSYSTEM_TABLE:END -->
177
+
178
+ ## ⭐ Support & follow
179
+
180
+ If this plugin caught a real bug for you, **[star the repo](https://github.com/ofri-peretz/eslint)** — stars are the signal that keeps the Interlace ESLint ecosystem maintained — and **[follow the writeups on Dev.to](https://dev.to/ofri-peretz)** for the benchmarks and security research behind these rules.
181
+
182
+ [![GitHub stars](https://img.shields.io/github/stars/ofri-peretz/eslint?style=social)](https://github.com/ofri-peretz/eslint)
183
+
184
+ ## 📄 License
185
+
186
+ MIT © [Ofri Peretz](https://github.com/ofri-peretz)
187
+
188
+ <p align="center">
189
+ <a href="https://eslint.interlace.tools/docs/security/plugin-nestjs-security?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security"><img src="https://eslint.interlace.tools/images/og-nestjs-security.png" alt="ESLint Interlace Plugin" width="100%" /></a>
190
+ </p>
191
+
192
+ <p align="center">
193
+ <a href="https://eslint.interlace.tools/docs/security/plugin-nestjs-security?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security" target="blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://eslint.interlace.tools/logos/interlace-dark.svg"><img src="https://eslint.interlace.tools/logos/interlace-light.svg" alt="Interlace" height="70" /></picture></a>
194
+ </p>
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ // Generated by scripts/generate-oxlint-aliases.mts. Do not edit by hand.
2
+ // The rules live in eslint-plugin-nestjs-security; this package only gives them an oxlint name.
3
+ import plugin = require('eslint-plugin-nestjs-security/oxlint');
4
+
5
+ export = plugin;
package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports=require("eslint-plugin-nestjs-security/oxlint");
package/package.json CHANGED
@@ -1,6 +1,69 @@
1
1
  {
2
2
  "name": "oxlint-plugin-nestjs-security",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "3.2.0",
4
+ "description": "The nestjs-security rules for oxlint and Vite+. Same rules and rule IDs as eslint-plugin-nestjs-security.",
5
+ "type": "commonjs",
6
+ "main": "./index.js",
7
+ "types": "./index.d.ts",
8
+ "files": [
9
+ "index.js",
10
+ "index.d.ts",
11
+ "README.md",
12
+ "LICENSE"
13
+ ],
14
+ "keywords": [
15
+ "oxlint",
16
+ "oxlint-plugin",
17
+ "vite-plus",
18
+ "eslint",
19
+ "static-analysis",
20
+ "linting",
21
+ "code-quality",
22
+ "security",
23
+ "sast",
24
+ "appsec",
25
+ "vulnerability",
26
+ "owasp",
27
+ "cwe",
28
+ "interlace-security",
29
+ "nestjs",
30
+ "nest",
31
+ "node",
32
+ "nodejs",
33
+ "api-security",
34
+ "guards",
35
+ "validation",
36
+ "throttler",
37
+ "rate-limiting",
38
+ "class-validator",
39
+ "class-transformer",
40
+ "decorators",
41
+ "llm-optimized",
42
+ "ai-assistant",
43
+ "typescript"
44
+ ],
45
+ "homepage": "https://eslint.interlace.tools/docs/security/plugin-nestjs-security?utm_source=npm&utm_medium=referral&utm_campaign=oxlint-plugin-nestjs-security",
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/ofri-peretz/eslint.git",
49
+ "directory": "packages/oxlint-plugin-nestjs-security"
50
+ },
51
+ "bugs": {
52
+ "url": "https://github.com/ofri-peretz/eslint/issues"
53
+ },
54
+ "author": "Ofri Peretz <ofriperetzdev@gmail.com>",
55
+ "license": "MIT",
56
+ "engines": {
57
+ "node": ">=18.0.0"
58
+ },
59
+ "funding": {
60
+ "type": "github",
61
+ "url": "git+https://github.com/ofri-peretz/eslint.git"
62
+ },
63
+ "publishConfig": {
64
+ "access": "public"
65
+ },
66
+ "dependencies": {
67
+ "eslint-plugin-nestjs-security": "3.2.0"
68
+ }
69
+ }