Setup
The test sends three prompt-like attempts to add an unknown prompt field to the pilot proposal, then tries guessed secret-export command names against the local compiled guest interface. It checks selected generated fixture files and the protected resource-effect journal.
Observed result
The gateway rejects the extra prompt field. The guessed commands fail, selected JSON fixture files contain none of the searched secret labels, and no resource effect occurs. The runnable case is TestAdversarialPromptLikeKeyRequests in the Go SDK pilot tests.
The test uses synthetic local state and checks a small set of known request forms. Language model behavior and additional host commands require separate tests.
SDK example: Run the prompt-injection-boundary case in the SDK source tree.