Back to skill

Security audit

Legacy To Modern Migration

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent frontend migration guide with disclosed code-migration behavior and no hidden execution, credential access, persistence, or exfiltration.

Install this only for deliberate frontend modernization work. Review the generated migration plan before allowing code changes, especially in large legacy projects, because the skill is intended to guide real refactoring.

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 (7)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
2. Load [references/migration-strategy-and-mapping.md](references/migration-strategy-and-mapping.md), select a progressive or one-time rewrite strategy, and cla

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

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

md
- ID: `fec-legacy-to-modern-migration`
- Category: `legacy-migration`
- Version: `2.9.0`
- Source: `skills/fec-legacy-to-modern-migration/SKILL.md`

## Description

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The description activates on broad phrases like 'legacy projects' and 'technology stack upgrades' without clearly defining scope boundaries, which can cause the skill to be invoked in situations beyond intentional frontend migration. In an agent environment, over-broad routing can lead to inappropriate guidance, unintended code changes, or unsafe automation on systems that only need routine maintenance rather than migration.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The README states that 'Chinese triggers include legacy projects, technology stack upgrades, jQuery migration,' which introduces a language-specific activation policy in natural language. Because the file does not indicate that trigger language is optional or that the skill is intentionally region-specific, this can violate the policy against forcing a specific language without user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The description explicitly states "Chinese triggers include..." which introduces a language-specific invocation policy, but the file does not indicate that language support is optional, user-selected, or limited for a documented regional reason. This is a natural-language policy concern because it hard-codes a locale expectation rather than presenting multilingual support as opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The description explicitly states 'Chinese triggers include legacy projects, technology stack upgrades, jQuery migration,' which introduces a language-specific activation policy. The file does not indicate that other languages are equally supported, that Chinese is optional, or that the locale restriction is justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The manifest description states that 'Chinese triggers include legacy projects, technology stack upgrades, jQuery migration.' This introduces a language-specific trigger policy in natural language without saying the skill also supports other languages by choice or that Chinese is optional, which can violate language/locale neutrality expectations.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.