Scan your whole stack
Latest version: vgit:d21c6be1426ce876f35b20069ced27cb45b85623
doca-programming-guide was last scanned on 25 Nov 2026 at commit d21c6be1. Risk score 1 of 100 (low). No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| d21c6be1 | 1 rule fired |
Findings for commit d21c6be1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The skill's text or bundled scripts contain encoded content, such as a long base64 or hex string, a dense run of hex escapes, or invisible Unicode tag characters that can carry hidden instructions. Skills rarely need these. On its own this is not evidence of malicious behavior.
LOWThe score describes d21c6be1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Host checks. Commands here that inspect the user's DOCA host (listing or reading
/opt/mellanox/doca, release files such as/etc/mlnx-releaseor/etc/nvidia/bf-release,/dev/mst) or reach the BlueField (RShim, SSH, BMC) are for that host. Run them yourself only if the user confirms you are on it; otherwise answer from this skill, give the commands for the user to run, and treat values you can't see as unknown.
Follow Loading order below. Open the tasks companion for how-to and the capabilities companion for coverage. Do not open every companion file.
Where to start: Read ## Audience to confirm the user
is consuming DOCA, not contributing to it. Then jump to the H2
that matches the verb (## modify for first-app derivation,
## build for the canonical build pattern, ## test for the test
loop, ## debug for the program-class debug ladder). Docker / NGC
is the build half, not the runtime half. The NGC container can
compile and link. Flow pipe creation, RDMA QP ops, and any call
that needs a doca_dev on a port need a real BlueField or
ConnectX. Do not promise the app will work entirely inside docker.
These are the CLASSES of program-class questions the skill is built to answer, each with one worked example. Library-specific overlays (Flow / DMS / Caps / …) live in the matching library skill; this skill answers the library-agnostic shape.
pattern in ## build. Say that docker / NGC builds and links, but runtime needs a real NIC or DPU.
?"* Answered by thepkg-config doca-` pattern inFFI/bindings pattern in Track 2.
calls in my program?"* Answered by the Core order create → configure → start → connect → use → stop → destroy in ## Capabilities and modes (cfg-create/init` implement configure and finish before start).came back — what does it mean and what do I do?"** — worked example: *"My code gotDOCA_ERROR_BAD_STATE."* Answered by the cross-librarydoca_error_get_descr()` rule inand the layered program-class debug ladder in
ABI) and the language-neutral lifecycle in
which separates "the SDK is broken" from "the optional GPU / RMAX / MPI stack is not on this BlueField".
If the question is env-class (install / build env / hugepages /
devices), route to doca-setup/SKILL.md. If it is
library-specific (Flow pipe topology, RDMA QP setup, DMS service
deploy), layer the matching library skill on top.
This skill serves external developers building applications that
consume DOCA libraries — i.e., users whose code calls one or more
doca_<library>_* symbols (directly in C/C++, or through FFI /
bindings from another language). It is programming with DOCA,
not programming of DOCA: it is not for NVIDIA developers
contributing to DOCA itself, and it does not assume access to the
DOCA source tree, internal NVIDIA tooling, or any non-public
information. The only inputs it ever points the agent at are the
ones any external user has: the public docs at
docs.nvidia.com/doca/sdk/,
the public catalog at
catalog.ngc.nvidia.com, the
public GitHub repos under
github.com/NVIDIA /
github.com/NVIDIA-DOCA, the
public developer forum, and the on-disk /opt/mellanox/doca tree
that the public DOCA install (or the public NGC DOCA container,
nvcr.io/nvidia/doca/doca) puts on the user's host. Where to find
and how to install questions are routed elsewhere — see Related
skills below.
Language scope. DOCA itself is a C library family; every shipped
sample in /opt/mellanox/doca/samples/ and every shipped reference
application in /opt/mellanox/doca/applications/ is C. C and C++
consumers are the canonical case for every prescriptive workflow in
this skill. Other-language consumers (Rust, Go, Python, …) consume the
same *.so libraries through FFI or language-specific bindings against
the public C ABI; the skill keeps the lifecycle, capability, error,
observability, and safety guidance language-neutral, and routes the
language-specific build / FFI work back to the consumer's own toolchain
without authoring wrappers.
Load this skill when the user has DOCA installed and the env-class
preconditions are already satisfied (i.e.,
doca-setup/SKILL.md has produced a clean install
where pkg-config doca-<library> resolves, hugepages are mounted, and
devices are visible), and is now asking a question about how to
actually program against DOCA in a library-agnostic way:
pkg-config + meson build pattern any DOCA application
follows, regardless of which library it consumes.doca-setup because it
is a programming verb, not an env verb.create → configure (including permissions and taskset_conf) → start → connect → use → stop → destroy) and how it manifests across libraries. Configuration MUST
finish before doca_ctx_start(). Connect is its own step after
start; do not write connect/use as one token.DOCA_ERROR_* pattern, doca_error_t, and
doca_error_get_descr() — the cross-library shape, not Flow- or
RDMA-specific overlays.Do not load this skill for:
pkg-config not find doca-flow?
How do I mount hugepages? I don't have DOCA installed yet — can I
use a container?" — env-class questions belong in
doca-setup/SKILL.md, which owns install
verification, env preparation, env-class debugging, and the
no-install → NGC container fallback path for any user on macOS,
Windows, or Linux without DOCA.doca-public-knowledge-map/SKILL.md.doca-flow/SKILL.md).This is a thin loader. The body keeps only the orientation needed to pick the right next file. The substantive material lives in two companion files:
DOCA_ERROR_* taxonomy,
the program-side observability surface (DOCA logging, capability
snapshots), and the program-side safety policy that every library
skill inherits.configure, build, modify, run, test, debug. The
## modify verb owns the universal derive a custom first app from
a sample pattern that every DOCA library skill extends with
library-specific overrides; the ## build verb owns the canonical
pkg-config doca-<library> build pattern in two language tracks
(C/C++ direct, non-C via FFI).This skill assumes doca-setup/SKILL.md has already
produced a clean install. It does not cover env preparation; that
is doca-setup's job, including the no-install → NGC container
(nvcr.io/nvidia/doca/doca) fallback for users on macOS, Windows, or
Linux without DOCA.
This skill is agent guidance, not a samples or templates bundle. It deliberately does not contain — and pull requests should not add:
meson.build, CMakeLists.txt,
Cargo.toml, setup.py, go.mod, …) parked inside the skill. The
agent constructs the build manifest in the user's project
directory against the user's installed DOCA, where pkg-config --modversion doca-<library> is the source of truth.samples/, bindings/, or reference/ subtree of any kind.
A mock or incomplete artifact in this skill's tree, even one
labeled "reference", is misleading: users will read it as
buildable.configure, build,
modify, run, test, debug — see the tasks companion.If the user is asking for a first app in a specific library, walk
through ## modify for the universal
copy-and-edit pattern, then hand off to the library skill (e.g.
doca-flow/SKILL.md) for the library-specific values
to swap.
doca-public-knowledge-map/SKILL.md
— public DOCA documentation routing and the on-disk layout of an
installed DOCA package. This skill defers all "where is X
documented", "where on disk is Y", and "how do I check the
installed version" questions to the knowledge-map.doca-setup/SKILL.md — env preparation, install
verification, env-class debugging, and the I have no install yet
procedure with the NGC container (nvcr.io/nvidia/doca/doca) as
the universal Stage-1 fallback for any user on macOS, Windows, or
Linux without DOCA. This skill assumes doca-setup's preconditions
are already satisfied.doca-flow/SKILL.md — DOCA Flow on BlueField.
Extends this skill's ## modify (universal first-app derivation)
with the Flow-specific list of fields to swap.doca-container-deployment/SKILL.md
— shipping an application that already builds: container manifests,
rollout, and service-readiness verification. This skill ends once the
program compiles and runs locally; it does not cover deploying it.Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.