That has to be in the computer, all new cars have no real throttle linkage they run off the computer.
When you step into it, a tiny electric motor moves the throttle plate to accelerate, if it accelerates on its own its either a problem at the throttle plate or the computer.
This system has been around since the 97 model year in GM cars (corvette) and long before that it was used in big over the road trucks.