False negatives of `py/flask-debug`
未關閉
- 主要語言
- CodeQL
- 星號
- 10.1k
- 分支
- 2.1k
- 平均合併
- 2 天 15 小時
- 30 天內合併 PR
- 141
描述
`py/flask-debug` misses some common ways to enable debug mode in Flask.
For example:
```python
app = Flask(__name__)
app.config['DEBUG'] = True # Enables debug mode
app.run()
---
class Settings:
DEBUG = True
settings = Settings()
app.run(debug=settings.DEBUG)
```
貢獻指南
研究方向
Start by locating the py/flask-debug query and reproducing the two examples in the issue. Compare the query's behavior with both configuration-based and argument-based debug activation; done means these common Flask patterns are detected without regressing existing cases.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- flask, python
- 領域
- security
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 58/100