mike-goodwin/owasp-threat-dragon

Threat Model-Access Level Controls Defined on the model file -Github

johocurtest opened this issue · 2 comments

It seems there is no ACL on the threat model file created in GitHub

Steps:

  • Login as User A using your GitHub account
  • Create a model
  • Share the link with User B
  • User B logins in to GitHub and opens model file from User A GitHub repo hyperlink

Result:
User B can change file from User A (no Read/Edit/Modify ACL)

Hello @johocurtest - agreed that anyone who has read access to the github repo can see the threat model, and indeed if they have write access then they can modify it, which is a consequence of the permissions on the github repo that is being used.

There are two use cases that I see for TD:

  1. web app access to a shared github repo, with access control determined by the repo
  2. desktop app used to create / read / update the json file in a source tree stored in a repo

The company I work for uses TD desktop and an Atlassian repo, which seems to work well. If you want to use the web app then access control is needed on the github repo.

There is a gitlab integration for TD on a fork that may be of interest:
#68 (comment)

Migrated to new issue in the OWASP area repo : OWASP/threat-dragon#10