I don't have a lot to say, but this is my little bit.

Wednesday, November 25, 2026

Slack, slacking

Slack became the industry's darling chat program over the last decade and it's mostly okay as a chat program, although the browser interface they slopped onto it is awful -- chat isn't browsing, it's choosing; there is a limited set of chats but browsing is for extremely large or unlimited sets.

Being a chat program, Slack is a userland program. Slack sits high upon the security stack. Computers put userland programs in boxes to keep the computer safe from malicious code, which brings me to the question why does Slack ask for root all the time?

Just so we all know what I'm talking about, it's been happening since the Obama administration:

https://www.reddit.com/r/Slack/comments/5l5crw/slack_is_trying_to_install_a_new_helper_tool/

When I ask 'why', I'm not asking a technical question. I understand the purported file permission issue (which I have fixed before and the problem returned). What I mean is, how is it possible that the product managers at Slack corporation allow Slack to ask for root under any circumstances? If a file permission issue prevents Slack from installing a helper program, the only acceptable behavior is for the software to explain the problem and ask the user to take independent action. A chat program should NEVER EVER attempt to elevate itself to root privileges.

The verb in that important statement is attempt. Slack product designers should know how absolutely inappropriate it is for Slack to ask for root, and should have the software programmed differently. A chat program asking for root is more than a gigantic red flag, it is proof positive that the software cannot be trusted. A corporate environment which would put out a chat program asking for root, is a corporate environment that cannot be trusted to put out chat programs.

try {

    installHelperProgram();

} catch(FilePermissionError e) {

    dialog("Cannot install Slack helper program because file {F} has insufficient privileges. Please run `chmod 557 {F}` or go to Settings > Helper Program and click 'Fix installer file permissions'.", e.getFile());

}

Compare this to "if a bank calls you, it should never ask for your password, you should call back the main number".

No comments:

Post a Comment