
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
github.com/rm511130/timer-test
Factorial Program in GO language that can be executed:
(a) on your Mac OS
(b) on a Docker container on Mac OS
(c) on Pivotal Cloud Foundry
(d) on Pivotal Cloud Foundry using a Docker Image
Start with option (a) to make sure you download the program from github
Mac $ go version
go version go1.14 darwin/amd64
Mac $ brew install go
Open a terminal window on your Mac and execute the following command:
Mac $ cd /work
Mac $ git clone https://github.com/rm511130/timer-test
Mac $ cd /work/timer-test
Mac $ go run timer-test.go
2020/03/14 15:55:55 Starting Timer Test...
http://localhost:3000/10
I counted to 10,000,000,000 in 2.601754 seconds
Mac $ docker version
version 19.03.5 for both client and server.
On an open terminal window with the familiar Docker Whale icon displayed somewhere at the top of the screen of your Mac, execute the following command:
Mac $ cd /work
Mac $ git clone https://github.com/rm511130/timer-test
Mac $ cd /work/timer-test
Mac $ docker build -t timer-test .
Mac $ docker run --publish 6060:3000 --name timer-test --rm timer-test
You should see a message like this one: 2020/03/14 15:55:55 Starting Timer Test...
You can then test it using a browser: http://localhost:6060/10
And you'll get as a reply: I counted to 10,000,000,000 in 2.601754 seconds
Open a terminal window on your Mac and execute the following command:
$ cd /work/timer-test
$ godeps save
$ ls -a
. .. .git Dockerfile Godeps Procfile README.md timer-test.go
$ cf push timer-test -b https://github.com/cloudfoundry/go-buildpack
You should see the usual creating app, route, binding, uploading ... and: urls: timer-test.cfapps.io
You can now test it: http://timer-test.cfapps.io/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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.