Component
core/ai-agent/dify-ssrf-proxy
The egress proxy a Dify installation routes user-directed outbound requests through. A Dify workflow fetches whatever address its author or its end user supplies — a web page to crawl, a file to load, an HTTP request node's target — and a service that made those calls itself would be reachable proof of every address the cluster can see. This component is the chokepoint that removes that: it is a Squid forward proxy configured to refuse any destination in private, loopback, link-local or multicast address space, so a supplied address can reach the public internet and cannot reach the cluster's own services or the node's metadata endpoint. Its allowlist of private destinations is empty by default and is widened only by naming addresses explicitly. Holds no state — its cache is in memory and discarded with the process — so it renders as a stateless server. Exports its host, port and protocol to consumers via the uses topology, which is how each caller learns the proxy address to send through.
Asal-usul
- Digest konten
- sha256:aea991ce87ad647db2f03ef6900566d99bd591c18a903d8c9f5a4bc515a42399
- Dipublikasikan
- 2026-11-10T10:07:51Z
- Identitas penandatangan
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Tanda tangan
- Resmiapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:41ce27fc1bd98aa86e3894ac9dd8ff6ac9ff537d6a9e66b00ef694b92a7cf24e
Referensi pada versi ini
oci://hub.aggrega.ai/component/core/ai-agent/dify-ssrf-proxy:1.0.0Parameter pengembang
Nilai yang ditetapkan pengembang di Aggregate.
| Nama | Tipe | Bawaan | Wajib | Deskripsi |
|---|---|---|---|---|
| allowed_private_networks | array | — | tidak | Private-address ranges the proxy permits as destinations, each in CIDR notation, permitted ahead of the private-network refusal. Left unset, no private destination is reachable through the proxy. Naming a range here is how an installation lets a workflow reach a service inside its own cluster, and each entry widens what a supplied address can reach, so the list stays as short as the installation needs. |
| allowed_domains | array | — | tidak | Domains the proxy permits as destinations regardless of the address they resolve to, each written as the domain or a leading-dot suffix match. Left unset, only the plugin marketplace the platform installs from is named. |
| max_request_body_size | string | 100 MB | tidak | Largest request body the proxy will buffer, as a Squid size quantity. |
Penentuan ukuran oleh operator
Ukuran infrastruktur yang disesuaikan operator untuk setiap lingkungan.
| Nama | Tipe | Bawaan | Wajib | Deskripsi |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 3128 | tidak | Forward-proxy listen port callers send through. |
| engine_version | string | 6.6-24.04_edge | tidak | Squid container image tag. |
| compute | object | — | tidak | — |
| overrides | object (open) | — | tidak | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
Kontrak keluaran
Nilai yang dipublikasikan komponen ini kepada konsumen melalui topologi uses.
| Nama | Tipe | Bawaan | Wajib | Deskripsi |
|---|---|---|---|---|
| host | string | — | ya | In-cluster DNS name of the Service fronting the egress proxy. A caller sets it as its proxy address rather than as a request target, so its outbound calls leave through the proxy. |
| port | integer | — | ya | TCP port the proxy accepts forwarded requests on. It follows the port an operator set in the Release, so a caller reads it rather than assuming a default. |
| protocol | string | — | tidak | URL scheme to reach `host` and `port` over, which a caller composes its proxy address on. |
Soket uses
Soket dependensi yang menjadi jalur koneksi komponen ini. Target setiap koneksi yang dihubungkan melalui sebuah soket harus memenuhi selektor labelnya, dan setiap koneksi dapat membawa lampiran pada slot yang dideklarasikan soket tersebut. Slot wajib harus diisi oleh setiap koneksi yang dihubungkan oleh Aggregate atau Release melalui soket tersebut.
Tidak ada soket uses yang dideklarasikan.
Slot lampiran
Titik pengikatan bernama tempat sebuah Feature dilampirkan ke komponen ini. Selektor sebuah slot membatasi Feature mana yang dapat mengisinya, dan daftar injeksinya menyebutkan cara materi Feature dapat dikirimkan. Slot wajib harus terikat pada setiap instans, melalui lampiran pada instans tersebut atau pada cakupan di atasnya, dan slot sensitif dideklarasikan untuk menangani materi rahasia. Sebuah Feature juga dapat dilampirkan dengan nama yang tidak dideklarasikan oleh slot mana pun.
Tidak ada slot lampiran yang dideklarasikan.
Daftar izin injeksi mandiri
Tidak ada pipa injeksi mandiri yang dideklarasikan.
Relasi
Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.
Menggunakan
Entitas ini tidak menggunakan apa pun di katalog.
Digunakan oleh
menggunakan soket «runner»
menggunakan soket «api»
menggunakan soket «runner»
menggunakan soket «api»
menggunakan soket «services»
menggunakan soket «api»
menggunakan soket «services»
menggunakan soket «services»
menggunakan soket «sandbox»
menggunakan soket «plugin_daemon»
menggunakan soket «ssrf_proxy»
menggunakan soket «sandbox»
menggunakan soket «plugin_daemon»
menggunakan soket «ssrf_proxy»
menggunakan soket «api»
menggunakan soket «ssrf_proxy»
menggunakan soket «api»
menggunakan soket «api»
menggunakan soket «sandbox»
menggunakan soket «plugin_daemon»
menggunakan soket «ssrf_proxy»
menggunakan soket «sandbox»
menggunakan soket «plugin_daemon»
menggunakan soket «ssrf_proxy»
menggunakan soket «target_agent»
menggunakan soket «upstream»
menggunakan soket «forward_target»
menggunakan soket «scrape_target»
menggunakan soket «store»
berlaku untuk
berlaku untuk
berlaku untuk
berlaku untuk
berlaku untuk
berlaku untuk
berlaku untuk
mengimplementasikan
mengimplementasikan