Skip to content

feat: port 5 vulnerability detection heuristics from am-i.exposed#19

Open
satsfy wants to merge 3 commits intostealth-bitcoin:mainfrom
satsfy:add-am-i-exposed-vulns
Open

feat: port 5 vulnerability detection heuristics from am-i.exposed#19
satsfy wants to merge 3 commits intostealth-bitcoin:mainfrom
satsfy:add-am-i-exposed-vulns

Conversation

@satsfy
Copy link
Copy Markdown
Collaborator

@satsfy satsfy commented Mar 26, 2026

Depends on #16 (it will be in draft mode until its merged)

Ports 5 privacy heuristics inspired by am-i-exposed.

New privacy heuristics in this PR:

  • Dust attack — detects wallets receiving dust intended to poison future spends or reveal ownership
  • Peel chain — detects repeated spend patterns where value is peeled off across a chain of transactions
  • Deterministic links — detects transaction structures that create strong, guessable links between inputs and outputs
  • Unnecessary input — detects transactions that include more inputs than needed, increasing linkability
  • Toxic change — detects change outputs that are especially privacy-damaging to spend later

Reviewer Notes

Run integration tests with cargo test.

@satsfy satsfy changed the title feat: port 5 vulnerability detection heurustics from am-i.exposed feat: port 5 vulnerability detection heuristics from am-i.exposed Mar 26, 2026
@satsfy satsfy force-pushed the add-am-i-exposed-vulns branch from 68987d2 to 8b3d50c Compare April 6, 2026 00:30
@satsfy satsfy marked this pull request as ready for review April 6, 2026 00:31
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.

1 participant