You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While #13 prevents memory from filling up from WebID documents with a large number of triples, there are still potential attacks to be considered:
The code can be tricked into dereferencing private documents on the local network, and returning their contents as parse errors
Servers can wait a long time to reply, causing long/infinite wait times
Servers can reply with a long/endless list of OIDC issuers, causing long/infinite wait times
Servers can reply with a long/endless list of triples, causing long/infinite wait times
Servers can reply with a triple containing a huge/never-ending literal, causing long/infinite wait times
We might want to mitigate by allowing passing in a custom fetcher, which could include protection mechanisms against the above, while in the future also performing tasks such as authenticated fetch, caching (see #12), etc.
The text was updated successfully, but these errors were encountered:
RubenVerborgh
changed the title
Security issues with bogus WebIDs to be considered
Security issues with bogus WebID documents to be considered
Nov 23, 2021
I agree with your diagnostic @RubenVerborgh.
Not that I have a ready-made solution. But indeed, having a more Solid-ready fetch function for everyone to use would be great.
Would it maybe be time for a @solid/fetcher-ts project that includes an authn closure, default caching mechanisms, timeout protections, max size, retry mechanism...
As I believe your comment applies to the entire Solid ecosystem of decentralised apps and data.
While #13 prevents memory from filling up from WebID documents with a large number of triples, there are still potential attacks to be considered:
We might want to mitigate by allowing passing in a custom fetcher, which could include protection mechanisms against the above, while in the future also performing tasks such as authenticated fetch, caching (see #12), etc.
The text was updated successfully, but these errors were encountered: