The Trojan Pull Request | AltSecCON 2026

The Trojan Pull Request | AltSecCON 2026

Source: YouTube · Altered Security · published Nov 3, 2026 · 27:11

Cloud Security
No ratings yet Log in to rate
Transcript Available
Description

BLUF: This presentation details the "Trojan Pull Request" attack, where adversaries exploit CI/CD pipelines via malicious pull requests to gain root access and hijack cloud identities, emphasizing that business logic flaws in pipeline configuration are more dangerous than traditional bugs 7:31.

Key Takeaways:
• Attackers prefer stealthy code injection over brute force, targeting business logic errors in open-source projects to gain initial access 2:13.
• The core vulnerability lies in using pull_request_target with unsafe checkout, which allows attacker-uploaded code to execute with the repository's high-privileged credentials 4:54.
• By obtaining a root shell in the runner, attackers can query the OIDC token endpoint to impersonate the trusted internal runner, bypassing external network monitoring 9:40.
• AWS IAM policies often use wildcards that accept tokens from any repo within an organization, allowing the attacker to assume administrative roles 12:52.
• To prevent this, organizations should separate untrusted code execution from privileged environments and strictly configure IAM trust policies 24:54.

The attack demonstrates how velocity-driven development choices can create significant security gaps, requiring rigorous pipeline hardening to maintain cloud security.

Sources:

  • 7:31 Importance of showing impact beyond simple bug reporting
  • 2:13 Attacker mindset and preference for code injection
  • 4:54 Vulnerability of pull_request_target configuration
  • 9:40 Exploiting OIDC tokens for cloud identity hijacking
  • 12:52 Risks of wildcard IAM trust policies
  • 24:54 Mitigation strategies including separate workflows

Generate CPE Credits

Generate a professional CPE document from this video's transcript.

Estimated credit: 0.5 CPE hours

Estimate uses the video runtime (1 hour ≈ 1 CPE, rounded to the nearest 0.5, minimum 0.5, maximum 2.0). The final amount can be lower after review, never higher.

Topic: Cloud Security. Commonly maps to: Security Architecture and Engineering, Communication and Network Security. Exact CISSP domains are assigned during generation.

CISSP Domain Mapping
Learning Objectives
Self-Assessment Questions
PDF Export Ready

Free account. One generation at a time, with a daily limit.

CPEBuddy is independent and not affiliated with or endorsed by ISC2, ISACA, or any certification body. Exports are formatted for common CPE submissions; acceptance is at your certification body's discretion.

Watch on YouTube

Transcript Preview

First 800 characters of the transcript

So welcome everyone. I hope you enjoyed your lunch. I'm not in my fullest today. I'm a little under the weather, but
trust me, I'm very energetic in person. So today I'll talk about a story and not just a bug, because, generally when we are looking into bug bounties
or in the wild. Hunting for bugs. It's never a single bug
that you, go around like it's SS or SRF or RC,
something like that. It's about how your approach works and what approach is best towards showing an impact,
and not just a bug. So just a disclaimer before we start the talk doesn't have any proprietary
Microsoft data. It's all I research and a talk is called
the Trojan Pull Request, which was previously titled
as Forking Around and Finding Out. So a quick introduction. I'm Raj. I am Security Researcher two at Microsoft. I …