封鎖代理流量外洩、MCP 提示注入與機密外洩 - 使用 Pipelock
在信任代理程式之前,於代理網路流量、工具呼叫與 MCP 流量前方設置行內防火牆與封裝層。
先決條件
Homebrew 或 Go、終端機、支援的代理執行環境或 IDE 整合
安裝
使用符合您環境的上游安裝或設定路徑:
- brew install luckyPipewrench/tap/pipelock
- docker pull ghcr.io/luckypipewrench/pipelock:latest
- go install github.com/luckyPipewrench/pipelock/cmd/pipelock@latest
- docker run -p 8888:8888 -v ./pipelock.yaml:/config/pipelock.yaml:ro \
上游的需求與注意事項:
- pipelock check --url "https://docs.python.org/3/" # 允許
-
Docker
-
從原始碼編譯(需要 Go 1.25+)
基本使用或入門說明:
-
bash
-
設定(探索 IDE 設定、產生設定檔、驗證偵測)
-
取自上游文件:https://raw.githubusercontent.com/luckyPipewrench/pipelock/HEAD/README.md