Back to skill

Security audit

qa-state-transition

Security checks for vulnerabilities and agentic risk

Overview

This is a read-only QA guidance skill for designing state-transition tests, with one optional unpinned install suggestion users should treat cautiously.

Install only if you want Chinese-language state-transition testing guidance. Do not run the optional `npx skills add Kokxi/qa-test-skills` command unless you trust and have reviewed that external package source.

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

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The activation criteria are very broad (状态测试, 状态机, 状态变更, etc.) and overlap with common QA terminology, increasing the chance the skill will be invoked in contexts the user did not intend. Unintended invocation can steer agent behavior, consume context, or override more appropriate skills, which is a prompt-scope and control-flow weakness rather than direct code execution.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
83% confidence
Finding

Nearly all user-facing instructions, examples, metadata, and outputs are written exclusively in Chinese, and the trigger conditions in metadata are also Chinese-only. There is no statement offering language selection or explaining that the skill is intentionally limited to a Chinese-language environment.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The skill instructs users to run npx skills add Kokxi/qa-test-skills without pinning an exact package version or immutable source. This creates a supply-chain risk: a later package update, account compromise, or dependency change could cause different code to be fetched and executed than what was originally reviewed.

Content

No source excerpt is available for this finding.