Inventory API endpoint discloses whether users own assets

The{userId}/items/{itemType}/{itemId} endpoint discloses whether users own particular assets. Includes game assets, bundles, gamepasses, catalog items, etc.

I was able to use the endpoint to find game assets which are meant to remain secret until released.

You could also use the endpoint to create a list of who owns what items, since Roblox has now restricted the endpoint designed to do that:{assetId}/owners?sortOrder=Asc&limit=10.


How could this be used to find secret assets when you need the asset ID for this?

1 Like

I wrote a python script to go over tens of thousands of recent assetIds on a specific userId to find what assets they owned and then checked them all individually (with their permission). It can be scaled up pretty easily this was from my mediocre pc.

I’m very sure MarketplaceService:PlayerOwnsAsset uses this endpoint so removing it would result in broken functionality in numerous games. This would also break certain external integrations like ClanLabs which allow you to automate actions based on asset ownership.
Perhaps you have a more reasonable change in mind?

1 Like

That marketplace API uses{userId}&assetId={assetId} which should also be restricted.

Both APIs should respect my inventory privacy settings when set to something restricted. They should return false unless my privacy settings are set to everyone, or the asset is owned by the game owner (group or user).

If this is not backwards compatible then a new API should be implemented which can only be used from the game server on users in the place.

The idea is to decrease the ROI (time and effort invested to get the desired outcome). It is currently possible to use both endpoints unauthenticated with no rate limits in place. If you had to force someone to join your game first then the ROI dramatically decreases, especially if rate limits are implemented.

I’m fairly certain this is unintended behaviour. Unfortunately changing this may break third party integrations, but I don’t want people being able to see the assets I own if my privacy settings are explicitly set to NoOne.


You can easily loop through all catalog items and send requests to this endpoint to uncover all of a user’s items, It’s a vulnerability because it discloses data the user has chosen not to make public.

Thanks for the report! We’ve filed a ticket to our internal database and we’ll follow up here when we have an update for you.