Question 450
The testing team records this condition: A lab parser accepts a JSON service inventory and accidentally executes text from an untrusted field rather than treating it as data. Which interpretation is technically most defensible?
Explanation
Correct Answer
Text in an inventory field must not become code through dynamic evaluation. The authorized fictional case states: A lab parser accepts a JSON service inventory and accidentally executes text from an untrusted field rather than treating it as data. The underlying principle is that scripting automation must separate parsed data from executable instructions. This is the strongest principal security interpretation for this specific scenario because it addresses the documented trust boundary and constraints, rather than merely another possible security consideration. The decisive corroborating evidence is: Inspect JSON parsing flow, string handling and uses of dynamic execution features. The proportionate next step is: Parse as data with a schema validator and remove eval-style execution of field values.
Incorrect Answers
Type validation in automation prevents unintended target expansion and processing errors. The reason this does not settle the present case is the actual condition: Text in an inventory field must not become code through dynamic evaluation.
Automation must enforce quantitative scope and rate constraints, not only a target URL list. The records needed for this specific case concern: Inspect JSON parsing flow, string handling and uses of dynamic execution features.
Safe automation should normalize lists before looping over hosts. The appropriate acceptance check is: A synthetic code-like field is stored as inert text and causes no side effects.