Skip to content
Back to search

bfe

A modern layer 7 load balancer from baidu

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/bfenetworks/bfe with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/bfenetworks/bfe'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/bfenetworks--bfe/badge.svg)](/listings/bfenetworks--bfe)

HTML

<a href="/listings/bfenetworks--bfe"><img src="/api/listings/bfenetworks--bfe/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

This quick start is for users who want to get a running setup fast: build Docker images first, then deploy the Kubernetes example.

1) Build Docker images

From the repository root:

make docker

Notes: - `make docker` builds both prod and debug images. Image tags are derived from the `VERSION` file. - To override the image name, set `BFE_IMAGE_NAME`, for example:

make docker BFE_IMAGE_NAME=your-registry/bfe

If you want the Kubernetes deployment to use your locally built image, push it to a registry reachable by your cluster nodes (or load it into a local cluster), then update the bfe image mapping under `images:` in `examples/kubernetes/kustomization.yaml`.

For more details on building and pushing images (including `make docker-push`), see: - [docs/en_us/installation/install_using_docker.md](docs/en_us/installation/install_using_docker.md)

2) Deploy via Kubernetes example (kustomize)

cd examples/kubernetes
kubectl apply -k .
kubectl apply -f whoami-deploy.yaml

For details (image mirror settings, initialization notes, cleanup and finalizer troubleshooting, etc.), see: - [examples/kubernetes/README.md](examples/kubernetes/README.md)

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 125 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # BFE
  2. [![GitHub](https://img.shields.io/github/license/bfenetworks/bfe)](https://github.com/bfenetworks/bfe/blob/develop/LICENSE)
  3. [![Travis](https://img.shields.io/travis/com/bfenetworks/bfe)](https://travis-ci.com/bfenetworks/bfe)
  4. [![Go Report Card](https://goreportcard.com/badge/github.com/bfenetworks/bfe)](https://goreportcard.com/report/github.com/bfenetworks/bfe)
  5. [![GoDoc](https://godoc.org/github.com/bfenetworks/bfe?status.svg)](https://godoc.org/github.com/bfenetworks/bfe/bfe_module)
  6. [![Snap Status](https://snapcraft.io/bfe/badge.svg)](https://snapcraft.io/bfe)
  7. [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3209/badge)](https://bestpractices.coreinfrastructure.org/projects/3209)
  8. [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fbfenetworks%2Fbfe.svg?type=shield)](https://app.fossa.com/reports/1f05f9f0-ac3d-486e-8ba9-ad95dabd4768)
  9. [![Slack Widget](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=green)](https://slack.cncf.io)
  10. English | [中文](README-CN.md)
  11. BFE (Beyond Front End) is a modern layer 7 load balancer from baidu.
  12. <img src="./docs/images/logo/horizontal/color/bfe-horizontal-color.png" alt="bfe logo" width="300" />
  13. BFE is a [Cloud Native Computing Foundation](https://cncf.io/) (CNCF) sandbox project.
  14. ![cncf-logo](./docs/images/cncf-logo.png)
  15. ## Introduction
  16. BFE opensource project includes several components, which can be used together as a integrated layer 7 load balancer and traffic management solution.
  17. BFE system consists of data plane and control plane:
  18. - Data plane:responsible for forwarding user's traffic, including below component:
  19. - BFE Server:BFE forward engine (this repository, bfenetworks/bfe). BFE Server performs content based routing, load balancing and forwards the traffic to backend servers.
  20. - Control plane:responsible for management and configuration of BFE system, including below components:
  21. - [API-Server](https://github.com/bfenetworks/api-server):provides API and handles update, storage and generation of BFE config
  22. - [Conf-Agent](https://github.com/bfenetworks/conf-agent):component for loading config, fetches latest config from API-Server and triggers BFE Server to reload it
  23. - [Dashboard](https://github.com/bfenetworks/dashboard):provides a graphic interface for user to manage and view major config of BFE
  24. Refer to [Overview](docs/en_us/introduction/overview.md) in BFE document for more information
  25. Besides, we also implement [BFE Ingress Controller](https://github.com/bfenetworks/ingress-bfe) based on BFE, to fulfill Ingress in Kubernetes
  26. ## 🚀 Quick Start
  27. This quick start is for users who want to get a running setup fast: build Docker images first, then deploy the Kubernetes example.
  28. ### 1) Build Docker images
  29. From the repository root:
  30. ```bash
  31. make docker
  32. ```
  33. Notes:
  34. - `make docker` builds both prod and debug images. Image tags are derived from the `VERSION` file.
  35. - To override the image name, set `BFE_IMAGE_NAME`, for example:
  36. ```bash
  37. make docker BFE_IMAGE_NAME=your-registry/bfe
  38. ```
  39. If you want the Kubernetes deployment to use your locally built image, push it to a registry reachable by your cluster nodes (or load it into a local cluster), then update the bfe image mapping under `images:` in `examples/kubernetes/kustomization.yaml`.
  40. For more details on building and pushing images (including `make docker-push`), see:
  41. - [docs/en_us/installation/install_using_docker.md](docs/en_us/installation/install_using_docker.md)
  42. ### 2) Deploy via Kubernetes example (kustomize)
  43. ```bash
  44. cd examples/kubernetes
  45. kubectl apply -k .
  46. kubectl apply -f whoami-deploy.yaml
  47. ```
  48. For details (image mirror settings, initialization notes, cleanup and finalizer troubleshooting, etc.), see:
  49. - [examples/kubernetes/README.md](examples/kubernetes/README.md)
  50. ## Advantages
  51. - Multiple protocols supported, including HTTP, HTTPS, SPDY, HTTP2, WebSocket, TLS, FastCGI, etc.
  52. - Content based routing, support user-defined routing rule in advanced domain-specific language.
  53. - Support multiple load balancing policies.
  54. - Flexible plugin framework to extend functionality. Based on the framework, developer can add new features rapidly.
  55. - Efficient, easy and centralized management, with RESTful API and Dashboard support.
  56. - Detailed built-in metrics available for service status monitor.
  57. ## Getting Started
  58. - Data plane: BFE Server [build and run](docs/en_us/installation/install_from_source.md)
  59. - Control plane: English document coming soon. [Chinese version](https://github.com/bfenetworks/api-server/blob/develop/docs/zh_cn/deploy.md)
  60. - Kubernetes example (kustomize): [examples/kubernetes/README.md](examples/kubernetes/README.md)
  61. ## Running the tests
  62. - See [Build and run](docs/en_us/installation/install_from_source.md)
  63. ## Documentation
  64. - [English version](https://www.bfe-networks.net/en_us/ABOUT/)
  65. - [Chinese version](https://www.bfe-networks.net/zh_cn/ABOUT/)
  66. ## Book
  67. - [In-depth Understanding of BFE](https://github.com/baidu/bfe-book) (Released in Feb 2023)
  68. This book focuses on BFE open source project, introduces the relevant technical principles of network access, explains the design idea of BFE open source software, and how to build a network front-end platform based on BFE open source software. Readers with development capabilities can also develop BFE extension modules according to their own needs or contribute code to BFE open source projects according to the instructions in this book.
  69. ## Contributing
  70. - Please create an issue in [issue list](http://github.com/bfenetworks/bfe/issues).
  71. - Contact Committers/Owners for further discussion if needed.
  72. - Following the golang coding standards.
  73. - See the [CONTRIBUTING](CONTRIBUTING.md) file for details.
  74. ## Authors
  75. - Owners: [MAINTAINERS](MAINTAINERS.md)
  76. - Contributors: [CONTRIBUTORS](CONTRIBUTORS.md)
  77. ## Communication
  78. - BFE community on Slack: [Sign up](https://slack.cncf.io/) CNCF Slack and join bfe channel.
  79. - BFE developer group on WeChat: [Send a request mail](mailto:iyangsj@gmail.com) with your WeChat ID and a contribution you've made to BFE(such as a PR/Issue). We will invite you right away.
  80. ## License
  81. BFE is under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.