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

Replace query-based statistics with API calls #611

Open
ledsoft opened this issue Mar 6, 2025 · 0 comments
Open

Replace query-based statistics with API calls #611

ledsoft opened this issue Mar 6, 2025 · 0 comments

Comments

@ledsoft
Copy link
Contributor

ledsoft commented Mar 6, 2025

Currently, most of the statistics views in TermIt are based on directly executing queries (frontend sends queries to the backend which forwards them directly to the repository). This is a security issue as it allows clients to execute any kind of query (including destructive ones) on the repository.

These should be replaced by API calls and the backend should execute the necessary queries itself.

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