Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 990 Bytes

Azure.DevOps.Pipelines.Settings.SanitizeShellTaskArguments.md

File metadata and controls

25 lines (15 loc) · 990 Bytes
category severity online version
Microsoft Azure DevOps Pipelines
Severe

Azure.DevOps.Pipelines.Settings.SanitizeShellTaskArguments

SYNOPSIS

Project settings should enforce sanitization of shell task arguments to prevent command injection.

DESCRIPTION

Shell tasks can be used to run arbitrary commands on the agent. If the arguments are not sanitized, it is possible for a malicious actor to inject additional commands into the arguments. This can lead to the execution of malicious code on the agent.

Mininum TokenType: ReadOnly

RECOMMENDATION

Consider enforcing sanitization of shell task arguments in the project settings.

LINKS