360 Secure SkillHub
360 安全技能中心

vibe-code-security-guard

该 Skill 通过 Apify 上的扫描 Actor 对用户自有或获授权的已部署应用 URL 做只读暴露检查:页面是否泄露 API 密钥、源码映射暴露、Supabase 表可公开读取、缺失安全响应头,并按严重度输出 A–F 等级和修复提示。运行前需确认站点所有权,每次扫描按次计费;它不进行渗透测试,也不审查站点未暴露的服务端代码。

分类:安全
memeanalyst
memeanalyst
热度 2.61
最近更新 2026-11-18 00:31:21

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add memeanalyst/vibe-code-security-guard
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
vibe-code-security-guard
description
Security exposure scan for apps built with AI coding tools (Lovable, Bolt, v0, Replit, Cursor, Claude Code, Codex). Checks a deployed app's URL for leaked API keys (OpenAI, Anthropic, Gemini and 60+ other providers), exposed source maps, publicly readable Supabase tables, and missing security headers, and returns an A–F grade with fix prompts. Use when the user shares a deployed app URL and asks whether it is safe, wants a pre-launch check, or wants a re-scan after changes. Runs the magnova/vibe-code-security-scanner Actor through the Apify plugin for OpenClaw; each site scanned costs $0.05 on the user's own Apify account.
version
1.0.0
homepage
https://apify.com/magnova/vibe-code-security-scanner
metadata
{"openclaw":{"requires":{"env":["APIFY_API_TOKEN"]}}}

Vibe Code Security Guard

AI app builders ship fast, and their most common failures are silent: a live API key sitting in the page's JavaScript, a Supabase table anyone can read, source maps that hand over the original code. This skill runs a read-only exposure scan of a deployed app's public surface and reports what a stranger can already see — with a grade and a fix prompt for each problem.

Prerequisites

  1. The Apify plugin for OpenClaw is installed and allowlisted: openclaw plugins install @apify/apify-openclaw-plugin
  2. APIFY_API_TOKEN holds the user's own Apify API token. All runs bill to that account.
  3. You call Actors through the plugin's apify tool: start (returns a runId), then collect (returns the results).

If the plugin or token is missing, stop and tell the user exactly what to install or set. Do not probe the site yourself with ad-hoc requests in place of the scan.

Cost, stated plainly: $0.05 per site per scan, charged to the user's Apify account. Tell the user the cost before the first scan of a new site.

Permission rule — read this first

Only scan sites the user owns or has written permission to test. If the user gives you a URL and it is not clearly their own app, ask one question — "Is this your site, or do you have the owner's permission to test it?" — and wait for the answer. The scanner's deeper checks (public-read tests on Supabase tables) run only in owner mode, which requires the user's explicit confirmation of ownership for that site.

Scan procedure

  1. Confirm the URL(s) and permission (above). One scan can take several URLs in a single run.
  2. Start the Actor with the apify tool:
    • actorId: magnova~vibe-code-security-scanner
    • input: urls: the URL list. Add iOwnThisSite: true only when the user has confirmed they own the site(s) — this enables the read-only Supabase table checks. Leave checkSourceMaps at its default unless the user asks to skip it.
  3. Collect the results and report per site (format below).

Report format

🛡️ <site> — Grade: <A–F>

Critical / high findings first, in plain language:
- <what was found> — <where: file, table, or header>
  Fix: <the fix prompt or instruction the scan returned>

Then medium/low findings the same way. Close with the single
most important next step.

Rules for reporting:

  • Never print a full secret. If a finding includes a leaked key or token value, name the provider and where it was found and mask the value (first 4 characters at most). Tell the user to treat that key as compromised and rotate it — deleting it from the site later does not un-leak it.
  • Report only what the scan returned. Do not add vulnerabilities it did not find, and do not soften findings it did.
  • If a site comes back clean, say what was checked and that nothing was found — a clean scan is a point-in-time exposure check, not a guarantee of safety.

Re-scans and monitoring

  • After the user fixes findings, offer a re-scan of the same URL to verify the grade improved.
  • For ongoing watching of the user's own apps, offer a weekly scheduled re-scan. If the user picks (or creates) a key-value store in their Apify account for scan history and gives you its ID, pass it as historyStore with onlyNewFindings: true so weekly reports list only what changed.
  • Keep a short local note of each scan (date, URL, grade) in state/vibe-code-security-guard.json so you can answer "did that site improve?" without re-scanning.

Notes

  • This is an automated check of a site's public surface — leaked secrets in shipped code, exposed source maps, public database reads, missing headers. It is not a penetration test and does not review server-side code the site does not expose.
  • Owner mode's table checks are read-only: they test whether rows can be read with the site's own public key, and never write, modify, or delete anything.