python-debugpy

Warn

Audited by Gen Agent Trust Hub on Oct 12, 2026

Risk Level: MEDIUMPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill instructs the user to execute a command with elevated privileges using sudo to modify the kernel's ptrace_scope (echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope). This is a legitimate requirement for attaching debuggers to already-running processes on some Linux distributions, but it involves modifying system-wide security settings.
  • [EXTERNAL_DOWNLOADS]: The instructions recommend installing third-party Python libraries, specifically debugpy and remote-pdb, via pip to enable remote debugging and DAP support.
  • [COMMAND_EXECUTION]: The skill provides multiple shell commands for launching Python scripts under debuggers, executing test suites with specific debugging flags, and interacting with the system via netcat (nc).
  • [DYNAMIC_EXECUTION]: The guide describes the use of pdb features like interact and the !stmt prefix, which allow the agent to execute arbitrary Python code and mutate state during a live debugging session.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 12, 2026, 06:55 PM