frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Open source in-browser log sanitizer, feedback required

2•andriimb•2h ago
Just released a framework-agnostic log sanitizer working in browsers and Node.js. It's designed to sanitize log files before they are sent to third-party platforms for processing, analysis, or troubleshooting. Use Case? thing HuggingFace breach, would you feed any AI your usernames, passwords, PII, configs etc?

The sanitizer redacts secrets, identifiers, and PII and replaces each value with a stable HMAC token to reduce the risk of accidentally exposing sensitive or confidential information contained in logs.

This library is already integrated into LogTotal and runs directly in the browser, allowing logs to be sanitized locally before they leave the user's environment.

If you require a fully controlled and isolated data sanitization environment, you can deploy and run this library within your own infrastructure. The sanitizer can also be installed and used in air-gapped environments, ensuring that sensitive log data remains within an environment you fully control.

The library has no runtime dependencies. The same compiled rules run in a browser tab and in a Node.js CLI. Complete instructions how to install it are on git.

Tokens are HMAC-SHA-256 of ruleId || 0x00 || original, truncated to 16 hex chars. Same key + same value + same rule ⇒ same token. A different key produces different tokens. Generated keys use encoding hex; pasted keys default to utf8.

How do we know what to sanitise? This is based on SOC Prime dataset of over 1 million detection rules.

Does it solve log sanitation 100%? No, there are edge cases, and hence I ask for your feedback here.

Tool is open source under Apache 2.0. and will remain so.

I've spent over 20 years dealing with SIEM, log management, data lakes and now data pipelines and was amazed there is no such tool out there. So we made one and would appreciate any feedback!

This is a first step towards a larger community free service, logtotal.

open source in-browser log sanitizer, feedback required

https://github.com/socprime/logtotal-sanitizer

Comments

ET292768•2h ago
When will it be possible to test Logtotal?
andriimb•2h ago
first phase, sanitizer is already on GitHub, and will be rolled to the website tomorrow. Rollout will have a few phases, and once it is live there are no conditions to test, just visit the website and try it out. there's also a sample log file preloaded to see how engine works.

XCancel and Nitter are receiving C&D letters from XCorp

13•mobilio•1h ago•2 comments

Open source in-browser log sanitizer, feedback required

2•andriimb•2h ago•2 comments

Ask HN: Is what Open Commonplace legal?

2•VishnuShayeq01•2h ago•0 comments

Ask HN: What are you using to access x.com at the moment?

2•throwaw12•3h ago•3 comments

Looking for people to follow designing systems to ship code with AI agents

4•mutahn•4h ago•0 comments

Ask HN: Opus 5 is unusable for writing, even internal use. Alternatives/fix?

2•m3h•1h ago•0 comments

Ask HN: Why are Claude models so verbose?

2•JacobWolf•5h ago•6 comments

Ask HN: Good large format (>20 inches) touchscreen E-Paper display options?

28•foota•1d ago•8 comments

Ask HN: Those making $500/month on side projects in 2026 – Show and tell

71•kaladan•2d ago•86 comments

Anyone in Legal Tech Here?

4•bgajjela•14h ago•1 comments

Ask HN: What Did Anthropic Bill Me For?

4•OhMeadhbh•20h ago•3 comments

Ask HN: Android OS with Linux level customisation

3•KinetiNode•16h ago•8 comments

Is AI slowing you down?

16•charbz•16h ago•9 comments

Ask HN: What business would you build if you couldn't use the internet?

5•spking•16h ago•8 comments

I'm a CTO. We took PE money 6 months ago. AMA

8•scottndecker•20h ago•12 comments

How I Read Books

12•nomilk•1d ago•14 comments

Talk Like Claude Day

20•KenPainter•2d ago•6 comments

A technology that counts reps and scores muscle failure from the Apple Watch

3•baraa_bilal•1d ago•1 comments

Ask HN: What AI companies provide human support?

3•kbrannigan•1d ago•2 comments

Tell HN: HN Algolia Search not showing new results from the past 24 hours

4•infinitifall•1d ago•1 comments

I write my own Markdown

2•KenPainter•1d ago•3 comments

Do teams still use scrum and sprints?

6•peter_retief•1d ago•12 comments

Ask HN: Should GitHub downtimes impact considering Golang for a new project?

2•gchamonlive•20h ago•2 comments

Ask HN: Trust Between Agent's Companies

2•mathieu_aithos•1d ago•0 comments

Ask HN: Is there any way to use workflow to control Harness?

2•juntz•1d ago•6 comments

Ask HN: Why is my innovative IDEA is always behind the others?

3•juntz•1d ago•6 comments

You've reached the end!