Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Slack Engineering 6 min read Incident mediumAdept

How a Jenkins Job Broke our Jenkins UI

After a Jenkins and plugin upgrade, Slack's Jenkins UI broke whenever an integrity job marked a node offline using a custom Groovy OfflineMessage class extending Localizable. Reproducing the failure in staging and tailing the logs turned up a 'Rejecting unsandboxed property get' error. That error traced back to a groovy-sandbox tightening in the Script Security Plugin made to fix CVE-2020-2279. Replacing the custom class with the built-in OfflineCause.ByCLI string constructor fixed it, and the takeaways are to mirror production in staging, keep Jenkins API integrations lean, watch sandbox and plugin changelogs, and maintain upgrade runbooks.

Assumes: Jenkins pipelinesGroovy basics

Related posts

  • Sandboxing

    Zed mediumAdept

    Zed's agent panel now sandboxes the terminal and fetch tools by default (from 1.14) using OS-enforced restrictions: Seatbelt on macOS, Bubblewrap namespaces on Linux, and WSL on Windows. Default rules block writes outside project directories, writes to .git (which could plant hooks that run unsandboxed), and network access, and agents must request escalation with a stated reason. Instruction-following and command-matching rules like banning `git .*` are trivially bypassed via shells, env vars or other interpreters, and a symlink-swap TOCTOU race between user approval and bwrap bind mounting could grant write access to arbitrary readable directories, which Zed detects and fails closed on. The sandbox is one defense layer and does not cover the edit tool, ACP agents, LSP/MCP servers, build.rs, proc macros or git hooks run outside it.

  • Coding Agent Horror Stories: The 29 Million Secret Problem

    Docker mediumAdept

    The s1ngularity supply-chain attack on the Nx npm package used a post-install script to find installed AI coding CLIs (Claude Code, Gemini CLI, Amazon Q) and invoke them with permission-bypass flags like --dangerously-skip-permissions, prompting the agent to inventory secrets across the home directory before exfiltrating them to public repos under the victim's GitHub account. GitGuardian counted 2,349 stolen secrets across 1,079 repos and also found AI-assisted code leaks secrets at about twice the GitHub baseline. Docker Sandboxes is pitched as the mitigation: agents run in microVMs that see only the project workspace, and credentials stay in the host keychain and are injected by a proxy at the network boundary, so the agent only ever holds a placeholder.

  • Zed Moves Toward Secure-by-Default: Introducing Worktree Trust

    Zed mediumAdept

    Zed now opens new worktrees in Restricted Mode, refusing to parse project `.zed/settings.json`, spawn language servers, or start MCP servers until the user explicitly trusts the worktree. The change follows Mindgard vulnerability reports showing that a malicious project settings file could execute arbitrary shell commands via MCP `context_servers` or LSP `binary` entries simply by opening the project. Trust is persisted per host (local, SSH, WSL), can cover a parent folder, and can be reset with `workspace::ClearTrustedWorktrees`. An opt-out `trust_all_worktrees` setting exists for sandboxed environments, though manually granted trust is the only kind that persists across restarts.

  • Our response to the Axios developer tool compromise

    OpenAI mediumAdept

    A GitHub Actions workflow in OpenAI's macOS app-signing pipeline downloaded and executed a malicious Axios 1.14.1 during the March 31, 2026 npm supply chain attack, exposing the code-signing certificate and notarization material for ChatGPT Desktop, Codex, Codex CLI and Atlas. OpenAI judged exfiltration unlikely because of payload timing and job sequencing, but is treating the certificate as compromised: it is rotating it, blocking new notarizations with Apple, and fully revoking it on May 8, 2026 after a 30-day update window. The root cause was a workflow that used a floating tag instead of a pinned commit hash and had no minimumReleaseAge for new packages. Both settings are concrete mitigations for CI pipelines that handle signing secrets.

  • Our response to the TanStack npm supply chain attack

    OpenAI easyNovice

    Two OpenAI employee devices were compromised via the malicious TanStack npm package in the Mini Shai-Hulud supply chain attack, leading to credential-focused exfiltration from a limited set of internal repositories that held code-signing certificates for iOS, macOS and Windows apps. OpenAI isolated systems, revoked sessions, rotated credentials, blocked new notarizations with the old certificate, and is rotating signing certificates, which requires macOS users to update apps before the revocation deadline (extended to June 26, 2026). The affected devices had not yet received hardening controls rolled out after the Axios incident, including package manager minimumReleaseAge settings and provenance validation, which would have blocked the malicious package. No customer data, IP or signed malware was found.

The quest for software engineering knowledge.

Look:
Layout: