Question 300
Architecture principle case — A payment processor forwards a user token intended for its checkout API to a third-party analytics endpoint. The design review is extracting the transferable lesson for later software projects. Which security principle best governs the observation?
Explanation
Correct Answer
In Q0300, the fictional organizational observation is: A payment processor forwards a user token intended for its checkout API to a third-party analytics endpoint. The distinct underlying risk mechanism is: Tokens were accepted outside their intended audience and privilege context. Choice D addresses the governing security-design principle because it states: A correctly signed token is not authority for every service that can parse it. This fits the governing design principle: A correctly signed token is not authority for every service that can parse it. For measurable acceptance, the team should: Cross-service token substitution tests fail even when signatures and users are valid. Sustained prevention requires: Require audience and scope policy for every delegated service call and token exchange.
Incorrect Answers
Choice A describes a plausible governing security-design principle for a separate security issue, inadequate isolation of background workers: Background processing received broad network and filesystem access relative to untrusted inputs. Its proposed response, “Moving work off the request thread does not remove the need for isolation and least privilege”, does not directly resolve this case. The discriminating cause is: Tokens were accepted outside their intended audience and privilege context. A stronger governing security-design principle would be: A correctly signed token is not authority for every service that can parse it. An objective reviewer would test: Cross-service token substitution tests fail even when signatures and users are valid.
Choice B describes a plausible governing security-design principle for a separate security issue, insufficient multi-region identity consistency: Distributed authorization state permitted stale grants after revocation or failover. Its proposed response, “Distributed availability cannot justify resurrecting access rights that were explicitly revoked”, does not directly resolve this case. The discriminating cause is: Tokens were accepted outside their intended audience and privilege context. A stronger governing security-design principle would be: A correctly signed token is not authority for every service that can parse it. An objective reviewer would test: Cross-service token substitution tests fail even when signatures and users are valid.
Choice C describes a plausible governing security-design principle for a separate security issue, exposure through shared temporary files: Temporary storage placement and permissions broke intended tenant and data isolation. Its proposed response, “Sensitive intermediate artifacts require the same isolation as permanent records”, does not directly resolve this case. The discriminating cause is: Tokens were accepted outside their intended audience and privilege context. A stronger governing security-design principle would be: A correctly signed token is not authority for every service that can parse it. An objective reviewer would test: Cross-service token substitution tests fail even when signatures and users are valid.



Secure Software Design (KEO1) Practice Tests