Skip to content

Privacy: Inference log files grow indefinitely with no rotation #4

@0xharkirat

Description

@0xharkirat

Priority: High

InferenceLogger appends every command resolution attempt (transcript, parameters, timestamps) to JSONL files in getApplicationDocumentsDirectory()/inference_logs/. These files:

  • Accumulate indefinitely (one file per day, never deleted)
  • Contain the full text of everything the user has ever said to the assistant
  • Are accessible via device file manager and backup systems

Recommended fix

  • Add log rotation (e.g., delete files older than 7 days)
  • Consider disabling logging entirely in release builds
  • Or make it opt-in via a settings toggle

Files

  • lib/services/inference_logger.dart (lines 53-75)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions