mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #4928] [bug]: High usage of CPU #1859
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1859
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bcortezf on GitHub (Mar 21, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4928
Is there an existing issue for this?
Current behavior
I have recently installed Hoppscotch on my server, and yesterday I noticed that a malware (Kingsin) got installed into my hoppscotch db container (postgres:15).
I noticed a high usage of cpu on the database container (1540%). So i checked the logs and notice that some files were downloaded. The details are in the Logs and screenshots section
For some reason, someone was able to spread a malware (kinsing) on the hoppscotch_db container. How? I dont know.
It was because of hoppscotch image or backend? I don't know.
Also, in my ISP's modem, the only ports I have opened are 80 and 443.
Server:
Ubuntu 24.04.2 LTS (GNU/Linux 6.8.0-55-generic x86_64)Docker:
Docker version 28.0.2, build 0442a73Nginx:
nginx version: nginx/1.24.0 (Ubuntu)Has someone else experienced something similar?
docker-compose.yml
.env
ufw
Steps to reproduce
N/A
Logs and Screenshots
Environment
Production
Hoppscotch Version
Cloud
Interceptor
Not Applicable - Issue not related to network requests
Browsers Affected
No response
Operating System
None
Additional Information
No response
@bcortezf commented on GitHub (Mar 21, 2025):
I'm closing this issue because I realized that my server was set as a DMZ Host, meaning all ports were exposed to the public.
Additionally, the PostgreSQL container had port 5432 open, and to make things worse, I was using the default database credentials.
The rest speaks for itself.
Let this be a lesson on how not to do things!