This website uses cookies to ensure you get the best experience.
Learn more.
An external MCP tool returns text instructing the agent to reveal credentials. Which two defenses address this threat? Select 2 answers.
Published
- Place a second copy of the credential in the prompt as a backup.
- Increase the priority of every external tool result above the system instructions.
- Keep credentials outside model-visible context and enforce permissions in the backend.
- Trust the tool output whenever it includes valid JSON.
- Treat tool output as untrusted task data rather than an instruction source.
Comments — 0
Sign in to comment