PowerShell / PowerShell/PSScriptAnalyzer
PSAvoidUsingConvertToSecureStringWithPlainText makes unreasonable claims at high severity
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 2.2k
- フォーク
- 414
- 平均マージ
- 13時間 1分
- マージ済み PR(30日)
- 2
説明
Internal MS situation:
PSAvoidUsingConvertToSecureStringWithPlainText is now generating SFI/s360 work based on unsupported claims with neither Guardian nor TSA teams able to offer repo-wide suppression options.
This will expose secure information. Encrypted standard strings should be used instead.
Will it? Why is it an error?
I challenge you to create Credential instance from a token or another credential following this guidance.
There are workarounds of course and line-by-line suppressions, but they don't scale or make security story any stronger and we can't provide our own rules/settings for the linter.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、PSAvoidUsingConvertToSecureStringWithPlainText ルールのエントリポイントを特定し、そのメッセージと重大度がどのように定義されているかを確認します。これらの主張を、issue で説明されている資格情報およびトークンのシナリオと比較します。完了の条件は、ルールの重大度とガイダンスが、リポジトリ全体に関する根拠のないセキュリティ上の主張をもはや含まないことです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- security, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100