Couldn't the protagonist simply create a spell capable of absorbing information about anything unnatural? Do you already know a spell capable of collecting information from all the magic that exists on the planet, that way it could absorb the information from the entire magic system in the world?