本页面为机器翻译。阅读英文原文。

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 设计系统构建。

隐私