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/arvintian/sslutil
SSL证书工具
go get -u github.com/Arvintian/sslutil
#./bin/sslutil
Usage: sslutil -action [-ca] [-ca-key] -cfg -out -prefix
Options:
-action string
the action ca or sign
-ca string
ca pem
-ca-key string
ca key pem
-cfg string
config json file
-out string
cert and cert-key output dir, default current dir (default "workdir/sslutil")
-prefix string
cert and cert-key filename prefix (default "ca")
git clone https://github.com/Arvintian/sslutil.git
cd sslutil
make build
./bin/sslutil -action ca -cfg test/ca.json -out pki -prefix ca
cat test/ca.json
{
"country": [
"CN"
],
"organization": [
"k8s"
],
"organizationalUnit": [
"system-root"
],
"province": [
"BeiJing"
],
"locality": [
"BeiJing"
],
"hosts": [
""
],
"years": 10
}
./bin/sslutil -action sign -ca pki/ca-cert.pem -ca-key pki/ca-key.pem -cfg test/server.json -out pki -prefix server
cat test/server.json
{
"country": [
"CN"
],
"organization": [
"k8s"
],
"organizationalUnit": [
"system-server"
],
"province": [
"BeiJing"
],
"locality": [
"BeiJing"
],
"hosts": [
"127.0.0.1",
"localhost"
],
"years": 10
}
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.