General issue: CWE-208 coverage for javascript
- 主要語言
- CodeQL
- 星號
- 10.1k
- 分支
- 2.1k
- 平均合併
- 2 天 15 小時
- 30 天內合併 PR
- 141
描述
**Description**
CodeQL currently does not detect CWE-208 (Observable Timing Discrepancy) in JavaScript/TypeScript, while this weakness is covered in Java/Kotlin, Python and Ruby. This appears to be a language coverage gap rather than a configuration issue. [https://codeql.github.com/codeql-query-help/full-cwe/]
**Example**
In authentication or validation logic, I would expect CodeQL to at least be able
to model potential timing differences, for example:
``` js
if (value !== expectedValue) {
return res.status(401).json({ message: 'Invalid token' });
}
```
**Question**
Is there a plan to expand CodeQL query coverage for this weakness in the remaining languages?
貢獻指南
研究方向
Start with the CodeQL query help page for full CWE coverage and compare CWE-208 support in Java/Kotlin, Python, and Ruby with the JavaScript/TypeScript gap described here. Clarify the intended coverage and implementation scope; done would mean an agreed plan or added CWE-208 coverage for JavaScript/TypeScript.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, typescript
- 領域
- security
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100