Remix.run Logo
▲ jjcm 4 hours ago

In some ways it's better, in some ways it's worse.

It's certainly easier than ever to spin up a VPS/cloudflare proxy and deploy. Agents can pretty much do that end to end.

The bigger issue is you're then accountable for keeping up with security. Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping, which is happening at an accelerated rate.

It got so bad during October I made https://firefighter.sh/ as a joke (a root-permissioned agent that continuously monitors for CVEs and patches your system live as soon as they drop - it's a security nightmare given the nondeterministic aspect of AI), but I'm actually starting to come around to the idea for my non-critical servers.

▲cromka 3 hours ago | parent | next [-]

> Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping,

Honestly, most of those issues can be mitigated by NOT exposing your services to the web and instead relying on Wireguard — and I am not mentioning other VPNs here because they, too, are vulnerable with their vast attack surfaces, like OpenVPN.

In fact I believe all this will lead to better VPN integration in our devices. I REALLY hope Wireguard gets widely adopted to the point every major platform finally adds support for it.

▲usui 3 hours ago | parent | prev | next [-]

> Now it means patching within 24hrs of a CVE9+ dropping

I know security by obscurity is not a good defense, but if the internet were on IPv6, it would be a lot harder for bots to find hosts by scanning the whole IP space, whereas when I open a port on IPv4 I can always see activity on it almost immediately. I've been watching traffic to IPv6-only hosts despite connecting to them from outside the local network and it's been completely silent from strangers. This would buy extra time for any critical CVE that needs patching.

▲yardstick 3 hours ago | parent [-]

Maybe, but if using https with a public CA then your domain info is already well know. DIY CA not an issue, but has worse caveats imo.

▲usui 3 hours ago | parent [-]

Yeah, that's a point worth mentioning, but none of the hosts I connect to have public DNS records pointing to them or use a public CA.

▲unshavedyak 44 minutes ago | parent | next [-]

What do you use for CA? I have an internal network on LetsEncrypt because it's annoying as hell to add special allowances to a couple dozen browsers/etc. Is there a solution you use that improves this?

▲yardstick 2 hours ago | parent | prev [-]

Yeah then you’re fine

▲pkulak 4 hours ago | parent | prev | next [-]

I'm updating my stuff WAY more often with AI. I have an agent check the current version, pull changelogs, look for anything that could go wrong, do a backup, stop, pull, start, verify, then delete backups and dangling containers. Pre AI I did that... basically never. Now I do it once a week. Could even schedule it if I really felt like it.

Also, I don't put two things on the open internet. My other 2-dozen services are behind Tailscale only.

▲kikoreis 2 hours ago | parent | prev | next [-]

Do you need to pubicly serve the self hosted stuff? With a few exceptions I have opted to simply put the services behind a tailnet and use that as the simple security boundary. It works OK for a small team.

▲_kb 2 hours ago | parent [-]

This applies in general. You can do a lot of cool things, across many domains. Only a very minute slice of that should ever be internet reachable.

The biggest boon of AI boosted vulnerability discovery / exploit development is defence in depth is something that is more widely considered and applied.

▲skullone 4 hours ago | parent | prev | next [-]

I have AI craft make files for common operations, patching, deploys etc. The makefiles compose terraform, ansible, misc scripts, DB migrations etc. this way, something reproducible and tested can be "trusted" to let AI operate with without it getting carried away or deep into the weeds on simple shit. Of course, I also use the same makefiles too when I want, and it's just great. Keeps credentials safe-ish, AI doesn't need to SSH itself or even know about the actual systems.

▲alexpotato 4 hours ago | parent | next [-]

LLMs that write and then update your Ansible really is the super combo.

If you throw in tests that the LLM also writes and it brings together the best of DevOps and LLM.

▲0xdeafbeef 4 hours ago | parent | prev [-]

If only nixos existed and llms were good at it :)

▲skullone 4 hours ago | parent | next [-]

I'm just way more comfortable and used to traditional bare metal, kvm, and k8s via RKE2.

▲hparadiz 4 hours ago | parent | prev [-]

gentoo is far superior in every way :)

▲oblio 4 hours ago | parent | next [-]

Are they comparable, though?

▲hparadiz 3 hours ago | parent [-]

Not really no. I tend to think everyone should be building their entire stack from source these days. I don't know why these distros with binaries pre-compiled are so popular these days when an LLM can fork it for you at any time. Especially among the Nix crowd. Like why would you want someone else to compile your software? I mean this seriously. Between you and bare metal there's really not that much. Linux kernel? 20 minute compile. Grub2, OpenRC / Systemd / sddm, kde or hyprland w/e, the browser is actually the thing that will take the longest to build. So do it. There's no excuses anymore. You can do it while you sleep.

▲0xdeafbeef 3 hours ago | parent | prev | next [-]

Is it reproduicable though? Can you run nixos-anywhere <host>, then ssh into into it run borg restore and you have same server as you backuped? Doubts

▲hparadiz 3 hours ago | parent [-]

Gentoo ebuilds are the original byte for byte immutable build architecture. Have an LLM explain it to you.

▲max-privatevoid an hour ago | parent [-]

Never in the history of anything has there been a bigger misunderstanding of the capabilities of both NixOS and Gentoo.

▲whacko_quacko 3 hours ago | parent | prev [-]

I use windows, btw

▲Grombobulous an hour ago | parent | prev | next [-]

Cloudflare Tunnels and Cloudflare Access used together pretty much eliminate this worry for the average person.

No ports exposed, all outgoing traffic, and Cloudflare won’t let you actually reach the service until you provide a service token or do an email 2FA from an authorized email domain/address.

▲turtlebits 4 hours ago | parent | prev | next [-]

Keep it all internal with Tailscale, or use Pangolin (or Cloudflare)

▲ 3 hours ago | parent [-]
[deleted]
▲InsidiousWombat 4 hours ago | parent | prev | next [-]

debian + unattended-upgrades + scheduled reboot for kernel upgrades gets you most of the way there

▲AloysB 4 hours ago | parent | prev | next [-]

Another massive drawback is the slop-avalanche on self-hosting communication channels.

I don't mind someone vibing something out for their needs; but as soon as you advertise it and invite external users, I feel there was a moral obligation to provide a certain level of quality and security. Which doesn't seem to be as prevalent now.

Building out a project used to take a fair amount of investment for the creator; now that producing code is "cheap", that price-to-entry is so low that anyone can spin up a project in a couple of hours.

It has added a lot of noise to the community channels - making it hard for good projects to stand out among the noise.

▲soupbowl 27 minutes ago | parent [-]

> It has added a lot of noise to the community channels - making it hard for good projects to stand out among the noise.

Yeah I agree, I bailed out of most of the community due to this.

▲simplesocieties 2 hours ago | parent | prev | next [-]

I have a few raspi throwaway servers I don't really care about losing data on, so I wanted to try firefighter but couldn't because I use claude subscription rather than API key billing. Any plans to support users on subscriptions?

▲schleck8 3 hours ago | parent | prev | next [-]

> The bigger issue is you're then accountable for keeping up with security. Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping, which is happening at an accelerated rate.

You can automate that

▲dofm 3 hours ago | parent | prev | next [-]

> Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping, which is happening at an accelerated rate.

Yeah. This has fully changed my approach to web dev; for me as a solo/freelance developer at this scale, pretty much all interpreted languages are too great a risk in various different ways.

▲xx__yy 2 hours ago | parent | prev | next [-]

Yep, a few times this month I've had to postpone sleep because a CVE was released and I had to patch

▲esseph 3 hours ago | parent | prev | next [-]

Or you can just use wire guard to your router, or tail scale, or cloudflare tunnels and never actually expose the endpoint directly.

▲LtWorf 4 hours ago | parent | prev [-]

https://manpages.debian.org/trixie/unattended-upgrades/unatt...

▲selcuka 4 hours ago | parent | next [-]

Unattended upgrades will only patch system packages installed via apt-get. You still need to patch node, python packages, or random software you downloaded and installed (via curl piped to sh).

▲fph 3 hours ago | parent | next [-]

And for some reason these days everyone and their cat wants you to install their software with `curl http://some-sketchy-site.com/install | bash`, even if building packages is easier than ever with LLMs and free Github Actions.

▲hoherd 2 hours ago | parent | prev [-]

cron + topgrade -y will handle most of the userspace updates.

`curl | sh` is a whole other ballpark though. that's not managed software, so of course you're going to have to manually update it. do you even remember what you've installed? i don't know how people think this is an acceptable way to install software.

▲jazzyjackson 4 hours ago | parent | prev [-]

I have a public ip VPS proxying to my home lab and I’m wondering where to go for the least attack surface if I’m just running caddy and wireguard.

Fedora CoreOS is an interesting offering, and Debian with unattended updates sounds good too. I like what SELinux can do for hardening the filesystem. Seems like even if a subprocess gets owned you get isolation from siblings.

▲abroszka33 4 hours ago | parent | next [-]

Same setup. I went with Debian. Non standard ssh port, no pass, key only and wireguard. So far so good.

▲hparadiz 3 hours ago | parent [-]

You're not gonna get pwned through SSH. You'll get pwned through some random dependency one of your things is using.

▲OnlineTux 3 hours ago | parent | prev [-]

Fedora IOT on a Raspberry Pi with automatic updates works pretty well too for internal network services (pihole, jellyfin etc)