chiprook
← Security
SecurityOctober 24, 2026, 17:25

GitHub CLI's expiring tokens still leave refresh token exposed to malware

GitHub CLI added opt-in short-lived access tokens that expire in eight hours, but the refresh token lives for months in the OS keyring and on macOS can be read by any process running as the user without a prompt. The author of the ghtkn CLI argues its agent backend encrypts the refresh token with a passphrase-derived key and never exposes it to clients.

GitHub CLI's expiring tokens still leave refresh token exposed to malware
#GitHub#macOS
Read next
Security

Zombie Credit Cards: expired NFC chips still work in stores

Software

Windows 10 Commercial ESU Year 1 Expires, Leaving Enterprise PCs Unpatched

Security

New macOS malware masquerades as Zoom installer

Security

PamStealer macOS Malware Adds Live C2 Payload Decryption