Skip to content

pii/secrets censor #3056

Closed
Closed

Description

@wojons

censor pii data by allowing users to provide a regex for matching critical sensitive values in configs and code etc. opencode will put a place holder value just before going to the llm provider, and replacing the place holder with the real data as the response comes in

Activity

  1. rekram1-node commented on Oct 9, 2025

    @rekram1-node
    Collaborator

    you could technically do this with a plugin i think, and if not we should add support for the event

  2. coalaura commented on Sep 15, 2026

    @coalaura

    If anyone stumbles over this like me searching for a solution, here is a small local plugin you can use to do essentially this :)

    https://github.com/coalaura/env/blob/master/slop/plugins/secrets.js

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

Metadata

Metadata

Assignees

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