frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Kekkai – a simple, fast file integrity monitoring tool in Go

https://github.com/catatsuy/kekkai
21•catatsuy•1h ago
I built a tool called *Kekkai* for file integrity monitoring in production environments. It records file hashes during deployment and later verifies them to detect unauthorized modifications (e.g. from OS command injection or tampering).

Why it matters:

* Many web apps (PHP, Ruby, Python, etc.) on AWS EC2 need a lightweight way to confirm their code hasn’t been changed. * Traditional approaches that rely on metadata often create false positives. * Kekkai checks only file content, so it reliably detects real changes. * I’ve deployed it to an EC2 PHP application in production, and it’s working smoothly so far.

Key points:

* *Content-only hashing* (ignores timestamps/metadata) * *Symlink protection* (detects swaps/changes) * *Secure S3 storage* (deploy servers write-only, app servers read-only) * *Single Go binary* with minimal dependencies

Would love feedback from others running apps on EC2 or managing file integrity in production.

Comments

teraflop•42m ago
I don't really understand the use case for this. Despite all the details in the README, there are only a couple sentences devoted to describing what it's actually for, and they don't make much sense to me.

You're assuming that an attacker already has access to your system, and you want to detect any changes they make to certain files.

If you are dealing with a relatively unsophisticated attacker, surely it would be easier to just mount the data that shouldn't be changed on a read-only filesystem, or set the immutable bit?

And if the attacker is sophisticated, surely they could just disable the verifier? Or replace it with a no-op that doesn't actually check hashes?

> Many web apps (PHP, Ruby, Python, etc.) on AWS EC2 need a lightweight way to confirm their code hasn’t been changed.

I don't think this is true, any more than the square-root function needs a way to confirm that its argument hasn't been tampered with. You're solving the problem in the wrong place. It seems like security theater.

abhas9•18m ago
You're right that FIM assumes the possibility of compromise, but that's exactly the point - it's a detection control, not a prevention control. Prevention (read-only mounts, immutable bits, restrictive permissions, etc.) is necessary but not sufficient. In practice, attackers often find ways around those measures - for example, through misconfigured deployments, command injection, supply chain attacks, or overly broad privileges.

File Integrity Monitoring gives you a way to prove whether critical code or configuration has been changed after deployment. That’s valuable not only for security investigations but also for compliance.

For example, PCI DSS (Payment Card Industry Data Security Standard) explicitly requires this. Requirement 11.5.2 states:

"Deploy a change-detection mechanism (for example, file-integrity monitoring tools) to alert personnel to unauthorized modification of critical content files, configuration files, or system binaries."

Sure, a "sufficiently advanced" attacker could try to tamper with the monitoring tool, but (1) defense in depth is about making that harder, and (2) good implementations isolate the baseline and reports (e.g. write-only to S3, read-only on app servers), which raises the bar considerably.

smartmic•26m ago
I posted about AIDE a few weeks ago. I have not checked how that compares to this submission:

https://news.ycombinator.com/item?id=44688636

Align Your Actions and Identity

https://kupajo.com/grow-inherently-not-apparently/
1•kolyder•1m ago•0 comments

Show HN: Detecting Doomscrolling with Computer Vision

https://github.com/andrew-noble/doomscroll-detector
1•andrewrn•1m ago•0 comments

Is modern life fueling the rise of cancer in millennials?

https://www.washingtonpost.com/health/interactive/2025/toxins-tech-tumors-is-modern-life-fueling-...
1•pseudolus•1m ago•1 comments

Tumor-targeting Salmonella engineered to boost colon cancer survival

https://newatlas.com/disease/engineered-salmonella-lysis-colorectal-tumor-treatment/
1•01-_-•1m ago•0 comments

I Told Steve Jobs About Linking: Quick Note Appeared and Failed

https://hookproductivity.com/blog/2025/09/quick-note-on-macos-still-limited-in-2025/
1•LucCogZest•2m ago•0 comments

Small Bets, an extensively modified Campfire (37signals chat)

https://github.com/antiwork/smallbets
1•entrepy123•2m ago•1 comments

U.S. Secret Service disrupts telecom network that threatened NYC during U.N

https://www.cbsnews.com/news/u-s-secret-service-disrupts-telecom-network-threatened-new-york-city...
1•bikenaga•2m ago•0 comments

Cognitive Dissonance

https://www.vivienhenz.com/denial
1•misterchocolat•2m ago•1 comments

I built Foyer: a Rust hybrid cache that slashes S3 latency

https://medium.com/@yingjunwu/the-case-for-hybrid-cache-for-object-stores-4b1f02ec6c9a
1•Sheldon_fun•3m ago•0 comments

Postcode Map of the United Kingdom

https://www.freemaptools.com/uk-postcode-map.htm
1•lloydatkinson•3m ago•0 comments

Evaluation Frameworks for LLM Systems

https://www.hopit.ai/stories?slug=evaluation-frameworks-for-llm-systems-2025-09-23-0b4b7
1•Arkid•4m ago•0 comments

NordSpace preparing for Canada's first sovereign commercial launch

https://www.nordspace.com/info
1•Olshansky•5m ago•0 comments

Database of games hand-picked, deeply researched and tested with real families

https://www.familygamingdatabase.com/
1•jslakro•5m ago•0 comments

I QA iOS Apps

https://samhenri.gold/blog/20250923-qa-ios-apps/
1•ghoulishly•5m ago•0 comments

Preemption in Go (2021)

https://hidetatz.github.io/goroutine_preemption/
1•todsacerdoti•5m ago•0 comments

Beyond Automation: The Rise of Agentic Networks

https://www.kentik.com/blog/beyond-automation-the-rise-of-agentic-networks/
1•oavioklein•7m ago•0 comments

Text Messaging Brings Paying Readers Back to Washington Newspaper

https://www.amediaoperator.com/news/text-messaging-brings-paying-readers-back-to-washington-newsp...
1•giuliomagnifico•9m ago•0 comments

Apple launches new project to protect and restore a California redwood forest

https://www.apple.com/newsroom/2025/09/apple-launches-new-project-to-protect-and-restore-californ...
1•chmaynard•9m ago•1 comments

Microsoft rolls out AI tools to tackle $85B technical debt crisis

https://venturebeat.com/ai/microsoft-rolls-out-ai-tools-to-tackle-usd85-billion-technical-debt-cr...
1•k8eee•10m ago•1 comments

Show HN: Pxehost – no-configuration rootless PXE server

https://pxehost.com
1•srcreigh•12m ago•0 comments

Show HN: I made a lightweight Dokku Alternative

https://github.com/plark-inc/hostship
1•khaledg•13m ago•0 comments

Super Smash Bros. On N64 Had a Funny Anti-Piracy Trick

https://kotaku.com/super-smash-bros-n64-piracy-nintendo-2000627887
1•mikhael•15m ago•1 comments

List of Fractals by Hausdorff Dimension

https://en.wikipedia.org/wiki/List_of_fractals_by_Hausdorff_dimension
2•perihelions•16m ago•0 comments

China Courts Foreign Gold Reserves to Boost Global Clout

https://www.bloomberg.com/news/articles/2025-09-23/china-courts-foreign-gold-reserves-in-bid-to-b...
2•koolhead17•16m ago•0 comments

Determinate Nix: the recent past and the shining future

https://determinate.systems/blog/determinate-nix-recap/
1•biggestlou•17m ago•0 comments

VCs to AI Startups: Please Take Our Money

https://www.bloomberg.com/news/articles/2025-09-23/vcs-are-scrambling-for-a-piece-of-ai-darlings-...
3•koolhead17•17m ago•0 comments

GPU architecture vs. TPU architechture – Finer points

https://www.hopit.ai/stories?slug=gpu-architecture-vs-tpu-architecture-finer-points-2025-09-23-48a90
3•Arkid•18m ago•0 comments

Hausdorff Dimension

https://en.wikipedia.org/wiki/Hausdorff_dimension
1•perihelions•18m ago•0 comments

Improvements to Java primitive array sotring

https://github.com/openjdk/jdk/pull/27411
1•spullara•18m ago•0 comments

Crew – Assemble worker processes to tackle your computational tasks in Gleam

https://gitlab.com/arkandos/crew
1•TheWiggles•18m ago•0 comments