
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.
Mock SMTP server that logs incoming messages to stdout as JSON for easy parsing and testing by the hitch framework.
Mock SMTP server that logs all incoming messages to stdout as JSON for easy parsing by HitchServe_.
HitchSMTP contains a service definition for use with Hitch, but can also be used alone.
Install like so::
$ hitch install hitchsmtp
.. code-block:: python
# Service definition in your test execution engine's setUp
self.services['HitchSMTP'] = hitchsmtp.HitchSMTPService(
port=10025 # Optional (default: 10025)
)
# Wait for email during test...
containing = "Registration email"
email = self.services['HitchSMTP'].logs.out.tail.until_json(
lambda email: containing in email['payload'] or containing in email['Subject'],
timeout=5,
lines_back=1,
)
See this service in action at the DjangoRemindMe_ project.
You can send to specific email addresses to mock most SMTP errors.
E.g. Sending an email to 451-please-try-again-later@smtperrors.com will cause the "451 Please try again later" SMTP error.
For a full list of these errors and the email address @ smtperrors.com that will trigger them, see:
https://github.com/hitchtest/hitchsmtp/blob/master/hitchsmtp/smtperrors.py
.. _DjangoRemindMe: https://github.com/hitchtest/django-remindme .. _HitchServe: https://github.com/hitchtest/hitchserve
FAQs
Mock SMTP server that logs incoming messages to stdout as JSON for easy parsing and testing by the hitch framework.
We found that hitchsmtp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.