
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
github.com/denbeke/smtp-relay
SMTP Relay is a very simple SMTP server that will relay all incoming emails to a remote mail service.
I use as a single entrypoint to relay all mails from my Docker containers to Mailgun.
The easiest way to run SMTP Relay is with docker-compose.
Edit the .env
file with your settings, download the docker-compose.yml file and run it with:
docker-compose up -d
If you don't want to use Docker compose, you can always run the command manually:
docker run -it\
-e REMOTE_SMTP_HOST=${REMOTE_SMTP_HOST} \
-e REMOTE_SMTP_PORT=${REMOTE_SMTP_PORT} \
-e REMOTE_SMTP_DISABLE_TLS=${REMOTE_SMTP_DISABLE_TLS} \
-e REMOTE_SMTP_USER=${REMOTE_SMTP_USER} \
-e REMOTE_SMTP_PASSWORD=${REMOTE_SMTP_PASSWORD} \
-p 25:25 \
denbeke/smtprelay
Download the latest SMTP Relay from the releases page.
Configure your settings in the .env
and run the SMTP Relay with:
./smtprelay
Run it manually with Go (requires Go 1.15 or newer):
go run cmd/smtprelay/*.go
To test the email functionality, you can send the test.txt
SMTP mail with a tool like netcat:
nc localhost 25 -i 1 < mail.txt
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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.