CVE-2026-72873: Trpc Unredacted Application Secrets Return

Returning raw application objects in API route handlers can expose sensitive credentials such as API tokens, private keys, or client secrets. Ensure sensitive fields are redacted before returning the object in response payloads.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-72873-trpc-unredacted-application-secrets-return --engine opengrep

Description

Returning raw application objects in API route handlers can expose sensitive credentials such as API tokens, private keys, or client secrets. Ensure sensitive fields are redacted before returning the object in response payloads.