It's where you suddenly get the urge to do something bad, but would never actually dream of doing it. For example, driving down a busy road and suddenly getting the urge to swerve across into oncoming traffic. Or getting the urge to push someone down the stairs, or mow people down at a crossing etc.