During nighttime when above ground, spiders do not attack until 3-4 seconds after seeing the player within range, and while underground in an abandoned mine shaft, zombies, creepers, cave spiders, and skeletons walked into a corner to get away from the player without being attacked.
Cannot confirm.