Secure pipeline for anonymously publishing leaked information to ethereum blobdata using TAILS OS
Disclaimer
Contains politically sensitive info
Quick note
target audience
ideally someone who can build these tools
if you are a whistleblower / leaker / hacker looking for actionable advice, do not blindly trust the below post. I have not fact-checked everything nor can I guarantee everything below is correct. I am describing a cluster of unsolved problems that currently exists in the space of leaking information
Main
(Collating a bunch of existing knowledge in my head, into one coherent post.)
The existing TAILS OS + Securedrop pipeline assumes the documents are handed over to journalists, and that journalists can be trusted to redact the right information and then publish the raw documents (as opposed to a propaganda piece).
I want to eliminate this trust assumption in journalists. I wish there existed a tool that lets you publish leaked documents yourself, while still retaining the security model of TAILS OS.
Security model of TAILS OS is to ideally protect even goverment whistleblowers leaking classified information. They may be under targeted cyberattack hence minimising untrusted software use is essential. They may be under targeted physical surveillance hence the entire OS is amnesiac and RAM-only. (Data erased from RAM cannot be recovered after some hours, even if liquid nitrogen is used.)
I want documents to be published directly to ethereum blobdata, not to some org's server (be it hosted in the US or eastern europe or wherever) because ethereum blobdata is the most censorship-resistance place on the internet, while also being affordable for daily use.
The tools to anonymously publish leaked documents to blobdata already exist. The main problem is that the software is not mature enough or secure enough that I can confidently guarantee no bugs exist in them.
Existing pipeline
1. File conversion
.TXT and .BMP are probably the safest formats, free of nearly all metadata. You can lower image resolution to remove camera lens scratches.
Many tools exist to strip metadata, and convert file formats from a less safe to a more safe one.
Some of the more advanced tools here, like ffmpeg, have themselves previously had CVEs. Even imagemagick famously got a recent critical CVE, which hacktron used to hack openai.
2. Redaction
I am not aware of any redaction tools explicitly designed with the threat model of nation state actors in mind. (It is possible I haven't done enough research.)
Also, doing redaction correctly can consume a lot of time. It requires a person with attention to detail. Even one mistake can in the worst case get people killed. Whistleblowers may not have this much time or concentrated focus.
Automating the process of redaction would would help a lot. Unfortunately we also don't yet have local AI tools with nation state threat model in mind. The AI required for this is not very advanced, even tesseract OCR plus gpt-oss-120b can meaningfully speed up the process IMO.
The safest way to obtain crypto anonymously is mining Monero. Official GUI client for monero can be installed on TAILS OS. It is not part of the the default software of TAILS OS so it is not guaranteed to be secure, but it is probably still reasonably secure. Monero dev teams do put a lot of effort to defend against nation state actors.
CPU mining will typically earn you in the order of magnitude of ~$0.01/day. This is also a problem, as you may need to mine for multiple days to get non-trivial earning. But this is still acceptable IMO.
Asking whistleblowers / leakers / hackers to purchase an ASIC is not practical as this can leave behind a purchase record, and a suspicious physical item at their place of residence.
Solutions besides mining
2captcha pays you crypto to solve captchas, which can be technically solved on TAILS OS. The rate at they which they pay is terrible so this consumes too much time.
You can purchase crypto via cash or gift card and then mix it, such that the cryptocurrency entering the wallet on TAILS OS is disconnected from the purchase. Monero does mixing on every tx. Ethereum does not natively mix, but you can use Tornado cash. Monero and tornado cash both have decent anonymity sets as long as you wait for a few days before withdrawing, and there is no empirical evidence of successful deanonymisation attacks on either of them (assuming you didn't make some other opsec mistake).
4. Swapping to ethereum anonymously
The ideal solution here would be ETH-XMR atomic swaps, however existing solutions don't have liquidity.
Otherwise you have to use a trusted bridge, which can scam you or leak metadata or similar. If you use it anonymously over TAILS OS, you are unlikely to leak metadata, but you still have to watch out for size of the anonymity set.
1gwei hosts an ETH-XMR trusted bridge aimed at dust amounts. kycnot.me lists more options. (This is not a strong endorsement for any particular trusted bridge, DYOR.)
5. Publishing to ethereum blobdata
Metamask and other wallets do not yet support publishing to ethereum blobdata yet. You can consider writing a script for it, just like I have below, however none of this software is guaranteed to be secure.
Ethereum blobdata does not have good search APIs or standardised metadata formats, which could make it harder for others to find your content even after it is published.
My current guess is that this does not matter as much. (Hence why I deprioritised working on it.) You can just send PGP-encrypted messages to a few journalists (via SecureDrop) and hackers and similar, with a txhash of the blobdata published. Atleast one of them is likely to read the message and verify it is legit. After this, they will repost the content on their social media channels and ensure it gets discovered by the public.
In the long run, it would be good if there exists better tooling here as well, so that any user can directly search ethereum blobdata and not have to rely on these intermediaries.
Subscribe
Enter "Subscribe: " followed by Signal username, email address or whatsapp phone number. You will receive atmost one update per month. View previous updates here.
Alternatively, you can use RSS, or a third-party service like blogtrottr.
Comment
Enter "Comment: " followed by comment. Alternatively, contact me