Skip to main content
Glama

VibeShield v7.0 — 6-Phase Web & AI App Security Audit

audit_web_app_security
Read-onlyIdempotent

Audits a live web app URL with read-only checks for TLS, subdomain takeover, exposed JS secrets, sensitive endpoints, database rule gaps, and security headers, then reports prioritized fixes.

Instructions

Run a strictly read-only, non-destructive 6-phase deep security audit on a live web application URL (Next.js, Vite, Lovable, Bolt, Cursor, Supabase, Firebase): checks real TLS port 443 cert & CNAME subdomain takeover, unpacks up to 24 full JS bundles (<=2.5MB each) across 52 secret patterns, runs 28 SPA-filtered sensitive endpoint probes (GraphQL introspection, .env, .git, SourceMaps, Open Redirect, CORS), audits Supabase PostgREST RLS (up to 20 tables) & Firebase RTDB/Firestore read rules, parses Mozilla Observatory headers/CSP AST/HSTS/cookies, and matches passive framework CVEs (e.g. CVE-2025-29927, CVE-2025-48757).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "audit_web_app_security"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic HTTPS web application URL to audit (e.g. 'https://yourapp.vercel.app'). Only audit apps you own or are authorized to test.
modeNoScan depth: 'deep' runs all 6 phases (~6-16s); 'fast' runs quick triage (<5s).deep

Output Schema

NameRequiredDescriptionDefault
okYes
tlsNo
urlYes
cvesNo
gradeYes
scoreYes
cspGradeNo
findingsYes
takeoverNo
secretsCountNo
upgradeLinksNo
engineVersionNo
checksExecutedNo
firebasePublicNo
exposedEndpointsCountNo
supabaseExposedTablesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered; the description still adds meaningful context by stating 'strictly read-only, non-destructive' and quantifying its blast radius (up to 24 JS bundles at ≤2.5MB, 28 probes, up to 20 tables). It does not state permission/auth requirements or rate limiting against the target, keeping it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The verb and resource are front-loaded, which is good, but the rest is a single run-on sentence dense with marketing-grade minutiae (52 secret patterns, 28 probes, CVE identifiers) that adds little to tool selection. Some of that enumeration earns its place by conveying scope; the numeric counts do not.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be explained, and rich annotations plus 100% schema coverage handle safety and parameters. What remains is scope and cost, which the description conveys well; only the fast-vs-deep routing rationale and authorization prerequisite live outside the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with only two parameters, so the schema already documents the URL format, the deep/fast enum, and their timing implications. The description adds nothing about either parameter — it never mentions the mode parameter at all — so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — run a 6-phase security audit against a live web application URL — and enumerates exactly which vulnerability classes it covers (TLS/CNAME takeover, JS bundle secrets, endpoint probes, RLS rules, CSP/HSTS, CVEs). This is clearly distinguishable from siblings like audit_email_deliverability or check_brand_availability, which cover entirely different domains, so an agent can select it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the name and the 'live web application URL' framing, but the description never says when to choose this over full_launch_readiness_audit or when a security audit is inappropriate. The deep-vs-fast decision point exists only in the schema, not the description, and the authorization caveat ('only audit apps you own') appears in the schema rather than here.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.