Skip to content

Commit 5c43b7d

Browse files
committed
mentionn separate confirmation of token actions as a future possibility
1 parent 804b6ee commit 5c43b7d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

text/0000-crates-io-token-scopes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,3 +221,9 @@ to develop services that provide tokens with a short expiration time to CI
221221
builds. Such tokens would need to have the same set or a subset of the parent
222222
token's scopes: this RFC should consider that use case and avoid the
223223
implementation of solutions that would make the check hard.
224+
225+
To increase the security of CI environments even more, we could implement an
226+
option to require a separate confirmation for the actions executed by tokens.
227+
For example, we could send a confirmation email with a link the owners have to
228+
click to actually publish the crate uploaded by CI, preventing any mailicious
229+
action with stolen tokens.

0 commit comments

Comments
 (0)