If the attacker has the invisibility effect, when killed by them, the chat will say "(player name) killed by unknown" (English, Russian, and Ukrainian languages are supported). The mod is initially for 1.21.4, so bugs are possible on other versions.