DO01 - wrong condition check?
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先追踪 DO01 威胁定义以及仓库中对 handlesResourceConsumption 的所有引用。确定并记录资源消耗过度的预期条件,然后与维护者确认约定的行为;当规则的语义明确且其条件有测试覆盖时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
"DO01": {
"description": "Potential Excessive Resource Consumption",
"source": Element,
"target": (Process, Server),
"condition": "target.handlesResourceConsumption is False",
Without knowing when handlesResourceConsumption should be set to True, the check here appears to not do what is intended. Excessive resource consumption is subjective, and would be a result of memory or resource leaks, and even managed code (e.g. JVM or .NET based Processes) can still run out of file descriptors. There is not enough information in the dataflows to know if resource consumption will be excessive, imho. It should be possible to know if resource consumption could be an issue if e.g. the Process is multi-tenant/multi-user e.g. a RESTful web server or a database.
- 主要语言
- Python
- 星标
- 1.2k
- 派生
- 237
- 平均合并
- 4 天 2 小时
- 30 天内合并 PR
- 9
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OWASP/pytm 的其他 Issue
-
Dataflow defaults overwrite values the model set explicitly可能已有人在做 @markthomaschurch 于 1 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 30/100
维护者通常 3 天内回复
-
Calling TM.dfd() a second time returns an empty diagram可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 25/100
维护者通常 3 天内回复
-
Datastore icon is missing from SVG diagrams (absolute PNG path)可能已有人在做 @markthomaschurch 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 20/100
维护者通常 3 天内回复
-
Long boundary names render a literal "\n" in the DFD可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
维护者通常 3 天内回复
-
`TM.check()` overwrites explicit Dataflow `protocol`, `dstPort` and `controls.isEncrypted` with sink defaults (regression in 1.4.0)可能已有人在做 @Svastikkka 于 14 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 75/100
维护者通常 3 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
btclib-org/btclib-wallet#872 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 76/100
saltstack/salt#70789 · 1 条评论 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 87/100
btclib-org/btclib#3093 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 85/100
patrickballard/wheelgap#269 ·
-
priority: low python
难度 2/5 1-3 小时 新手友好度 88/100
LearningCircuit/local-deep-research#8635 ·
维护者通常 1 天内回复