other
- Location
SKILL.md:47- Finding
Generated presentations are sent by default to a hard-coded Feishu recipient
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This PPT skill has a coherent presentation-generation purpose, but it defaults to sending generated files to a fixed Feishu recipient and uses unsafe network execution settings.
Review before installing. Do not use this skill with confidential presentations unless Feishu sending is made opt-in, the recipient is confirmed each run, TLS verification is restored, and runtime tools are pinned or preinstalled from trusted sources.
SKILL.md:47Generated presentations are sent by default to a hard-coded Feishu recipient
SKILL.md:210TLS certificate verification is explicitly disabled for command execution
SKILL.md:210Unpinned package execution through automatic npx installation
The trigger phrases are broad and match common user requests such as '帮我做PPT' or '生成幻灯片', which can cause the skill to activate in situations where the user did not intend this specific high-automation workflow. Because the skill can create files, call external AI services, and send content via Feishu, accidental invocation materially increases privacy and integrity risk.
Setting NODE_TLS_REJECT_UNAUTHORIZED=0 disables certificate validation for the image-generation network call, making man-in-the-middle interception or service impersonation possible. In this workflow, prompts, content, and potentially credentials or generated assets could be exposed or modified in transit.
The skill hardcodes use of an external provider/model (google / gemini-3-pro-image-preview) for content generation, which means user content is sent to a third party. While external model use is not inherently malicious, it is security-relevant here because it processes potentially sensitive slide content and is paired with insufficient disclosure and unsafe transport settings.
NODE_TLS_REJECT_UNAUTHORIZED=0
npx -y bun ~/.openclaw/skills/baoyu-image-gen/scripts/main.ts
--batchfile batch.json --jobs 3
--provider google --model gemini-3-pro-image-preview
**实时报告进度:** 每完成3张报告一次 "已完成 X/N 张"
The PPT packaging command also disables TLS verification, introducing the same risk of intercepted or spoofed network interactions during execution. Even if packaging is mostly local, using an unsafe default in an execution command trains insecure practice and could expose downloads, dependency resolution, or any networked sub-operations the tool performs.
The skill uses an external image-generation provider and transmits prompts/content over the network, but it does not clearly warn the user that their data will leave the local environment. For a PPT workflow, users may supply proprietary business content, so hidden external transmission increases confidentiality risk.
The skill instructs the agent to rely on API credentials stored in ~/.zshrc, which expands access to sensitive local secrets beyond what is clearly disclosed to the user. Even if intended for image generation, reading shell configuration increases exposure of unrelated credentials and normalizes secret access from a content-generation workflow.
NODE_TLS_REJECT_UNAUTHORIZED=0 is an unsafe default that globally disables TLS certificate verification for the command, removing a fundamental network security control. In a workflow that contacts external services, this enables interception, data theft, and response tampering with little resistance.
执行命令:
cd {工作目录} && \
NODE_TLS_REJECT_UNAUTHORIZED=0 \
npx -y bun ~/.openclaw/skills/baoyu-image-gen/scripts/main.ts \
--batchfile batch.json --jobs 3 \
--provider google --model gemini-3-pro-image-preview
The skill invokes code through npx -y bun without pinning an exact package/version, which allows whatever is currently resolved by the package ecosystem to run at execution time. In a workflow that also handles local files and credentials, this creates a supply-chain risk where a compromised or changed upstream package could execute arbitrary code.
Using NODE_TLS_REJECT_UNAUTHORIZED=0 in the packaging command repeats the same insecure default and can compromise any networked operation performed by the runtime or dependencies. Even where exploitation is indirect, disabling TLS verification meaningfully lowers the bar for adversaries on the network path.
步骤1:用 merge-to-pptx.ts 打包
cd {工作目录} && \
NODE_TLS_REJECT_UNAUTHORIZED=0 \
npx -y bun ~/.openclaw/skills/baoyu-slide-deck/scripts/merge-to-pptx.ts .
The packaging step again relies on npx -y bun without version pinning, so execution depends on mutable remote package state at runtime. Because this step runs locally during document generation and packaging, a malicious upstream update could lead to arbitrary code execution or tampering with generated output.
The skill sends generated files through Feishu by default without a clear upfront warning or explicit consent gate at the point of transmission. This can cause unintended disclosure of sensitive presentation content, especially when the user's material includes internal or confidential information.