Back to skill

Security audit

React Advanced

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent React and Next.js guidance skill with no executable code, persistence, credential handling, or hidden data access.

Installers should expect this skill to answer mainly in Chinese and to focus on advanced React and Next.js guidance. Review the visible model preference if your environment treats model frontmatter as a billed routing choice.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger phrases are broad and map to common React topics such as 'RSC 怎么用', 'Suspense 怎么用', and '重渲染太多', without clear boundaries on when this skill should activate instead of other frontend, performance, or debugging skills. This can cause over-activation, leading the agent to respond with this skill in situations where a narrower or safer skill would be more appropriate, reducing reliability and potentially exposing users to irrelevant guidance.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file includes a largely Chinese-language skill title, description, and trigger examples, while also embedding English React terms, but it does not state that the skill is intended only for Chinese-speaking users or give users a language/locale option. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

External Model or Provider Selection

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.

Content

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

md
---
name: react-advanced
description: Advanced React patterns and Next.js architecture: RSC, Suspense, concurrent features, render optimization, custom hooks design, and App Router best practices. Use when React Server Components, RSC, Suspense, useTransition, Next.js App Router, 渲染优化, 自定义 hook, or advanced React patterns.
model: opus
---

# React 进阶(React Advanced)

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The tagline and description are presented only in Chinese, which imposes a specific language on users without any stated opt-in, alternative locale, or justification that the skill is region-specific. This is a natural-language policy concern because the file does not indicate that the language restriction is intentional or optional.

Content

No source excerpt is available for this finding.