All adversarial demonstrations

The gateway rejects prompt-like requests

The local gateway rejects extra prompt fields and guessed secret-export commands using structured synthetic inputs.

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 (opens in a new tab).

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 (opens in a new tab).

Run the tests and inspect your own logs (opens in a new tab) · View all reports