An AI agent can pass every safety check and still leak secrets