The script for “Star Wars: The Rise Of Skywalker” ended up for sale online months before the film’s release, according to director J.J. Abrams.

During an appearance on “Good Morning America” on Monday, Abrams revealed the script inadvertently fell into the wrong hands.

“One of our actors left [the script] under their bed, and it was found by someone who was cleaning their place. And it was given to someone else who went to sell it on eBay,” he explains.

Refusing to name names, Abrams keeps mum on who the culprit is, though many predict it was likely one of the film’s leading actors as they would have access to a full script.

RELATED: J.J. Abrams Says It’s A ‘Race’ To Get ‘Star Wars: The Rise Of Skywalker’ Finished In Time For Release

“I’m not gonna say which one though I want to,” he says to laughter from the audience.

A Disney employee reportedly saw the eBay listing and bought it so the company “got it back before it was sold,” Abrams says, presumably foiling any plans the Dark Side had.

John Boyega, Daisy Ridley, Oscar Isaac and Adam Driver all star in lead roles in the film, while supporting players including Keri Russell only have minimal script access to their scenes.

Russell previously told Entertainment Weekly she was only allowed to read the full script in a guarded room and was able to read the preceding scene to hers.

RELATED: Keri Russell Talks ‘Star Wars’ And Expiration Dates In Hollywood

“The security is insane,” Abrams adds. “The company [was] really nervous about anything getting out and so they had only a handful of scripts, printed on crazy, uncopyable paper.”

During his chat with “GMA”, Abrams announced the film was completed yesterday ahead of its Dec. 20 release.