I'm building an xAPI compliant LMS, using https://learninglocker.net/ as our LRS. Admins can upload a zip file containing an xAPI package. The LMS will unzip it, find the launch file, and allow users to launch that URL, passing in credentials for our LRS as query parameters. The package can then report whatever it wants, directly to our LRS, without our LMS having any control over it.
Additionally, since the LRS credentials are in plain view in the url, tech-savvy users could use them to write any records they wanted to the LRS.
What's the standard approach to avoiding this? Currently the only solution I can think of is to not give packages access to our LRS, and instead proxy all requests to our LRS via our LMS, and give packages access to that proxy endpoint.
Is there a better approach?