github-advanced-security[bot] commented on code in PR #3414:
URL: 
https://github.com/apache/incubator-kie-tools/pull/3414#discussion_r2743812380


##########
packages/eslint/eslint.js:
##########
@@ -38,10 +39,13 @@
 }
 
 try {
-  execSync(`pnpm eslint ${lintPath} --ext .ts,.tsx --config ${configPath} 
${ignorePathArgument}`, {
-    stdio: "inherit",
-    cwd: __dirname,
-  });
+  execSync(
+    `pnpm eslint ${lintPath} --ext .ts,.tsx --config ${configPath} 
--resolve-plugins-relative-to ${defaultConfigPath} ${ignorePathArgument}`,

Review Comment:
   ## Shell command built from environment values
   
   This shell command depends on an uncontrolled [absolute path](1).
   This shell command depends on an uncontrolled [absolute path](2).
   This shell command depends on an uncontrolled [absolute path](3).
   
   [Show more 
details](https://github.com/apache/incubator-kie-tools/security/code-scanning/1046)



-- 
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]

Reply via email to