The wings of a computer engineer
The wings of a computer engineer

Personal blog for Timothy D Meadows II

ʍɐɔ ʍɐɔ ʍɐɔ

Share


Twitter


Arc Raiders - Discord SDK Data Exposure

Timothy D Meadows IITimothy D Meadows II

Summary

During gameplay of Arc Raiders, private Discord Direct Message (DM) conversations between two users were found being written in plaintext to a local game log file. Additionally, a full Discord Bearer authentication token was found stored in the same log file. These findings represent serious privacy and security violations that affect all players using Discord integration with the game.

Correction:

I originally reported that the bearer token had the ability to send a message on the user behalf. This was in error due to my misunderstanding of the permission rpc.voice.write. This permission only allows the token holder to change the users voice settings. It does not allow them to send a message as the user. This has been corrected in the article below to give the correct abilities. This message serves as a retraction notice.

Update: This has now been patched.


Affected Files

C:\Users\<username>\AppData\Local\PioneerGame\Saved\Logs  

Risk Summary

Finding Severity Users Affected
Private DM content written to log file 🔴Critical All players using Discord
Bearer token written to log file 🔴Critical All players using Discord
Friends list presence data logged 🟠 High All players + their Discord friends
Overly broad gateway connection scope 🟠 High All players using Discord

Private DM Conversation Content Logged to Disk

Description:
Private Discord Direct Messages exchanged between two users were captured by the game's Discord SDK gateway connection and written in full to a plaintext log file stored locally on the user's machine.

Evidence:

The Arc Raiders Discord SDK connects using a full user Bearer token, opening a complete Discord gateway connection identical to the one used by the Discord desktop app itself. Discord's gateway pushes all events to this connection - including private DM messages. Rather than filtering sensitive events, the SDK logs everything it receives to disk.

Impact:


Discord Bearer Token Stored in Plaintext Log File

Description:
The user's full Discord Bearer authentication token was found written in plaintext inside the game log file.

Evidence:

"token":"Bearer <redacted>"

(Full token redacted for this report - present in original log file)

A Discord Bearer token is functionally equivalent to account access. Anyone in possession of this token can:

Impact:


Entire Friends List Presence Data Logged

Description:
PRESENCE_UPDATE and READY_SUPPLEMENTAL gateway events containing the online/offline status, activity, and metadata of the user's entire Discord friends list were written to the log file.

Evidence:

Impact:


Broader Than Necessary Gateway Scope

Description:
The Discord SDK integration requests and maintains a full Discord gateway connection using the user's Bearer token. Discord's own Rich Presence SDK is designed to only require a limited OAuth scope for game activity display. Using a full gateway connection vastly exceeds what is needed for Rich Presence functionality.

Impact:


For Embark Studios / Arc Raiders

  1. Immediately filter MESSAGE_CREATE, PRESENCE_UPDATE, and authentication events from SDK logging
  2. Never log Bearer tokens or authentication credentials to any file
  3. Reduce the Discord gateway connection scope to only what Rich Presence requires (OAuth, not full Bearer)
  4. Audit all crash report and log upload systems to ensure tokens and message content are scrubbed before transmission

For Discord

  1. Review SDK design that allows full gateway connections via Bearer tokens for third-party games
  2. Enforce stricter OAuth scopes for game Rich Presence integrations
  3. Investigate whether this violates Developer Terms of Service

For Affected Users (Immediate Steps)

  1. Change your Discord password immediately - this invalidates your current Bearer token
  2. Do not share your log files with anyone, including support teams, until the token is removed
  3. Disable discord integration inside of Arc Raiders this will remove the information being written to discord.log

This report was prepared based on direct analysis of game log files. All findings are based on observed technical behavior of the Discord SDK integration within Arc Raiders.

ʍɐɔ ʍɐɔ ʍɐɔ

Comments