Skip to content

Security: Detect PowerShell/Ruby/Perl command execution #9

@ProduktEntdecker

Description

@ProduktEntdecker

Bypass Description

Alternative interpreters can execute install commands:

pwsh -c "npm install malicious"
ruby -e "system('npm install evil')"
perl -e "exec('pip install malware')"

Difficulty: Medium

Need to add detection for pwsh, ruby -e, perl -e patterns.

Priority: Medium


Found in security audit 2024-01-06

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions