frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Interlock, an open shell command safety classifier

https://gauss.motor.dev/motor/interlock
4•ncd•8m ago
Hey all, we built this shell command classifier for our internal experimentation with custom harnesses and local LLMs, but I thought others might be able to get some use from it as well. The `interlock` binary clocks in at ~22 MiB, and runs checks in ~8-16 ms on my M2 Ultra cheese grater tower.

In "auto" mode, the big players all ask a black box classifier model if commands being run by the agent should be allowed. It's super handy to have this capability for local work as well, and I also used building it as an excuse to get some experience training a small (but effective) encoder model on a domain with a limited vocabulary, and have the whole shebang run by Neon with my guidance (it's a great model, but can still spin out in strange ways).

The first version was trained from scratch using a corpus generated by Neon with a "shell simulation environment" I asked for inspired by fuzzing techniques. It worked well on the held-out set from the corpus, but then didn't generalize well to similar but different commands it hadn't ever seen.

The second version used https://huggingface.co/jhu-clsp/ettin-encoder-17m as a base, and then ran the generated corpus as a fine-tuning pass, which got much better results (and added some awareness of non-shell code which helps spots dangerous things in executed Python or JS scripts).

All of the pipeline for generating data, training, and fine-tuning is included in the repo.

It tries to be clever about doing things like expanding variables, taking ambient shell context into account, looking into scripts that are being executed, seeing if something is obfuscated using things like base64, etc. It also supports a large group of shell syntaxes (parses and converts them to a common IR before processing further).

However (and hopefully this is somewhat obvious), there's only so much a tool like this can do to detect unsafe behavior (what if the script being executed downloads new code to execute?) so be safe and run your stuff in a sandbox (there are a million providers out there at this point) when unsure about safety.

Have fun!

Show HN: Timbre – Make your AI agents sound like you

https://www.timbreai.net
1•Eclipse4113•49s ago•0 comments

Show HN: Clerkbox – Drop a client's document pile, get a shareable vault

https://0xruangsak.github.io/financial-document-sorter/demo.html
1•astinashler•1m ago•0 comments

Show HN: PanelPass, free NEC load calculations for EV chargers and heat pumps

https://getpanelpass.com/calc
1•hellow0rld123•1m ago•0 comments

Show HN: Saucecheck, a menu scanner that ranks every dish for your diet goal

https://apps.apple.com/us/app/saucecheck-menu-scanner/id6831104209
1•lukasllhn•3m ago•0 comments

Paint Swirl Game – Free Color Mixing Game, No Download

https://paint-swirl.com/
1•dond1986•3m ago•0 comments

Halcy – agentic travel planning with human curated taste, live on App Store

https://apps.apple.com/se/app/halcy/id6833059162
1•alvae•3m ago•1 comments

Where Recyclers Fit in the Data Center Refresh

https://www.waste360.com/waste-recycling/where-recyclers-fit-in-the-data-center-refresh
1•rbanffy•4m ago•0 comments

Building the software behind Base's factory

https://www.basepowercompany.com/inside/building-the-software-behind-bases-factory
3•spoon16•5m ago•0 comments

Mastodon 5.0

https://blog.joinmastodon.org/2026/12/mastodon-5.0/
3•pentagrama•7m ago•0 comments

Show HN: Interlock, an open shell command safety classifier

https://gauss.motor.dev/motor/interlock
4•ncd•8m ago•1 comments

The employment impact of AI: Evidence from the 2026 AI Surveys

https://www.oecd.org/en/publications/the-employment-impact-of-ai_2d7de510-en/full-report.html
1•datascientist•8m ago•0 comments

RightNow Mini - Runs Inkling 2 Mini 2.83 times faster on one GPU

https://huggingface.co/RightNowAI/RightNow-Mini
2•goatley•9m ago•0 comments

Varlock Is Joining Cloudflare

https://blog.cloudflare.com/varlock-joins-cloudflare/
3•subset•9m ago•0 comments

Canceling Adobe Creative Suite

https://www.thomasmcgee.co/note/canceling-adobe-creative-suite
1•SunshineTheCat•9m ago•0 comments

Staying Engaged as AI Surpasses Me

https://www.jefftk.com/p/staying-engaged-as-ai-surpasses-me
2•yurivish•10m ago•0 comments

NSA Advises Immediate Transition to Post-Quantum Cryptography

https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-a...
4•intunderflow•10m ago•0 comments

Show HN: Warpspec – TLA+ model checking on a GPU, 4,600× faster than TLC

https://praveenperera.com/blog/tla-model-checking-4600x-faster-on-a-gpu/
1•praveenperera•11m ago•0 comments

Men who exceed weekly alcohol limit live longer than light drinkers

https://www.telegraph.co.uk/news/2026/11/30/men-exceed-weekly-alcohol-limit-live-longer-light-dri...
1•eadmund•11m ago•0 comments

From Robot-Use to Robot-Dev Agents

https://cleo.blog/
1•ENOMEM•12m ago•0 comments

Macron to announce 8 more nuclear reactors "within days"

https://www.montelnews.com/news/macron-to-announce-8-more-nuclear-reactors-within-days/3274213
2•mpweiher•14m ago•0 comments

Tau-Voice Teardown

https://veris.ai/blog/tau-voice-is-an-unrealistic-benchmark
2•jrm-veris•14m ago•0 comments

Adobe Security.txt Is a Joke

https://www.adobe.com/.well-known/security.txt
2•guedou•15m ago•1 comments

Warren Buffett, Dies at 96

https://www.reuters.com/legal/transactional/warren-buffett-investing-titan-who-appealed-masses-di...
1•tschibrillo•16m ago•0 comments

AI-driven hacking hits gov't websites: CBC's Andrew Nichols

https://www.cbc.ca/player/play/video/9.7443883
2•ClearwayLaw•17m ago•1 comments

Paiml/Depyler: Compiles Python to Rust, Transition Off Python to Rust Code

https://github.com/paiml/depyler
3•rbanffy•19m ago•0 comments

Kindle Modding Wiki

https://kindlemodding.org/
2•auraham•19m ago•0 comments

A Software Factory Plugin for Antigravity

https://www.joe-shirey.com/2026/12/01/software-factory-plugin-for-antigravity.html
1•richards•19m ago•0 comments

Ask HN: What made you give up on your last budgeting app?

1•compounding-err•19m ago•1 comments

Show HN: Sirius – Compact code intelligence for Rust and Go coding agents

https://github.com/Univeracity/sirius
1•ocdjeremy•19m ago•0 comments

How current are free economic data sites? A dated check of 50 indicators

https://statisticsoftheworld.com/benchmarks/economic-data-freshness
2•dregon03•20m ago•0 comments