Skip to content

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

Railway 2 min read How-to mediumAdept

Security Disclosure Recommendation: Check for Unexpected Anthropic Usage

Railway users whose Claude API key may have been exposed in the October 21, 2026 security disclosure should delete the key in the Claude Console, create a replacement and redeploy services with the updated Railway variable. Shared variables can be edited once in Project Settings so every referencing service picks up the new key. To check for misuse, group Console Usage by API key and compare token volume and model mix against normal traffic, review Cost and Logs for the exposure window, and audit workspace membership. Usage data can also be pulled through the Usage and Cost Admin API filtered by api_key_ids. Save evidence of any unexpected usage and send it to Anthropic support.

Assumes: API key managementRailway environment variables

Related posts

  • Security Disclosure Recommendation: Check for Unexpected Grok Usage

    Railway mediumAdept

    Railway users whose xAI API key may have been exposed in the October 21, 2026 security disclosure should disable or delete the key in the xAI Console, create a replacement, and update the Railway service or shared variable before redeploying. To check for misuse, use xAI's Usage Explorer to group the exposed key's usage by request IP, model or cluster, compare it against normal spend, and review billing and team membership. Requests from non-static or shared Railway egress IPs are leads rather than proof. Disabling a key is preferred over deleting it during review because it keeps the key's usage history.

  • Security Disclosure Recommendation: Check for Anomalous GCP Access

    Railway mediumAdept

    After a security disclosure, Railway users with Google Cloud service account keys should disable any possibly exposed key, deploy a replacement, and audit what the old key did. Disabling a key leaves already-issued tokens valid for up to an hour, so disabling the whole service account or applying an IAM deny policy is the way to cut access immediately. The guide gives gcloud commands for disabling, deleting and checking last use of keys, and covers updating the multiline JSON variable on Railway and redeploying. The review steps include Logs Explorer queries filtered by principal email and impersonation delegation, Activity Analyzer, Security Command Center findings, and billing comparisons for unexpected compute, GPU or Vertex AI usage.

  • Security Disclosure Recommendation: Check for Unexpected OpenRouter Usage

    Railway mediumAdept

    OpenRouter users on Railway affected by the October 21, 2026 security disclosure should disable any possibly exposed API key, redeploy with a new key, and audit usage. A leaked key spends prepaid credits and can call any model. Disable the key rather than delete it, because deletion erases its usage fields. Query /api/v1/key for usage totals first, and give the replacement key a spend limit and an expiration. To find misuse, filter the Activity page to the exposure window, group spend by API key and model to spot unfamiliar models or apps, export the data as CSV, and check credits and organization members.

  • Security Disclosure Recommendation: Check for Anomalous AWS Access

    Railway mediumAdept

    If an AWS access key used with Railway may have been exposed, deactivate it, replace it, redeploy, and audit what it did. Create a second key on the IAM user and deactivate the old one rather than deleting it, so it can be briefly reactivated if a forgotten service breaks. Update the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY variables on Railway (or the shared variable once) and confirm the new deployment shows no InvalidClientTokenId or SignatureDoesNotMatch errors. Then search CloudTrail event history by access key in every Region for calls like RunInstances, CreateUser or PutBucketPolicy, check the IAM credential report and Cost Explorer, and delete attacker-created resources after snapshotting what you need for forensics.

  • Preliminary Report: Oct 21st Security Incident

    Railway easyNovice

    An attacker seeking AI provider API keys for model distillation escalated privileges through Railway's build infrastructure, then used CI credentials to decrypt a subset of envelope-encrypted environment variables. At most 1.85% of workspaces (about 100,000) had variables potentially exposed. The attack ran from October 20 13:58 UTC to October 22 03:32 UTC. Railway halted builds while running deployments stayed online, sent stored keys to vendors such as GitHub, OpenAI and Anthropic for revocation, and replaced its multi-tenant builders with single-tenant ones. Railway recommends that all users who signed up before October 21 rotate secrets, remove public database access and review GitHub and registry audit logs.

The quest for software engineering knowledge.

Look:
Layout: