Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/offliney/onlinechat
Lightweight chat application implemented with golang.
Warning v3.x is still developing.
git clone https://github.com/OfflineY/LiveChat.git
cd LiveChat
go mod download
go run main.go
Note main.go return example:
{"data": "[main data]", "msg": "[err or nil]"}
[GET] api/groups/search
[PARAMS] ?name=[group_name]&id=[groups_id]
Note take at least one of the two key values. return
data:[...]
andmsg:nil/err
[POST] api/groups/create
[JSON] {"name":"[group_name]"}
Note return
"data":{"group_id": "...", "group_status": "<T/F>", "group_name": "..."}
andmsg:nil/err
[GET] api/groups/[group_id]/messages
Note return
"data":[{"_id":"...","group_id":"...","group_name":"...","msg":"...","msg_type":"[text/image]","send_time":"...","url":"...","user_name":"..."}...]
andmsg:nil/err
[GET] api/groups/[group_id]/info
Note return
"data":"[...]"
and"msg":nil/err
[POST] api/user/login
[JSON] {"user_name": "[user_name]", "password": "[password]"}
Note return
"data":"[...]"
and"msg":nil/err
[POST] api/user/register
[JSON] {"user_name": "[user_name]", "password": "[password]"}
Note return
"data":"[...]"
and"msg":nil/err
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.