Back to skill

Security audit

wpf-developer

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent Chinese-language WPF development reference skill with no hidden execution, credential access, persistence, or unrelated data handling found.

Install only if Chinese-language WPF guidance is acceptable for your workflow. Treat package versions and library recommendations as snapshots and verify current NuGet versions before applying templates to a real project.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (8)

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/xaml-recipes.md (reported line 26)May include surrounding context.

xml
<materialDesign:DialogHost Identifier="RootDialog" CloseOnClickAway="True">
    <!-- 主内容 -->
    <Grid>
        <Button Content="删除" Command="{Binding DeleteCommand}" />
    </Grid>

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/xaml-recipes.md (reported line 26)May include surrounding context.

xml
<materialDesign:DialogHost Identifier="RootDialog" CloseOnClickAway="True">
    <!-- 主内容 -->
    <Grid>
        <Button Content="删除" Command="{Binding DeleteCommand}" />
    </Grid>

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The description and role instructions are entirely written as a Chinese-only skill profile, and there is no indication that the user may choose another language or locale. Under 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.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown reference forces a specific language/locale for the reader through its title and description, and the rest of the document continues in Chinese only. Under the policy, language constraints should either be optional for the user or clearly justified as region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

In the localization section, the guidance centers exclusively on Chinese resource files such as Strings.zh-CN.xaml and explicitly forbids hardcoded Chinese strings, but it does not offer any user opt-in or explain that the skill is intentionally limited to a Chinese locale. This creates a natural-language locale policy concern because the file appears to prescribe a specific language context by default.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

Line L149 instructs that XAML files be saved as UTF-8 with BOM specifically to prevent Chinese resource garbling in some toolchains. This embeds a language-specific requirement in the guidance without offering locale choice or documenting that the skill is intentionally region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

This markdown file contains user-facing instructional content exclusively in Chinese, and there is no indication that the skill is region-specific or that users can opt into the language. Per the policy, forcing a specific language without user choice can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

This markdown file presents all instructions and guidance exclusively in Chinese, and nowhere indicates that the skill is region-specific or that users may choose another language. Under the language/locale policy, forcing a specific language without user opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.