CodeQL fails to detect rust/insecure-cookie in Rust code
まだ誰も着手していません。
評価
調査の方向性
最小限の Rust プロジェクトとドキュメント化されたコード例で問題を再現し、その後、示されている codeql database create および codeql database analyze コマンドを実行します。codeql.sarif を調べ、その結果を期待される rust/insecure-cookie の finding と比較します。finding が出力されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Steps to reproduce
- Download latest CodeQL bundle (v2.25.4 at the moment).
- Have a minimal Rust project with
rust/insecure-cookiein it (take the code example from the official documentation). - Run the following command in the directory with the Rust project:
codeql database create --build-mode=none --language=rust .codeql-db
codeql database analyze --format=sarifv2.1.0 --output=codeql.sarif .codeql-db
- Look at the produced
codeql.sarif
Expected behavior
results field should have 1 finding with rust/insecure-cookie id.
Actual behavior
results field is empty
Notes
The same codeql version with the same Rust code worked as expected on May 18, 2026, 2:31 PM GMT+9.
- 主要言語
- TypeScript
- スター
- 1.6k
- フォーク
- 493
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 44
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/codeql-action のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/codeql-action#4052 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
github/codeql-action#4078 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
github/codeql-action#4008 · コメント 9 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
github/codeql-action#3978 · コメント 4 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
github/codeql-action#3870 · コメント 3 件 · リアクション 1 件 ·
github/codeql-action の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
dennys-bd/agent-hive#184 ·
-
Add: hunch オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
AbdelStark/awesome-typesafe#104 ·
-
ai-observability bug team/ai-observability
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vicharanashala/fln#563 ·