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
[BUG]: Windows PII regex misses usernames that start with "s" #87
The macOS rule above it is double-quoted and uses [^\s] (not whitespace). This Windows rule is single-quoted, so YAML keeps \\s as backslash + s. The compiled class is "not backslash and not the letter s", not "not whitespace".
After C:\Users\, the next character has to be something other than \ and other than s. alice and bob match. steve, sam, and session do not match at all.
Expected:C:\Users\steve\Documents\notes.txt is reported as a personal Windows path, same as C:\Users\alice\....
Actual:pii-scan reports the alice path and silently accepts the steve path.
Reproduction steps
tmp=$(mktemp -d)
mkdir -p "$tmp/pii"
cat >"$tmp/pii/SKILL.md"<<'EOF'---name: piidescription: Windows username starting with s vs a.---See C:\Users\steve\Documents\notes.txtAlice: C:\Users\alice\Documents\notes.txtEOF
skillevaluator pii-scan "$tmp/pii" -r cli
Observed findings:
Personal Windows user path: C:\Users\alice on the Alice line
Activity
fix: flag Windows PII usernames that start with s (#95)