Skip to content

Security: b4tin/tinydbg

Security

SECURITY.md

Security policy

Supported versions

Version Supported
0.1.x yes
older no

tinydbg v0.x supports Linux x86-64 only.

Reporting a vulnerability

Please report security issues privately using GitHub's private vulnerability reporting / security advisory feature for this repository. Do not open a public issue for a suspected vulnerability. Include:

  • affected version/commit and build configuration,
  • kernel version, distribution, and ptrace/Yama settings,
  • a minimal reproducer or fixture source if possible,
  • impact and whether the target or debugger is the victim.

Do not upload core dumps, target memory contents, proprietary binaries, or other sensitive target data. A description and synthetic reproducer are enough.

You should receive an acknowledgement within a few days. This is a single-maintainer project; timelines are best-effort. Please allow time for a fix before public disclosure.

Scope

Security-relevant issues include, but are not limited to:

  • memory-safety bugs in the C++ core (parsing, bounds, integer overflow),
  • escape/control-character injection from target-derived strings into a terminal,
  • C ABI lifetime, ownership, or thread-affinity violations leading to memory corruption,
  • ptrace cleanup bugs that leave a target stopped, patched, or unreaped,
  • parser crashes/panics on hostile /proc content, ELF files, or command text,
  • privilege-boundary mistakes (for example accidentally bypassing Yama or tracing privileged processes).

Out of scope by design:

  • anti-debugging/evasion, stealth, process injection into arbitrary processes, anti-cheat bypass, exploit weaponization,
  • kernel debugging, hypervisors, eBPF tracing,
  • requests to disable Yama/ptrace_scope or run as root,
  • telemetry or network behavior (the project has none).

Debugging gives full control of the target and should be treated as privileged. Only debug binaries you are authorized to analyze. Do not attach to setuid/privileged processes, other users' processes, or production systems without authorization.

Data handling

tinydbg performs no network calls and has no telemetry. It reads target memory, /proc, and ELF files locally. The debugger prints target-derived strings only after escaping control characters; a target must not be able to inject terminal escapes through a symbol name, path, or error message.

There aren't any published security advisories