feat(abuse): fingerprint personal values typed in shell history #32

Open
thelion wants to merge 0 commits from thelion/fingerprint-history-tokens into main AGit
Owner

One person running several shells can change emails, IPs, keys and proxy
configs, but tends to type the same things everywhere: their own
server's IP, a personal domain, an email, a bot or API token. The
fingerprint scan now reads each home's bash/zsh/fish (and python/mysql)
history and reports those values as history_token fingerprints. Like
proxy secrets, they are salted and hashed, and Detail only says what
kind of value it is.

Noise is filtered out first: private/CGNAT addresses, the host's own
networks, our hosts, public resolvers, well-known domains (code hosts,
registries, big services, common Reality cover sites, our own), names
containing the account's own username, pure-hex checksums, paths, and
TLDs that double as field names (so "{{.HostConfig.RestartPolicy.Name}}"
isn't a domain). On the live host's 29 shells this finds no shared
values, as expected.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

One person running several shells can change emails, IPs, keys and proxy configs, but tends to type the same things everywhere: their own server's IP, a personal domain, an email, a bot or API token. The fingerprint scan now reads each home's bash/zsh/fish (and python/mysql) history and reports those values as history_token fingerprints. Like proxy secrets, they are salted and hashed, and Detail only says what kind of value it is. Noise is filtered out first: private/CGNAT addresses, the host's own networks, our hosts, public resolvers, well-known domains (code hosts, registries, big services, common Reality cover sites, our own), names containing the account's own username, pure-hex checksums, paths, and TLDs that double as field names (so "{{.HostConfig.RestartPolicy.Name}}" isn't a domain). On the live host's 29 shells this finds no shared values, as expected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(abuse): fingerprint personal values typed in shell history
Some checks failed
CI / test (pull_request) Successful in 5m6s
CI / release (push) Successful in 2m30s
CI / release (pull_request) Failing after 0s
CI / test (push) Successful in 4m53s
f6c69f29fd
One person running several shells can change emails, IPs, keys and proxy
configs, but tends to type the same things everywhere: their own
server's IP, a personal domain, an email, a bot or API token. The
fingerprint scan now reads each home's bash/zsh/fish (and python/mysql)
history and reports those values as history_token fingerprints. Like
proxy secrets, they are salted and hashed, and Detail only says what
kind of value it is.

Noise is filtered out first: private/CGNAT addresses, the host's own
networks, our hosts, public resolvers, well-known domains (code hosts,
registries, big services, common Reality cover sites, our own), names
containing the account's own username, pure-hex checksums, paths, and
TLDs that double as field names (so "{{.HostConfig.RestartPolicy.Name}}"
isn't a domain). On the live host's 29 shells this finds no shared
values, as expected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Some checks failed
CI / test (pull_request) Successful in 5m6s
CI / release (push) Successful in 2m30s
CI / release (pull_request) Failing after 0s
CI / test (push) Successful in 4m53s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/32/head:thelion/fingerprint-history-tokens
git switch thelion/fingerprint-history-tokens

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff thelion/fingerprint-history-tokens
git switch thelion/fingerprint-history-tokens
git rebase main
git switch main
git merge --ff-only thelion/fingerprint-history-tokens
git switch thelion/fingerprint-history-tokens
git rebase main
git switch main
git merge --no-ff thelion/fingerprint-history-tokens
git switch main
git merge --squash thelion/fingerprint-history-tokens
git switch main
git merge --ff-only thelion/fingerprint-history-tokens
git switch main
git merge thelion/fingerprint-history-tokens
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ircforever/shells-config!32
No description provided.