Verdicts first, ranked by results and evidence.
-
Explainer
Codex: Load the Ubuntu 24.04 bwrap AppArmor profile
As of November 2026, if Codex still warns about user namespace creation on Ubuntu 24.04 after bubblewrap installation, copy and load the bwrap-userns-restrict AppArmor profile. Begin with sudo apt update
-
Explainer
pnpm: Allow or deny build scripts for dlx dependencies
As of November 2026, allow named dependency build scripts for a one-off package run, or deny scripts even for the executed package. The documentation calls pnpm dlx an alias of pnx. Start with pnx --allow-build=esbuild my-bundler bundle
-
Explainer
OpenCode: ask for shell commands and deny Git pushes
As of November 2026, Use ordered V2 permissions to ask before shell commands, allow Git inspection, and deny pushes. Put broad rules before specific exceptions in opencode.jsonc
-
Explainer
Gemini CLI: Control MCP tool confirmations
As of November 2026, use per-server trust to control bypassing MCP tool confirmations. The default is false; true skips confirmations for that server. Start with "trust": false
-
Explainer
Gemini CLI: run a task in a Docker sandbox
As of November 2026, select GEMINI_SANDBOX=docker to run Gemini CLI tasks with container process isolation. Docker must be installed and running. Install the CLI first with npm install -g @google/gemini-cli
-
Explainer
Copilot coding agent: add repository firewall rules
As of November 2026, add repository domains or URLs in the feature’s Custom allowlist, then save the rules. Begin in repository Settings at Internet access
-
Explainer
OpenAI API: check webhook signatures with unwrap
As of November 2026, pass the original webhook body and headers to client.webhooks.unwrap before processing events. Invalid signatures raise an error. Configure OPENAI_WEBHOOK_SECRET
-
Explainer
Codex: filter the command environment
As of November 2026, use keyed environment filters and turn on automatic exclusion of names containing KEY, SECRET, or TOKEN. Start with shell_environment_policy
-
Explainer
Claude Code: block protected file edits with a hook
As of November 2026, save the documented protection script, make it executable on macOS/Linux, and register it for Edit and Write in project settings. Begin with .claude/hooks/protect-files.sh
-
Explainer
LangChain: invalid HITL config auto-approves tools
As of November 2026, upgrade langchain to 1.5.2 so malformed approval configs raise ValueError, then correct the configured decision list. Set
allowed_decisions. -
Explainer
Goose: shared recipe commands run before consent
As of November 2026, upgrade Desktop so recipe consent is resolved before a new session can start recipe extensions. The fix is limited to Desktop session creation. Use
v1.60.2. -
Explainer
MCP Python SDK: fix 421 Invalid Host Header
As of November 2026, explicitly allow the served hostname and browser origin in TransportSecuritySettings. Upgrading alone does not add your deployment hostname. Pass the allowlist to streamable_http_app() through
transport_security. -
Explainer
Zed: fix Cannot set tty process group on Linux
As of November 2026, upgrade to v1.27.0 (released 2026-11-04) for Linux sandbox commands falsely ending with a tty process-group error and exit code 2. Zed now launches these commands with a non-interactive shell. Upgrade to
v1.27.0. -
Explainer
Xcode: align profile, certificate and archive settings
Inspect the signing identity and private key, then match the profile and resolved archive settings for every signed target. A certificate name alone cannot supply a signing identity. For manually managed assets select
CODE_SIGN_STYLE -
Explainer
venv: unblock PowerShell activation at the right scope
Inspect policy precedence in the exact PowerShell host. Use a session policy only when organizational policy permits it, or run the environment interpreter directly without activation. Start with
Get-ExecutionPolicy -List -
Explainer
Java: block external entities before parsing XML
Deny external DTD and schema protocols, enable secure processing explicitly, and fail initialization when required controls are unavailable. Configure the factory before
newDocumentBuilder() -
Explainer
Composer: allow only reviewed plugins in CI
Record an exact package-name allowlist before unattended installation, explicitly reject unwanted plugins, and preserve required installer behavior. Configure
config.allow-plugins -
Explainer
Ruby on Rails: allow deployment hosts and keep host checks
Allow only the application hostnames you control, keep health-check exemptions path-specific, and compare both origin and forwarded hosts when Rails rejects a request. Start with
config.hosts -
Explainer
NestJS: preserve Stripe webhook signature bytes
Enable Nest raw-body capture without disabling the built-in parser, use the adapter-specific request type, and authenticate the original bytes before side effects. Start with
rawBody: true -
Explainer
Expo Router: mount navigation before session redirects
Mount the root navigator under the session provider, preserve an unresolved loading state, and select protected screens only after restoration with
Stack.Protected -
Explainer
Electron: expose native actions through a preload API
Keep renderer Node access disabled, load an absolute preload path, and expose one restricted operation per IPC channel with
contextBridge.exposeInMainWorld() -
Explainer
.NET MAUI: reach a host API from Android emulators
Point the emulator at the host alias, then distinguish listener, cleartext-policy and certificate failures before changing transport settings with
HttpClient.BaseAddress -
Explainer
Auth.js: refresh OAuth tokens and surface sign-in errors
Persist provider expiry and refresh tokens on the server, preserve replacement tokens, and expose refresh failure so the user can sign in again. Compare expiry with
Date.now() < token.expires_at * 1000 -
Explainer
nginx: restore client IP and retain the proxy address
Trust only the actual proxy ranges, select the client through the trusted chain, and use the original peer when preserving hop history. The original connection address remains available as
$realip_remote_addr
Missing something? Request a thread. Requests with the most votes become the next ones.