The AI checking my security tool retired. I rented it a GPU.
What were you building, and why? git-veil: an open-source Rust tool for encrypting deployment secrets so they can live safely in your Git repository, versioned right alongside the code they configure. It uses age-comp
What were you building, and why?
git-veil: an open-source Rust tool for encrypting deployment secrets so they can live safely in your Git repository, versioned right alongside the code they configure.
It uses age-compatible encryption, per-machine keys, and a signed keyring with possession-proof trust ceremonies, so joining a new machine or a build server is a deliberate, auditable event. Plaintext stays on your laptop and your servers. Git hosting, CI logs, and everyone's screen shares only ever see ciphertext.
I built my own take on git-secret because secrets tooling is where "good enough" quietly becomes a breach post-mortem.
What did you expect to happen?
Write careful Rust, write thorough tests, ship it.
I had not pencilled in "learn formal proofs and discover fresh reasons to be suspicious of my own software".
The moment you realized something was off
Deciding "trust me, it's secure" wasn't good enough, I worked through the trust and keyring logic in Lean 4, a proof assistant that checks each claim mechanically.
It helped uncover minor but real issues my test suite had missed. Finding bugs is a peculiar success condition, but for a secrets tool I will take that progress over someone else "enjoying" the discovery later!
Everything you tried (including what didn't work)
I brought Kimi K3, Claude Opus, and ChatGPT Sol into the adventure, with Mistral's Leanstral as the specialist proof assistant.
Then, mid-project, Leanstral's hosted endpoint was listed as retired. My proof assistant's assistant had retired under me.
But Mistral had released the weights openly. With an MCP setup I downloaded the model to a rented Runpod GPU, and Leanstral proposed a small proof about the security model, which Lean checked.
AI suggests. The proof checker checks. A division of labour I can get behind.
The bill for the GPU session: $0.65. My retired AI came back for a short consultancy and charged less than a coffee.
Who did you ask for help?
Mathlib, the Lean 4 community, the age/rage docs, and the open model running locally via MCP, no API keys required. I read all the posts from the community and chose to sponsor the inventor of "age", we stand on the shoulders of giants!
Where things stand now
git-veil is public, documented at prompt-cult.github.io/git-veil and the final issues are getting fixed to ship this week!
Anything else you want our guests to weigh in on?
Should formally checking security tooling become as routine as writing tests? And what else are we all assuming costs a fortune that actually costs sixty-five cents?
codenewbiestory
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.