Actions: Add warning/finding when using actions/create-github-app-token without permissions
還沒有人認領這個 Issue。
評估
研究方向
先檢視 actions/create-github-app-token action,以及 CodeQL 如何分析 GitHub Actions 工作流程。定義省略 permissions 的工作流程之警告觸發條件與預期處理方式,然後新增涵蓋範圍,以顯示相關設定中的偵測結果。
由索引模型根據 Issue 內容生成。
描述
Description of the issue
You can use https://github.com/actions/create-github-app-token to create an app installation token. Depending on the app, it can have broad permissions. Unfortunately, the action does not use permissions-none as default, but all the permissions of the app.
So CodeQL could warn when using this app without setting permissions.
- 主要語言
- CodeQL
- 星號
- 10.1k
- 分支
- 2.1k
- 平均合併
- 2 天 16 小時
- 30 天內合併 PR
- 143
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/codeql 的其他 Issue
-
agentic-workflows
難度 2/5 1-3 小時 新手友好度 70/100
-
false-positive javascript
難度 2/5 1-3 小時 新手友好度 84/100
-
難度 2/5 1-3 小時 新手友好度 82/100
-
難度 2/5 1-3 小時 新手友好度 78/100
-
false-positive
難度 2/5 1-3 小時 新手友好度 70/100
相似的 Issue
-
kb-infra-drift
難度 2/5 1-3 小時 新手友好度 70/100
OCHA-DAP/ds-knowledge-base#653 · 1 則留言 ·
-
intake mcp-intake needs-ac needs-human-review priority:medium type:feature
難度 2/5 1-3 小時 新手友好度 75/100
Ikalus1988/MisakaNet#2102 · 2 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
llvm/lighthouse#283 ·
-
🤔 refinement needed
難度 2/5 1-3 小時 新手友好度 75/100
equinor/radix-operator#1979 ·
-
難度 1/5 1 小時以內 新手友好度 85/100