v1.1.8 — Security Hardening
Security
- H1 — Block UNC paths in VMID resolution. The server no longer attempts to read
.vmidfiles from network (UNC/SMB) paths. Previously, a malicious workspace or symlink pointing to an attacker-controlled SMB share could trigger an NTLM authentication handshake, leaking the user's Windows credential hash. - M2 — Eliminate TOCTOU race in VMID parser. Replaced the non-atomic sequence (
File.Exists→FileInfo.Length→File.OpenRead) with a singleFileStreamopen. The file-size check now runs atomically against the open file handle, closing a window where a symlink could be swapped between the check and the read.
Fixed
- M1 — Thread-safety in encoding cache. The encoding-validation cache now uses
ConcurrentDictionaryinstead of the non-thread-safeDictionary, preventing rare race-condition crashes when diagnostics are republished while typing quickly.
Install: download anzory.vscode-gppl-ide-1.1.8.vsix below, then in VS Code: Extensions: Install from VSIX…. Or install from Marketplace once published.