C#


ROSLYN.SECURITY.CA5380 : Do Not Add Certificates To Root Store (C#)

See Roslyn-Detected C# Warning Classes for more information.

要旨

By default, the Trusted Root Certification Authorities certificate store is configured with a set of public CAs that has met the requirements of the Microsoft Root Certificate Program. Since all trusted root CAs can issue certificates for any domain, an attacker can pick a weak or coercible CA that you install by yourself to target for an attack - and a single vulnerable, malicious or coercible CA undermines the security of the entire system. To make matters worse, these attacks can go unnoticed quite easily.

この指摘はRoslynのCA5380に該当します。ルール詳細につい ては、下記リンクを参照してください。 CA5380

プロパティ

クラス名 Do Not Add Certificates To Root Store (C#)
日本語クラス名 Do Not Add Certificates To Root Store (C#)
クラス分類 セキュリティ (security)
ニーモニック ROSLYN.SECURITY.CA5380
カテゴリー なし
対応言語 C# で利用可能です。
有効/無効設定 このワーニングクラスのチェックはデフォルトで無効になっています。チェックを有効にするにはプロジェクト設定ファイル (configuration file)に以下の WARNING_FILTER ルールを追加してください。
WARNING_FILTER += allow class="Do Not Add Certificates To Root Store (C#)"

関連のある設定ファイルパラメータ

設定ファイルの以下のパラメータがこのワーニングクラスのチェックに影響します。