
2026 has been a strange year to be a Valve archivist. The latest drop: what’s being described as the full source code for Portal 2, which surfaced on November 30 with, inevitably, remnants of Half-Life 2: Episode Three inside.
The leak was flagged by Valve dataminer Gabe Follower on X, who wrote that “the full source code for Portal 2 has just leaked,” including leftovers from Episode Three. The archive first appeared on a Discord server dedicated to researching early Portal 2 builds, where members say copies had been circulating privately for years, before a copy was pushed to GitHub. The directory listing in Gabe Follower’s screenshot shows folders for Alien Swarm and Dota alongside the Episode Three material, which isn’t surprising given how much Valve’s Source projects shared a codebase at the time.
It’s the latest in a run of Valve leaks this year. In late August, Gabe Follower spotted a 12TB archive of Steam depots spanning 2003 to 2013, which included early Portal 2 builds, the cancelled Portal prequel F-Stop, and the “Weaponizer,” a weapon model long tied to Episode Three that turned up in Portal 2’s files. In November, portions of Episode Three’s own source code leaked, showing experiments like the Blobulator, an ice gun and shape-shifting blob enemies. Valve later adapted some of Episode Three’s fluid tech into Portal 2’s gels, which helps explain why the two keep showing up together.
There’s no evidence this leak contains a playable Episode Three. If you’ve been waiting since 2007, the story of why Episode Three was never made hasn’t changed. What it could change is Portal 2 modding. Valve has only ever given modders the authoring tools, and access to engine source could enable deeper engine mods, native ports and graphics upgrades, much as the community did when it brought Vulkan to Portal 2 back in 2021. The catch is legal: anything built on leaked code sits on very shaky ground, and Valve’s lawyers have long memories and more money than you do.
We aren’t linking the repository, and we’d suggest steering clear of it. Leaked archives are a favorite hiding place for malware, and nothing in there is worth compromising your Steam account. It’s still a fascinating time for Valve history. Between F-Stop’s reconstruction and this, fans now understand Portal 2’s development better than ever, even if it took a series of leaks to get there. What do you hope modders find? Let us know in the forums.
