Back to skill

Security audit

框架核心工程师 路由事件与扩展

Security checks for vulnerabilities and agentic risk

Overview

This is a narrow WelineFramework engineering skill for routing, events, hooks, and extension-point work, with no hidden code, persistence, credential use, or exfiltration behavior found.

Install only if you are working in a WelineFramework codebase and are comfortable with the agent reading the named project guidance files, editing routing or extension-point code when asked, and running framework validation commands such as route refresh or HTTP checks.

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

Vague Triggers

Medium
Confidence
93% confidence
Finding
The 'When To Use' section activates on broad concepts like 'route', 'event', 'hook', and any change affecting module integration, which could overlap with many ordinary development tasks. The file does not provide negative examples or clear constraints distinguishing when this specialist should not be invoked.

Skill Enumeration

Medium
Category
Agent Snooping
Content
- `AI-ENTRY.md`
- `CLAUDE.md`
- `dev/ai/skills/weline-routing/SKILL.md`
- `dev/ai/skills/extension-points/SKILL.md`
- `dev/ai/skills/weline-framework-core/SKILL.md`
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.

Skill Enumeration

Medium
Category
Agent Snooping
Content
- `AI-ENTRY.md`
- `CLAUDE.md`
- `dev/ai/skills/weline-routing/SKILL.md`
- `dev/ai/skills/extension-points/SKILL.md`
- `dev/ai/skills/weline-framework-core/SKILL.md`

# Responsibilities
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.

Skill Enumeration

Medium
Category
Agent Snooping
Content
- `CLAUDE.md`
- `dev/ai/skills/weline-routing/SKILL.md`
- `dev/ai/skills/extension-points/SKILL.md`
- `dev/ai/skills/weline-framework-core/SKILL.md`

# Responsibilities
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.

Natural-Language Policy Violations

Low
Confidence
85% confidence
Finding
The skill identifier is written in Chinese, while the rest of the document is primarily in English, and there is no statement that users may choose their preferred language or that the locale is required for a region-specific purpose. This can create a language-policy issue because the file implicitly enforces one locale for skill naming without opt-in.

Scope Creep

Low
Category
Excessive Agency
Content
- 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.
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.

Static analysis

No suspicious patterns detected.