Securing GitHub Actions: who can reach your website’s deployment keys?
The wfx-loot campaign shows why it matters to know which credentials a GitHub Actions workflow can use. Check who can change your deployment and which permissions it actually needs.
Geerman Web Solutions
Prepared using automated research and AI. This article underwent automated checks and has not been personally reviewed by Omar.
On 12 November 2026, BleepingComputer reported on wfx-loot, a campaign in which attackers used stolen GitHub credentials to test where they could modify code, according to security researchers. If your small business deploys its website automatically with GitHub Actions, the first question is not whether every pull request is suspicious. Ask instead: which credentials can our deployment use, and who can change the steps that get access to them?Source 1
A proposed change is not the same as stolen credentials
In the incidents researchers examined, the attackers used compromised accounts to open pull requests. A pull request proposes changes to files in a repository. The attackers then tried to run code that could collect credentials, including through modified workflows. Not every targeted repository ran that code. An unexpected proposal is worth investigating, but it does not in itself show that anyone gained access to production data.Source 1
Walk through one real website deployment
Choose the workflow that publishes your live website. With your maintainer, follow the steps from a code change to publication. Record the name and purpose of each credential the workflow needs, but do not copy the secret value into your notes. Distinguish the built-in GitHub token from, for instance, a separate hosting credential: limiting one does not automatically reduce the permissions of the other.Source 1
- Check who can modify workflow files and who reviews those changes. Have someone who understands the workflow’s access requirements review changes to deployment.
- Give the built-in GitHub token read-only access to repository contents by default, and grant broader permissions only to jobs that need them.
- Keep tests separate from production deployment. Do not run unreviewed pull request code in a workflow that can read production credentials. Where available, consider requiring approval before a job can access production secrets.
- If your cloud provider supports OpenID Connect, see whether you can replace a long-lived cloud key with short-lived access. Scope that access too: the code examined in this campaign also tried to make use of temporary credentials.
What if you see something suspicious?
BleepingComputer lists unexpected change proposals and gaps in workflow run numbers among the signs to look for. They are leads, not conclusive proof. Ask your maintainer to determine what ran and which secrets and cloud roles were accessible at the time. If execution of malicious code is confirmed, treat accessible credentials as potentially stolen and have them replaced. Also review the cloud roles that were reachable and their access rules.Source 1Source 2
After changing workflow permissions, check that a normal deployment still works and that the site’s most important functions remain available. A successful deployment tells you about that test, not what happened to a credential in the past. Keep the website check separate from the investigation into suspicious access.Source 1Source 2
Sources
- Hackers compromise 4,800 GitHub accounts to steal cloud credentials
- Secure use reference - GitHub Docs
Need help securing your website?
Geerman Web Solutions can check your hosting and software, apply required updates and test the main functions after deployment.