whateverable icon indicating copy to clipboard operation
whateverable copied to clipboard

Why doesn't evalable6 allow for private messages?

Open lizmat opened this issue 5 years ago • 4 comments

If you want to try out things when camelia is down and don't want to bother the rest of the world?

lizmat avatar Apr 09 '19 11:04 lizmat

Because it has fewer restrictions than camelia, so we want to be sure to be able to see what's being run. However, you can join #whateverable if you don't want to spam the main channels.

MasterDuke17 avatar Apr 09 '19 11:04 MasterDuke17

Because it has fewer restrictions than camelia

Actually, not really. Camelia didn't have any proper restrictions. All it did was use the RESTRICTED misfeature in rakudo, which as far as I know no longer works.

perlbot answers private messages and is pretty safe:

15:02:05 <AlexDaniel> r: say 42
15:02:07 <perlbot> 42␤

It's a bit slower and it doesn't follow rakudo master, but at least you can talk to it privately.

There's a PR for camelia that attempts to make it a bit more secure: https://github.com/perl6/evalbot/pull/11

AlexDaniel avatar Apr 09 '19 12:04 AlexDaniel

See also: https://github.com/perl6/whateverable/issues/25

AlexDaniel avatar Apr 09 '19 12:04 AlexDaniel

This and https://github.com/Raku/whateverable/issues/374 are the same issue, I think.

Due to progress in https://github.com/Raku/whateverable/issues/388, all bots are now dockerized, and they have a very limited amount of write access to anything. For example, they cannot delete builds, because only Buildable has write access to them (previously they could!).

As a result, I think we can now be way more permissive. Of course, letting people run arbitrary code is always a bad idea, but these bots have always been somewhat permissive to let people get things done. And compared to running directly on the server (even though they were very limited by systems), containers are a lot more secure.

AlexDaniel avatar Nov 05 '23 16:11 AlexDaniel