Originally created by @chris710 on GitHub (Apr 10, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
Problem Description
Several capabilities under user control allow a single user to generate exceedingly long requests that can overwhelm the server and temporarily block access to the service:
changing chat name to a ridiculously long one
creating a tag with enormous name length
assigning a great number of tags to conversations
creating a large number of chats
exporting a long conversation via pdf
A malicious user can use these to negatively impact disk space and database usage on the server, creating problems for legitimate users.
Desired Solution you'd like
Create a hard limitation on capabilities under user control:
chat name length (e.g. 10000 characters)
tag name length (e.g. 200 characters)
number of assigned tags (e.g. 100 tags)
number of created chats (e.g. 10000 chats)
exported chat pdf length (e.g. 100 pages; exporting as multiple documents may be applicable in cases of legitimate export; another way is to create an option to disable pdf export)
In some cases it may be appropriate to parametrize these limits.
Alternatives Considered
No response
Additional Context
No response
Originally created by @chris710 on GitHub (Apr 10, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Problem Description
Several capabilities under user control allow a single user to generate exceedingly long requests that can overwhelm the server and temporarily block access to the service:
- changing chat name to a ridiculously long one
- creating a tag with enormous name length
- assigning a great number of tags to conversations
- creating a large number of chats
- exporting a long conversation via pdf
A malicious user can use these to negatively impact disk space and database usage on the server, creating problems for legitimate users.
### Desired Solution you'd like
Create a hard limitation on capabilities under user control:
- [ ] chat name length (e.g. 10000 characters)
- [ ] tag name length (e.g. 200 characters)
- [ ] number of assigned tags (e.g. 100 tags)
- [ ] number of created chats (e.g. 10000 chats)
- [ ] exported chat pdf length (e.g. 100 pages; exporting as multiple documents may be applicable in cases of legitimate export; another way is to create an option to disable pdf export)
In some cases it may be appropriate to parametrize these limits.
### Alternatives Considered
_No response_
### Additional Context
_No response_
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @chris710 on GitHub (Apr 10, 2025).
Check Existing Issues
Problem Description
Several capabilities under user control allow a single user to generate exceedingly long requests that can overwhelm the server and temporarily block access to the service:
A malicious user can use these to negatively impact disk space and database usage on the server, creating problems for legitimate users.
Desired Solution you'd like
Create a hard limitation on capabilities under user control:
In some cases it may be appropriate to parametrize these limits.
Alternatives Considered
No response
Additional Context
No response
@Ithanil commented on GitHub (Apr 10, 2025):
This is very desirable, even if the service isn't public. Some pupils and students love breaking things.