Skip to content

privacy: mask phone numbers by default and add --reveal override#7

Open
vincentayorinde wants to merge 1 commit intokinghacker0:mainfrom
vincentayorinde:privacy/mask-phone-output
Open

privacy: mask phone numbers by default and add --reveal override#7
vincentayorinde wants to merge 1 commit intokinghacker0:mainfrom
vincentayorinde:privacy/mask-phone-output

Conversation

@vincentayorinde
Copy link
Copy Markdown

@vincentayorinde vincentayorinde commented Mar 12, 2026

Fixes #6

Summary

This change masks phone numbers by default in terminal output and saved filenames, and adds a --reveal flag for cases where an authorized investigator explicitly needs the full value.

Why

The tool currently exposes full phone numbers in terminal output and local image filenames. That increases the chance of leaking personal data through screenshots, shell history, or shared files.

What changed

  • masks phone numbers in user-facing output by default
  • masks phone numbers in saved image filenames by default
  • adds a --reveal flag to show the full phone number only when explicitly requested
  • keeps the core lookup flow unchanged

Scope

  • no new dependencies
  • no API changes
  • no new OSINT capability
  • minimal change centered on safer defaults

Behavior

  • default: masked number in output and filenames
  • with --reveal: full number in output and filenames

Testing

  • ran the script normally and confirmed phone numbers are masked in terminal output
  • confirmed saved filenames use the masked number by default
  • ran the script with --reveal and confirmed full numbers appear in output and filenames
  • confirmed lookup behavior is otherwise unchanged

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mask phone numbers in output and saved filenames by default

1 participant