Log inGet a Demo

sentry-code-review

High Β· Risk 70

The skill is critically insecure because it executes arbitrary code based on untrusted external PR comments and lacks defined tool constraints, enabling remote code injection and unauthorized repository modifications.

Findings (4)

Content Injection

High

targets Perception

1 finding
#1Indirect prompt injection via Sentry commentshighprompt injection90% confidenceline 101

The skill explicitly instructs the agent to parse and follow instructions contained within the 'πŸ€– Prompt for AI Agent' section of external GitHub comments. Since these comments are user-controllable, an attacker can inject arbitrary instructions into the agent's workflow.

4. Read the "πŸ€– Prompt for AI Agent" section for specific context about the issue

Behavioural Control

High

targets Action

2 findings
#1Potential for arbitrary code execution via PR commentshighcommand execution85% confidence

By design, the skill parses instructions from external PR comments and is authorized to use the 'Edit' tool to modify code. This creates a direct path for an attacker to execute arbitrary code changes in the repository by crafting a malicious Sentry-style comment.

4. Implement the suggested fix or your own solution... Use Edit tool to make precise changes
#2Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.

Hygiene

Info

targets Packaging & Manifest

1 finding
#1Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.