Skip to content

JSON output leaks encrypted passwords #23

@kbens

Description

@kbens

Problem

psa domain list --json and psa domain status --json include raw config content that contains encrypted passwords (e.g. from psappsrv.cfg, psprcs.cfg). While encrypted, exposing them in CLI output is a security concern.

Scope

  • config_files[].content in JSON output contains full raw config
  • config dict may contain password-adjacent fields

Decision Needed

  • Redact: Replace password values with *** (preserves structure)
  • Strip: Remove password fields entirely from output
  • Which fields to target (ConnectPswd, OprPswd, etc.)

Found During

Demo lab walkthrough testing (F4).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions