Poitras began filming Assange and his allies in 2011, after some of Wikileaks’ most notorious releases, including the “Iraq War Logs” provided by the military intelligence analyst Chelsea Manning that included footage of an airstrike that killed two Reuters journalists. It begins with footage of Assange and his colleague Sarah Harrison trying to get then-Secretary of State Hillary Clinton on the phone, to warn that Wikileaks’ own security had been breached and that unredacted State Department cables were about to be published online. Harrison and Assange’s demeanor is breezy even in this tense moment; they shoot wry grins at each other as they pass the cellphone back and forth. There’s a sense that the radical governmental transparency they seek is becoming the new normal.

How Poitras gained access to the secretive inner core of Wikileaks is not disclosed, but her record as a searing documentarian was already firmly established by 2011, thanks to movies like My Country, My Country (a 2006 work about life in Iraq under U.S. occupation), and The Oath (about Osama Bin Laden’s former driver and his detention at Guantanamo Bay). While she was making Risk, Poitras also worked with Edward Snowden, and documented his leak of the National Security Agency’s illegal wiretapping practices in the Oscar-winning Citizenfour (2014).

During the years she spent with Assange, his public profile mutated again and again. Wanted for questioning in Sweden in relation to two sexual-assault cases, he appealed his extradition from the United Kingdom and implied it was a ruse intended to ultimately deliver him to the U.S., where Wikileaks was under grand-jury investigation. When his appeals failed, Assange fled to London’s Ecuadorian embassy, where he remains confined to this day. Over the last year, as Wikileaks released tens of thousands of emails relating to the Clinton campaign, Assange was accused by intelligence agencies of being in league with the Russian government, or at least functioning as an unwitting patsy for its efforts to undermine Clinton.

Poitras charts all of this, from Assange’s meetings with his lawyers (who exasperatedly tell him to stop referring to the charges against him as a “radical feminist conspiracy”) to his elaborate escape into the embassy. The director’s relationship with her subject changes for the worse over the years, but Assange seems consistently aloof. He’s a preening, icy figure throughout the film, often speaking in vague generalities and ruminating on the risks he’s taken, and how far he’d be willing to go to uphold his principles.

Still, the film doesn’t keep the audience at a similar distance. Much as Citizenfour’s look at Snowden felt disarmingly raw, the inside footage of Wikileaks at work is similarly riveting. There are unspoken dynamics between Assange and his co-workers that Poitras largely leaves to the imagination. But as the years pass, it’s easy to come away with the overall impression of noxious sexism pervading this small community of hackers and activists. Whether or not you view Assange’s actions as laudable, in the film, he’s a very difficult figure to engage with.