Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Don't print out shell snippets if we find anything malicious #35

@jhrozek

Description

@jhrozek

This might be a little too much now, but since shell snippets are typically one-liners we might want to just buffer them before evaluation (this would not slow the execution too much), maybe if we find that the snippet is longer we can let it through line-by-line. We'd then evaluate the snippet and only let it through if it doesn't contain any malicious packages.

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