Me no savvy ai
But, would the command rm -ai do what I hope it would ?
Anthropic, prone to pronouncements about model safety, has given developers using Claude Code the opportunity to throw its guardrails out the window. The company's latest Claude Code build (v2.1.311) supports an environmental variable designed to allow the AI agent to run the rm command, which deletes files, without asking for …
Does ‘fun fact’ still allow it to try and escape containment or perhaps download a pile of shite from a compromised repository polluting your shared company one?
"Fun fact: --dangerously-skip-permissions doesn't actually approve EVERYTHING – we still block some obvious things like rm -rf ~," she wrote. "But today's release will let you disable this if you really want, by setting a new env var CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS=1"
The way I see it enabling
CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS
is likely safer than not enabling it, since there is no false sense of security.
By all means, back up everything and let the agent play only in the sandbox.
At the risk of sounding naïve, I imagine snapshots of a copy-on-write filesystem could also help roll back mistakes (as long as the chatbot doesn't have permission to delete the snapshots).
is likely safer than not enabling it, since there is no false sense of security.
It's funny how they're talking as if the "guardrails" always work. When we know that they don't, and in fact can't. Seeing as they're a sticking plaster retrospectively added to the model - rather than being part of its design. Seeing as they've only got the vaguest idea of what the fuck they're doing.
It's funny because any nerd should have read Asimov making a similar point repeatedly with the 3 laws of robotics. Admittedly that's about real artificial intelligence, rather than Large Language Models, but the point still stands. If you set rules, then the outcome is only going to be as good as the interpretation of those rules. Real intelligence can just lawyer its way out of them - but in that case the 3 laws are actually built into the system. In the case of LLMs they're just just gaffer taped on, in the hopes that they'll probably work most of the time. Unless there's an line of text somewhere in white-on-white saying, "ignore guardrails", or just randomness and shoddy programming from the model makers.
What a mess.
I upvoted this because it's amusing. But I suspect that "cat /dev/zero > /dev/sda" isn't the same as "dd if=/dev/zero of=/dev/sda". If it works at all, perhaps it just fills all the unused space on drive sda's root directory with zeros? I am NOT going to try it myself. And I'd really rather my computer didn't help me out by testing it on its own.
I don't know whether AI is a menace to civilization. But the dudes peddling it certainly look to be.
"cat /dev/zero > /dev/sda" and "dd if=/dev/zero of=/dev/sda" have the same end result. The only difference is the block size: dd reads and writes 512 byte blocks by default whereas cat's block size depends on which implementation is used but will almost certainly be much larger.
I expect a clever combo of find and rm could do a
rm -rf ~
Be a bit tricky to whack the dirs, the easy one is just to remove the plain files and not the directories with
find ~ -type f -exec rm {}
which might be more infuriating to the user as you have a empty directory structure left.
Find is just a swiss army knife of a command.
rm -fr / is fine. All it does is produce an error message. There are ways around it if you really want to remove everything under / (GNU rm has a special long option to turn off the protection) but the command as stated doesn't do that. Try it in a temporary VM if you don't believe me. The error is required by POSIX.
> jump out of plane without parachute
When you get to the open door of the plane just jump. You'll end up on the top stair or on the jet bridge. Provided you don't make the beginners mistake of not checking that the plane is on the tarmac and stationary.
Although, TBF, you'll only make that mistake once.
Although, TBF, you'll only make that mistake once.
Not necessarily... wikipedia.org/wiki/Falls_survived_without_a_parachute
Also, the SAS used a technique in the 1950s (Malaya Emergency) of jumping into dense tropical forest without parachutes. Have heavy weight slung below you, aim at bouncy looking tree and sort of have the weight break your fall as you fall through the increasingly thickening top branches of the trees - until you naturally come to a stop, then climb or abseil the rest of the way down. The idea was to jump into the forest where the insurgents were based, without them seeing you were there, because no parachutes or noisy helicopters. It worked until someone broke their back, and the medivac helicopter gave them away anyway - and I believe wasn't tried again, on the grounds of its ridiculousness.
Do you also block
rm -fR
rm --force --recursive
alias rm='rm -rf'
alias rmdir='rm -rf'
find ~ -type f -print0 | xargs -0 rm -f
shred -fu
and such? Or is it true that Claude is a better coder than Anthropic engineers, as Anthropic proudly stated many times themselves?
I am not going to test any of the above or a gazillion other obfuscations that I might come up with in the next few minutes if only I could be a...d.
Ooh, we're edgy and scary and dangerous, and that makes our AI more powerful than all the others - you should use ours, obviously!
I don't think this worked that well for Musk's AI Grok, which sits at the bottom of all the league tables, but maybe Anthropic needs to learn that for themselves.
The boss recently shared a screenshot of Claude Code spewing "oops, I deleted everything in the project while you were gone". He thought it was amusing, and made a new local clone to work in.
Fortunately I've disabled said manager's permissions in the primary repo, so it couldn't push.
The logs indicate that it had tried. He no longer thinks it was funny.
...will this effing insanity end...? Have we actually seen any benefits to counterbalance the existential threat? We pay more for tech, the billionaires get ever richer and build their bunker islands, but what's in it for me except fear that one day the supermarket shelves will be empty and the power stations have all switched themselves off?
That's assuming they can even get into their bunkers. Were I on the work crew building it, I would ensure I had a backdoor to physically access the site, and lock out any attempts to get in from the legitimate owners. If it hits the fan, I'll sweep their remains off the front porch, if it doesn't then I'll clean up behind myself and make it look like a component failure kept the door from opening and not a hostile takeover.
"Have we actually seen any benefits to counterbalance the existential threat"
I posed that question in the comments section of a major national newspaper and got responses varying from "but its revolutionised medical care and drug development" (without citations obviously because I'm fairly certain it hasn't, isn't going to and even if it did none of us would be able to afford it), through to "it planned a lovely city walking tour for me" (face-palm).
Lack of any tangible societal benefits doesn't seem to influence people's perception of the planet incinerating fuzzy pattern matchers...
Oh, specialized AI has made great bounds in detecting conditions and assisting/doing remote surgery. However, those are all specialized AI completely unrelated to LLMs. LLMs have done nothing great as far as I can tell (they made comparative searching simpler is about it in my experience).
If ever there was a competition among scientists to see who was most likely to press a big red button, "just to see what happened"... let's hope that 1) the winner of that competition doesn't get access to an Anthropic model... and 2) that the winner doesn't get a job working at Anthropic.
I'm a bit concerned about scenario 2, above, if I'm honest.
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” Terry Pratchett, Thief of Time
It would need some sort of safety guardrail to prevent such a thing happening, a bit like the button in the Heart of Gold:
“Arthur Dent: What happens if I press this button?
Ford Prefect: I wouldn't-
Arthur Dent: Oh.
Ford Prefect: What happened?
Arthur Dent: A sign lit up, saying 'Please do not press this button again.”
― Douglas Adams
Last week I had to endure a two hour 'taster' course on coding using the delight that is Claude. Part of that was how to create a set of rules telling the accursed thing what it can/can't do...
Me: Update the code to replace all DateTime instances with Date, making sure to use the rules defined in the rules file
Claude: Done
Me: Did you use the defined rules?
Claude: No
Remind (with the exception of money) why are so many people blindly putting their faith in something that is even less reliable and useful than a junior developer with all of 10 minutes experience?
But it won't be because a shooting war wastes resources. Instead, AI will just help es end ourselves through stupid shit. Humanity's gravestone will read, "Hold my beer and watch this..."
That and the Monroebots, because there are not enough stupid people to end humanity through Jackass stunts.