Back to skill

Security audit

Review Ai Writing

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent AI-writing review skill, with expected repository scanning and report writing but no evidence of hidden, destructive, or exfiltrating behavior.

Install this if you want repository text reviewed for AI-like writing patterns. Be aware it can read developer docs, comments, docstrings, commit messages, and on PR branches the PR body via gh; it also writes a .beagle report file. Use a specific path or category when you do not want a broad scan, and avoid --all unless scanning the whole codebase is intended.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (13)

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/filler-patterns.md (reported line 30)May include surrounding context.

Before / After

markdown
<!-- Before -->
It's worth noting that the connection pool defaults to 10.

<!-- After -->

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/formatting-patterns.md (reported line 16)May include surrounding context.

Bolding common terms throughout a paragraph:

markdown
<!-- BAD - Every term is bold, nothing stands out -->
The **server** reads the **configuration file** on **startup** and
initializes the **database connection pool**. If the **connection**
fails, the **retry logic** kicks in with **exponential backoff**.

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/vocabulary-patterns.md (reported line 18)May include surrounding context.

delve, utilize, leverage (meaning "use"), whilst, furthermore, moreover, harnessing, revolutionize, paradigm, synergy, facilitate, empower, elevate, unleash, robust (non-technical), seamless, cutting-edge, endeavor, pivotal, embark

markdown
<!-- BAD -->
Let's delve into how this module leverages the cache to facilitate
seamless data retrieval, empowering developers to unleash the full
potential of the framework.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The manifest description is broad enough to match many ordinary review requests, including generic writing-quality tasks. Overbroad invocation criteria increase the chance the skill is auto-selected in contexts outside narrow AI-writing detection, causing unnecessary repository scanning, git inspection, and report-writing behaviors.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 31)May include surrounding context.

md
### 2. Load Skills

Load the [review-verification-protocol](../../../beagle-core/skills/review-verification-protocol/SKILL.md) skill before reporting findings. The AI-writing pattern catalog lives in this file's Reference Material section and the `references/*.md` files — read the categories you intend to check.

### 3. Determine Scope

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 271)May include surrounding context.

md
### 2. Load Skills

Load the [review-verification-protocol](../../../beagle-core/skills/review-verification-protocol/SKILL.md) skill before reporting findings. The AI-writing pattern catalog lives in this file's Reference Material section and the `references/*.md` files — read the categories you intend to check.

### 3. Determine Scope

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 296)May include surrounding context.

md
### 2. Load Skills

Load the [review-verification-protocol](../../../beagle-core/skills/review-verification-protocol/SKILL.md) skill before reporting findings. The AI-writing pattern catalog lives in this file's Reference Material section and the `references/*.md` files — read the categories you intend to check.

### 3. Determine Scope

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 384)May include surrounding context.

md
### 2. Load Skills

Load the [review-verification-protocol](../../../beagle-core/skills/review-verification-protocol/SKILL.md) skill before reporting findings. The AI-writing pattern catalog lives in this file's Reference Material section and the `references/*.md` files — read the categories you intend to check.

### 3. Determine Scope

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The instruction to run gh pr view --json body gives the skill external-service access beyond local text review. This can pull remote repository metadata or private PR content without explicit user awareness, which is risky in restricted or privacy-sensitive environments.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill tells the agent to read PR descriptions from GitHub without any user-facing disclosure that external metadata may be accessed. In environments with private repos or compliance controls, silent network-backed retrieval can expose sensitive content and violate user expectations.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill is described as a review tool for developer text, but it also instructs the agent to create a directory and write a JSON file into the repository. That expands it from read-only analysis into state-changing behavior, which can surprise users, alter working trees, and be abused in automation contexts where review skills are expected not to modify project contents.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 393)May include surrounding context.

md
Detecting AI-generated writing in developer documentation: docstrings, code comments, commit messages, and PR descriptions.

> **Overlap note:** Tautological docstrings and obvious comments also appear in [llm-artifacts-detection](../../../../beagle-core/skills/llm-artifacts-detection/SKILL.md) (style-criteria.md). This file focuses on the AI writing style aspect; the artifacts skill focuses on unnecessary code artifacts.

---

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · references/code-docs-patterns.md (reported line 5)May include surrounding context.

md
Detecting AI-generated writing in developer documentation: docstrings, code comments, commit messages, and PR descriptions.

> **Overlap note:** Tautological docstrings and obvious comments also appear in [llm-artifacts-detection](../../../../beagle-core/skills/llm-artifacts-detection/SKILL.md) (style-criteria.md). This file focuses on the AI writing style aspect; the artifacts skill focuses on unnecessary code artifacts.

---