Inspect and audit GitHub Actions CI pipelines, test execution logs, and SonarCloud metrics (quality gate, open issues, code smells, vulnerabilities, and duplicated lines density) for a given Pull Request.
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Critical
Do not install without reviewing
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/pr-analyzer/SKILL.mdDetected a prompt injection in the skill instructions. The skill contains hidden or deceptive instructions that fall outside its stated purpose and attempt to override the agent’s safety guidelines or intended behavior.
The script silently falls back to a hardcoded SonarCloud token on line 135 when the user has configured none, which means it acts under an embedded credential the user never supplied; the requests go to the official sonarcloud.io endpoint and are read-only, so this reads as careless or hidden credential use rather than malicious intent.
Detected sensitive credentials directly embedded within the skill content, such as API keys, access tokens, private keys, or service-specific secrets. Secrets should never be hardcoded in plain text within skill instructions.
In scripts/check_pr_sonar.py line 135, the code falls back to a hardcoded literal token, "934de92660c2df9d46c25af32982c5d67b7e8496". It is a 40-character hex string with high entropy, which matches the format of a SonarCloud/SonarQube user token. It is not a placeholder, an example, or a redacted value. It is used as a real fallback credential for Basic Auth against the SonarCloud API. This is a genuine hardcoded secret. The other items are not secrets. The environment variable names SONAR_TOKEN and SONARCLOUD_TOKEN are only names. The project key "JoseMD12_finance-hub" is an identifier, not a credential.
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The required workflow reads outsider-influenced text from GitHub PR metadata (title, checks), CI failure logs (`gh run view --log-failed`), and SonarCloud issue messages derived from PR code, all of which a non-selected outsider can influence by opening or contributing to a PR, so the risk is medium.
JoseMD12/finance-hub
2ca9a0b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.