Skip to content

Security: sharktide/restructuredpython

Security

SECURITY.md

Security policy

Execution trust boundary

REPY is a source compiler, not a sandbox. Running a REPY file is equivalent to running Python code with the caller's permissions. Only execute trusted files. For untrusted code, use an isolated operating-system environment with no sensitive files or credentials, strict resource limits and restricted access.

Compilation does not execute generated Python. Include paths are confined to the source/project root and bundled headers; outputs are restricted to regular Python files and staged before replacement. The compiler assumes the project filesystem is not concurrently modified by an adversarial local process. Project compilation is not a filesystem-wide transaction.

Reporting a vulnerability

Please use the repository's private vulnerability reporting feature if enabled, or contact the maintainer privately. Do not disclose sensitive proof-of-concept details in a public issue before a fix is available.

Verification

CI runs the native and Python reference backends, differential Unicode tests, CodeQL security analysis and native AddressSanitizer/UndefinedBehaviorSanitizer checks. These checks reduce risk but cannot establish the absence of all vulnerabilities.

There aren't any published security advisories