python-debugpy
Fail
Audited by Gen Agent Trust Hub on Aug 28, 2026
Risk Level: HIGHPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill instructs the user to execute
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scopeto disable kernel-level ptrace protections. This modification allows the debugger to attach to arbitrary processes, which bypasses default security configurations and increases the overall system attack surface. - [DYNAMIC_EXECUTION]: The skill utilizes tools (pdb, debugpy, remote-pdb) that facilitate arbitrary Python code execution at runtime. Specifically, the
!stmtandinteractcommands in pdb allow for executing any Python statement, anddebugpysupports attaching to and executing code within running processes via the--pidflag. Additionally, the skill includes a recipe for generating a custom DAP client script in/tmp/dap_client.pyfor dynamic execution. - [COMMAND_EXECUTION]: The instructions include the use of
sudoand shell commands for configuration changes and installing debugging dependencies via the package manager. - [INDIRECT_PROMPT_INJECTION]: The skill presents an indirect prompt injection surface when debugging untrusted code or test suites.
- Ingestion points: Processes external code and data through
pdb,pytest, anddebugpyas described in SKILL.md. - Boundary markers: No specific delimiters or instructions to ignore embedded instructions in the debugged source code are provided.
- Capability inventory: Full arbitrary Python execution via
pdb(!stmt),interactmode, anddebugpyprocess injection. - Sanitization: No sanitization or validation of the input code or data processed during a debugging session is implemented.
Recommendations
- AI detected serious security threats
Audit Metadata