Question 230
Architecture principle case — A city services page loads unreviewed analytics JavaScript within the same privilege context as citizen forms. The design review is extracting the transferable lesson for later software projects. Which security principle best governs the observation?
Explanation
Correct Answer
In Q0230, the fictional organizational observation is: A city services page loads unreviewed analytics JavaScript within the same privilege context as citizen forms. The distinct underlying risk mechanism is: Supplier code obtained effective application-origin access to sensitive browser data. Choice B addresses the governing security-design principle because it states: Third-party client-side code executes within real trust boundaries and needs isolation. This fits the governing design principle: Third-party client-side code executes within real trust boundaries and needs isolation. For measurable acceptance, the team should: Browser monitoring and tests confirm untrusted scripts cannot access sensitive form values. Sustained prevention requires: Review external scripts for necessity, integrity and privilege before every integration.
Incorrect Answers
Choice A describes a plausible governing security-design principle for a separate security issue, no failure isolation between public and admin planes: The design shared capacity and dependency pools across security-critical and high-volume public functions. Its proposed response, “Security-critical recovery paths should survive stress on less-trusted public workloads”, does not directly resolve this case. The discriminating cause is: Supplier code obtained effective application-origin access to sensitive browser data. A stronger governing security-design principle would be: Third-party client-side code executes within real trust boundaries and needs isolation. An objective reviewer would test: Browser monitoring and tests confirm untrusted scripts cannot access sensitive form values.
Choice C describes a plausible governing security-design principle for a separate security issue, overloaded shared cryptographic key: Key reuse ties independent security boundaries and incident response to a single compromise. Its proposed response, “Cryptographic key separation reduces compromise propagation and enables targeted rotation”, does not directly resolve this case. The discriminating cause is: Supplier code obtained effective application-origin access to sensitive browser data. A stronger governing security-design principle would be: Third-party client-side code executes within real trust boundaries and needs isolation. An objective reviewer would test: Browser monitoring and tests confirm untrusted scripts cannot access sensitive form values.
Choice D 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: Supplier code obtained effective application-origin access to sensitive browser data. A stronger governing security-design principle would be: Third-party client-side code executes within real trust boundaries and needs isolation. An objective reviewer would test: Browser monitoring and tests confirm untrusted scripts cannot access sensitive form values.



Secure Software Design (KEO1) Practice Tests