{"id":41277712,"url":"https://github.com/gatewayd-io/gatewayd-plugin-sql-ids-ips","last_synced_at":"2026-02-22T01:36:05.415Z","repository":{"id":259933782,"uuid":"640357273","full_name":"gatewayd-io/gatewayd-plugin-sql-ids-ips","owner":"gatewayd-io","description":"GatewayD plugin for SQL injection detection and prevention.","archived":false,"fork":false,"pushed_at":"2025-08-07T15:43:15.000Z","size":167,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-23T18:23:32.692Z","etag":null,"topics":["deep-learning","gatewayd","ids","ips","libinjection","plugin","postgresql","sql-injection","tensorflow","waf"],"latest_commit_sha":null,"homepage":"https://docs.gatewayd.io/plugins/gatewayd-plugin-sql-ids-ips/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gatewayd-io.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":"2023-05-13T20:19:18.000Z","updated_at":"2025-08-07T15:41:52.000Z","dependencies_parsed_at":"2024-12-28T19:19:46.217Z","dependency_job_id":"ea68e8bf-7b29-405e-967f-dbab857f4740","html_url":"https://github.com/gatewayd-io/gatewayd-plugin-sql-ids-ips","commit_stats":null,"previous_names":["gatewayd-io/gatewayd-plugin-sql-ids-ips"],"tags_count":27,"template":false,"template_full_name":"gatewayd-io/plugin-template-go","purl":"pkg:github/gatewayd-io/gatewayd-plugin-sql-ids-ips","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatewayd-io%2Fgatewayd-plugin-sql-ids-ips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatewayd-io%2Fgatewayd-plugin-sql-ids-ips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatewayd-io%2Fgatewayd-plugin-sql-ids-ips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatewayd-io%2Fgatewayd-plugin-sql-ids-ips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gatewayd-io","download_url":"https://codeload.github.com/gatewayd-io/gatewayd-plugin-sql-ids-ips/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatewayd-io%2Fgatewayd-plugin-sql-ids-ips/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29703227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"ssl_error","status_checked_at":"2026-02-21T23:35:03.832Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["deep-learning","gatewayd","ids","ips","libinjection","plugin","postgresql","sql-injection","tensorflow","waf"],"created_at":"2026-01-23T02:43:54.037Z","updated_at":"2026-02-22T01:36:05.399Z","avatar_url":"https://github.com/gatewayd-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003c!-- \u003ca href=\"https://gatewayd.io/docs/plugins/gatewayd-plugin-sql-ids-ips\"\u003e --\u003e\n    \u003cpicture\u003e\n      \u003cimg alt=\"gatewayd-plugin-sql-ids-ips-logo\" src=\"https://github.com/gatewayd-io/gatewayd-plugin-sql-ids-ips/blob/main/assets/gatewayd-plugin-sql-ids-ips-logo.png\" width=\"96\" /\u003e\n    \u003c/picture\u003e\n  \u003c!-- \u003c/a\u003e --\u003e\n  \u003ch3 align=\"center\"\u003egatewayd-plugin-sql-ids-ips\u003c/h3\u003e\n  \u003cp align=\"center\"\u003eGatewayD plugin for SQL injection detection and prevention.\u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/gatewayd-io/gatewayd-plugin-sql-ids-ips/releases\"\u003eDownload\u003c/a\u003e ·\n    \u003ca href=\"https://docs.gatewayd.io/plugins/gatewayd-plugin-sql-ids-ips\"\u003eDocumentation\u003c/a\u003e ·\n    \u003ca href=\"https://github.com/gatewayd-io/DeepSQLi\"\u003eDeepSQLi\u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n\n- Defense against dark arts:\n  - [MITRE ATT\u0026CK T1190](https://attack.mitre.org/techniques/T1190/)\n  - [OWASP Top 10:2021 A3](https://owasp.org/Top10/A03_2021-Injection/)\n  - [CAPEC-66](https://capec.mitre.org/data/definitions/66.html)\n  - [CWE-89](https://cwe.mitre.org/data/definitions/89.html)\n- Detects SQL injection attacks using two methods:\n  - **Signature-based detection**: Detects SQL injection attacks by matching incoming queries against a list of known malicious queries using a trained deep learning model with Tensorflow and Keras\n  - **Syntax-based detection**: Detects SQL injection attacks by parsing incoming queries and checking for suspicious syntax using `libinjection`\n- Prevents SQL injection attacks by blocking malicious queries from reaching the database server, and returning an error or empty response to the client instead\n- Logs an audit trail for detections containing the query and the prediction score\n- Sigma rule for detection in SIEM systems\n- Prometheus metrics for quantifying detections\n- Logging\n- Configurable via environment variables\n\n## Build for testing\n\nTo build the plugin for development and testing, run the following command:\n\n```bash\nmake build-dev\n```\n\nRunning the above command causes the `go mod tidy` and `go build` to run for compiling and generating the plugin binary in the current directory, named `gatewayd-plugin-sql-ids-ips`.\n\n\u003c!--\n## Sentry\n\nThis plugin uses [Sentry](https://sentry.io) for error tracking. Sentry can be configured using the `SENTRY_DSN` environment variable. If `SENTRY_DSN` is not set, Sentry will not be used. --\u003e\n\n## Contributing\n\nWe welcome contributions from everyone.\u003c!-- Please read our [contributing guide](https://gatewayd-io.github.io/CONTIBUTING.md) for more details.--\u003e Just open an [issue](https://github.com/gatewayd-io/gatewayd-plugin-sql-ids-ips/issues) or send us a [pull request](https://github.com/gatewayd-io/gatewayd-plugin-sql-ids-ips/pulls).\n\n## License\n\nThis plugin is licensed under the [Affero General Public License v3.0](https://github.com/gatewayd-io/gatewayd-plugin-sql-ids-ips/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgatewayd-io%2Fgatewayd-plugin-sql-ids-ips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgatewayd-io%2Fgatewayd-plugin-sql-ids-ips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgatewayd-io%2Fgatewayd-plugin-sql-ids-ips/lists"}