How I Took Over a Forgotten Google Storage Bucket Used to Distrib
A Google Cloud Storage bucket formerly used to distribute Helm binaries was left unclaimed, and many GitHub projects still pointed install scripts at it. By registering the bucket, the author showed that a malicious party could have served fake binaries to anyone running those install instructions.
Published on infosecwriteups.com
A deprecated GCS bucket used to install Helm was still referenced in 1000s of GitHub projects — and I took it over.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Helm maintainers stopped using the storage bucket but never reserved it, while install scripts and documentation kept pointing at the old address.
Impact
A malicious party could have served fake Helm binaries to systems running the old install instructions, potentially injecting code into CI/CD setups; the author only hosted a harmless file and did not exploit this.
What the attacker needed
Bucket left unclaimed; victim runs old install script; no verification of downloaded binary
The fix
The affected companies and maintainers updated their install scripts to safer, verified sources, though references remained in forks, blog posts and archived CI files.
How it was found
- Find a Helm repository link that returns a 404 while scanning GitHub repos.
- Check Google Cloud and see that the bucket behind the link is unclaimed.
- Register the bucket and host a harmless file to confirm control of its responses.
- Search GitHub to count projects and companies still referencing the bucket.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Software is often downloaded from a storage service rather than the project's own website. If the project stops using that storage location but never deletes or reserves it, anyone can claim it and put their own files there. People following old instructions would then download whatever the new owner uploaded, believing it came from the real project.
What is Subdomain takeover?
A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.