`js/weak-cryptographic-algorithm`/`BrokenCryptoAlgorithm` got 25-30x slower
- 主要言語
- CodeQL
- スター
- 10.1k
- フォーク
- 2.1k
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 141
説明
**Description of the issue**
Similar to
- https://github.com/github/codeql/issues/18584
this rule appears to run 20-30x slower on the same exact repo with the same hardware
```
[106/106 eval 30m34s] Evaluation done; writing results to codeql/javascript-queries/Security/CWE-327/BrokenCryptoAlgorithm.bqrs.
```
unsure root cause is the same as the other issue, but disabling rule rule like
```yaml
query-filters:
- exclude:
id: js/weak-cryptographic-algorithm
```
is a workaround
コントリビューションガイド
調査の方向性
Start by comparing this report with github/codeql#18584, then inspect the js/weak-cryptographic-algorithm rule and the BrokenCryptoAlgorithm.bqrs evaluation named in the report. Reproduce the timing on the same repository and hardware if available. Done means identifying and addressing the cause of the 20–30x slowdown while preserving the rule’s results; the query-filters exclusion is only a workaround.
索引モデルが issue の本文から書いたものです。
評価
- 領域
- performance, security
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100