技能 asset-creator
📦

asset-creator

内容修订 r1 高风险 🔑 环境变量⚙️ 外部命令📁 文件系统访问

生成 AI 产品素材

团队需要为产品页面、文档和营销屏幕提供一致的视觉素材。此技能会指导 DALL-E 生成,并将文件存储在项目素材文件夹中。

支持: Claude Codex Code(CC)
⚠️ 38 差

使用我的智能体安装

将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。

智能体请求
Review the Skillstore skill "asset-creator" from https://skillstore.io/skills/aayushbaniya2006-asset-creator.md and its manifest at https://skillstore.io/api/skills/aayushbaniya2006-asset-creator/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.

你的智能体仍应展示其计划,并按安全策略请求必要确认。

测试它

正在使用“asset-creator”。 请求一张在笔记本电脑屏幕上展示未来感仪表板的 hero 图像。

预期结果:

该技能会使用详细的 DALL-E prompt 运行辅助脚本,并将 hero-dashboard.png 保存到选定的 public 素材文件夹下。

正在使用“asset-creator”。 请求一张关于设置 API key 的文档图像。

预期结果:

该技能会创建一张极简设置插图,并报告已保存的文件路径,供项目内容使用。

正在使用“asset-creator”。 请求一张使用 natural styling 的功能插图。

预期结果:

该技能会将 natural style 选项传递给图像生成器,并使用请求的 filename 存储 PNG。

安全审计

高风险
v9 • 2026/7/5 打开版本化报告

Most static detections are false positives caused by Markdown backticks, JavaScript template literals, and expected OpenAI API key handling. Real risk remains in the helper script because user-supplied folder and filename values can influence directory creation and file writes without path allowlisting.

3
已扫描文件
152
分析行数
7
复核项
0
已忽略误报

已确认安全问题 (1)

高
Path Traversal in Asset Output Path
The script accepts folder and filename strings with only non-empty validation, then joins them into a filesystem path and writes the generated PNG. Relative path segments could write outside the intended public asset directory.
The validation schema only requires non-empty strings for filename and folder, and the write path is built directly from those values. The writeFileSync call confirms the user-controlled path reaches a filesystem write.
能力复核项 (7)

这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。

中
Node.js fs operations
fs.mkdirSync(publicDir, { recursive: true });
The script creates a directory using a path derived from user-supplied folder input. Without path normalization checks, this can create directories outside the intended public asset area.
中
Node.js fs operations
fs.writeFileSync(fullPath, buffer);
The script writes image bytes to a path derived from user-supplied folder and filename input. This is a real filesystem write surface that can overwrite or create files if paths are unsafe.
中
Synchronous file operations
fs.writeFileSync(fullPath, buffer);
The synchronous write operation persists generated data to a user-influenced path. The main risk is the unbounded output path, not the synchronous API alone.
中
Ruby/shell backtick execution
```bash
The fenced block contains an npx tsx command that runs the helper script. This is expected for the skill, but it is a real external command execution requirement.
中
Ruby/shell backtick execution
```bash
The fenced example contains an npx tsx command that executes the helper script with user-facing arguments. This is a real external command pattern, though it is documented as intended use.
中
Ruby/shell backtick execution
```
The surrounding workflow instructs the agent to run the helper script. This confirms external command use, although the exact flagged line is mostly Markdown structure.
低
Node.js fs stat operations
if (!fs.existsSync(publicDir)) {
The existence check uses the same user-influenced output directory as the later write. The check is not dangerous by itself, but it participates in the unsafe path flow.
审计者: codex 查看审计历史 →
分享与引用此报告

分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。

打开版本化报告
安全评估

复制报告链接

https://skillstore.io/skills/aayushbaniya2006-asset-creator/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown 徽章

[![Skillstore security assessment](https://skillstore.io/badges/skills/aayushbaniya2006-asset-creator/security.svg)](https://skillstore.io/skills/aayushbaniya2006-asset-creator?utm_source=security_passport_badge)

HTML 徽章

<a href="https://skillstore.io/skills/aayushbaniya2006-asset-creator?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/aayushbaniya2006-asset-creator/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

嵌入卡片

<iframe src="https://skillstore.io/embed/skills/aayushbaniya2006-asset-creator.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学术引用 (APA · BibTeX · CFF)

APA 引用

AayushBaniya2006. (2026). asset-creator security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/aayushbaniya2006-asset-creator/audits/9

BibTeX 引用

@techreport{aayushbaniya2006-aayushbaniya2006-asset-creator-2026, author = {AayushBaniya2006}, title = {asset-creator security audit report (audit version 9)}, institution = {Skillstore}, year = {2026}, number = {9}, url = {https://skillstore.io/skills/aayushbaniya2006-asset-creator/audits/9}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "asset-creator security audit report (audit version 9)" version: "unspecified" type: report authors: - name: "AayushBaniya2006" date-released: "2026-07-05" url: "https://skillstore.io/skills/aayushbaniya2006-asset-creator/audits/9" identifiers: - type: other value: "skillstore:aayushbaniya2006-asset-creator:audit:9" description: "Skillstore immutable audit report identifier"

Skillstore 评分

评分依据 证据置信度: 中
59
架构
85
可维护性
87
内容
70
社区
91
规范符合性

你能构建什么

创建营销插图

生成符合简洁 SaaS 风格的 hero 图像、产品插图和活动视觉素材。

添加文档视觉素材

为指南、教程和发布页面创建简单图表或受屏幕启发的视觉素材。

制作产品图像原型

在委托最终设计工作之前,为产品页面快速产出概念素材。

试试这些提示

基础产品插图
为现代 SaaS 仪表板创建一张图像,展示简洁的分析图表。将其保存为 assets/marketing 中的 dashboard-hero,并使用 natural style。
一致的功能视觉素材
为自动发票审核功能生成一张扁平插图。使用白色背景、蓝色和绿色点缀,并将其保存为 assets/features 中的 invoice-review。
文档支持图像
创建一张简洁的教程图像,展示用户将 API key 连接到 workspace。使用极简矢量风格,并将其保存为 assets/docs 中的 api-key-setup。
高级活动素材组
为一个关于 AI 预算管理的发布页面设计三个协调一致的 prompts。先生成最强的 hero 素材,然后使用 vivid style 将其保存为 assets/campaigns 中的 ai-budgeting-hero。

最佳实践

  • 使用描述性 prompts,包含主体、构图、风格和背景。
  • 将生成的文件保存在一小组经过审核的 public 素材文件夹中。
  • 在将每张生成图像发布到面向客户的内容之前进行审核。

避免

  • 不要在 prompts 中包含密钥、私有用户数据或未发布的截图。
  • 不要使用包含相对路径片段的 folder 或 filename 值。
  • 不要在未检查品牌契合度和许可要求的情况下发布生成图像。

常见问题

这个技能会生成什么?
它使用 OpenAI DALL-E 3 生成图像素材,例如插图、hero 视觉图和产品主题图形。
它需要外部凭据吗?
是的。辅助脚本需要 OPENAI_API_KEY 环境变量,之后才能请求图像。
生成的文件保存在哪里?
脚本会将 PNG 文件保存到通过 folder 参数选择的 public 文件夹路径下。
它可以创建透明图像吗?
它会请求透明或白色背景,但脚本不会在生成后执行透明度清理。
它对私有数据安全吗?
Prompts 会发送到 OpenAI,因此用户应避免包含私有数据、密钥和机密产品细节。
它适用于 Claude、Codex 和 Claude Code 吗?
该报告声明支持可运行辅助脚本的 Claude、Codex 和 Claude Code 工作流。

开发者详情

许可证

MIT

Skillstore 修订

r1

版本提示

作者未声明版本。

引用

a29db30e42179ff8ed4d95c9dfba3704c22643d0

维护新鲜度

2026/7/18

使用量

19 次下载 · 200 次浏览

文件结构

AayushBaniya2006 的更多技能

查看全部
查看全部