Component
core/security/nemoguard-jailbreak-detect
NVIDIA's NemoGuard JailbreakDetect, served by its NIM: a classifier that reads a text and reports whether it is an attempt to make a model ignore its instructions, with a score. It changes and forwards nothing. core/security/nemo-guardrails points its jailbreak-detection rail at it through its jailbreak_detection socket. Running it requires an NVIDIA AI Enterprise licence or NVIDIA Developer Program membership, and an NGC API key: NVIDIA restricts access to the image and the model, and the container fetches its model from NVIDIA with the key when it starts. The Release names the image in infra.image and the catalog names none, so nothing renders until it is set. Realized on Kubernetes by helm/nemoguard-jailbreak-detect, one replica that requests a GPU. It authenticates no caller, so it is published on an in-cluster address only.
来源
- 内容摘要
- sha256:a12fae80984fae74116e1dbbab57e130f867ad80e5a193a1f8ef0cbda482d050
- 发布时间
- 2026-11-10T10:13:49Z
- 签名身份
- 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:b6fea30f86e941b677a03c49e0802ba380f8f06328e982ee5344b21da8fc7842
此版本的引用
oci://hub.aggrega.ai/component/core/security/nemoguard-jailbreak-detect:1.0.0开发者参数
开发者在 Aggregate 中设置的值。
未声明开发者参数。
运维规格
运维人员按环境调整的基础设施规格。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 8000 | 否 | Port the classifier listens on and its Service accepts callers on, handed to the container as NIM_HTTP_API_PORT, the variable NVIDIA documents for it. Most operators should omit this and let the Recipe assign the default (8000). |
| image | string | — | 是 | Full reference of the jailbreak-detection NIM image, including its tag — the image the operator is entitled to pull. There is no default, because access to NIM images is governed by NVIDIA's terms rather than by the catalog, and the catalog therefore names none. |
| compute | object | — | 否 | — |
| model_cache | object | — | 否 | Volume the container fetches its model into and reads it from, kept across restarts so the model is fetched once. NVIDIA lists the model at about 530 MB. |
| gpu | object | — | 否 | GPU scheduling for the classifier's container. NVIDIA supports the NIM on one GPU and its documented run hands the container the host's GPUs, so the container always requests at least one; a runtime_class selects the GPU-enabled container runtime. Requires a GPU-capable cluster. |
| image_pull_secret | string | — | 否 | Name of a pre-created Kubernetes image-pull Secret granting access to NVIDIA's registry, nvcr.io, where the NIM image is published. Omit when the cluster can pull the image without credentials, as from a mirror it already reaches. |
输出契约
此组件通过 uses 拓扑向使用方发布的值。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| host | string | — | 是 | In-cluster DNS name of the Service fronting the classifier. Every caller reaching this name can submit text, so it is an address for the component that calls the service rather than one to publish. |
| port | integer | — | 是 | TCP port that Service accepts callers on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default. |
| endpoint | string | — | 是 | Base URL of the classifier's API, with the host, the port and the API path /v1 already composed. A caller posts the text to check to the classify route under it. |
| protocol | string | — | 否 | URL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`. |
| metrics_endpoint | string | — | 否 | The full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:<port>/v1/metrics` on the port callers reach. |
uses 套接字
此组件用于建立连接的依赖套接字。通过某个套接字接入的每个连接,其目标都必须满足该套接字的标签选择器,且每个连接都可以在该套接字声明的槽位中携带附加项。必需槽位须由 Aggregate 或 Release 通过该套接字接入的每个连接来填充。
未声明 uses 套接字。
附加槽位
Feature 附加到此组件时所用的命名绑定点。槽位的选择器限定哪个 Feature 可以填充该槽位,其 inject 列表则指明 Feature 的内容可以如何交付。必需槽位必须在每个实例上完成绑定,可以通过实例上的附加,也可以通过其上层作用域的附加;敏感槽位则声明为用于处理机密内容。Feature 也可以以任何槽位都未声明的名称进行附加。
| 槽位 | 选择器 | 必需 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| ngc_api_key | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional NGC API key the container fetches its model with when it starts. When attached, the container receives it as the NGC_API_KEY environment variable, read from a Secret by reference. Unattached, the container starts without it and can serve only a model already in its cache volume. |
自注入允许列表
未声明自注入管道。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
此实体未使用目录中的任何内容。
被使用
使用套接字 «auth_core»
使用套接字 «auth_core»
使用套接字 «auth_core»
使用套接字 «auth_core»
使用套接字 «upstream»
使用套接字 «forward_target»
使用套接字 «scrape_target»
使用套接字 «store»
使用套接字 «jailbreak_detection»
适用于
适用于
适用于
适用于
适用于
适用于
适用于
实现