Back to skill

Security audit

collage-application

Security checks for vulnerabilities and agentic risk

Overview

The skill’s core workflow is understandable, but it sends student application data to an external UAT service without clear user-facing disclosure and may ask users to paste an API key into chat.

Review before installing. This skill may send a student’s province, score, rank, selected subjects, and intended majors to an external UAT service to generate the application sheet. Do not paste API keys into chat; only use a trusted secret mechanism, and install only if you accept the external processing and the lack of documented retention, operator, and consent details.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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
Findings (3)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
scripts/create_collage_application.py:5
Finding

Student profile data is transmitted to an undisclosed third-party UAT endpoint

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Note
Location
scripts/create_collage_application.py:12
Finding

API-key handling is misleading and can cause unnecessary secret exposure

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Note
Location
scripts/verify_correct_info.py:53
Finding

Omitting the documented optional ranking causes an unhandled exception

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The documented behavior says the skill provides college application guidance, but the implementation instructions imply third-party API use and data transmission that are not disclosed in the description. That mismatch undermines informed consent and can expose sensitive student information such as province, subjects, score, rank, majors, and possibly API credentials to undisclosed external services.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
85% confidence
Finding

The skill invokes Python scripts and explicitly depends on the requests package, indicating outbound network capability, but it does not declare any tool scope, permissions, or allowed-tools constraints. This creates an under-scoped skill where external communication may occur without transparent declaration or policy restriction, increasing the risk of unauthorized data transmission.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The description is written as a fixed Chinese-language instruction for the skill's behavior, with no indication that users may choose another language or that the locale restriction is required for compliance or regional limitations. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill explicitly tells the agent to ask the user to input an API key in chat if the environment variable is unavailable. Collecting secrets through normal conversation is unsafe because chat logs may be retained, exposed to operators, or reused by downstream systems, leading to credential compromise and abuse of the associated external account.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
94% confidence
Finding

The code sends user-supplied personal and educational information to an external domain via requests.post, creating a real data exfiltration/trust-boundary crossing risk. Although HTTPS is used, the danger is not transport encryption but the transfer itself to an external service, especially one labeled as UAT, with no authentication header usage, validation of destination trust, or user-facing notice.

Content

Scanner excerpt · scripts/create_collage_application.py (reported line 13)May include surrounding context.

python
"majors": majors.split(","),
    }
    url = "https://wxc-college-uat.randomlife.cn/v1/collage_application/create"
    response = requests.post(url, json=data, timeout=30)
    return response.json()

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The function transmits sensitive educational/profile data (province, score, rank, course selection, and major preferences) to an external service without any visible consent, disclosure, or minimization controls in the code. This is particularly concerning because the endpoint is a third-party UAT environment, which may have weaker security and data-handling practices than production systems.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

All user-facing CLI help strings are written only in Chinese, and the script's accepted domain values are Chinese-only throughout the file. For a general-purpose skill, this can constitute a locale policy issue because the user is not offered any language choice or opt-in.

Content

No source excerpt is available for this finding.