Back to skill

Security audit

前端主题工程师 主题模板开发

Security checks for vulnerabilities and agentic risk

Overview

This is a narrowly scoped Weline frontend theme-development skill with disclosed project-document reading and no executable code, persistence, credential handling, or hidden behavior.

Before installing, confirm this skill is intended for a WelineFramework repository where the referenced AI and theme documentation paths exist. Its main effect is to guide an agent's edits to source templates and scoped theme assets, so normal code review and rendered-page validation remain appropriate.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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 (5)

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 · SKILL.md (reported line 21)May include surrounding context.

md
- `AI-ENTRY.md`
- `CLAUDE.md`
- `dev/ai/skills/theme-development/SKILL.md`
- `dev/ai/skills/template-source-editing/SKILL.md`
- `dev/ai/skills/code-generation-standards/SKILL.md`

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 · SKILL.md (reported line 22)May include surrounding context.

md
- `AI-ENTRY.md`
- `CLAUDE.md`
- `dev/ai/skills/theme-development/SKILL.md`
- `dev/ai/skills/template-source-editing/SKILL.md`
- `dev/ai/skills/code-generation-standards/SKILL.md`

# Responsibilities

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 · SKILL.md (reported line 23)May include surrounding context.

md
- `CLAUDE.md`
- `dev/ai/skills/theme-development/SKILL.md`
- `dev/ai/skills/template-source-editing/SKILL.md`
- `dev/ai/skills/code-generation-standards/SKILL.md`

# Responsibilities

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The skill name is written in Chinese while the rest of the document is primarily in English. This imposes a language choice on users without explicitly offering localization or opt-in, which can be a natural-language policy concern under language/locale rules.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

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

md
- Know the Weline AI agent roster defined in the shared skill and `dev/ai/agent/README.md`.
- Keep work inside this specialist's ownership boundary.
- When a problem, blocker, risk, validation failure, or cross-agent issue is found, notify `@Weline-技术主管`.
- Do not silently expand scope to fix another agent's area.
- Include collaboration status in the final report.