Skip to content

Report log redaction misses process_path and base_dir #2840

Description

@Widthdom

Found during cdidx code-search audit. Evidence: src/CodeIndex/Cli/GlobalToolLog.cs writes process_path= and base_dir= in the lifecycle session header, while src/CodeIndex/Cli/ReportCommandRunner.cs only redacts args= and cwd= when --include-args is not set. Impact: support report bundles can still disclose local install paths and user directory names even though adjacent lifecycle fields are redacted. Suggested fix: redact all path-bearing lifecycle fields by default, or classify safe fields explicitly and test the report output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsecurity

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions