frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

DoNotNotify is now Open Source

https://donotnotify.com/opensource.html
144•awaaz•3h ago•20 comments

Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

https://github.com/localgpt-app/localgpt
236•yi_wang•9h ago•102 comments

Matchlock: Linux-based sandboxing for AI agents

https://github.com/jingkaihe/matchlock
19•jingkai_he•2h ago•0 comments

Reverse Engineering Raiders of the Lost Ark for the Atari 2600

https://github.com/joshuanwalker/Raiders2600
9•pacod•1h ago•0 comments

Haskell for all: Beyond agentic coding

https://haskellforall.com/2026/02/beyond-agentic-coding
129•RebelPotato•9h ago•38 comments

SectorC: A C Compiler in 512 bytes (2023)

https://xorvoid.com/sectorc.html
313•valyala•17h ago•61 comments

LLMs as the new high level language

https://federicopereiro.com/llm-high/
131•swah•5d ago•223 comments

The Architecture of Open Source Applications (Volume 1) Berkeley DB

https://aosabook.org/en/v1/bdb.html
40•grep_it•5d ago•6 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
235•mellosouls•19h ago•396 comments

Modern and Antique Technologies Reveal a Dynamic Cosmos

https://www.quantamagazine.org/how-modern-and-antique-technologies-reveal-a-dynamic-cosmos-20260202/
7•sohkamyung•5d ago•0 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
192•surprisetalk•16h ago•197 comments

LineageOS 23.2

https://lineageos.org/Changelog-31/
70•pentagrama•5h ago•14 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
206•vinhnx•20h ago•21 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
196•AlexeyBrin•22h ago•36 comments

uLauncher

https://github.com/jrpie/launcher
31•dtj1123•4d ago•8 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
82•gnufx•15h ago•66 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
373•jesperordrup•1d ago•111 comments

In the Australian outback, we're listening for nuclear tests

https://www.abc.net.au/news/2026-02-08/australian-outback-nuclear-tests-listening-warramunga-faci...
10•defrost•1h ago•1 comments

Wood Gas Vehicles: Firewood in the Fuel Tank (2010)

https://solar.lowtechmagazine.com/2010/01/wood-gas-vehicles-firewood-in-the-fuel-tank/
56•Rygian•3d ago•24 comments

Rabbit Ear "Origami": programmable origami in the browser (JS)

https://rabbitear.org/book/origami.html
3•molszanski•3d ago•1 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
110•momciloo•17h ago•24 comments

First Proof

https://arxiv.org/abs/2602.05192
150•samasblack•19h ago•94 comments

Substack confirms data breach affects users’ email addresses and phone numbers

https://techcrunch.com/2026/02/05/substack-confirms-data-breach-affecting-email-addresses-and-pho...
66•witnessme•6h ago•28 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
615•theblazehen•3d ago•222 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
114•thelok•19h ago•25 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
352•1vuio0pswjnm7•23h ago•576 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
927•klaussilveira•1d ago•282 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
187•speckx•4d ago•277 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
49•mbitsnbites•3d ago•7 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
312•isitcontent•1d ago•39 comments
Open in hackernews

Allowlisting some Bash commands is often the same as allowlisting all

https://www.joinformal.com/blog/allowlisting-some-bash-commands-is-often-the-same-as-allowlisting-all-with-claude-code/
37•drewgregory•1w ago

Comments

teddyh•1w ago
“…with Claude Code”
adastra22•1w ago
Are there any agent permission systems that do this correctly?
extraduder_ire•1w ago
The same caveats would apply to most kinds of restricted shell environments.
zufallsheld•1w ago
Same thing for allowing specific sudo-commands. Many tools (like vim or the tools mentioned in the article) would have the same problem when allowing them to be run with root privileges.
denysvitali•1w ago
=> https://gtfobins.org/
Terr_•6d ago
Now I feel a bit more justified for over-engineering my automatic restic backup to not run as root, but to instead use "capabilities" to read files it doesn't own.

Namely, CAP_DAC_READ_SEARCH [0] and related systemd settings. The only problem is that it inhibits using a convenience/wrapper script.

[0] https://www.man7.org/linux/man-pages/man7/capabilities.7.htm...

illusive4080•1w ago
Some at work want to let me run sudo vim only to edit my hosts file. This is silly for a variety of reasons, one of them being that vim can allow the user to exec arbitrary commands. If you give me root for vim, just save me the trouble and let me have unrestricted root so I can do my job.
bauruine•1w ago
I had the same few years ago. When I pointed out that I can get full root with most of the whitelisted commands they answered "We know. It's not about security but to prevent lusers from accidentally rm -rf /* the server. Feel free to spawn a root shell. You obviously know what you do"
CableNinja•1w ago
I deal with some regulated things and some users who usually wouldnt be allowed to see/work on a thing are granted special access to do so, with extreme limitations. Recently i was approached asking if we could strip down the users desktops to no gui, no sudo, for use as a jumpbox. I explained why users need sudo to do what they need, and was asked about limiting sudo.

Its really tough to tell someone who is all about security (not linux security but regulatory security and such) that basically granting any bit of sudo access can lead to full access.

There is a way that this can be handled, but its honestly sort of an afterthought functionality. facls. You can delegate multiple owners/groups and permissions for things, and it can work well, but you have to deal with facls on multiple fronts, setting them for basically the entire system. facls are great, in theory, but they feel like such an afterthought that they are often ignored.

bloppe•1w ago
You could provide decently meaningful and targeted sandboxing using mount namespaces and an overlay FS, while retaining sudo privileges for what you need to do.
sadnboxx•1w ago
Allowing a "command" (executable, I believe) that isn't a read-only absolute path is a fool's errand. I will modify PATH and run my own implementation of it.
pimlottc•1w ago
I know they’re just being through but the “go test” part is a bit “Pray, Mr Babbage”… Test code is just code. I know of no language where tests are sandboxed in any meaningful way.
bloppe•1w ago
They're sandboxed if you use bazel. Not as much as the nix people would like, but bazel tests get read-only access to the host filesystem except /tmp
pimlottc•1w ago
Right, I should have said there are conventions and libraries you can use to limit the scope of tests but that requires intention and diligence. But fundamentally , “go tests” could run anything a normal go program can.
eqvinox•1w ago
everything is a container these days, and yet somehow collective-we don't manage to have AI agents run in a container layer on top of our current work, so we can later commit or rollback?
Neywiny•1w ago
I feel like if I ever used an agentic AI that's how I'd need it to be done. Too many cases of AIs getting access to files that it shouldn't. But then then, how do I allow it to look things up online without sending all my code to some scammer that prompt injected on a tutorial? I don't think I'll ever trust it with anything proprietary or otherwise less than publicly available.
iberator•1w ago
What do you mean?! Where? I would claim otherwise: 99% of software is not in the containers. Like 100% windows or debian software
slipheen•5d ago
I don't know much about how windows software is packaged, but I find that a solid majority of desktop software I use is in flatpack and server software in OCI images
hbogert•1w ago
> I really thought `eval` would not be abused on non validated input

    - your colleague, or you 1 year before.
with•6d ago
True, you can do almost anything if find is allowlisted.

find / -exec sh -c 'whatever u wanna do' \;

bandrami•6d ago
I'm sorry but the idea of giving an AI agent a non-restricted shell is insane. If you don't want it to perform certain commands those commands should not be in its environment at all.
totetsu•6d ago
I remember when I was starting out, someone on my team showed me, that in the case where we were allowed to run vi and root on a machine there was noting stopping one from just starting a child shell from within vi with root privileges.
AllegedAlec•6d ago
Not entirely related to the content but man 'allowlisting' reads so badly. We should just out of ease of reading return to whitelisting.
slipheen•5d ago
I'm trying not to get nerdsniped, but in the realm of subjective pragmatics, I personally find `allowlisting` to be drastically more clear.
AllegedAlec•5d ago
My concern isn't really clarity of intention, but that 'allowlisting' just doesn't flow as well when reading as whitelisting does.