Back to skill

Security audit

xtest

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed QA gatekeeping skill that tells an agent to classify code changes, run appropriate tests, and make limited fixes before delivery.

Install this if you want an agent to enforce testing before handing over code changes. Be aware that it uses broad Chinese trigger phrases and may push the agent to run validation commands and make minimal repair edits when tests fail.

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
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The description is written entirely in Chinese and presents the skill behavior as mandatory, with no indication that the user can choose another language or locale. Per the policy, forcing a specific language without opt-in is a natural-language policy violation unless the locale restriction is explicitly justified.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The trigger list uses broad, generic phrases such as '代码验证', '质量门禁', and '发布前验证', which can cause the skill to activate in many ordinary QA or delivery contexts without clear user intent. In an agent system, overbroad activation is dangerous because it can unexpectedly take over workflows, steer execution toward running tests/commands, and apply its gatekeeping logic where it was not explicitly requested.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.