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
sudoto modify the kernel'sptrace_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
debugpyandremote-pdb, viapipto 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
pdbfeatures likeinteractand the!stmtprefix, which allow the agent to execute arbitrary Python code and mutate state during a live debugging session.
Audit Metadata