Input validation scoped to user-facing endpoints
Security controls — input validation, sanitization, output encoding — are applied at the API’s external boundary: the endpoints that receive requests from users. Data that enters through third-party integrations takes a different code path — one that was never reviewed for injection risks because it was considered internal, not external.