News for hackers. Stuff that matters.
Re:Shellfirm: Intercept risky patterns at the command line by alexwasserman on Sunday July 31, 2022 @03:52AM (#32294023)
It’s loaded in via .zshrc or .bashrc (didn’t read the fish docs, but I assume it’s similar), so catches commands you enter in an interactive shell.

Commands within a shell script won’t be handled by it.

Similarly cron jobs don’t typically run with a full user environment, unless you’ve gone out of your way to make them, so would be safe.

There are no comments on this comment yet.