yzeng1618 opened a new issue, #17994:
URL: https://github.com/apache/dolphinscheduler/issues/17994

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   ### Problem
   The SeaTunnel task builds the execution command by concatenating 
user-provided parameters (e.g. `startupScript` and `-i` variables) into a shell 
command.
   
   - `startupScript` is used as `${SEATUNNEL_HOME}/bin/<startupScript>` without 
strict validation, which could be abused by unexpected values (e.g. path 
traversal / shell injection).
   - `-i key='value'` breaks when `value` contains a single quote, and it is 
also unsafe without proper shell escaping.
   
   Also, the SeaTunnel task docs are outdated
   
   
   
   ### Are you willing to submit a PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to