NHI Security Platform. Detect OIDC trust policy misconfigs in AWS IAM, auto-fix via Terraform PR. 10,000 repos scanned. Built by a 12yr SRE. Free @ https://t.co/PCg8p2RsH8trustfix.devJoined April 2026
how role ARNs get exposed in public GitHub repos:
80.1% not visible
9.5% via GitHub Secrets
7.6% hardcoded in YAML
2.8% environment variables
that 7.6% = 4,163 workflows with account ID and role name in plain text in a public repo.
StringEquals vs StringLike in IAM trust policies:
StringEquals treats * as literal. StringLike treats * as wildcard.
StringEquals with "repo:*" matches nothing. StringLike with "repo:*" matches everything.
the operator matters more than the value.
the EC breach:
1. compromised Trivy
2. stole static AWS API key from CI pipeline
3. enumerated IAM, ECS, Lambda, Secrets Manager
4. exfiltrated 92GB across 30+ EU entities
5. undetected for 5 days
every step after 2 was preventable with scoped OIDC trust policies.
AWS added repository_id as an OIDC condition key in Jan 2026.
the old "repository" key follows the repo name. rename it, the trust follows.
repository_id is immutable. follows the repo, not the name.
3 months later, almost nobody is using it.
@0xdabbad00 the sts: IdentityTokenAudience values are interesting - feels like we're going to see a lot of trust policies written for these new service namespaces with overly broad wildcards because nobody knows the exact values yet. same pattern when github actions OIDC first launched.
most teams that set up OIDC for GitHub Actions → AWS use StringLike on the sub claim.
StringLike: repo:acme-corp/* means every repo in your org can assume that IAM role.
one character is the difference between "secure" and "looks secure."
Non-human identities outnumber humans 100:1 in cloud.
We scanned 10,000 GitHub repos:
- 80.7% still use static AWS credentials
- 743 vulnerable to fork-based attacks
This is what the Trivy/Cisco breach exploited.
trustfix.dev
2K Followers 1 FollowingThe best way to stay on top of the cloud security landscape without having to be overwhelmed by all the noise | Curated by @lancinimarco
159K Followers 1K FollowingI help people and companies articulate and pursue their Ideal State. | https://t.co/muV0Un0Hi8, https://t.co/c9CkgMpaQw, https://t.co/z0T3GvB2Kn | Ex: Apple, Robinhood
20K Followers 253 FollowingCloud security historian
Developed https://t.co/ZXFwkuyseC, CloudMapper, and Parliament
Organizer for @fwdcloudsec
Researcher at @wiz_io
3.5M Followers 126 Following@GM Chair and CEO leading an outstanding team with the ambition, talent and technology to create a world with zero crashes, zero emissions and zero congestion.
17.9M Followers 69 FollowingApple CEO Auburn 🏀 🏈 Duke 🏀 National Parks 🏞️ “Life's most persistent and urgent question is, 'What are you doing for others?'” - MLK. he/him
1.4M Followers 176 FollowingNobel Laureate. Co-Founder & CEO @GoogleDeepMind - working on AGI. Solving disease @IsomorphicLabs. Trying to understand the fundamental nature of reality.