| Version | Supported |
|---|---|
| 0.2.x | ✅ |
| < 0.2 | ❌ |
cuda-sage is a static analysis tool — it reads PTX text files and performs pure computation. It does not:
- Execute PTX or CUDA code
- Make network requests
- Access credentials or secrets
- Write to locations outside the
--outputpath you specify
The primary attack surface is malicious PTX input. The parser uses Python re with bounded patterns and reads files as plain text. No eval or exec is used anywhere in the codebase.
If you discover a security vulnerability (e.g., a crafted PTX file that causes path traversal via --output, a regex ReDoS, or unexpected code execution):
- Do not open a public issue.
- Email the maintainer directly with:
- A description of the vulnerability
- A minimal reproducer (PTX file or command)
- Your assessment of severity and impact
- You will receive a response within 72 hours.
- Once a fix is released, the vulnerability will be disclosed publicly with credit to the reporter.
- The
--outputflag writes only to the exact path you supply; no directory traversal is possible. - PTX parsing is regex-based with no shell invocation or
subprocessusage.