api-evangelist/safeline

GitHub: api-evangelist/safeline

SafeLine 是一款开源自托管 WAF 与反向代理,保护 Web 应用和 API 免受 SQL 注入、XSS、RCE 等多种攻击。

Stars: 2 | Forks: 0

# SafeLine (safeline) SafeLine 是由长亭科技开发的一款开源、自托管的 Web 应用防火墙(WAF)和反向代理,可保护 Web 应用和 API 免受包括 SQL injection、XSS、代码注入、OS 命令注入、SSRF、路径遍历和 RCE 在内的攻击。SafeLine 拥有超过 18 万次安装,保护着超过 100 万个网站,每天处理超过 300 亿次 HTTP 请求。它提供速率限制、反机器人防御、动态代码保护,并与包括 Apache APISIX 和 Kong 在内的 API 网关集成。SafeLine 在端口 9443 上暴露管理 API,并支持用于 AI 辅助管理的 MCP 服务器实现。 **APIs.json:** [https://raw.githubusercontent.com/api-evangelist/safeline/refs/heads/main/apis.yml](https://raw.githubusercontent.com/api-evangelist/safeline/refs/heads/main/apis.yml) ## 范围 - **类型:** 索引 ## 标签 - 代理 - WAF - 安全 - 开源 - 反向代理 - API 网关 ## 时间戳 - **创建:** 2026-03-27 - **修改:** 2026-05-19 ## API ### SafeLine 管理 API SafeLine 管理 API 提供对 SafeLine WAF 的编程控制,包括应用管理、安全规则配置、攻击事件分析、IP 允许列表/阻止列表管理以及流量监控。该管理 API 在端口 9443 上暴露,并支持通过 API token 进行身份验证。 - **Human URL:** [https://waf.chaitin.com/](https://waf.chaitin.com/) #### 标签 - 代理 - WAF - 安全 - REST - 开源 #### 属性 - [文档](https://docs.waf.chaitin.com/) - [入门指南](https://docs.waf.chaitin.com/en/getting-started) - [GitHub 仓库](https://github.com/chaitin/SafeLine) - [OpenAPI](openapi/safeline-management-openapi.yml) — [OpenAPI 规范](https://spec.openapis.org/oas/latest.html) - [Postman Collection](collections/safeline-management.postman_collection.json) — [Postman Collection 2.1](https://schema.getpostman.com/json/collection/v2.1.0/collection.json) - [Open Collection](collections/safeline-management.opencollection.json) — [Open Collection 1.0](https://schema.opencollection.com/opencollection/v1.0.0.json) ### SafeLine MCP 服务器 SafeLine 提供两种用于 AI 辅助 WAF 管理的 MCP(Model Context Protocol)服务器实现:用于基于工具的 API 管理的 Python MCP 服务器和用于高性能管理的 Go MCP 服务器。这些服务器暴露了用于应用管理、安全规则配置和攻击事件分析的工具。 - **Human URL:** [https://github.com/chaitin/SafeLine](https://github.com/chaitin/SafeLine) #### 标签 - WAF - MCP - AI - 安全 #### 属性 - [GitHub 仓库](https://github.com/chaitin/SafeLine) - [Postman Collection](collections/safeline-management.postman_collection.json) — [Postman Collection 2.1](https://schema.getpostman.com/json/collection/v2.1.0/collection.json) - [Open Collection](collections/safeline-management.opencollection.json) — [Open Collection 1.0](https://schema.opencollection.com/opencollection/v1.0.0.json) ## 通用属性 - [网站](https://waf.chaitin.com/) - [文档](https://docs.waf.chaitin.com/) - [GitHub 组织](https://github.com/chaitin/SafeLine) - [演示](https://demo.waf.chaitin.com/) - [OpenAPI](openapi/safeline-management-openapi.yml) — [OpenAPI 规范](https://spec.openapis.org/oas/latest.html) - [Spectral 规则](rules/safeline-rules.yml) - [JSON Schema](json-schema/safeline-website-schema.json) — [JSON Schema](https://json-schema.org/specification) - [JSON Schema](json-schema/safeline-acl-rule-schema.json) — [JSON Schema](https://json-schema.org/specification) - [JSON 结构](json-structure/safeline-website-structure.json) - [JSON 结构](json-structure/safeline-acl-rule-structure.json) - [J S O N L D Context](json-ld/safeline-context.jsonld) - [词汇表](vocabulary/safeline-vocabulary.yml) - [能力](capabilities/waf-protection-management.yaml) ## 维护者 **名字:** Kin Lane **邮箱:** kin@apievangelist.com
标签:API安全, AppImage, CISA项目, DNS 反向解析, JSON输出, Web应用防火墙, 反向代理, 日志审计, 网络安全, 网络流量过滤, 运维工具, 逆向工具, 隐私保护