Skip to content

Security: amarbarosys/wavewait

Security

SECURITY.md

Security

wavewait reads GPU thread traces and counter dumps, shells out to llvm-objdump, llvm-dwarfdump, addr2line, rocprofv3, adb and the Android NDK, and some scripts start a ComfyUI server. A security bug in how it handles a capture directory, a path or a device argument matters.

Report a vulnerability

Do not open a public issue. Use GitHub's private reporting: the Report a vulnerability button on the Security advisories page. Include the version, the command, and how to reproduce it.

You will get a reply within 7 days. A fix ships as a patch release with a note that credits you, unless you ask not to be named.

What wavewait touches

  • tools/att-capture.sh runs the program you name under rocprofv3 with your privileges and kills its process group on a hang. It writes only under the run directory you give.
  • The analyzer (build/wavewait) reads capture directories (.att, pcmap.tsv, code.json, code objects, csv) as untrusted input: a desynced walk exits 3 with FAIL walk, bad rows fail with the line.
  • The phone scripts (scripts/ww-phone*, tools/wwk.c) run on an Android phone over adb with no root. They read GPU counters and must never write /sys/class/kgsl/*: on some phones that store power-cycles the GPU (see the Safety rules in docs/DEVICES.md). Every adb call runs under timeout.
  • tools/comfy-prof.sh and tools/comfy-trace.sh start and stop a ComfyUI server you point them at.

Supported versions

Only the latest release gets fixes.

There aren't any published security advisories