About
## The problem it solves
nostr and bitcoin both keep everything public and forever, and almost nobody has actually looked at what their own npub gives away
paste an npub into dossier and it pulls everything a random stranger can get, straight from your browser: public relays, the lightning address in your profile, and the chain through mempool.space. then it writes the file a surveillance analyst would build out of that and grades how exposed you are from A to F
#### whats in the file
- where you probably live and when you sleep. it fits a normal human day to thousands of created_at timestamps, and nostr timestamps are exact to the second and dont expire
- who you DM, how often, at what hour and since when. nip-04 encrypts the text but sender, recipient and time are plaintext. it also shows which relays hand that out to anyone and which ones make you AUTH first
- your money trail. every zap receipt names payer, payee, amount and time. dossier resolves your lightning address like a wallet would, recovers the node that signs your invoices from the bolt11 signature, looks that node up (alias, location, isp), decodes the route hint channel ids and checks the chain for a real funding tx. old zap receipts leak custody history too, jacks receipts point at alby, wallet of satoshi and zaphq nodes
- a link chart of your inner circle, meaning people who show up in your DMs and also in your zaps or replies
- GPS in photos you posted. blossom hosts address files by sha256 so they cant strip exif after upload even if they wanted to
- relays still serving stuff you deleted. on fiatjafs file 9 relays still had deleted events, and every one of them was also holding his deletion request
#### then it helps you fix it
fixes get signed by your nip-07 extension (alby, nos2x, keys.band), the page never sees your key
- nip-09 deletion requests for all your old kind-4 DMs
- publish a nip-17 dm inbox (kind 10050) so people stop sending you nip-04
- delete notes that leak location, addresses or phone numbers
- scrub profile fields
- rebroadcast your existing signed deletions to the relays that ignored them, no signature needed for that one
theres no backend. its a static site with a strict CSP and self hosted fonts, no analytics. every source is configurable so you can point it at your own relay and your umbrel mempool, or just open it in tor browser
it works on any npub the way a block explorer works on any address, so everyone else in someones file (dm partners, zappers, people they paid) shows up as Contact 01, Contact 02 etc. real names only show if you prove with nip-07 that youre the subject
live: https://satanrayshe.github.io/dossier/
code: https://github.com/satanrayshe/dossier
## Challenges we ran into
- light-bolt11-decoder doesnt give you the payee pubkey, and the payee is the whole point because its the same on every invoice a node signs. so i wrote my own bolt11 decoder that recovers the key from the signature. gotcha: noble-curves v2 wants the recovery byte in front of r and s, bolt11 puts it at the end. its tested against the first test vector in the bolt11 spec now - first version opened a fresh websocket per query and nos.lol and damus started failing connections on me, looked like rate limiting. rewrote the relay client to keep one socket per relay and run all the subscriptions over it. i still query every relay separately on purpose because half the findings depend on which relay returned what - damus, nostr.wine and relay.nostr.net answer dm queries with CLOSED auth-required. thats the good outcome, so instead of logging it as an error it shows up as a finding in your favour - the email detector flagged cody@jumble.social and verbiricha@habla.news on fiatjafs file. on nostr user@domain is almost always a nip-05 handle or a lightning address, not a mailbox. now it only counts mail provider domains or text that literally says email/contact, and theres a test so it doesnt come back - timezone stuff. gift wraps randomize created_at so they get thrown out before the fit. also the region lookup told me fiatjaf lives in south georgia (an island with basically no people and a lot of penguins) because the fit landed on -2h. now it shows a ±1h range and the regions around it - route hints. primals invoice had a short channel id at block 0, which means scid alias, good for jack. for real ones it goes block height > block hash > txid at that index > check the output is p2wsh or p2tr before calling it a funding tx - relay.nostr.band timed out on every test. i tried ~34 relays for reachability and dm leaking and built the default list from the ones that actually answer - the hard call was ethics. this works on anyone, so every third party gets pseudonymized unless the viewer proves theyre the subject through nip-07
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.












