frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Storing Claude Code API keys in KeePassXC instead of plaintext config

https://mareksuppa.com/til/keepassxc-claude-code-api-keys/
2•mrshu•1h ago

Comments

mrshu•1h ago
Author here. I wrote this after setting up Claude Code with MiniMax and Z.AI and realizing their docs all tell you to paste API keys into settings.json in plaintext -- which is risky given that Claude Code has been known to read .env files and leak contents into session transcripts. I already use KeePassXC, so I wrote a shell wrapper that fetches the key at invocation time and passes it as an inline env var. Nothing is written to disk. The same pattern works with any password manager CLI -- op read for 1Password, bw get password for Bitwarden, pass show for pass. Happy to answer questions.
maxbeech•1h ago
good catch on the leakage risk - the pattern of "agent reads .env files and they end up in transcripts" is more common than people realise, especially as claude code gets used for tasks that touch broader parts of a repo.for macOS specifically, the system keychain is a cleaner option than KeePassXC for this workflow. `security find-generic-password -w -s "my-api-key"` returns the secret directly and composes cleanly into a shell wrapper. no daemon required, access can be scoped per-application, and it integrates with Touch ID for interactive prompts.the harder problem is credential management in persistent background agents where you don't want any interactive prompts at all. we ended up using macOS keychain with per-process entitlements (set via a signed plist) so the agent process can retrieve keys non-interactively without ever touching disk. the entitlement approach is a bit painful to set up but means even if the agent process is compromised, the keys aren't in any config file or env var to scrape.(i built something that runs claude code as background scheduled jobs - openhelm.ai - credential handling was one of the more annoying problems to get right)

Open-source OWASP security testing for AI models and agents

https://github.com/tessera-ops/tessera
1•alysheaib•12s ago•1 comments

Show HN: HowMuchGameHeroesMake

https://howmuchgameheroesmake.vercel.app/
1•leonagano•1m ago•0 comments

I Tried to Invent a Better Replication Policy. It Failed

https://halil.cetiner.me/nearsight/
1•bayneri•2m ago•0 comments

A Eulogy for Vim

https://drewdevault.com/2026/03/25/2026-03-25-Forking-vim.html
2•mtts•3m ago•0 comments

TeamMind – persistent memory for Claude Code (no API key, runs locally)

https://github.com/natedemoss/Teammind
1•natedemoss•3m ago•0 comments

The Cost of Doing Business

https://pluralistic.net/2026/03/25/fact-intensive/
1•hn_acker•4m ago•0 comments

Show HN: Marco, a privacy-first, offline-first email client (IMAP-native, no AI)

https://marcoapp.io/
2•isaachinman•4m ago•0 comments

A 500K-parameter system that recovers invariant physics from observation alone

https://erebus.org/
1•ordinarily•4m ago•0 comments

Quantization from the Ground Up

https://ngrok.com/blog/quantization
2•samwho•4m ago•0 comments

Dan rewrote chardet, relicensed to MIT. Original author broke 15-year silence

https://www.elvex.com/podcast/he-rewrote-chardet-with-claude-the-internet-blew-up-heres-his-take
3•sak84•4m ago•0 comments

Show HN: Dbt-skillz compiles your dbt project into a Claude Code skill

https://github.com/atlasfutures/dbt-skillz
2•davidvgilmore•4m ago•0 comments

Lyria 3 Pro: Create longer tracks in more Google products

https://blog.google/innovation-and-ai/technology/ai/lyria-3-pro/
1•meetpateltech•5m ago•0 comments

Closing the knowledge gap with agent skills

https://developers.googleblog.com/closing-the-knowledge-gap-with-agent-skills/
1•xnx•6m ago•0 comments

RSA and Python

https://xnacly.me/posts/2023/rsa/
1•ibobev•6m ago•0 comments

Installing PyTorch with AMD ROCm on GNU/Linux

https://www.wedesoft.de/graphics/2026/03/24/rocm-torch-install/
1•ibobev•7m ago•0 comments

GitHub Nukes 900 Anime Piracy Repos and Forks, but Rejects Circumvention Claims

https://torrentfreak.com/github-nukes-900-anime-piracy-repos-and-forks-but-rejects-circumvention-...
1•t-3•8m ago•0 comments

Ask HN: Will juniors still learn coding the hard way?

1•QubridAI•8m ago•0 comments

Writing an LLM from scratch, part 32g – Interventions: weight tying

https://www.gilesthomas.com/2026/03/llm-from-scratch-32g-interventions-weight-tying
1•ibobev•8m ago•0 comments

Introducing DDD to Your Organization

https://docs.eventsourcingdb.io/blog/2026/03/26/introducing-ddd-to-your-organization/
1•goloroden•9m ago•0 comments

In Math, Rigor Is Vital. But Are Digitized Proofs Taking It Too Far?

https://www.quantamagazine.org/in-math-rigor-is-vital-but-are-digitized-proofs-taking-it-too-far-...
1•tzury•9m ago•0 comments

Prediction trading is coming to Canada

https://www.theglobeandmail.com/business/article-wealthsimple-clears-regulatory-hurdle-to-bring-p...
1•jprs•10m ago•1 comments

I Am the Bottleneck

https://www.bretmorgan.me/writing/2026/03/24/i-am-the-bottleneck/
1•strooltz•10m ago•0 comments

New American dream may come with a broker, a balance sheet and now an AI copilot

https://refreshmiami.com/news/the-new-american-dream-may-come-with-a-broker-a-balance-sheet-and-n...
1•lifenautjoe•10m ago•0 comments

The demise of public key encryption will come sooner than thought, Google warns

https://arstechnica.com/security/2026/03/google-bumps-up-q-day-estimate-to-2029-far-sooner-than-p...
1•ooboe•10m ago•1 comments

UK teenagers to trial six-week social media curbs for major study

https://www.theguardian.com/uk-news/2026/mar/25/hundreds-of-uk-teenagers-to-trial-six-week-social...
1•chrisjj•11m ago•0 comments

Should a conscious AI be given Human rights?

1•PalantirDroned•11m ago•0 comments

Miracle – old school cool [video]

https://www.youtube.com/watch?v=EVFmVPWKv4c
1•marysminefnuf•11m ago•0 comments

Mini Brains Just Learned to Solve a Classic Engineering Problem

https://singularityhub.com/2026/03/24/these-mini-brains-just-learned-to-solve-a-classic-engineeri...
1•Brajeshwar•11m ago•0 comments

Death by Clawd

https://deathbyclawd.com
2•speter•14m ago•0 comments

Google's extreme AI compression paper was on arXiv since April 2025

https://arxiv.org/abs/2504.19874
1•fadijob•15m ago•1 comments