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

security #5

Open
Jack5079 opened this issue Feb 10, 2024 · 2 comments
Open

security #5

Jack5079 opened this issue Feb 10, 2024 · 2 comments

Comments

@Jack5079
Copy link
Member

it is impossible to write a secure fedi server

like just HTTP alone you have to deal with zip bombs, the risk of a fake infinite slow stream, and revealing your IP

activitypub itself is the most vague spec of all time and you will forget to implement something
don't forget about the emmaverse incident

combine this with the type of people who currently use fedi, and moron.center is fucked the moment someone discovers who made mollermethod

@Jack5079
Copy link
Member Author

Jack5079 commented Feb 10, 2024

I think I should start by writing a secure version of fetch() or something

@Jack5079
Copy link
Member Author

one optimization could be immediately aborting "JSON" streams that don't start with {

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