Skip to content

Secret redaction ​

Built Secrets are replaced with [redacted] before text is stored, shown or sent on. Output from a developer's machine is redacted on the machine, before it leaves it.

The rule sets ​

  • The platform redacts everything it stores or shows with its full rule set, below.
  • On the machine, every job output (test output, errors, tool output) is redacted before it is sent, with the same list of known secret forms the platform uses; the server redacts again when showing it.
  • Transcripts are redacted on the machine before upload with the same list of known secret forms, plus rules for assignments, JSON fields, authorization headers and the whole output of secret commands and credential files. When the launcher's rules are missing, it sends nothing rather than sending unredacted text.
  • The session digest at the end of a session uses the same rules too, plus its own patterns; the platform redacts it once more on arrival.

What the platform finds ​

  • Secret names in structured values (JSON, YAML, settings): keys such as password, secret, api_key, access_token, refresh_token, client_secret, private_key, authorization, cookie or credential, also in camelCase, kebab-case or with dots (db.password, KeystorePass). In free text, such as tool output, the common names (password, secret, api_key, the token names) are found; cookie, credential and names ending in Pass are not yet.
  • JSON and YAML values under those keys, and quoted values in assignments.
  • URLs with credentials: https://user:pass@host, a user in front of a host, and JDBC URLs.
  • Authorization headers with Bearer or Basic.
  • Private key blocks.
  • Known token forms (one shared list for the platform, job output, transcripts and the session digest): GitHub tokens (classic, fine-grained, OAuth, app and refresh), GitLab tokens, Slack bot and user tokens, AWS access keys, OpenAI and Anthropic API keys, Stripe keys, Google Cloud API keys and JSON Web Tokens.

Where it applies ​

  • the agent's tool output and the chat's trace;
  • session transcripts, when a Workspace switches them on, redacted on the machine;
  • the session digest the launcher sends at the end of a session;
  • corrections kept from pull request comments;
  • error messages from Git and connectors.

And the merge gate ​

Octryx AI's own repository runs gitleaks over every branch's commits before a merge. The launcher brings its own pinned gitleaks for runs on your machine; the review bot runs gitleaks on every pull request's changed files, and a committed secret fails its status. Built

And what goes to a model ​

What a model receives is checked separately, per content kind, with an action each Workspace chooses: see Sensitive content handling.

Limits ​

Redaction finds what its rules describe. A secret in an unusual form can pass. Do not rely on redaction instead of keeping secrets out of code.

Octryx AI v0.0.1-alpha · Apache 2.0 · octryx.ai