implementation("io.ktor:ktor-server-csrf:3.0.0")
Mitigates cross-site request forgery attacks by validating request origins and custom headers.