Back to skill

Security audit

Curriculum Standard

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly a legitimate curriculum-document generator, but it keeps all intermediate files and logs and includes under-scoped remote PDF downloading.

Review this skill before installing if you will process sensitive school, student, or institutional documents. It should ideally ask before retaining debug files, define cleanup rules, and restrict remote PDF downloads to verified official sources with size and type checks.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:258
Finding

Unrestricted URL Retrieval Enables Server-Side Request Forgery

Content
View full analysis
Remediation
View remediation
maximum_size: raise ValueError("The PDF exceeds the permitted size") output.write(chunk) ``` URL validation must occur before this request and must cover DNS resolution and redirects. ]]>

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:759
Finding

Unconditional Retention of Intermediate Files and Logs Risks Sensitive Data Exposure

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (4)

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
95% confidence
Finding

The workflow first prohibits guessing or using defaults for required fields, then later permits placeholders or inferred structures when key information is missing. This contradiction weakens safety and integrity controls because the agent may proceed with fabricated or inferred content that appears authoritative, causing silent data quality failures and enabling prompt-induced bypass of required validation gates.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger list includes broad, generic educational terms such as 课程目标, 教学评价, 课程结构, and 课程建设, which can overlap with many benign education-related conversations. Overbroad activation can cause the wrong skill to run unexpectedly, pulling in unnecessary workflow behavior and increasing exposure to unintended file access, processing steps, or network retrieval logic contained in the skill.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill instructs the agent to fetch remote PDF files from ministry links when the user has not supplied a teaching standard. That expands the trust boundary from user-provided local inputs to network-retrieved content, creating risks such as SSRF-like misuse if URLs or index contents are tampered with, ingestion of malicious or unexpected documents, and nondeterministic behavior unrelated to the core task of generating a curriculum standard from supplied materials.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill says the learning-scenario template type must be selected by the user and must not be auto-selected, but later fallback logic substitutes another template or simplified version automatically when template reading fails. That creates a policy bypass where a mandatory user decision is replaced by implicit system behavior, reducing predictability and potentially producing noncompliant output without informed consent.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.