fix(core): process POST requests for institutions solely on ROR #25

Closed
opened 2025-07-28 09:07:57 +00:00 by chartgerink · 0 comments
Owner

We currently process institutions in a way that trusts the client-side provided information. In other words, the POST request body may look like:

{
  "ror": "some-ror",
  "name" "with a fake name"
}

As a result, this is an attack vector to change the institution names. If we only process the ROR, we can add all the metadata in a more reliable manner on the back end ourselves. Any institution that does not have a ROR, will have to be added separately (for example, by an admin directly).

We currently process institutions in a way that trusts the client-side provided information. In other words, the POST request body may look like: ```json { "ror": "some-ror", "name" "with a fake name" } ``` As a result, this is an attack vector to change the institution names. If we only process the ROR, we can add all the metadata in a more reliable manner on the back end ourselves. Any institution that does not have a ROR, will have to be added separately (for example, by an admin directly).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: libscie/researchequals-api#25
No description provided.