GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(petname): skeleton look-alike map misses capital I (vs l) and 8 (vs B) — 'PayPaI' and '8ob' pass the anti-spoof guard that refuses 'PayPa1' and 'B0b' · Issue #2069 · developing-today/code

id(petname): skeleton look-alike map misses capital I (vs l) and 8 (vs B) — 'PayPaI' and '8ob' pass the anti-spoof guard that refuses 'PayPa1' and 'B0b' #2069

New issue
Copy link
New issue
Copy link
Closed
#3360
Closed
id(petname): skeleton look-alike map misses capital I (vs l) and 8 (vs B) — 'PayPaI' and '8ob' pass the anti-spoof guard that refuses 'PayPa1' and 'B0b'#2069
#3360
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

id(petname): skeleton look-alike map misses capital I (vs l) and 8 (vs B) — "PayPaI" and "8ob" pass the anti-spoof guard that refuses "PayPa1" and "B0b"

Summary

Petnames::set refuses a petname that is confusable with another contact's
petname or alleged name, comparing skeleton() forms (pkgs/id/src/petname.rs:120
and :128). The skeleton's look-alike table (petname.rs:240-256) maps
0→o, 1→l, |→l, 3→e, 5→s, $→s, @→a, plus rn→m and vv→w — but
two classic look-alikes are missing:

  • Capital I for l. fold() lowercases first, so I becomes i,
    not l. In most sans-serif UI fonts I, l, and 1 are near-identical,
    yet only two of the three are mapped.
  • 8 for B. The digit look-alikes 0, 1, 3, 5 are all mapped;
    8 is not.

Evidence (verified this run, main 0fda29d1)

Verbatim-copy probe of fold/skeleton (petname.rs:233-256), compiled and
run on the laptop in ~/git/fleet/probe-2026-10-28-laneA-skeleton/:

skeleton("PayPa1")="paypal"  skeleton("PayPal")="paypal"  equal=true   (refused today)
skeleton("PayPaI")="paypai"  skeleton("PayPal")="paypal"  equal=false  (accepted today)
skeleton("AIice") ="aiice"   skeleton("Alice") ="alice"   equal=false  (accepted today)
skeleton("8ob")   ="8ob"     skeleton("Bob")   ="bob"     equal=false  (accepted today)
skeleton("B0b")   ="bob"     skeleton("Bob")   ="bob"     equal=true   (refused today)
controls: "M0m"/"Mom", "vvill"/"will", "Rnoon"/"moon" all equal, as designed

set(other, "PayPa1") vs alleged "PayPal": refused_by_guard=true
set(other, "PayPaI") vs alleged "PayPal": refused_by_guard=false
set(other, "8ob")    vs alleged "Bob":    refused_by_guard=false

So an owner can be talked into (or a crafted flow can set) a petname for one
contact that reads as another contact's name — exactly the spoof the module
exists to prevent ("Account names are alleged, so the store refuses a petname
that could be taken for someone else's name", petname.rs:1-6).

Display does not rescue it: labels() (petname.rs:311-321) only adds a
disambiguating fingerprint when two petnames collide after fold(), not
after skeleton() — "PayPal" and "PayPaI" petnames on two contacts would
both render bare, with no fingerprint.

Distinct from #1674 (format characters / Cf bypassing the same guards): this
is plain ASCII, no invisible characters involved.

Why it matters

The petname store is a trust surface: its one job is that a name the owner
sees cannot be mistaken for a different contact. An incomplete look-alike
table that maps 1 and | to l but not I leaves the most common
font-level l spoof open, and petnames are shown in contact lists where
the wrong identity can steer messages/payments to the wrong account key.

Acceptance criteria

  • skeleton("PayPaI") == skeleton("PayPal") and
    skeleton("AIice") == skeleton("Alice"): capital I maps to the
    same class as l/1/|.
  • skeleton("8ob") == skeleton("Bob"): 8 maps to the b class (or
    triage pins, with a test, why 8 is deliberately excluded while
    0/1/3/5 are included).
  • Petnames::set refuses "PayPaI" against an alleged/petname "PayPal"
    and "8ob" against "Bob", with regression tests beside
    a_confusable_name_is_refused in petname.rs.
  • Existing skeleton tests still pass (PayPa1, Rnoon/moon,
    Carol ≠ Bob) and no legitimate distinct name in the current test
    corpus becomes refused.
  • Consider (or explicitly defer with a note) whether labels() should
    fingerprint on skeleton collisions as well as fold collisions.

🤖 Filed by new-issue-creator-code-a (Lane A), 2026-10-28 run.

Activity

Next
  1. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-988

  2. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/xsTrivial: expected under 30 minutes of work
    on Oct 29, 2026
  3. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator-code-a (Lane A creator job)
    • Session / ID: new-issue-creator-code-a, 2026-10-28 20:05 CDT run
    • Found via: filed this run
    • Task: Filed this issue — petname skeleton look-alike map misses capital I (vs l) and 8 (vs B); verified by a verbatim-copy probe of fold/skeleton on the laptop against main 0fda29d.
    • Expectation: effort/xs triage — pin the mapping additions (I→l class, 8→b class), then a small fix with regression tests; consider the labels() skeleton-collision fingerprint question.
    • Links: probe ~/git/fleet/probe-2026-10-28-laneA-skeleton/ (laptop); queue packet enqueued to repo-health-code-pilot this run.
  4. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 1, 2026
  6. 10 remaining items

  7. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane D shift
    • Session / ID: queue task 5073
    • Found via: queue claim
    • Task: PR 3360 opened: skeleton() gains the i→l class (capital I via fold) and 8→b; labels() collision key is now skeleton(); 4 new regression tests (head c0a309b). Parked 20 min awaiting CI and Codex review. (Note: the gh pr create output initially displayed a wrong PR number; the verified PR for this branch is 3360.)
    • Expectation: resume — CI green + Codex findings dispositioned → merge PR 3360 → close id(petname): skeleton look-alike map misses capital I (vs l) and 8 (vs B) — 'PayPaI' and '8ob' pass the anti-spoof guard that refuses 'PayPa1' and 'B0b' #2069 → complete task fixed_merged
    • Links: PR fix(id): petname skeleton — capital-I class and 8->b, labels() skeleton collisions (#2069) #3360 · branch queue/5073-2069-petname-skeleton · worktree ~/git/fleet/5073 (laptop)
  8. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane D shift
    • Session / ID: queue task 5073
    • Found via: queue claim
    • Task: PR 3360 opened: skeleton() gains the i→l class (capital I via fold) and 8→b; labels() collision key is now skeleton(); 4 new regression tests (head c0a309b). Parked 20 min awaiting CI and Codex review. (Note: the gh pr create output initially displayed a wrong PR number; the verified PR for this branch is 3360.)
    • Expectation: resume — CI green + Codex findings dispositioned → merge PR 3360 → close id(petname): skeleton look-alike map misses capital I (vs l) and 8 (vs B) — 'PayPaI' and '8ob' pass the anti-spoof guard that refuses 'PayPa1' and 'B0b' #2069 → complete task fixed_merged
    • Links: PR fix(id): petname skeleton — capital-I class and 8->b, labels() skeleton collisions (#2069) #3360 · branch queue/5073-2069-petname-skeleton · worktree ~/git/fleet/5073 (laptop)
  9. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/queuedHas a queued queue task
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 1, 2026
  10. dezren39
    added 2 commits that reference this issue on Nov 1, 2026

    test(id): prefix new petname tests with test_ per pkgs/id AGENTS.md n…

    d04b8f7

    Merge pull request #3360 from developing-today/queue/5073-2069-petnam…

    139f491
  11. dezren39
    closed this as completedin #3360on Nov 1, 2026
  12. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — fixed and merged

    • Agent: repo-worker-code (lane D)
    • Session / ID: queue task 5073
    • Result: PR fix(id): petname skeleton — capital-I class and 8->b, labels() skeleton collisions (#2069) #3360 merged (merge commit 139f491); this issue auto-closed via the PR's Fixes line.
    • Codex gate: the one P1 finding on head c0a309b (new tests missing the test_ prefix required by pkgs/id/AGENTS.md) was fixed in d04b8f7 (4 name-only renames), replied on the thread, thread resolved; Codex re-review of d04b8f7 came back clean (no findings).
    • Tests: implementation tests are in the PR (4 new petname regression tests); a laptop re-run of cargo test --lib petname this shift was blocked by a laptop infra failure — /home at 100% (5.6M free, os error 28) — not by any test failure. Repo CI runs on main per fleet policy.
  13. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.