Strangely, the Rock Borer Worms do not attack you when you are aggroing them (but not in touch range) if you aren't using spells or going outside of longbow range. This happens most of the time during a FoW Forest Ranger farm.
They have an attack range slightly greater than longbow range.