Scan Report
25 /100
varg-ai
AI video, image, speech, and music generation skill using the varg platform. Supports cloud rendering (curl-only) and local rendering (bun + ffmpeg).
varg-ai is a legitimate AI video/image generation skill with standard shell tooling; the only notable risk is a conditional curl|bash installation prompt not explicitly declared in SKILL.md.
Safe to install
Consider documenting the bun installation step explicitly in SKILL.md and formally declaring environment:READ for API key detection to close the doc-to-code gap.
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | Undocumented curl|bash installation command | scripts/setup.sh:187 |
| Low | Environment variable inspection not formally declared | scripts/setup.ts:76 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ | WRITE | ✓ Aligned | allowed-tools: Write, Edit for project file creation; mkdir declared in Bash(mkd… |
| Shell | WRITE | WRITE | ✓ Aligned | allowed-tools: Bash(bun:*), Bash(bunx:*), Bash(curl:*), Bash(mkdir:*), Bash(echo… |
| Environment | NONE | READ | ✓ Aligned | setup.ts:76-81 checks process.env for VARG_API_KEY, FAL_KEY, ELEVENLABS_API_KEY,… |
| Network | READ | READ | ✓ Aligned | curl calls to api.varg.ai, app.varg.ai, render.varg.ai are all declared and nece… |
| Skill Invoke | NONE | NONE | — | No skill-to-skill invocation observed |
| Clipboard | NONE | NONE | — | No clipboard access |
| Browser | NONE | NONE | — | No browser automation |
| Database | NONE | NONE | — | No database access |
1 Critical 30 findings
Critical Dangerous Command 危险 Shell 命令
curl -fsSL https://bun.sh/install | bash scripts/setup.sh:187 Medium External URL 外部 URL
https://app.varg.ai/api/auth/cli/send-otp SKILL.md:76 Medium External URL 外部 URL
https://app.varg.ai/api/auth/cli/verify-otp SKILL.md:83 Medium External URL 外部 URL
https://api.varg.ai/v1/balance SKILL.md:103 Medium External URL 外部 URL
https://app.varg.ai/api/billing/checkout SKILL.md:134 Medium External URL 外部 URL
https://app.varg.ai SKILL.md:137 Medium External URL 外部 URL
https://checkout.stripe.com/... SKILL.md:140 Medium External URL 外部 URL
https://app.varg.ai/dashboard** SKILL.md:144 Medium External URL 外部 URL
https://render.varg.ai/api/render SKILL.md:173 Medium External URL 外部 URL
https://render.varg.ai/api/render/jobs/JOB_ID SKILL.md:179 Medium External URL 外部 URL
https://api.varg.ai/v1/image SKILL.md:219 Medium External URL 外部 URL
https://fal.ai/dashboard/keys references/byok.md:32 Medium External URL 外部 URL
https://elevenlabs.io/app/settings/api-keys references/byok.md:33 Medium External URL 外部 URL
https://higgsfield.ai references/byok.md:34 Medium External URL 外部 URL
https://replicate.com/account/api-tokens references/byok.md:35 Medium External URL 外部 URL
https://api.varg.ai/v1/speech references/byok.md:60 Medium External URL 外部 URL
https://jqlang.github.io/jq/ references/cloud-render.md:121 Medium External URL 外部 URL
https://s3.varg.ai/renders/xxx.mp4 references/cloud-render.md:137 Medium External URL 外部 URL
https://render.varg.ai/api/render/jobs/JOB_ID/stream references/cloud-render.md:162 Medium External URL 外部 URL
https://s3.varg.ai/logos/brand.png references/components.md:427 Medium External URL 外部 URL
https://api.varg.ai/v1 references/gateway-api.md:16 Medium External URL 外部 URL
https://s3.varg.ai/uploads/character.png references/gateway-api.md:57 Medium External URL 外部 URL
https://s3.varg.ai/o/abc123.mp4 references/gateway-api.md:141 Medium External URL 外部 URL
https://render.varg.ai references/gateway-api.md:263 Medium External URL 外部 URL
https://s3.varg.ai/renders/1710345600_abc123.mp4 references/gateway-api.md:314 Medium External URL 外部 URL
https://s3.varg.ai/cache/def456.png references/gateway-api.md:317 Medium External URL 外部 URL
https://s3.varg.ai/clients/birthday/portrait.jpg references/recipes.md:300 Medium External URL 外部 URL
https://render.varg.ai/api/render/jobs/$JOB_ID references/templates.md:72 Medium External URL 外部 URL
https://bun.sh/install scripts/setup.sh:187 Medium External URL 外部 URL
https://api.varg.ai scripts/setup.ts:17 File Tree
13 files · 122.5 KB · 3833 lines Markdown 11f · 3397L
TypeScript 1f · 233L
Shell 1f · 203L
├─
▾
references
│ ├─
byok.md
Markdown
│ ├─
cloud-render.md
Markdown
│ ├─
common-errors.md
Markdown
│ ├─
components.md
Markdown
│ ├─
gateway-api.md
Markdown
│ ├─
local-render.md
Markdown
│ ├─
models.md
Markdown
│ ├─
prompting.md
Markdown
│ ├─
recipes.md
Markdown
│ └─
templates.md
Markdown
├─
▾
scripts
│ ├─
setup.sh
Shell
│ └─
setup.ts
TypeScript
└─
SKILL.md
Markdown
Security Positives
✓ API keys are never written to bash commands as raw values — always referenced via $VARG_API_KEY variable substitution
✓ Credentials file is written with chmod 600 (owner read/write only)
✓ No credential exfiltration — ~/.varg/credentials is only read to authenticate against varg.ai's own gateway
✓ Gateway API calls use Bearer token auth only — no API keys in URL parameters
✓ Uses grep -o to parse JSON responses instead of requiring jq dependency
✓ set -euo pipefail in setup.sh for strict error handling
✓ AbortSignal.timeout(5000) on fetch calls to prevent indefinite hangs
✓ Skill uses documented varg.ai platform endpoints (app.varg.ai, api.varg.ai, render.varg.ai)
✓ OTPs are sent via email — no password-based auth flow that could be replayed
✓ No access to ~/.ssh, ~/.aws, .env secrets, or other sensitive host paths
✓ No base64-encoded payloads, eval patterns, or obfuscated code
✓ No clipboard, database, or browser automation capabilities requested