Question 360
Architecture principle case — A funds transfer handler catches every exception and returns success to avoid user-facing errors. The design review is extracting the transferable lesson for later software projects. Which security principle best governs the observation?
Explanation
Correct Answer
In Q0360, the fictional organizational observation is: A funds transfer handler catches every exception and returns success to avoid user-facing errors. The distinct underlying risk mechanism is: Broad error handling conceals security failures and creates unauthorized success states. Choice B addresses the governing security-design principle because it states: Failing silently can convert an error into a privilege or integrity bypass. This fits the governing design principle: Failing silently can convert an error into a privilege or integrity bypass. For measurable acceptance, the team should: Fault injection shows each relevant exception produces safe rollback and observable failed status. Sustained prevention requires: Prohibit catch-all success paths in security-sensitive code through static review rules.
Incorrect Answers
Choice A describes a plausible governing security-design principle for a separate security issue, resource handle reused after authorization: Authorization was assumed permanent across resource mutation and long-lived operations. Its proposed response, “An earlier approval is not a perpetual entitlement when identity or resource state changes”, does not directly resolve this case. The discriminating cause is: Broad error handling conceals security failures and creates unauthorized success states. A stronger governing security-design principle would be: Failing silently can convert an error into a privilege or integrity bypass. An objective reviewer would test: Fault injection shows each relevant exception produces safe rollback and observable failed status.
Choice C describes a plausible governing security-design principle for a separate security issue, unsafe deserialization of client object: Untrusted serialized content can select executable types or unsafe object initialization paths. Its proposed response, “Serialization convenience must not let untrusted data dictate executable application behavior”, does not directly resolve this case. The discriminating cause is: Broad error handling conceals security failures and creates unauthorized success states. A stronger governing security-design principle would be: Failing silently can convert an error into a privilege or integrity bypass. An objective reviewer would test: Fault injection shows each relevant exception produces safe rollback and observable failed status.
Choice D describes a plausible governing security-design principle for a separate security issue, hardcoded credential in source repository: Long-lived secrets were embedded in distributable and reviewable source artifacts. Its proposed response, “Secrets that enter source history should be treated as exposed even if later deleted”, does not directly resolve this case. The discriminating cause is: Broad error handling conceals security failures and creates unauthorized success states. A stronger governing security-design principle would be: Failing silently can convert an error into a privilege or integrity bypass. An objective reviewer would test: Fault injection shows each relevant exception produces safe rollback and observable failed status.



Secure Software Design (KEO1) Practice Tests