You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current validation only checks the first token of a command, allowing an attacker to bypass restrictions by appending dangerous commands with shell separators. For example, an input like:
echo"safe"; sudo rm -rf /important/data
passes validation but then executes the forbidden sudo command. This could lead to arbitrary command execution. Consider enhancing the validation logic to inspect the entire command string or avoid using shell: true in command execution.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The current validation only checks the first token of a command, allowing an attacker to bypass restrictions by appending dangerous commands with shell separators. For example, an input like:
passes validation but then executes the forbidden sudo command. This could lead to arbitrary command execution. Consider enhancing the validation logic to inspect the entire command string or avoid using shell: true in command execution.
The text was updated successfully, but these errors were encountered: