Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible trust issue when accepting car files? #16

Open
studna opened this issue Sep 1, 2023 · 0 comments
Open

possible trust issue when accepting car files? #16

studna opened this issue Sep 1, 2023 · 0 comments

Comments

@studna
Copy link

studna commented Sep 1, 2023

I'm considering using this library to accept CAR files submitted by end users, who are not necessarily trusted parties. Upon reviewing the code, I noticed that there doesn't appear to be any re-hashing of the data before it's processed.

Could this lack of re-hashing pose a security risk, specifically allowing users to submit a malformed CAR file where the data could be stored under an incorrect CID?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant