Jessica Alba is set to play a villain in thriller Barely Lethal.
Hailee is already on board to play Megan, a teenage assassin who is hunted by a former associate after she fakes her own death and decides to enrol in a suburban high school - and Jessica has been cast as baddie Victoria Knox, who pursues her.
Rush Hour director Brett Ratner will co-produce the film, which has been written by John D'Arco, with John Cheng.
Production is scheduled to start in mid-October.
Jessica, who previously starred in Spy Kids 4: All The Time In The World, will next star in sequels Sin City: A Dame To Kill For and Machete Kills.
The mother-of-two will also be in coming-of-age drama Dear Eleanor alongside Luke Wilson, action-comedy Stretch with Chris Pine and Patrick Wilson, and comedy mini-series The Spoils Of Babylon opposite Will Ferrell, Tim Robbins and Kristen Wiig.