hello-stephen opened a new pull request, #63496: URL: https://github.com/apache/doris/pull/63496
## Problem The \`license-eyes.yml\` workflow uses \`pull_request_target\` and checks out the fork's HEAD without \`persist-credentials: false\`. Additionally, the inline Python script runs \`import yaml\` while the fork's code is in the working directory — a fork-supplied \`yaml.py\` would shadow the stdlib module and execute arbitrary code. ## Fix - Add \`persist-credentials: false\` to the \`pull_request_target\` checkout step - Strip \`''\` and \`'.'\` from \`sys.path\` before \`import yaml\` to prevent local module shadowing Backport of #63486. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
