frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: LogShield – Deterministic CLI tool to sanitize secrets from logs

https://www.logshield.dev/
2•quietbyte•2h ago
Hi HN,

I built LogShield as an experiment in deterministic log sanitization. I wanted to see whether a purely rule-based approach could reliably remove secrets from logs without breaking structure or causing false positives.

LogShield is a small open-source CLI designed to work as a drop-in filter in pipelines:

- Reads from stdin, writes sanitized logs to stdout

- Explicit, inspectable rules (no probabilistic or ML-based masking)

- Same input → same output, every time

- Focused on avoiding false positives that break debugging

Typical use cases I had in mind:

- Sharing logs in issues, Slack, or support tickets

- CI/CD pipelines before uploading artifacts

- Log shipping to third-party services

Example:

cat app.log | logshield scan --strict > safe.log

The rule set is intentionally conservative and fully inspectable. I’m especially interested in feedback on:

Rule coverage vs. false-positive risk

Edge cases where this approach would fail or be unsafe

Situations where you would not trust a tool like this in your workflow

Repo: https://github.com/afria85/LogShield

Thanks for taking a look.

Stately home's £25M restoration derailed by Alberto the albino badger

https://www.thetimes.com/uk/environment/article/parnham-house-albino-badger-wsd72xhmg
1•petethomas•31s ago•0 comments

Why do indie developers always find it so hard to promote their products?

https://amplift.ai/
1•icetearun•1m ago•1 comments

PFAS-contaminated drinking water harms infants

https://www.pnas.org/doi/abs/10.1073/pnas.2509801122
1•methyl•2m ago•0 comments

Top Portuguese fusion physicist shot dead at home in Boston

https://www.portugalresident.com/top-portuguese-fusion-physicist-shot-dead-at-home-in-boston/
1•saubeidl•3m ago•0 comments

The Kremlin's brazen tactics: Russia's shadow fleet is doubling as a spy asset

https://www.cnn.com/2025/12/18/europe/russia-oil-tankers-spying-europe-intelligence-sources-intl-...
2•breve•7m ago•0 comments

Show HN: Helix – AI-powered API mocking with strict schema enforcement

https://github.com/ashfromsky/helix
3•ashfromsky•7m ago•0 comments

The Four Layers of AI-First Transformation

https://www.appunite.com/blog/four-layers-of-ai-first-transformation
1•Przemo_Appunite•16m ago•0 comments

Never Miss a Game Launch

https://www.notifygamer.com/
1•hhdyhaha•17m ago•0 comments

Agnosticism About Artificial Consciousness

https://arxiv.org/abs/2412.13145
1•belter•20m ago•0 comments

Chinese Name Generato

https://chinesenamehub.com/
1•zidana•21m ago•1 comments

A Reddit Post Led to a Breakthrough in the Brown Shooting Investigation

https://www.nytimes.com/2025/12/19/us/brown-mit-shooting-investigation-reddit.html
2•JumpCrisscross•22m ago•0 comments

Gemini 3 Flash now Built-in to AlloyDB

https://medium.com/google-cloud/authors-darshana-sivakumar-pushkar-khadilkar-1a53380fd1bb
2•mariuz•28m ago•0 comments

Show HN: QuantumVICK – 106-agent AI swarm for VSCode (free trial)

https://quantumvick.com
1•epochcore•33m ago•0 comments

Show HN: AI Vocabulary Quiz Maker

https://minform.io/tools/vocabulary-quiz-maker
1•eashish93•34m ago•0 comments

ChatGPT Apps

https://techcrunch.com/2025/12/18/chatgpt-launches-an-app-store-lets-developers-know-its-open-for...
1•grandimam•36m ago•0 comments

The Year in Computer Science – 2025 in review

https://www.quantamagazine.org/the-year-in-computer-science-20251216/
2•vismit2000•37m ago•0 comments

Trump suspends US green card lottery in wake of Brown and MIT shootings

https://www.theguardian.com/us-news/2025/dec/19/trump-suspends-us-green-card-lottery-dv1-visa-pro...
7•Bootvis•37m ago•0 comments

I wanted SSH access to my server from my iPhone, so I built this

https://rootedssh.com/
1•Sayuj01•38m ago•0 comments

The Year in Mathematics – 2025 in review

https://www.quantamagazine.org/the-year-in-mathematics-20251218/
1•vismit2000•38m ago•0 comments

South Korea to mandate facial recognition for opening new mobile numbers

https://english.kyodonews.net/articles/-/67151
3•anigbrowl•38m ago•0 comments

The Biggest Breakthroughs in Mathematics: 2025 [video]

https://www.youtube.com/watch?v=hRpcWpAeWng
1•vismit2000•38m ago•0 comments

Scoop: TikTok signs deal for U.S. unit after yearslong saga

https://www.axios.com/2025/12/18/tiktok-sale
1•_____k•39m ago•1 comments

Predictions for 2026

https://www.platformer.news/2026-tech-predictions-ai-bubble-openai-meta-google/
2•xngbuilds•40m ago•0 comments

The Year in Physics

https://www.quantamagazine.org/the-year-in-physics-20251217/
1•pykello•40m ago•0 comments

AI for Website Design

https://boltai.dev/
1•atulseth22•53m ago•0 comments

Apple is forcing iPhones to update to iOS 26 to patch security holes

https://sixcolors.com/post/2025/12/apple-is-forcing-iphones-to-update-to-ios-26-to-patch-security...
9•gloxkiqcza•54m ago•0 comments

Claude Code Session Viewer

https://github.com/d-kimuson/claude-code-viewer
1•RebootStr•54m ago•0 comments

Have you ever been accepted after being rejected at first?

https://www.quora.com/Has-anyone-rejected-you-then-accepted-you
1•marysminefnuf•54m ago•1 comments

Show HN: Advent of Refactoring"

https://www.youtube.com/playlist?list=PLXkLI8HXcMo2r9Q5t27aIh-S4guP_I7z1
1•deckiedan•55m ago•0 comments

33 Thomas Street

https://en.wikipedia.org/wiki/33_Thomas_Street
3•petethomas•1h ago•0 comments