News for hackers. Stuff that matters.

kalib_tweli

Good points across the board. I ran into a lot of problems auditing the security of my approach and it was just too easy to circumvent.

First lesson was that the architecture had to be secure in structure, not configuration. Otherwise, a novice will run claude code on the host machine and just bork the entire setup.

So now I've replaced tightbeam runtime with a small runtime on the workspace container. Tightbeam and Airlock have been moved to separate pods. So you don't need network egress on the workspace pod at all.

Secondly, I'm isolating credentials on Tightbeam and Airlock with k8s jobs. Rather than airlock full CLI commands, you just create "airlock tools" with k8s secrets. Airlock controller never sees the secret. The tool could be like "git-create-branch" and "gh-create-pr".

Tightbeam is pretty much symmetrical. LLM credentials are tied to jobs.

I'm tying them together into a unified architecture now. Please do let me know if you have additional thoughts!

Would value your opinion on my project to isolate creds from the container:

https://github.com/calebfaruki/tightbeam https://github.com/calebfaruki/airlock

This is literally the thing I'm trying to protect against.

Re:LLM Proxy for Agent Containers on Monday March 23, 2026 @03:38PM (#47494138)
LLM proxy for containerized AI agents. The daemon proxies LLM API calls and remote MCP tool calls through a unix socket. The runtime drives the agent loop inside the container. Credentials never cross the socket boundary.

Show HN: Airlock – container agents should never hold credentials

https://github.com/calebfaruki/airlock

I built Airlock to move policy enforcement for credentialed CLI access out of agent containers and onto the host.In Dockerized agent setups, prompt files, skills, and other in-container controls are not a real boundary. The agent can ignore or rewrite them.Airlock replaces sensitive CLIs in the container with shims that send requests to a host daemon over a Unix socket. The host validates the...

( Read More... | no comments | on HN )
TLDR; visit this link: https://immigration-portal.ec.europa.eu/index_en

American living in France for 5 years. Previously worked in NYC startups earning a similar salary to you. Made lots of mistakes that, if I had known better, I could've saved myself some time and money. That being said, I am doing far better financially even if I make less on paper and I just bought my first place (unthinkable in NYC). I work as a software contractor technically, though I work full time for an American company.

Your first question is what your longterm goal? Permanent relocation or experiment for a few years? In other words, where are you planning to retire? You want to make your social security payments to the correct country. Your tax paperwork will stress you out for the first few years if you don't figure that out.

In either case, I'd suggest you try to keep your American job and go fully remote. You don't need a work visa if you don't work for a European company. But if you move permanently, you should do the paperwork to replace your American employment contract with a European contracting company like I did. It's more paperwork but earning an American salary in Europe gives you a significant purchasing power advantage even if you pay more in taxes. The real killer is the paperwork. European bureaucracy sucks.

If you don't keep your American job, you should apply for jobs before moving ideally. Most EU countries have reasonably low bars for skilled worker visas. Spain and France I know are very simple. The Netherlands are a bit more confusing. Regardless, you roughly need an offer of 50 000 € and a college degree to get one.

EDIT: saw discussion about housing shortages. France has tons of housing (https://pap.fr). I had a two-bedroom apartment with a balcony in Paris proper for 1 900 €.

Re:Using Cloudflare on your website could be blocking RSS users on Thursday October 17, 2024 @08:36AM (#41869066)
It wouldn't. It's the role of the HTTP server to set the correct content type header.
Re:Using Cloudflare on your website could be blocking RSS users on Thursday October 17, 2024 @06:14AM (#41868120)
I confirmed that if you explicitly set the Content-Type response header to application/rss+xml it seems to work with Cloudflare Proxy enabled.

The issue here is that Cloudflare's content type check is naive. And the fact that CF is checking the content-type header directly needs to be made more explicit OR they need to do a file type check.

Re:Using Cloudflare on your website could be blocking RSS users on Thursday October 17, 2024 @05:24AM (#41867836)
There are email obfuscation and managed challenge script tags being injected into the RSS feed.

You simply shouldn't have any challenges whatsoever on an RSS feed. They're literally meant to be read by a machine.

Re:Ask HN: Should we bring software dev in-house? on Saturday August 10, 2024 @05:32AM (#41208350)
This is exactly the situation my company ran into. Don't hire a contractor, their incentive won't be aligned with your company and you'll overspend.

My company hired me to replace their terrible software vendor and by their own account it's been a clear success. I visit the factories and stores and work with the employees to tailor make the software for their needs.

We're finally about to hire our second developer next year using the money we've saved by ending out contract with our old software vendor.

We're even at the point now where we can sort of brag about it. Here's the customer story we did with Heroku: https://www.heroku.com/customers/leatherspa

Re:Ask HN: Best Tools for Monorepo? on Wednesday July 31, 2024 @05:55PM (#41123896)
Makefile and docopt. No muss, no fuss. No "works on my machine" issues.

I'm running a hand-rolled monorepo with ansible, terraform, and several language projects (JS/TS, Swift, Ruby) that each have a makefile to standardize entrypoints for CI/CD. Docopt is nice because it's self documenting so you can better understand how all your apps are deployed.

I made training data.
The hard part here is idempotency. Ansible is great for a programmer because it's learning for fun. And you just have to spar with your machine to get good.

But for a non-programmer, it's understandable you don't want to be bother with the inner workings of your OS and how to maintain Ansible script idempotency.

And for every piece of software you want to run on your server, the idempotency task grows more difficult.

My honest opinion? Tolerate the learning curve for docker-compose. Each application you need can be managed and tweaked in isolation. Troubleshooting "works on my machine" problems will cost you more time in the long-run. You can't anticipate all the weird interactions between your programs and the os. Being able to nuke the setup and rebuild from scratch is your most valuable tool.

- thin base os (install just enough to run docker-compose)

- maintain images for each of your apps you need.

- mount the essential volumes of each image to well known location on your hard drive to make manual backups easy.

Re:Passage Du Gois on Monday April 08, 2024 @02:21AM (#39966757)
Funny enough I'm on my way to Noirmoutier right now. My wife's family has a house there on the northeast side of the island near where a lot of the oldest houses are. The Passage du Gois is very convenient when driving from Paris because it saves you about 40 minutes. Otherwise you need to take the bridge. The problem is that it's only for about an hour during low tide. It's peppered with towers for those unwise enough to overstay their welcome too. Happens every once in a while. You'll often find people parked all along the Passage hunting for mussels.

The town definitely has rules about how your home must look (if it's a new construction). Old houses don't though.

The town definitely empties out during the colder months but my wife and I still enjoy going there because it beats city living. Also they installed fiber optic internet not too long ago. Since we WFH, we try to go there as often as possible.

The chimneys are likely real but sealed because of climate change related rules.

There's also a castle that dates back to the 12th century built to protect monks from vikings. They've recently finished some restoration work there too.

Re:Ask HN: What non-AI products are you working on? on Wednesday March 27, 2024 @08:37AM (#39838248)
Thanks! I'm using this as an experience to teach myself mainly. I'm not an expert cyclist but I prefer to DIY when I can.

For example, I looked at tires and wheels as a good litmus test. What were the minimum pieces of information that you need to know to pick the right tire or wheel and make those the only filters on the site.

In terms of expertise, I've mainly farmed out to the cyclist community on Mastodon and served requests on a first-come-first-serve basis. For example, one person pointed me to sheldonbrown.com for their article on tires and it was really illuminating.

Re:Ask HN: What non-AI products are you working on? on Tuesday March 26, 2024 @07:25PM (#39834014)
I'm working on a bike part compatibility database for cyclists and anyone else who may work on bicycles.

https://builder.bike