Roblox has officially introduced the Roblox Device Trust API, a powerful new toolset designed to help creators harden their games against botting, modified clients, and unauthorized gameplay، As bot farms and cheating tools continue to evolve, this API allows developers to verify the authenticity of a player’s device using hardware attestation، By understanding whether a user is playing on a secure, unmodified device, creators can implement tiered access to sensitive game features, such as trading or competitive matchmaking.
Roblox Device Trust API: key details
Understanding the Device Trust API Levels
The Device Trust API operates by assessing the integrity of the device upon entry or during runtime، It provides four distinct trust levels that creators can use to make informed decisions about player access:
- Full: The device passes all checks and is confirmed to be fully up-to-date and secure.
- Standard: The device passes initial checks, but full data authenticity cannot be guaranteed, potentially due to outdated OS patches or minor security vulnerabilities.
- None: The device has either failed hardware attestation or lacks the necessary functionality, marking it as untrustworthy.
- Unknown: The platform is currently unsupported, or an error occurred during the attestation process.
Currently, this feature is available for Android and the upcoming Web client, with plans to expand to iOS, consoles, and Windows over the coming year.
How to Implement Device Trust in Your Game
For developers looking to integrate this into their existing security stack, the process is handled primarily via the server-side to prevent manipulation، You should connect to the IntegrityService،EvaluatePlayerDeviceTrust callback to receive results promptly when a player joins، This allows you to either reject the player immediately with a custom message or limit their access to specific features.
It is crucial to remember that developers should treat the client as untrusted، Relying on client-side checks can be bypassed by sophisticated cheat developers، Instead, use the server to inform the client via RemoteFunction or RemoteEvent about which features they are authorized to access based on their trust level، This ensures that even if a malicious user attempts to spoof their status, your core game logic remains protected.
The Balance Between Security and Accessibility
One common concern for creators is the impact on legitimate players، Hardware attestation may occasionally flag legitimate users, particularly those on older or low-end Android devices that cannot support these checks، To mitigate this, Roblox has provided an Anti-cheat page under the Safety section of the Creator Hub, where you can view a breakdown of your player base’s most common reported trust levels before deciding on strict blocking policies.
The API is best viewed as one layer in a defense-in-depth strategy، While it significantly raises the cost and complexity for those trying to build cheats, it does not replace the need for secure server-side validation، Always validate critical actions—such as currency changes, item trades, and player positioning—on the server to maintain a fair and stable environment.
Why This Matters for Your Game Economy
If your project relies on a complex in-game economy, ranked leaderboards, or time-based rewards, implementing the Roblox Device Trust API is a proactive step toward maintaining integrity، By gating high-value features behind a “Full” or “Standard” trust requirement, you can create a more competitive and equitable space for your honest players while effectively curbing the influence of automated bot farms.
Source: Original report