SafetyVibe

SafetyVibe Connect

Add evidence from your app

Connect adds package inventory to your public scan. Start with a safe inventory from your builder’s AI and review it yourself. Supabase access tests are a separate workflow; the npm connector does not test database access rules.

The Vibe Umbrella dashboard is in closed testing. The inventory workflows below save to that dashboard. Ask for access. Public scans and separate authorized access tests through MCP need no login.

Review a package inventory

Nothing needs to be installed or run for this workflow.

  1. Copy the request into your builder’s AI.
  2. Review its summary and JSON. Check that unknown facts stay unknown and that no secrets or source code are included.
  3. In your dashboard, choose your app, select Paste inventory, paste the reply and choose Check and save. The dashboard checks and saves it without a connector key.
Read the full inventory request
Show me a safe inventory summary and JSON; I’ll review it and paste it into my dashboard. Do not install or execute anything, change files, access the network, or read keys, secrets, credentials, .env files or environment values. Read only package manifests and lockfiles already available in this project, including visible workspace manifests. Summarize which project and files support the inventory and what remains unknown. Then show one JSON block, starting from {"v":1,"versions_source":"declared","packages":[],"supabase":null}. Use versions_source:"lockfile" for exact resolved versions verified in a lockfile, or "declared" for version strings copied verbatim from package.json when no usable lockfile is available. Never mix resolved and declared versions in one inventory. Replace packages with verified rows shaped as {"ecosystem":"npm","name":"...","version":"...","dev":true}; dev may be true or false, or omitted if unknown. Omit packages whose names or versions are unknown. Include lockfile only as a known basename (up to 30 characters), otherwise omit it. Add platform (up to 30 characters) and public url only when known; never guess the builder, package versions or dependency counts. Keep supabase:null; do not inspect or include keys or environment values. Use v:1; the dashboard marks pasted inventory source as agent-written. Keep the whole reply below 512 KB and at most 5000 packages; if it exceeds either limit, explain that instead of silently truncating it. If you verify that the app has no package.json, return {"v":1,"no_package_json":true}. If files are unavailable or packages cannot be verified, explain the missing evidence in the summary and do not produce an empty inventory that could imply no dependencies. Return the summary and JSON to me for review; do not send them anywhere.

The inventory should never include keys, secrets, tokens, passwords, environment values or source code — only package names and versions supported by your manifests or lockfiles, the known lockfile name and optional known builder and public URL. Declared versions remain labelled approximate; they are not exact installed versions. Unknown facts stay unknown. Check the JSON before pasting it.

Optional npm connector

Optional: this route installs and runs a package. Start with the no-install inventory if you prefer to review JSON first.

Install the connector

Your builder installs software packages for you. The safetyvibe-connect npm connector reports their names and versions so SafetyVibe can check for known flaws using OSV.dev’s public vulnerability database. Current version: 0.3.3. The Vibe Umbrella dashboard is in closed testing.

With dashboard access

Connect reports to your Vibe Umbrella dashboard, where you see your apps and their packages. Ask for early access ↗

  1. 01

    Get your prompt.

    With dashboard access, choose Add app → Connect with one prompt. You get a prompt with a one-time token for this app.

  2. 02

    Paste it into your builder.

    Your builder’s AI installs the small safetyvibe-connect package and links the app to your account.

  3. 03

    It keeps checking.

    When the postinstall hook is enabled and install scripts run, Connect sends the current package inventory after each install. Package findings appear in the dashboard.

Commands and prerequisites

Your prompt from Vibe Umbrella includes your own token in place of <TOKEN>. Without a token, setup prints a link that adds the app to your account. Requires Node.js 18 or newer. Sending currently requires a supported lockfile: package-lock.json, npm-shrinkwrap.json, pnpm-lock.yaml, yarn.lock or text bun.lock. Without a usable lockfile, the connector can show a local inventory of package.json declared version ranges with --dry-run --json; these are labelled as declared and cannot currently be sent by the connector. Malformed or screened registry rows are marked incomplete: true locally; setup and scan refuse to send that partial inventory. Linked config targets are refused. A read escaping the selected project stops the whole report before network or config writes, except documented ancestor workspace metadata and locks. Registry packages for all platforms remain in the lockfile inventory; source exclusions apply per installation path or dependency edge.

npm install --save-dev safetyvibe-connect@0.3.3
npx safetyvibe-connect@0.3.3 setup --claim-token <TOKEN>

Preview before sending: npx -y safetyvibe-connect@0.3.3 setup --dry-run --json --compact. For agents, --json --compact keeps every package on fewer lines; --json=summary prints a plain-text summary. Use --json or --json --compact for machine-readable JSON. The connector sends nothing and changes no files in this mode; npx may download the package first.

For a one-time report without a postinstall hook: npx -y safetyvibe-connect@0.3.3 setup --no-hook --claim-token <TOKEN>. If your builder cannot run packages, use the no-install inventory for review.

What it sends

  • Registry package names and versions from your lockfile, with development-only flags where available. Git, tarball, file, link and workspace dependencies are excluded.
  • The app’s name, public URL, builder and environment when known, plus lockfile and report metadata.
  • If your app uses Supabase: the project reference and host, public key kind and a short fingerprint of the key. If a client-exposed secret is detected, only an exposure flag is reported. No Supabase key is sent.

What the report excludes

  • The report body excludes source files, raw file contents and raw Supabase keys. Public keys are represented by a fingerprint; detected client-exposed secrets by a flag.
  • Metadata is screened for known token shapes and URL credentials/query strings are removed. Screening cannot recognize every possible secret; keep private values out of package names, versions and labels.
  • Connector authentication uses a report key or one-time claim token in request headers to the reporting service.

Connect reads selected local files to assemble this metadata. Review the exact JSON with --dry-run --json before connecting.

What it changes

  • .safetyviberc.json: app ID, public URL and optional name and hook preference.
  • .safetyviberc.local.json: report key and any pending claim token. Keep this file out of version control; setup verifies effective Git ignore rules and warns and fails setup if the file is already tracked. Remove it from the index and rotate exposed credentials yourself.
  • A postinstall step in package.json that reports again after installs. The generated hook does not fail an install when reporting fails. Use --no-hook to leave package.json unchanged.

Want to try it on your app?

Connect reports package inventory to Vibe Umbrella. The dashboard is in closed testing. Ask for early access ↗

Separate workflow · Requires authorization

Test who can access another user’s data

A public scan and package inventory cannot establish whether your database access rules separate users correctly. The run_access_tests MCP tool tests a specified Supabase access model with two disposable test accounts on your own project.

  1. Define what each user should be allowed to read. Hosted tests sample read isolation; writes are disabled and write isolation is not checked.
  2. Use throwaway accounts and test data. Never send a real user’s password.
  3. Review the proposed tests and give explicit consent before running them. Review the evidence and any limits afterwards.

These tests are separate from installing safetyvibe-connect, and do not run automatically when you connect an inventory. They do not prove every database rule is correct.

Set up an MCP client and review the available tools

Model Context Protocol

Set up your AI assistant

Use the same public website checks from Claude, Cursor, Lovable, Replit, VS Code and other MCP clients. Public scans are passive. Supabase access tests are separate, require consent and use disposable test accounts on your own project.

Looking for the npm connector? Check what your app is built from ↗

Server https://mcp.safetyvibe.eu/mcp Remote · Streamable HTTP · no API key, no login required.

Available tools

scan_site
Scan a public website you own or have permission to test from the outside — security headers, HTTPS/TLS, exposed files & secrets, known-vulnerable libraries, privacy & trackers, SEO and whether AI crawlers can read it, plus performance & accessibility scores when the page can be rendered. Plain-language findings, each with a fix. Every new measurement, including a cache miss, requires your ownership/permission declaration and acceptance of the current Terms.
run_access_tests
Test your Supabase Row-Level Security with two throwaway logins: sample whether one signed-in user can read another user's data. Hosted tests provide sampled read-isolation coverage; writes are disabled and write isolation is not checked. A successful read result is not a general security pass. Consent-first, your own project only — use disposable test accounts, never a real password.
get_security_rules
Concrete security rules to follow before you build a feature (e.g. Supabase auth, payments, storage).
define_access_model
Turn a plain-language access model ("customers see only their own orders") into a structured spec you can verify.

Choose your MCP client

MCP is a way for AI agents to use outside tools. Every tool below takes the same address.

How to use it

Once it's connected, just talk to your AI in plain language — it picks the right tool automatically:

you › Scan my-shop.lovable.app and tell me what to fix first.
you › Scan example.com and tell me what needs fixing
you › Check my site's security and SEO before I launch: mysite.com
you › Is my Supabase row-level security safe? Here are two test logins…
you › Can AI crawlers and ChatGPT read my site? Scan mysite.com

A full scan runs several checks and can take a minute or two — your AI will wait and then summarize.