{"id":49429464,"url":"https://github.com/elifuzz/capsa","last_synced_at":"2026-04-29T11:06:34.915Z","repository":{"id":354061082,"uuid":"1221973298","full_name":"EliFuzz/capsa","owner":"EliFuzz","description":"Rust-powered SQL guardrail that flags unsafe, costly, or brittle queries before they reach production.","archived":false,"fork":false,"pushed_at":"2026-04-26T23:16:09.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-27T01:17:49.605Z","etag":null,"topics":["ai-ready","dataops","preflight-checks","reliability","sql-parser","sql-scanner"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EliFuzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-26T23:05:38.000Z","updated_at":"2026-04-26T23:21:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/EliFuzz/capsa","commit_stats":null,"previous_names":["elifuzz/capsa"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/EliFuzz/capsa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliFuzz%2Fcapsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliFuzz%2Fcapsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliFuzz%2Fcapsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliFuzz%2Fcapsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EliFuzz","download_url":"https://codeload.github.com/EliFuzz/capsa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliFuzz%2Fcapsa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32422649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-ready","dataops","preflight-checks","reliability","sql-parser","sql-scanner"],"created_at":"2026-04-29T11:06:31.693Z","updated_at":"2026-04-29T11:06:34.909Z","avatar_url":"https://github.com/EliFuzz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capsa\n\nSQL validation for teams that want bad queries caught before they ship.\n\n`capsa` parses SQL, validates dialect syntax, and scans the query against rule sets for security, performance, reliability, and data-handling risk. It does not execute SQL. It gives you fast feedback on the query you are about to run, review, or deploy.\n\n## What It Does\n\n- Parses SQL into statements for validation\n- Supports dialect-aware validation through parser plugins\n- Checks query against compiled rules\n- Runs schema validation and rule validation in parallel\n- Returns a compact list of findings\n\n## Usage\n\n1. Build: `cargo build --profile release -p cli`\n2. Run: `capsa -q \"SELECT * FROM users\"` - ouputs: `[\"SELECT *; list required columns\", \"Unbounded SELECT; add WHERE, LIMIT, or pagination\"]`\n3. Dialect (optional): `capsa -q \"SELECT * FROM users\" -d postgres`. Supported dialects: ansi, bigquery, clickhouse, databricks, duckdb, generic, hive, mssql, mysql, postgres, redshift, snowflake, sqlite.\n\n## Build\n\nDialects are implemented as plugins. To build with a specific dialect: `cargo build -p core-sql --features postgres`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felifuzz%2Fcapsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felifuzz%2Fcapsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felifuzz%2Fcapsa/lists"}