python-debugpy

Pass

Audited by Gen Agent Trust Hub on Sep 8, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATIONDYNAMIC_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: Includes instructions to install standard debugging packages debugpy and remote-pdb from the official Python package registry.
  • [COMMAND_EXECUTION]: Provides numerous recipes for launching scripts with debugging flags, starting debug listeners, and using network tools like nc to connect to local debug ports. It also includes a Python script template for interacting with the Debug Adapter Protocol (DAP).
  • [PRIVILEGE_ESCALATION]: Contains an instruction to modify the ptrace_scope kernel parameter using sudo to enable debuggers to attach to already-running processes. This is a common and documented requirement for process tracing on many Linux distributions.
  • [DYNAMIC_EXECUTION]: Provides a functional template for a DAP client script intended to be written to the local filesystem and executed to automate debugger interactions. It also documents the use of pdb's !stmt command to execute arbitrary Python code within a debug session.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 8, 2026, 07:01 PM
Security Audit — agent-trust-hub — python-debugpy