本頁面由機器翻譯。閱讀英文原文。

Feature

core/prompt-injection-shield

Declares that the model requests a gateway forwards are checked for attempts to override the instructions a model was given, before the model is called, at one of two sensitivities: strict refuses more such attempts, and more legitimate requests with them. The check is a probabilistic classifier's verdict: it misses some attacks, reworded, encoded or respelled ones among them, refuses some legitimate requests, and is known to be evadable, so it is one control beside others. It does not judge the model's reply, tool-call arguments or images. A realization either sends the requests through a guard wired to the gateway's guard socket, which checks each one and forwards what it admits to the model, or turns on a check the gateway runs itself. core/gateway/litellm and core/gateway/nginx realize it with core/security/nemo-guardrails as the guard, each halting the build with no guard wired or unless the guard's threshold is the one the sensitivity names. core/gateway/azure-api-management realizes it as Azure's prompt shield, which is on or off, so it keeps standard alone. What each check reads, and what the gateway still serves, is stated on each realization. On a gateway with no realization, attaching it halts the build naming the type.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:f7138e93d2d53f7fbed1ced67aaf82b180b079daed347e5231473ad39cc2adfc
發布時間
2026-11-10T10:17:17Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/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:f1cc347d042fb5403c17380a18db62fa747ac4fa1c283719fe7832e2d38415e0

此版本的參照

oci://hub.aggrega.ai/feature/core/prompt-injection-shield:1.0.0
適用於
component.aggrega.ai/category=gateway
與其衝突
—

開發者參數

開發者附加此功能時設定的值。

擴充 BaseComponents#/schemas/BaseFeatureParameter

名稱型別預設必填描述
sensitivitystring (standard | strict)standard是—

輸出契約

此功能向使用端發布的值。

未宣告任何輸出值。

註記

未宣告任何註記。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

Feature 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權