Show HN: Aileaks – scan repos for leaked LLM reasoning-trace secrets A new open-source tool, aileaks, scans repositories, log directories, and CI artifacts for LLM provider reasoning-trace blocks—opaque payloads from Anthropic, OpenAI, and Google that can be decoded to reveal plaintext, including PII and live credentials. The detector, released on GitHub by sarthakuwar, flags blocks matching known shapes (e.g., redacted_thinking.data, reasoning.encrypted_content, thoughtSignature) and integrates into CI pipelines with exit code 1 on findings, complementing secret scanners like gitleaks and trufflehog. Scans a repo, log directory, or CI artifact for LLM provider reasoning-trace blocks — the opaque, ciphertext-looking payloads that Anthropic, OpenAI, and Google return alongside model responses redacted thinking.data , reasoning.encrypted content , thoughtSignature . Teams routinely log these in full for debugging and reproducibility because they look like harmless noise. They aren't: recent research https://arxiv.org/abs/2608.09867 showed these blocks can be decoded back to plaintext, and a scrape of public logs recovered hundreds of PII artifacts and live credentials hiding inside them. aileaks doesn't perform that decode. It's a detector : it flags any block matching a known provider trace-block shape so you can treat it like a secret — strip it from logs, redact it in CI output, keep it out of public repos — before you find out the hard way. npx aileaks scan . Or install as a dev dependency: npm install --save-dev aileaks npx aileaks scan . aileaks scan path defaults to the current directory --format