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/gourds/domain-admin-ssl-deploy
支持Domain Admin项目证书自定义部署,用python写了一版,不过不同主机部署的话有些麻烦,go的话部署管理方便些
打包及运行
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go
chmod a+x main
./main
curl --location 'http://localhost:55433/issueCertificate' \
--header 'Token: vqQ2uVaAFj2DXDbbicw7' \
--header 'Key-Save-Path: .' \
--header 'Deploy-Cmd: cmd_simple_nginx' \
--header 'Content-Type: text/plain' \
--data '{
"domains": [
"www.baidu.com",
"zhidao.baidu.com"
],
"ssl_certificate":"-----BEGIN CERTIFICATE-----\nMIIGdTCCBN2gAwI\n-----END CERTIFICATE-----",
"ssl_certificate_key":"-----BEGIN PRIVATE KEY-----\nMIIEvH+bpTwI=\n-----END PRIVATE KEY-----",
"start_time": "2023-01-04 14:33:39",
"expire_time": "2023-04-04 14:33:39"
}
'
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.