#21101: Security/Voice Call: gate skipSignatureVerification to local-dev or explicit override
channel: voice-call
size: S
Cluster:
Security Enhancements and Fixes
This PR reopens the voice-call signature verification hardening from the previously closed PR after branch-name cleanup.
Summary:
- Restrict `skipSignatureVerification` to local-dev safe contexts or explicit override.
- Add config/runtime tests for enforcement behavior.
- Include current CI-compatible test typing fix required by `pnpm check`.
Replaces: #21068
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
Hardens voice-call security by restricting `skipSignatureVerification` to safe local-dev contexts only. The change prevents accidentally disabling webhook signature verification in production or when using tunnels/public URLs. Adds comprehensive test coverage for the new policy enforcement and includes an unrelated test typing fix for `update-cli.test.ts`.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk
- Security hardening with comprehensive test coverage and clear validation logic. The changes appropriately restrict a dangerous configuration option to safe contexts only, with an explicit override for testing. The test typing fix is a necessary cleanup. No logical errors or edge cases identified.
- No files require special attention
<sub>Last reviewed commit: 5afef25</sub>
<!-- greptile_other_comments_section -->
<!-- /greptile_comment -->
Most Similar PRs
#21197: Security/Voice Call: enforce exact webhook path matching
by bmendonca3 · 2026-02-19
79.2%
#10239: Security: Add production guard for skipSignatureVerification
by StreetJammer · 2026-02-06
78.2%
#21128: Security/Voice Call: require trusted proxy IPs for forwarded-header...
by bmendonca3 · 2026-02-19
77.3%
#7704: fix(voice-call): add authentication to WebSocket media stream endpoint
by coygeek · 2026-02-03
76.7%
#21532: Security/Voice Call: block signed webhook replay
by bmendonca3 · 2026-02-20
76.1%
#6128: Fail closed when Telnyx webhook public key is missing (voice-call p...
by yueyueL · 2026-02-01
76.1%
#21288: Security/Voice: reject malformed Host headers in webhook+WS server
by bmendonca3 · 2026-02-19
75.7%
#18852: fix: Voice-call state persistence is fire-and-forget, causing silen...
by coygeek · 2026-02-17
74.8%
#22227: fix(security): harden gateway auth — audit logging, pairing, mode v...
by novalis133 · 2026-02-20
73.7%
#21100: Security/Gateway: require explicit break-glass env for Control UI b...
by bmendonca3 · 2026-02-19
72.7%