openlibhums / openlibhums/janeway
Limit spam accounts
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 238
- Forks
- 97
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 8
Description
We are seeing an influx of spam accounts, see image below:
[image redacted]
To avoid this, I would suggest putting limits on what is allowed within the name fields specifically (make sure the ORCID field is excluded from this). I would suggest blocking inputs that contain 'https://' , '.page.link' and '#' to start.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating validation for account name fields and the separate ORCID field, then inspect any existing tests for registration or profile input. Done means the specified spam patterns are rejected in name fields while ORCID remains unrestricted, with coverage for each blocked pattern and the exclusion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100