Comment by ashishb

3 days ago

I always run such tools inside sandboxes to limit the blast radius.

The sandbox will need internet access (to update data) and you will need to send code to test into it; so compromise already equals leaking all your code, without even breaking the sandboxing

  • > The sandbox will need internet access (to update data) and you will need to send code to test into it; so compromise already equals leaking all your code, without even breaking the sandboxing

    Compromising all code in one directory is bad. Compromising all my data in all other directories, including mounted cloud drives, is worse.

    I restrict most dev tools to access only the current directory.

I don't think it would help here, they were stealing credentials

  • > I don't think it would help here, they were stealing credentials

    So, stealing credentials in the current directory and in all other directories are the same thing?