Skip to content

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

Railway 1 min read How-to mediumAdept

Security Disclosure Recommendation: Check for Anomalous GitHub Access

Railway users who connect GitHub, following the October 21, 2026 security disclosure, should audit their GitHub accounts for persistence an attacker may have left behind, then confirm no unexpected commits reached their deployments. On personal accounts, filter the 90-day security log for authentication and access events and review OAuth apps, GitHub Apps, SSH/GPG keys and personal access tokens, regenerating all tokens. Organization owners should export the 180-day audit log before revoking anything, then check third-party access and each repository's deploy keys, secrets, webhooks and collaborators, since these can outlive a password reset.

Assumes: GitHub organization settingspersonal access tokens

Related posts

  • Security Disclosure Recommendation: Redeploy Buckets and Reconnect GitHub After the Credential Reset

    Railway mediumAdept

    After a security disclosure, Railway invalidated and regenerated S3 access keys for every storage bucket and removed the GitHub tokens it held, including GHCR registry tokens stored on services. These resets show in the audit log under the Railway Staff actor type. Services pick up new bucket credentials only on redeploy because containers read variables at startup, so each service using a bucket needs a redeploy. Any pasted key values should be replaced with reference variables, and external tools need updating. Users must also reconnect their GitHub account and repo sources, revoke and recreate GHCR personal access tokens with read:packages, then check bucket files and audit logs for misuse during the exposure window.

  • 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.

  • Incident Report: January 28-29, 2026

    Railway mediumAdept

    Railway users intermittently could not log in with GitHub or deploy from repos over several days because Railway exceeded GitHub's 2,000-per-hour OAuth token limit, with failures recurring about 30 minutes into each hour. The root cause was a dataloader that minted new installation tokens on every request batch (~82/sec at peak), made worse by more backend replicas, fresh user tokens for permission checks, frequent commit status updates and high-frequency repo sync jobs. Generic errors from secondary rate limits slowed diagnosis until GitHub Support confirmed the cause. Fixes included caching installation tokens for their full validity (cutting creation by over 90%), moving code paths from user OAuth tokens to app installation tokens, caching permission checks in Railway's own database, consolidating status updates, making repo sync manual and adding rate-limit alerting.

  • 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.

  • 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.

The quest for software engineering knowledge.

Look:
Layout: