Back to skill

Security audit

prd-writter

Security checks for vulnerabilities and agentic risk

Overview

This is a Chinese-language PRD writing helper made of Markdown templates, with no evidence of hidden execution, persistence, credential use, or data exfiltration.

Install this if you want a Chinese PRD drafting template skill. Be aware that it may activate on broad PRD-related phrases and generated example PRDs may mention third-party integrations that still need normal privacy, consent, and token-handling review before implementation.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (9)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The README lists trigger phrases such as "产品需求文档" and "帮我写PRD" without clarifying when the skill should or should not activate. These phrases are broad enough to overlap with ordinary conversation about PRDs, and the file provides no negative examples or scope constraints to reduce accidental matches.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · README.md (reported line 30)May include surrounding context.

md
- **版本**: 2.0.0
- **作者**: AI Assistant
- **标签**: product, prd, documentation, ai, auto-write

## 文件结构

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · README.md (reported line 30)May include surrounding context.

md
- **版本**: 2.0.0
- **作者**: AI Assistant
- **标签**: product, prd, documentation, ai, auto-write

## 文件结构

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The description presents the skill entirely in Chinese and states it will generate PRD documents directly, implying a fixed language/locale behavior. There is no indication that users may choose another language, which can violate language/locale policy when no opt-in is provided.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The example PRD explicitly includes external stock data sources and notification channels such as Feishu bots and email, but does not warn that user inputs, stock preferences, contact endpoints, and alert metadata may be transmitted to third-party services. This omission can lead downstream users or implementers to design and deploy the feature without adequate notice, consent, or privacy controls, increasing the risk of unintended data disclosure and compliance issues.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The manifest explicitly sets the skill language to "zh-CN" and the surrounding content is entirely Chinese, which indicates a fixed language/locale constraint. Under the policy, forcing a specific language without offering user choice or documenting a justified region-specific need is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The entire PRD template is written in Chinese, including headings, field labels, and placeholder guidance, which effectively mandates a specific language for skill users. The file does not offer a language/locale choice or explain that the template is intended only for a China-specific or Chinese-speaking context.

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 template is entirely written in Chinese, including headings, field labels, and instructional placeholders, which implicitly constrains generated PRDs to a specific language. The file does not offer an alternative language option or state that the template is intended only for a Chinese-speaking or region-specific context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The natural-language instructions and trigger phrases are entirely Chinese, and the README does not state that the skill is region-specific or that users may choose another language. Under the language/locale policy, forcing a specific language without opt-in can be a policy concern.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.