GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [FEATURE]: secrets redaction at tool output boundary · Issue #32183 · anomalyco/opencode

[FEATURE]: secrets redaction at tool output boundary #32183

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[FEATURE]: secrets redaction at tool output boundary#32183
Copy link
Assignees
StarpTech

Description

@MethodWhite
MethodWhite
opened on Jun 13, 2026
Issue body actions
  • I have verified this feature I'm about to request hasn't been suggested before.

Tool output often contains API keys, tokens, and passwords that flow verbatim to the LLM and session history. A redaction layer at the tool output boundary would detect and redact secrets before they reach the model or get persisted.

Spec: https://github.com/MethodWhite/opencode/blob/spec-secrets-redaction/specs/secrets-redaction.md

Two detection strategies: pattern matching (ghp_, sk-, AKIA, etc.) and entropy scanning for unknown high-entropy tokens. Redacted values keep their prefix and structure so the model can still reason about credential usage without seeing the value. Session history and share links only store redacted content.

Activity

  1. github-actions
    assigned
    StarpTech
    on Jun 13, 2026
  2. github-actions commented on Jun 13, 2026

    @github-actions
    github-actionsBot
    on Jun 13, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature requests must use the [FEATURE]: title prefix (e.g., [FEATURE]: secrets redaction at tool output boundary)
    • The feature request template requires a verification checkbox confirming you have searched for existing similar requests before submitting

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    • [FEATURE] Pre/post API call hooks in Provider interface for secret redaction and exfiltration prevention #19425: Pre/post API call hooks in Provider interface for secret redaction and exfiltration prevention — very similar goal of redacting secrets before they reach the LLM
    • [FEATURE]: Security Context-aware handling of sensitive files (credentials, tokens, secrets) Body: #26084: Security Context-aware handling of sensitive files (credentials, tokens, secrets) — overlapping scope around preventing secret leakage to the model

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. github-actions
    added
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Jun 13, 2026
  4. MethodWhite
    changed the title [-]feat: secrets redaction at tool output boundary[/-] [+][FEATURE]: secrets redaction at tool output boundary[/+] on Jun 13, 2026
  5. github-actions
    removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Jun 13, 2026
  6. github-actions commented on Jun 13, 2026

    @github-actions
    github-actionsBot
    on Jun 13, 2026 – with GitHub Actions
    Contributor
    More actions

    Thanks for updating the issue! It now meets the contributing guidelines — the title prefix, verification checkbox, and description are all in order. Removing the compliance flag.

  7. MethodWhite
    closed this as not plannedon Jun 13, 2026
  8. MethodWhite commented on Jun 13, 2026

    @MethodWhite
    MethodWhite
    on Jun 13, 2026
    Author
    More actions

    Closing as duplicate of #19425. Left a design spec at https://github.com/MethodWhite/opencode/blob/spec-secrets-redaction/specs/secrets-redaction.md that may be useful for implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @StarpTech
    StarpTech

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.