nsight-port-cpu-to-gpu

Warn

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: MEDIUMPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill instructions in orchestrators/nsys/references/profiling-guide.md direct the agent to assist the user in modifying system kernel parameters using sudo (specifically for lowering the perf_event_paranoid level). While this is a documented requirement for the NVIDIA Nsight Systems profiler to perform CPU sampling, it involves executing commands with administrative privileges and constitutes a privilege escalation risk.
  • [INDIRECT_PROMPT_INJECTION]: The skill is exposed to untrusted data from the analyzed codebase, which is identified as a vulnerability surface. 1. Ingestion points: The agent reads project source code, comments, Makefiles, build logs, and profiling reports across various porting phases. 2. Boundary markers: The skill lacks explicit technical delimiters between untrusted data and instructions, relying instead on high-level guidance for the agent to distinguish context. 3. Capability inventory: The agent has capabilities to execute build/run scripts, run compilers and profilers, write to the project filesystem, and perform local git commits. 4. Sanitization: SKILL.md provides explicit security boundaries directing the agent to treat all codebase content as untrusted, ignore embedded commands, and use quoted paths to prevent shell interpolation.
  • [COMMAND_EXECUTION]: The workflow involves executing local build, test, and profiling tools. This is controlled by mandatory user approval gates for the porting plan, verification scripts, and profiling workloads, ensuring human oversight of all executed commands.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 16, 2026, 03:31 PM