CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

pr-analyzer

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.

Quality

76%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Critical

Do not install without reviewing

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/pr-analyzer/SKILL.md
SKILL.md
Quality
Evals
Security
Critical

E004: Prompt injection detected in skill instructions.

What this means

Detected 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.

Why it was flagged

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.

Report incorrect finding
High

W008: Secret detected in skill content (API keys, tokens, passwords).

What this means

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.

Why it was flagged

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.

Low

W011: Third-party content exposure detected (indirect prompt injection risk).

What this means

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.

Why it was flagged

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.

Repository

JoseMD12/finance-hub

Path

.agents/skills/pr-analyzer/SKILL.md

Audited
Security analysis
Snyk

Is this your skill?

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.