solid/data-interoperability-panel

Integrity of `skos:preflabel` and `skos:prefdefinition`

tomhgmns opened this issue · 4 comments

We are currently implementing the interop spec into use.id, but are concerned about relying on skos:preflabel and skos:prefdefinition of the Access Need Groups to render the UI of the authz agent.

This is because a malicious party might create a mismatch between those two fields and the actual access requests.

For example, I could present the following access needs group:

  • skos:preflabel: "Read access to your shopping history"
  • In reality, my app asks permission to read the user's medical data

Has the panel considered this situation?

We are thinking to solve this issue by putting a human readable name at the shape tree itself...

Thanks for the answer, Justin! We'll rely on the ShapeTree definition then!

Great timing @tomhgmns I'm also implementing it and today should have all the code ready, that combines human-readable information from access need descriptions and shape tree descriptions. I plan to push that code down to sai-js as soon as it fits the need of the authorization agent.

I'll look into adding what we have discussed here into the Security Considerations section.