The guardian is a giant, metallic, spider-like automaton—not a living creature.
It emerges from the vault floor when the door is breached, constructed of interlocking gold/bronze plates, with multiple articulated legs and a central "body" housing the Horcrux (Hufflepuff's cup). It attacks via crushing limbs and sheer mass. The trio escapes by releasing the dragon (Ukrainian Ironbelly) also kept in the vaults, causing a distraction.
The film never names it; fans call it the "Griffin spider" or "vault guardian." It's a magical construct, not a beast.