> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/kdosukyan/scanning-practices/scanning-dev-dependencies-for-cves.md).

# CVE の dev 依存関係をスキャンする

{% hint style="warning" %}
Aikido **常に** 開発用依存関係をマルウェアについてスキャンします。以下の記事は CVE スキャンとその有効化方法に関するものです。
{% endhint %}

**デフォルトでは**、Aikido は **しない** 開発者のマシンにのみインストールされる依存関係（devdeps）については脆弱性を報告しません。ここでの前提は、それらは本番環境に出荷されず、稼働中の製品のセキュリティに影響しないということです。

ただし、開発用依存関係のスキャンが他のスキャンに有用な追加となる場合もあります:

* コンプライアンス上の理由。開発者マシンでのみ利用可能なソフトウェアを含みます
* SvelteKit: パッケージは、本番環境に含まれるにもかかわらず、dev dependency としてマークされることがよくあります。

対応しています **JavaScript、Java、Python。**

### リポジトリごとに開発用依存関係を有効にする <a href="#enabling-dev-dependencies-per-repository" id="enabling-dev-dependencies-per-repository"></a>

リポジトリ単位で dev dependency スキャンを有効にできます。

**手順 1.** この機能を有効にするには Aikido に連絡してください。最も手早い方法はチャットでお問い合わせいただくことです。

**手順 2.** 特定のリポジトリの詳細ページに移動し、「**設定**'.

![ステータスと推奨修正時間を含む、重大な PHP の問題を表示するセキュリティスキャンのダッシュボード。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-0313942cb5d3bcf91797f1718dc117c50813161c%2Fucarecdn-b68f0f11-f4e3-4c53-aa1e-60949980d75e.png?alt=media)

**手順 3.** モーダルを下にスクロールして、dev dependency スキャンを有効にします

![開発者依存関係のスキャンを有効または無効にするオプション。誤検知に関する警告付き。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-4099cfa9b8495551c258be88dcce9469cf4e6cd3%2Fucarecdn-4c91b233-fb86-4085-b110-18ebc8a54155.png?alt=media)

**手順 4.** 手動で再スキャンを実行してすぐに結果を確認するか、次回の予定スキャンを待ちます。

{% hint style="info" %}
dev dependency の検出結果は、PR ゲーティングを介して次にデフォルトブランチへ push した際にも表示されます。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/kdosukyan/scanning-practices/scanning-dev-dependencies-for-cves.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
