pf2e.fyi
From Pathfinder Howl of the Wild, which isn't enabled.

Hexmoth

CREATURE 8

A hexworm, upon consuming a sufficient quantity of magic, will spin a cocoon of magically infused silk, metamorphosing into its imago form.


Perception +19; arcanosense (precise) 120 feet
Skills Acrobatics +16, Arcana +18, Stealth +14
Str +3, Dex +6, Con +3, Int -4, Wis +1, Cha +2
Arcanosense

A hexmoth can sense sources of magic at the listed range as though it has a 4th-rank Detect Magic constant innate spell.


AC 27; Fort +19, Ref +16, Will +11
HP 105; Resistances spells 10
Advanced Arcanovore

A hexmoth has resistance 10 against all damage caused by spells. It's immune to one type of energy it consumed most as a hexworm, typically acid, cold, electricity, fire, or sonic.


Speed 20 feet, fly 40 feet
Melee Proboscis +13, Damage 2d10+9 piercing plus Arcane Consumption
Melee Hexbolt +13, Damage 2d8+6 untyped

Damage type is the immunity the Hexmoth has.

Arcane Consumption

The hexmoth attempts to consume the magic of an adjacent magical effect or unattended magic item. It attempts a counteract check against the target with a +16 modifier. On a success, the magical effect ends. A magic item instead becomes a mundane item for 1 round. The hexmoth gains 2d8 healing Hit Points.

Arcanotaxis
Requirements The hexmoth has detected a source of magic with its arcanosense
Trigger The hexmoth's turn begins

Effect The hexmoth Flies or Strides up to its Speed toward the nearest source of magic it can detect.
Hexdust Wind

With a few fierce wingbeats, the hexmoth expels magical scale dust in a 30-foot cone. This deals 10d6 damage of the type to which the hexmoth is immune (DC 23 basic Fortitude save). It can't use Hexdust Wind again for 1d4 rounds.

Pathfinder Howl of the WildORC