Before revision:  They key insight here is that an adversary in the environment can directly affect the optimization  function of a planner.
After revision:  They key insight here is that an adversary in the environment can directly affect the optimization cost function of a planner.