
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@useatlas/railway-sandbox
Advanced tools
Ephemeral Railway microVM isolation via the Railway Sandboxes SDK.
⚠ Security caveat — read before adopting. Railway Sandboxes offer only
ISOLATED(outbound internet via NAT) andPRIVATE(private network + outbound internet) network modes — neither blocks outbound egress. A compromised or malicious explore command can phone home, which makes this a strictly weaker isolation posture than a deny-all backend (e.g. Vercel Sandbox withnetworkPolicy: "deny-all"). This plugin always creates sandboxes inISOLATEDmode (neverPRIVATE), reportssecurity.networkIsolation: falsehonestly, and is suitable for single-tenant / self-hosted deployments that accept the trade-off. It is not suitable for multi-tenant SaaS until Railway ships a no-egress mode (#3231).
bun add @useatlas/railway-sandbox railway
import { defineConfig } from "@atlas/api/lib/config";
import { railwaySandboxPlugin } from "@useatlas/railway-sandbox";
// On Railway, RAILWAY_API_TOKEN / RAILWAY_ENVIRONMENT_ID are picked up
// automatically by the SDK:
export default defineConfig({
plugins: [railwaySandboxPlugin({})],
});
// Or pass credentials explicitly:
export default defineConfig({
plugins: [
railwaySandboxPlugin({
token: process.env.RAILWAY_API_TOKEN!,
environmentId: process.env.RAILWAY_ENVIRONMENT_ID!,
}),
],
});
| Field | Type | Default | Description |
|---|---|---|---|
token | string? | RAILWAY_API_TOKEN env | Railway API token |
environmentId | string? | RAILWAY_ENVIRONMENT_ID env | Environment to create sandboxes in |
idleTimeoutMinutes | number | 10 | Idle backstop (1–120). Railway destroys the sandbox after this much idle time even if close() never runs |
timeoutSec | number | 30 | Command timeout in seconds |
close() → destroy()); idleTimeoutMinutes is the billing
backstop for leaked sandboxes. Health checks create + destroy a sandbox with
a 1-minute backstop.exec commands.
Symlinks escaping the semantic root are skipped, matching the other sandbox
backends.CREATING/RUNNING
count. Atlas caches one explore backend per semantic root (per org), so more
concurrently-active orgs than the cap will fail create() — the error
message surfaces the cap and the remedy (destroy idle sandboxes, wait for
idle timeouts, or upgrade the plan).FAQs
Atlas Railway sandbox plugin
We found that @useatlas/railway-sandbox demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.