vice executes local compiler toolchains and processes untrusted source repositories. Its core security boundaries are:
- No custom compiler executables from repositories: Custom compiler executables and command templates are loaded only from the user-owned
compilers.toml(~/.config/vice/compilers.tomlon Linux/macOS or%APPDATA%\vice\compilers.tomlon Windows) — never from repository.vice.toml. - Explicit workspace trust: Project
.vice.tomlflags andcompile_commands.jsonentries are ignored unless explicitly approved via:ViceTrust(tracked by canonical file path + SHA-256 content hash; any modification revokes trust). - No shell interpolation: Compilers are always invoked with explicit argv lists (
shell=False). - No user code execution: The
python-disbytecode adapter uses stdlibcompile()anddis.Bytecodeonly — it never callsexec()oreval()on user buffers.
If you discover a security issue (such as a workspace-trust bypass, command injection, or unintended code execution), please do not open a public GitHub issue.
Instead, report it privately via GitHub's Security → Advisories → Report a vulnerability page for vstiago/vice, or contact the maintainer directly. Please include:
- Steps to reproduce or a minimal proof-of-concept
- Affected OS, editor (Vim/Neovim), and Python version
- Potential impact
We aim to acknowledge reports promptly and coordinate a fix before public disclosure.