Skip to content

[BUG] - Misleading dangerous command warning for :(){ :|:& };: #759

@evolvewithevan

Description

@evolvewithevan

Describe the Bug

With tux running in a server and dangerous command warnings present, upon someone sending :(){ :|:& };: a warning is returned that improperly describes the danger of the command as "...all directory contents will be deleted..." when that is not the actual danger of the command.

To Reproduce

Steps to reproduce the behavior:

  1. Ensure tux is properly configured and set up on a discord server, with dangerous command warnings enabled
  2. paste :(){ :|:& };: as a user message

Expected Behavior

A clear description of the danger is given.

Screenshots

Image

Environment

Unprivileged of discord server

Additional Context

This was only tested in the official "All Things Linux" discord server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions