Supabase-RLS-Check 0.6.3 Refines PostgreSQL Extension Handling and MCP Scanners

Supabase-RLS-Check · 0.6.3: Supabase-RLS-Check 0.6.3 Refines PostgreSQL and MCP Scanners

The release of updates ranging from version 0.6.1 to 0.6.3 for supabase-rls-check introduces targeted fixes for complex PostgreSQL system catalogs, React Native configuration files, and Model Context Protocol (MCP) directory scanners. According to developer documentation and repository notes, these incremental updates resolve persistent edge cases that previously triggered false positives or parsing failures while maintaining the tool's core design principle of performing local analysis without network calls.

Managing Extension-Owned Tables in System Catalogs

When developers enable extensions like PostGIS inside the public schema, PostgreSQL creates tables such as spatial_ref_sys owned by bootstrap superusers like supabase_admin. Previously, running standard security review scripts generated errors because project owners lacked table ownership to execute commands like altering row-level security. Version 0.6.1 addresses this by incorporating a join with system dependency catalogs where the dependency type is marked as an extension. When a table is recognized as extension-owned, verification reports and remediation templates skip the automated row-level security alteration statement, instead suggesting that developers migrate the extension into a dedicated schema or adjust API role grants. Repository documentation notes that because this status alters the core identity key used in diff comparisons, baseline exports require a simple re-export to keep continuous integration workflows running smoothly.

Expanding Secret Scans for Mobile Frameworks

Mobile development teams utilizing Supabase alongside React Native and Expo frameworks often store configuration values in files like app.json, app.config.ts, or eas.json. Version 0.6.1 expands the capabilities of the environment scanning utility to detect hardcoded service-role JSON Web Tokens and sensitive secret keys embedded within these build profiles. Furthermore, the updated scanner introduces critical checks for connection strings containing plaintext passwords in client source files. To prevent annoying false positives in AI coding environments, the updated parser inspects environment variable placeholders inside developer configuration files such as cursor or claude settings. If an unexpanded placeholder like an environment variable string is detected, the scanner gracefully ignores it, ensuring that only actual inline secrets are flagged as critical vulnerabilities.

Improving Tool Visibility for MCP Directory Scanners

The optional stdio Model Context Protocol server bundled with the package provides four local diagnostic tools, but submission to external directories revealed compatibility hurdles. Newer MCP specifications require explicit boolean safety hints and human-readable titles, while static Abstract Syntax Tree parsers expect direct registration calls rather than curried loops. Versions 0.6.2 and 0.6.3 resolve these discovery hurdles by upgrading the MCP dependency requirement and attaching comprehensive tool annotations covering read-only, idempotent, and non-destructive behaviors. Refactoring tool registration to use explicit server calls ensures that both runtime clients and static trust checkers correctly recognize the available diagnostics.

Understanding the Trade-offs of Local Security Tooling

Security linters that operate entirely on local database exports and source files offer distinct advantages for rapid prototyping and continuous integration pipelines. By avoiding direct network connections or the requirement of database administrative privileges during standard scans, tools like supabase-rls-check reduce operational friction for development teams managing Supabase projects. However, pattern-based scanning and catalog heuristics come with inherent limitations. Because regex-based secret scanners rely on static text patterns, they can struggle with dynamically assembled keys or complex configuration setups spread across multiple files. Similarly, catalog queries depend heavily on standard PostgreSQL metadata structures and may encounter edge cases when dealing with third-party extensions that restrict schema modifications. Combining static checks with rigorous integration tests—such as verifying multi-tenant row isolation directly against a staging database—remains an essential practice for engineering teams. As AI-assisted coding and automated framework configurations accelerate development cycles, maintaining robust local verification mechanisms helps catch common policy misconfigurations before they reach production environments, striking a practical balance between automated safety and developer velocity.

Cover: AI-generated illustration with headline text; not a documentary photograph.

Source: Extension Tables, Expo Configs, and Static MCP Scanners in supabase-rls-check 0.6.3 · GitHub – Tthanh2k6/supabase-rls-check: Read-only checks for Supabase RLS, policies, SECURITY DEFINER grants and public buckets. CLI + MCP server. · GitHub

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *