Back to skill

Security audit

小方同学全球首个营销方案Agent

Security checks for vulnerabilities and agentic risk

Overview

The skill mostly matches its AIPPT marketing/PPT purpose, but it handles account credentials and automatically exposes authentication and output files through public third-party links without clear user consent.

Review before installing. Do not use this skill with confidential briefs, customer data, unreleased plans, or regulated information unless you accept that content may be sent to AIPPT and tmpfiles.org public links. Prefer browser-based login over giving the assistant a password, use a low-risk account, and check for a version that removes public file-host uploads and requires explicit confirmation before final submission.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • 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
  • 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 (5)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:413
Finding

Automatic disclosure of user-generated reports to a public third-party file host

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
references/api-details.md:429
Finding

Authentication QR code is exposed through an unauthenticated public file-sharing service

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
references/api-details.md:120
Finding

Unsafe credential interpolation into a Node.js command permits code injection

Content
View full analysis
Remediation
View remediation

T01 · Skill Instruction Hijacking

Warning
Location
SKILL.md:245
Finding

Final-review consent is bypassed using an automatically accepted hidden user message

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Note
Location
package.json:13
Finding

Skill metadata understates the execution privileges used by the workflow

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (20)

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill directs the agent to extract an authentication token from browser localStorage, which grants access to the user's authenticated web session and may expose broader account capabilities than the narrow task requires. Reading browser-stored tokens is especially risky because it bypasses scoped delegation and can enable unintended API calls as the user.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill instructs the agent to upload generated reports and PDFs to tmpfiles.org, a third-party file-sharing service outside the primary marketing platform. This expands data exposure beyond the promised scope and can leak user-provided business plans, internal documents, or generated materials to an external host with different retention and access controls.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill uploads generated documents to tmpfiles.org without an explicit user-facing warning that content will leave the primary service and be hosted by a third party. This can expose sensitive business content and creates a significant transparency and consent failure.

Content

No source excerpt is available for this finding.

Ssd 3

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

Uploading the generated report and PDF to a public file-sharing site discloses user-derived content outside the main service boundary and may make it accessible via temporary links or host-side retention. For a marketing skill that may process proprietary plans and internal materials, this is a substantial confidentiality risk.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
90% confidence
Finding

Although not equivalent to deleting the filesystem root, the skill instructs use of a powerful recursive deletion command against a dynamically named temporary path. In an agent/tooling context, destructive shell commands are risky if path construction, variable substitution, or task ID handling is ever malformed, potentially causing unintended file deletion.

Content

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

text

> - 如果某个文件上传失败,只展示成功的链接,不阻塞流程
> - 最后清理临时文件:`rm -rf /tmp/aippt-pdf-TASK_ID`
> - **发送完下载链接后,本次技能流程结束,不要追加任何额外话术(如"如需修改随时告诉我"等)**

---

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
85% confidence
Finding

Although not equivalent to deleting the filesystem root, the skill instructs use of a powerful recursive deletion command against a dynamically named temporary path. In an agent/tooling context, destructive shell commands are risky if path construction, variable substitution, or task ID handling is ever malformed, potentially causing unintended file deletion.

Content

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

text

> - 如果某个文件上传失败,只展示成功的链接,不阻塞流程
> - 最后清理临时文件:`rm -rf /tmp/aippt-pdf-TASK_ID`
> - **发送完下载链接后,本次技能流程结束,不要追加任何额外话术(如"如需修改随时告诉我"等)**

---

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill documentation explicitly instructs the agent to ask the user for a phone number and password, encrypt them, and submit them to a third-party login API. This causes the agent to directly collect and handle primary credentials unrelated to the core marketing/PPT function, creating credential theft, mishandling, and account-compromise risk if the agent, logs, or downstream systems are exposed.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The documentation instructs the agent to solicit a user’s mobile number and password for API login without prominent risk disclosure or safer alternatives. Requesting raw credentials through the agent materially raises phishing and secret-handling risk, especially because users may assume the assistant is an approved login surface.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The documented flow tells the agent to screenshot a login QR code and upload it to tmpfiles.org, an unrelated public file-hosting service, then share the public link with the user. Login QR codes are authentication artifacts; exposing them through a public temporary host can enable unauthorized scanning, session hijacking, and leakage of sensitive login material.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The QR-code upload flow omits a clear warning that the login QR image will be temporarily hosted on an external public service. Even aside from the insecure design itself, the lack of disclosure prevents informed user consent for exposing an authentication artifact to a third party.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The README explicitly advertises automatic link fetching and local file reading to generate marketing plans, but it does not warn users that uploaded files and fetched page contents may be transmitted to a third-party service for processing. In a skill that handles potentially sensitive briefs, internal documents, or private URLs, this omission can cause unintended disclosure of confidential or regulated data.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

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

手动安装

bash
mkdir -p ~/.openclaw/workspace-marketing/skills/aippt-marketing
cd ~/.openclaw/workspace-marketing/skills/aippt-marketing
# 复制 SKILL.md, package.json 等文件到此目录

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The workflow states that the user must log in to obtain a token and that the skill will create remote projects and tasks, yet the README does not clearly disclose these networked account actions or their data implications. Users may not realize that account credentials/session tokens and marketing content are being used to perform operations against an external service, increasing the risk of unauthorized or unexpected account-linked activity.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill retrieves a sensitive authentication token from browser localStorage without an explicit warning or consent flow to the user. Even if technically functional, accessing session material silently is unsafe because users may not understand that the agent is reusing their authenticated browser state.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill states that every interrupt must be shown to the user and require feedback, but later instructs the agent to auto-accept the final report stage without waiting. This undermines the documented approval boundary and can cause the agent to submit content or advance workflow without user review.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill asks the user for a phone number and password for direct API login without an explicit privacy and handling warning. Collecting primary credentials inside a skill is risky because users may disclose secrets to the agent without understanding storage, transmission, and reuse implications.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

第三步:创建项目

bash
curl -s -X POST 'https://www.aippt.cn/api/marketing/create' \
  -H 'authorization: Bearer AUTH_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill requires broad local command execution with shell, Node.js, Python, and ImageMagick to write files, transform content, and generate PDFs. That exceeds what is minimally necessary for a marketing-plan skill and increases the attack surface for command misuse, unsafe file handling, dependency abuse, and environment-specific exploitation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
78% confidence
Finding

文件中的标题、操作说明以及要求发送给用户的话术均固定为中文,例如登录提示和错误展示示例,没有给出用户语言选择或明确声明该技能仅面向中文场景。按规则,这种默认强制单一语言而无用户 opt-in 属于自然语言政策问题。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The workflow instructs the agent to navigate to a third-party site, read localStorage, and extract authentication tokens for later API use. This exceeds the apparent user-facing scope of generating marketing plans/PPTs and introduces sensitive session/token handling inside the skill, increasing the risk of token misuse, replay, or unintended retention.

Content

No source excerpt is available for this finding.