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
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| sensitivity | string (standard | strict) | standard | 是 | — |
输出契约
此功能向使用方发布的值。
未声明输出值。
注解
未声明注解。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 适用于适用于
component.aggrega.ai/category=gateway
core/gateway/agentgateway v1.0.0 →core/gateway/apisix v1.0.0 →core/gateway/azure-api-management v1.0.0 →core/gateway/cloudflare-ai-gateway v1.0.0 →core/gateway/contour v1.0.0 →core/gateway/envoy-ai-gateway-operator v1.0.0 →core/gateway/envoy-gateway v1.0.0 →core/gateway/higress v1.0.0 →core/gateway/kong v1.0.0 →core/gateway/kong-enterprise v1.0.0 →core/gateway/litellm v1.0.0 →core/gateway/nginx v1.0.0 →core/gateway/traefik-hub v1.0.0 →core/gateway/tyk v1.0.0 →example/gateway/nginx-reviewed v1.0.0 → - $ref扩展模式(values)
BaseComponents#/schemas/BaseFeatureParameter
被使用
实现
实现
实现
实现
实现
实现
实现