Question 40
An MCP SQL discovery tool returns table comments containing text instructing the assistant to export customer rows. The team implemented this change: Ignore embedded commands and maintain an explicit read-only user-approved task scope. Which result would best confirm the change worked?
Explanation
Correct Answer
Assistant performs only intended metadata lookup without exporting records. Untrusted database metadata must be treated as data, not higher-priority instructions. Strong tool scoping is still required even with prompt-injection defenses.
Incorrect Answers
Schema comments are untrusted data; tool responses cannot expand the user-approved action or export scope.
Transport authenticity does not confer instruction authority on source data; separate untrusted content from action policy.
Read-only tools can still disclose data; row scope, approved destinations and metadata-only privileges matter.