routing-middleware
Pass
Audited by Gen Agent Trust Hub on Mar 30, 2026
Risk Level: SAFE
Full Analysis
- Official Tooling and Packages: The skill references official Vercel and Next.js packages (e.g.,
@vercel/functions,@vercel/config,@next/codemod) and CLI commands (npx @vercel/config). These are standard industry tools for managing deployments and code migrations. - Network Operations in Examples: A code example demonstrates the use of
fetchto send data to an external analytics endpoint (analytics.example.com) within a background process (context.waitUntil). This is a documented use case for middleware and the example uses a placeholder domain, which is a safe practice for instructional content. - Configuration and Pattern Matching: The skill defines various file patterns (e.g.,
middleware.ts,vercel.json) and string patterns to trigger relevant security or migration guidance. These patterns are scoped to the project structure and help ensure the developer uses the correct runtimes and file naming conventions for their framework version. - Security Awareness: The documentation includes information regarding a specific security consideration (CVE-2025-29927) to educate users on why certain architectural changes (like renaming middleware to proxy) were implemented in newer framework versions.
Audit Metadata