execute-sonar-analysis
Audited by Socket on Sep 11, 2026
2 alerts found:
Anomalyx2SUSPICIOUS. The core purpose and most capabilities are coherent for a SonarQube execution skill, and the Maven path looks normal. Risk comes from the Node fallback: `npx --yes sonar-scanner` may download and execute an unpinned package, then forward the Sonar token to it; this is a real supply-chain and credential-forwarding concern even though the overall skill is not overtly malicious.
The code is a readable SonarQube analysis wrapper with no clear malicious behavior. It does introduce supply-chain risk through the npx --yes fallback, which downloads and executes an unpinned package, and it may expose SONAR_TOKEN through process listings because credentials are passed as command-line arguments. Pinning or preinstalling the scanner, verifying binaries, and using a less observable credential mechanism would reduce risk.