Skip to content

Write CLI credentials as mode 0600 and pin workflow token permissions - #46

Merged
barfle merged 4 commits into
mainfrom
fix/security-observations
Aug 15, 2026
Merged

Write CLI credentials as mode 0600 and pin workflow token permissions#46
barfle merged 4 commits into
mainfrom
fix/security-observations

Conversation

@barfle

@barfle barfle commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Write cli.json with mode 0600 so local tokens are not world-readable.
  • Pin CI workflow GITHUB_TOKEN to contents: read.

Test plan

  • python -m unittest tests.test_config
  • Confirm a fresh dataplicity login writes ~/.config/dataplicity/cli.json as 0600

@barfle
barfle requested a review from a team as a code owner August 15, 2026 07:04
@barfle
barfle enabled auto-merge (squash) August 15, 2026 07:10
@barfle
barfle merged commit 0c362e5 into main Aug 15, 2026
11 checks passed
@barfle
barfle deleted the fix/security-observations branch August 15, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant