At its core, VS Code is built on an open source project called Code OSS, published under the permissive MIT license.
This week, a US federal court has ruled that NSO Group is no longer allowed to use Pegasus spyware against users of WhatsApp.