vite-patterns
Provides patterns for configuring and optimizing Vite build tools, enhancing development and production workflows for modern web applications.
Install this skill
or
70/100
Security score
The vite-patterns skill was audited on May 24, 2026 and we found 14 security issues across 3 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
medium line 317
Template literal with variable interpolation in command context
SourceSKILL.md
| 317 | fileName: (format) => `my-lib.${format}.js`, |
medium line 14
Access to .env file
SourceSKILL.md
| 14 | - 環境変数または `.env` ファイルを設定するとき |
medium line 147
Access to .env file
SourceSKILL.md
| 147 | Viteは `.env`、`.env.local`、`.env.[mode]`、`.env.[mode].local` をその順序で読み込みます(後のものが前のものを上書き)。`*.local` ファイルはgitignoreされており、ローカルのシークレット用です。 |
low line 154
Access to .env file
SourceSKILL.md
| 154 | import.meta.env.VITE_API_URL // string |
low line 155
Access to .env file
SourceSKILL.md
| 155 | import.meta.env.MODE // 'development' | 'production' | カスタム |
low line 156
Access to .env file
SourceSKILL.md
| 156 | import.meta.env.BASE_URL // base設定値 |
low line 157
Access to .env file
SourceSKILL.md
| 157 | import.meta.env.DEV // boolean |
low line 158
Access to .env file
SourceSKILL.md
| 158 | import.meta.env.PROD // boolean |
low line 159
Access to .env file
SourceSKILL.md
| 159 | import.meta.env.SSR // boolean |
medium line 209
Access to .env file
SourceSKILL.md
| 209 | - `.env.local`、`.env.*.local` — ローカルのシークレットオーバーライド |
low line 123
External URL reference
SourceSKILL.md
| 123 | 完全なプラグインAPIは [vite.dev/guide/api-plugin](https://vite.dev/guide/api-plugin) を参照してください。開発中の変換パイプラインのデバッグには `vite-plugin-inspect` を使用してください。 |
low line 219
External URL reference
SourceSKILL.md
| 219 | '/foo': 'http://localhost:4567', // 文字列の短縮形 |
low line 222
External URL reference
SourceSKILL.md
| 222 | target: 'http://localhost:8080', |
low line 302
External URL reference
SourceSKILL.md
| 302 | `vite dev` が遅いと感じたら、`vite --profile` から始めてアプリを操作し、`p+enter` を押して `.cpuprofile` を保存します。[Speedscope](https://www.speedscope.app) で読み込み、どのプラグインが時間を消費しているかを確認します(通常はコミュニティプラグインの `buildStart`、`config`、または |
Scanned on May 24, 2026
View Security Dashboard