ldebruijn/graphql-protect
ldebruijn/graphql-protect has 35 GitHub stars and 10 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-13 14:49 UTC. Last push 2026-11-05.
可以做什么
- Trusted Documents (Persisted Operations)
- Block Field Suggestions
- Obfuscate upstream errors
- Max (Field & List) Depth
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
A dead-simple yet highly customizable security proxy compatible with any HTTP GraphQL Server or Gateway.
安全README.md
原文GraphQL Protect 🛡️
GraphQL Protect is dead-simple yet highly customizable security proxy compatible with any HTTP GraphQL Server or Gateway.

This repository is inspired by the great work of the Javascript GraphQL Armor middleware.
Features
- Trusted Documents (Persisted Operations)
- Block Field Suggestions
- Obfuscate upstream errors
- Max Aliases
- Max Tokens
- Max (Field & List) Depth
- Max Batch
- Enforce POST
- Access Logging
- Max Directives (coming soon)
- Cost Limit (coming soon)
Curious why you need these features? Check out this Excellent talk on GraphQL security on YouTube.
Installation
As Container
docker pull ghcr.io/ldebruijn/graphql-protect:latest
docker run -p 8080:8080 -v $(pwd)/protect.yml:/app/protect.yml -v $(pwd)/schema.graphql:/app/schema.graphql ghcr.io/ldebruijn/graphql-protect:latest
Make sure to portforward the right ports for your supplied configuration
Check out our run documentation for more concrete examples.
Source code
git clone [email protected]:ldebruijn/graphql-protect.git
Build & Test
make build
make test
Run Container
make run_container
Documentation
Check out our extensive documentation, including configuration examples, detailed descriptions of each protection feature as well as deployment configuration examples.
Configuration
We recommend configuring the binary using a yaml file, place a file called protect.yml in the same directory as you're running the binary.
For all the configuration options check out the Configuration Documentation
Spec Target
At time of writing, GraphQL Protect targets the October 2021 version of the GraphQL specification and select portions of the Draft.
Contributing
Ensure you have read the Contributing Guide before contributing.
To set up your project, make sure you run the make dev.setup script.
git clone [email protected]:ldebruijn/graphql-protect.git
cd graphql-protect
make dev.setup
Known Limitations
Check out known limitations for more details.
探索相关项目
trimstray/the-book-of-secret-knowledge
汇集各类启发灵感的清单、手册、速查表、博客、技巧、单行命令、CLI/Web 工具等内容。
258,207 星标Hack-with-Github/Awesome-Hacking
面向黑客、渗透测试人员与安全研究人员的各类 Awesome 清单合集。
125,431 星标swisskyrepo/PayloadsAllTheThings
一份用于 Web 应用安全以及渗透测试/CTF 的实用 payload 与绕过方法列表。
82,655 星标caddyserver/caddy
快速、可扩展的跨平台 HTTP/1-2-3 Web 服务器,支持自动 HTTPS
79,021 星标