You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PII email scan flags RFC 2606 placeholder domains such as example.invalid and example.net #244
validate_pii_only flags synthetic email addresses on reserved placeholder domains as HIGH non-placeholder email addresses. The existing pattern recognizes some example domains but misses .invalid and example.net.
Reproduction
Reproduced against c9d170e77bdef0b32a4811fb9b14484578559b2e (reports version 0.6.0), Python 3.12.14, Windows. Also checked against main d9fa4b4041b31f417f02ed145999ecf1f0c11fcd.
Actual: an emails finding for [email protected]. Replacing the domain with example.net also produces a finding.
Expected: addresses on reserved documentation/testing domains should not be classified as personal email data merely because the fixture contains an address-shaped string.
Reference: RFC 2606 reserves .test, .example, .invalid, .localhost, and example.com/net/org.
Verification criteria
Exercise the public validate_pii_only behavior on reserved domains, subdomains, mixed case and trailing dots.
Preserve detection of ordinary non-placeholder addresses, including another address on the same line as a fixture address.
Use behavioral tests instead of asserting the exact spelling/structure of the configured regex.
This report contains only synthetic placeholder false-positive examples. No private skill corpus, patch, authentication material or internal scan report is attached.
Activity