All adversarial demonstrations

A readable workspace key can be copied

A generated test secret is read from a file and environment variable to show the effect of workspace access.

Setup

Two local tests use generated synthetic credentials. One places an Ed25519 key value in a test-only environment variable and a mode-restricted temporary file. The other writes a fake remote-service bearer credential to a temporary .env file and starts a local HTTPS endpoint that requires that value.

Observed result

The simulated reader copies the generated signing key and uses it to create a valid signature. The .env test reads its synthetic bearer credential and reuses it over certificate-validated local HTTPS. Both requests are accepted by the local test service, as expected for a copyable bearer secret. The runnable cases are TestAdversarialSyntheticKeyStorage in the Go SDK pilot tests (opens in a new tab) and TestAdversarialReadableEnvCredentialCanAuthorizeLocalService in the local HTTPS credential test (opens in a new tab).

This demonstrates the consequence of readable workspace credentials. The test uses a synthetic workspace, a generated .env file, and test credentials. Keeping a reusable remote-service secret in a readable environment file creates a different exposure risk than an internal key that is never returned through an API.

The circuit comparison covers the documented local test. An assessment of a proprietary binary and its key storage requires a separate review.

SDK example: Run the workspace-key-extraction 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