DF1 threat assumes source and sink are remote systems
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 issue 中描述的 DF1 威胁逻辑以及 Dataflow 和 DataStore 属性开始。比较 Protocol 和 isLocalFile 方法,并与维护者确定本地文件存储与远程系统的预期行为。完成的标准是:对于预期的本地文件情况不报告 DF1,并且通过测试覆盖已达成一致的行为。
由索引模型根据 Issue 内容生成。
描述
I was mocking up a sample DFD with a Process and some local files datastores and I am getting a DF1 threat (Dataflow not authn'd) which isn't the beast threat here.
I would like to add logic so this threat doesn't apply to local file data stores and maybe introduce a threat about permissions or something.
I've mocked up two places where I can do this.
-Use the Protocol property on the Dataflow.
"target.authenticatedWith is False and target.protocol is not 'FileSystem'"
-Add an isLocalFile to DataStore
"target.authenticatedWith is False and ( (type(target.source) is Datastore and target.source.isLocalFile is False) or (type(target.sink) is Datastore and target.sink.isLocalFile is False) )"
Thoughts?
- 主要语言
- 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]: Scheduled returns scan all accepted minion keys causing extreme load可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭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 天内回复