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/mdalai/go-dev/cryptography/crypt
./crypt hash test.txt main.go
./crypt hash -sha256 test.txt
./crypt hash -str "hello world"
./crypt hash -str "hello world" -sha256
# Encrypt a string to string output
./crypt encrypt -str "hello world"
# Encrypt a string to bytes output
./crypt encrypt -str "hello world" -toByte
# Encrypt a file
./crypt encrypt hello.txt hello.txt.enc key.file
# Decrypt a byte string, the output is "hello world". Can also output to bytes by using "-toByte".
./crypt decrypt -str "[119 171 45 78 180 7 48 205 149 76 24 168 109 74 246 254 196 218 103 218 250 144 126 139 62 110 196 82 126 145 144 234 167 218 212 199 148 103 229]"
# Decrypt a file to std output
./crypt decrypt hello.txt.enc key.file
# Decrypt a file to another file
./crypt decrypt hello.txt.enc hello.txt.dec key.file
os.open()
VS ioutil.ReadFile()
?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.