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
Properly escape user inputs to prevent shell metacharacter injection.
Users can no longer inject commands via special shell chars (;, |, $(...), etc.)
in the Environment Variables or Rake Arguments UI fields.
Implementation:
- Validate environment tokens as KEY=VALUE pairs only (reject malicious tokens)
- Escape only the VALUE part with Shellwords.escape (preserves KEY= unescaped)
- Escape task arguments with Shellwords.escape
- Add comprehensive tests verifying shell injection attempts are prevented
0 commit comments