cuda-profiling
Warn
Audited by Gen Agent Trust Hub on Nov 21, 2026
Risk Level: MEDIUMPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The "Common Problems" section instructs users to use
sudoor set the kernel parameterNVreg_RestrictProfilingToAdminUsers=0to resolve hardware counter access errors (ERR_NVGPUCTRPERM). These actions involve acquiring root privileges or lowering system-wide security restrictions on hardware profiling. - [COMMAND_EXECUTION]: The skill workflow involves executing shell commands for compilation (
nvcc) and profiling (nsys,ncu), as well as running local binaries (./my_cuda_app). These operations provide a mechanism for local code execution. - [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion and interpretation of data produced by external binaries and profiling tools.
- Ingestion points: Profiling reports (
.nsys-rep,.ncu-rep) and CLI output fromnsys statsandncu --metrics(SKILL.md). - Boundary markers: Absent; the instructions do not define delimiters for separating tool output from agent instructions.
- Capability inventory: Includes subprocess execution of compilers, profilers, and the resulting application binaries.
- Sanitization: None; there is no validation or sanitization specified for the output of the profiled applications or the metric reports before they are processed by the agent.
Audit Metadata