sealmyapp
Classifies Firebase web keys as public by design and includes Firebase-specific security notes in the pre-launch checklist.
Classifies Stripe secret keys (sk_live_) as sensitive and publishable keys (pk_) as safe to expose, advising on rotation for secret keys. Also includes payment-related security checks in the pre-launch checklist.
Provides tools to audit Supabase Row Level Security (RLS) with read-only SQL queries and generate safe owner-based RLS policy templates. Also classifies Supabase anon/publishable keys as safe to expose in frontend code.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sealmyapp Is a key starting sk_live_ safe in my frontend?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SealMyApp tools
Free, open-source security helpers for vibe-coded apps (Lovable, Bolt, Cursor, Replit, v0, and anything on Supabase or Firebase):
An MCP server your AI assistant can call to check whether a key is safe to expose, audit Supabase Row Level Security, generate safe RLS policies and run a pre-launch checklist.
A Cursor rule, an Agent Skill (Claude Code and other skill-aware agents) and an
AGENTS.mdsnippet that stop the AI from leaking secrets or "fixing" empty results withusing (true).
Everything here runs locally and makes no network calls.
Made by SealMyApp, a paid service that finds, fixes and monitors security holes in vibe-coded apps. The tools in this repo are free and MIT-licensed, and you don't need a SealMyApp account to use them.
Guides
Related MCP server: opzyai
Install the MCP server
Requires Node.js 20+ and git. The first run downloads and builds the package from GitHub, so it takes a little longer.
Claude Code
claude mcp add sealmyapp -- npx -y github:toby7979/sealmyapp-toolsClaude Desktop (claude_desktop_config.json: Settings → Developer → Edit Config)
{
"mcpServers": {
"sealmyapp": {
"command": "npx",
"args": ["-y", "github:toby7979/sealmyapp-tools"]
}
}
}Cursor (.cursor/mcp.json in your project, or ~/.cursor/mcp.json for all projects)
{
"mcpServers": {
"sealmyapp": {
"command": "npx",
"args": ["-y", "github:toby7979/sealmyapp-tools"]
}
}
}VS Code (.vscode/mcp.json; note the top-level key is servers)
{
"servers": {
"sealmyapp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:toby7979/sealmyapp-tools"]
}
}
}Then ask your assistant things like "Is a key starting sk_live_ safe in my frontend?", "Give me SQL to audit RLS in my Supabase project" or "Run the pre-launch security checklist for my Lovable app".
Tools
Tool | Input | What it returns |
|
| Whether the key is public by design (Supabase anon/publishable, Stripe |
| none | Read-only SQL that lists tables without RLS, policies whose USING/WITH CHECK is |
|
| Example owner-based policies (select/insert/update/delete with |
| optional | A pre-launch checklist covering secrets, Supabase, Firebase, auth and payments, with notes for your builder. |
|
| How to run a free, ownership-verified scan of an app you own at sealmyapp.com, and a link to start it. It does not call any API or start a scan. |
Every tool's output ends with a one-line link to SealMyApp's free scan.
Cursor rule
Copy rules/cursor/vibe-security.mdc into your project's .cursor/rules/ folder:
mkdir -p .cursor/rules
curl -fsSL https://raw.githubusercontent.com/toby7979/sealmyapp-tools/main/rules/cursor/vibe-security.mdc -o .cursor/rules/vibe-security.mdcIt's set to alwaysApply: true. Change it to false if you'd rather Cursor pull it in only when the description matches the task.
Agent Skill (Claude Code and other skill-aware agents)
Copy the skills/vibe-security folder into .claude/skills/ in your project (or ~/.claude/skills/ for all projects):
mkdir -p .claude/skills/vibe-security
curl -fsSL https://raw.githubusercontent.com/toby7979/sealmyapp-tools/main/skills/vibe-security/SKILL.md -o .claude/skills/vibe-security/SKILL.mdThe agent loads it automatically when you work on keys, env vars, RLS, Firebase rules, auth or payments.
AGENTS.md
For Codex and other agents that read AGENTS.md, paste the section from AGENTS.md into your project's AGENTS.md.
Privacy
The MCP server runs on your machine over stdio. No tool makes a network call, sends telemetry or reads your files. A test (
test/privacy.test.ts) fails the build if network or file-system APIs appear in the source.check_key_exposureworks from the key's format only and never tests the key against any API. Pass a prefix (for examplesk_live_) rather than a whole key: whatever you type goes into your assistant's conversation, which is handled by your AI provider, not by this tool.scan_my_app_instructionsonly builds a link. Nothing is sent to SealMyApp unless you open it and start a scan yourself.
Development
npm install # also builds via the prepare script
npm test # builds, then runs unit tests and a stdio test that spawns the server and lists its tools
npm run build
npm run list-toolsThe server uses the official MCP TypeScript SDK (@modelcontextprotocol/server, v2) with the stdio transport. It serves both 2025-era clients and the 2026-07-28 protocol.
Contributing
Issues and pull requests are welcome, especially:
new key formats for
check_key_exposure(please link the provider's docs saying whether the key is publishable or secret),policy templates for other common table shapes,
builder-specific checklist notes that you've checked against the builder's current UI.
Please keep the tools offline (no network calls) and add a test for any change. Never paste a real secret into an issue; a prefix is enough. Report security problems in this repo privately to hello@sealmyapp.com.
Licence
MIT. Copyright (c) 2026 Richmond Capital Holdings Ltd. See LICENSE.
Available Tools
5 toolscheck_key_exposureIs this key safe to expose?ARead-onlyIdempotent
Classify an API key as public-by-design (e.g. Supabase anon/publishable, Stripe pk_) or secret (e.g. sk_live_, service_role, sk-ant-), offline from its format, and say what to do next (rotate first if secret). Pass ONLY the prefix (first 8-15 characters), never the whole key. No network calls; the full key is never echoed back.
Inputs: key_or_prefix (required).
rls_policy_templateSafe RLS policy templateARead-onlyIdempotent
Return example Supabase RLS policies (select/insert/update/delete using auth.uid()) for a common table shape, with caveats. Never uses using (true) on private data.
Inputs: table_kind (required), owner_column.
scan_my_app_instructionsHow to scan my appARead-onlyIdempotent
Explain how to run a free, ownership-verified, read-only security scan of an app you own at sealmyapp.com, and return a link to start it. Does NOT call any API or start a scan.
Inputs: url (required).
supabase_rls_audit_sqlSupabase RLS audit SQLARead-onlyIdempotent
Return read-only SQL to paste into the Supabase SQL editor that lists tables without Row Level Security, policies whose USING/WITH CHECK is true, views that bypass RLS and public storage buckets, plus how to read the results.
Inputs: no named parameters.
vibe_security_checklistPre-launch security checklistARead-onlyIdempotent
Return a pre-launch security checklist for an AI-built app (secrets, Supabase RLS, Firebase rules, auth, payments), with notes for the builder used.
Inputs: builder.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Most tools target clearly distinct outputs: key classification (check_key_exposure), RLS audit SQL, RLS policy templates, a general checklist, and scan instructions. The two RLS tools (supabase_rls_audit_sql vs rls_policy_template) share a domain and could be momentarily confused, but one audits existing tables while the other provides example policies, so the boundary is workable.
All names use snake_case, which is consistent, but the structural convention is mixed: some are verb-led actions (check_key_exposure, scan_my_app_instructions) while others are noun phrases (supabase_rls_audit_sql, rls_policy_template, vibe_security_checklist). Readable but not a single predictable pattern.
Five tools is well-scoped for a lightweight pre-launch security assistant. Each tool covers a distinct advisory function and none feels redundant or padded.
The surface covers key exposure, Supabase RLS auditing, RLS templates, and a generic pre-launch checklist, but it lacks an actual scan execution (scan_my_app_instructions only explains how), no dedicated Firebase rules tool despite the checklist mentioning it, and no secret-rotation guidance beyond advisory text. Usable but with notable gaps for the stated 'secure your AI-built app' purpose.
Related MCP Connectors
Supabase RLS simulator, app key-leak check, email sender check, DMARC and payment-fraud checks.
Checks AI-written code for leaked keys and made-up packages, on your machine. Never uploads code.
Finds personal-data leaks in Supabase/Lovable apps: free RLS and headers checks, proven fixes.
Security checks for Next.js + Supabase apps: code scan, read-only live DB check, fix confirmation.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenancePredeploy security scanner for AI-generated code. 80+ vulnerability patterns across secrets, auth, injection, config, Supabase, and logging. Runs locally, code never leaves your machine. Optional x402 witnessed attestation.96 npmApache 2.0
- AlicenseNot gradedqualityDmaintenanceLocal-first security check for AI coding agents — finds hardcoded secrets, exposed .env files, git-history leaks and vulnerable dependencies (OSV), entirely on your machine. Ask your agent "is this safe to ship?" and get a Launch Readiness score with a fix for every finding.MIT
- AlicenseBqualityBmaintenanceRead-only security audit for Supabase. Surfaces RLS gaps, permissive policies, exposed functions and grants, and returns scored findings with fix SQL that is never executed.451MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI editors such as Cursor, Claude Code, Windsurf and VS Code to scan a project for common AI-introduced security mistakes — leaked keys, open Supabase/Firebase data, missing auth, unverified Stripe webhooks, SQL injection and more — and return findings with exact fix instructions. It also provides a guided prompt that walks an agent through fixing critical issues one by one and verifying each fix by re-scanning, without ever editing files or rotating keys itself.2MIT