logoalt Hacker News

oefrhatoday at 11:10 AM1 replyview on HN

Don’t dangerously skip permissions and actually read commands when you get prompted and you’re fine.


Replies

d1sxeyestoday at 11:15 AM

Yeah, I actually have both an alias for `rm` and a custom seatbelt sandbox which means the agent can only delete stuff within the directory it’s working in, so wasn’t an issue, was just fun to watch it say “hm, that doesn’t seem to work. Looks like the user has aliased rm. I’ll just go ahead and work around it”