This thread tracks the evolution of Slack's security posture for its desktop application, focusing on implementing robust sandboxing mechanisms to mitigate security risks. Initial posts detail the foundational architecture and the rationale behind enabling the app sandbox for all web content. This post details the technical implementation of sandboxing in Slack's Electron app, including the use of Chromium's security features, the challenges of dependency untangling with tools like dependency-cr. This post introduces electron-compile, a library that allows Electron to natively Just-In-Time compile popular web languages like ES2015, TypeScript, CoffeeScript, LESS, and Jade/Pug, simplifying the build pipeline for developers and enabling faster prototyping.
All Slack trails