Governance, Risk, and Compliance

During a design review of a new payment API, the architects list known security antipatterns that must be removed before the build starts. Which findings are antipatterns? (Choose four.)

Choose 4 answers

Show the answer

Correct answersA. Embedding service credentials in the source repositoryC. Validating input only in the browser, with the server accepting it uncheckedE. Designing a proprietary encryption algorithm for card dataF. Hiding an admin endpoint at an unpublished URL as its only protection

AWhy this is right: hard-coded credentials leak through repositories and are a classic recurring bad practice.

BWhy not this: abuse cases are a modeling method that finds threats early, not a recurring bad practice.

CWhy this is right: client-side checks can be bypassed, so relying on them alone is a recurring ineffective solution.

DWhy not this: a vault with rotation is a recommended practice that reduces credential exposure.

EWhy this is right: custom cryptography is a well-known antipattern; vetted, standard algorithms should be used.

FWhy this is right: security through obscurity is an antipattern because a hidden endpoint is not an access control.

Client-side-only validation, homegrown cryptography, hard-coded credentials and security through obscurity are recurring practices that look like solutions but create weaknesses. A vault with rotation and abuse cases are sound practices, not antipatterns.