What a GitHub Actions Cache Can Expose to Anyone Who Opens a Pull Request
ID: a7a1a2d5-d2be-5611-9c4b-4a12df974b7a
STIX ID: report--a7a1a2d5-d2be-5611-9c4b-4a12df974b7a
Feed Name: HackRead
The report warns that GitHub Actions caches are readable by pull request workflows (including forks) and can inadvertently contain credentials and tokens; attackers can restore such caches to extract secrets (as demonstrated by campaigns like GhostAction). It details common ways credentials end up in caches (broad cache paths, Docker/AWS/Azure config files, package manager tokens), explains why leaked cache entries remain dangerous, and recommends mitigations such as narrowing cached paths, clearing credentials before caching, using OIDC short-lived credentials, requiring manual workflow approval for external contributors, and regularly rotating exposed secrets.
Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.
