
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.
@zazuko/docker-script-trigger
Advanced tools
In the Docker image there is already a script /scripts/hello.sh
.
To try this image, you can follow those instructions:
docker run --rm -it -p3000:3000 ghcr.io/zazuko/docker-script-trigger:latest
curl -s http://localhost:3000/run/hello | jq
and you should get the following output:
{
"success": true,
"stdout": "Hello stdout!\n",
"stderr": "Hello stderr!\n"
}
Configuration can be done using following environment variables:
SERVER_PORT
: port the server is exposed (default: 3000
)SERVER_HOST
: host the server is listening to (default: ::
)SCRIPTS_PATH
: default path where scripts are stored (default: /scripts
)This image is based on the node:14-alpine
image.
You may want to add more scripts and more tools in this Docker image. You can simply build a new Docker image that uses this image as a base.
For example:
FROM ghcr.io/zazuko/docker-script-trigger:latest
# Do your stuff here (copy script files into /scripts, install packages, …)
Please replace the latest
tag with a specific version, so that it doesn't break stuff if the image is getting updated.
Build it, and use it!
FAQs
Trigger a script in a Docker container
We found that @zazuko/docker-script-trigger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
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.