Question 430
Architecture principle case — A loyalty wallet allows a tiny repeated debit because binary rounding bypasses balance checks. The design review is extracting the transferable lesson for later software projects. Which security principle best governs the observation?
Explanation
Correct Answer
In Q0430, the fictional organizational observation is: A loyalty wallet allows a tiny repeated debit because binary rounding bypasses balance checks. The distinct underlying risk mechanism is: Financial invariants depend on imprecise arithmetic and inconsistent rounding order. Choice C addresses the governing security-design principle because it states: Precision decisions can become integrity vulnerabilities when values represent money or rights. This fits the governing design principle: Precision decisions can become integrity vulnerabilities when values represent money or rights. For measurable acceptance, the team should: Boundary tests demonstrate exact balance integrity through repeated small-value transactions. Sustained prevention requires: Adopt precise money types and test invariants across currencies and conversions.
Incorrect Answers
Choice A describes a plausible governing security-design principle for a separate security issue, unsafe reflection of redirect targets: Untrusted redirect destinations can route users into attacker-controlled follow-up flows. Its proposed response, “Navigation after authentication must not transfer trust to arbitrary destinations”, does not directly resolve this case. The discriminating cause is: Financial invariants depend on imprecise arithmetic and inconsistent rounding order. A stronger governing security-design principle would be: Precision decisions can become integrity vulnerabilities when values represent money or rights. An objective reviewer would test: Boundary tests demonstrate exact balance integrity through repeated small-value transactions.
Choice B describes a plausible governing security-design principle for a separate security issue, unsafe default debug mode in production: Build and environment configuration left high-detail developer features exposed to ordinary users. Its proposed response, “Development convenience settings must not silently become runtime production capabilities”, does not directly resolve this case. The discriminating cause is: Financial invariants depend on imprecise arithmetic and inconsistent rounding order. A stronger governing security-design principle would be: Precision decisions can become integrity vulnerabilities when values represent money or rights. An objective reviewer would test: Boundary tests demonstrate exact balance integrity through repeated small-value transactions.
Choice D describes a plausible governing security-design principle for a separate security issue, weak account enumeration protection: Public authentication responses reveal sensitive account existence through wording or timing. Its proposed response, “Error handling should not become a directory of identities attackers can validate”, does not directly resolve this case. The discriminating cause is: Financial invariants depend on imprecise arithmetic and inconsistent rounding order. A stronger governing security-design principle would be: Precision decisions can become integrity vulnerabilities when values represent money or rights. An objective reviewer would test: Boundary tests demonstrate exact balance integrity through repeated small-value transactions.



Secure Software Design (KEO1) Practice Tests