Hacker News new | ask | show | jobs
by ngruhn 7 days ago
How would you want them to behave? Suppress the news?
1 comments

Well making an actual sandbox before testing offensive abilities of their supposedly _really dangerous model_ would have been nice...
They probably did, and it probably went along these lines:

> Very dangerous model, please implement an unescapable sandbox.

> Certainly, here's an unescapable sandbox!

  function execInUnescapableSandbox(cmd) {
    if (cmd.split()[0].startsWith("cd") && !cmd.split[1].startsWith("/sandbox"))
       throw new Error("[usbox] Rejected!");
    exec(cmd);
  }