Skip to content

Commit

Permalink
README: doc
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw committed Jan 14, 2024
1 parent e9177b3 commit edaa142
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@ Run woodruffw-experiments/gha-trickery@good-branch
Run echo "nothing to see here"
nothing to see here
```

So, there's a limited confusion vector here:

1. A workflow has `uses: foo/bar@good`, which is normally a reference to a "safe" tag (in the tags namespace)
1. A disgruntled maintainer pushes a malicious branch named `good`, **without** deleting the original `good` tag
1. The original workflow now uses the malicious branch

0 comments on commit edaa142

Please sign in to comment.