
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Here are some of the features:
The API for Mailer.To is changed. Use a string to specify a single recipient, and an iterable to specify more than one.
You can now specify the port in Mailer ::
from mailer import Mailer sender = Mailer('smtp.example.com', port=20)
Thanks to Douglas Mayle for his patch for this.
You can now specify MIME type::
msg.attach("picture.png", mimetype="image/png")
Sending an HTML email: ::
from mailer import Mailer from mailer import Message
message = Message(From="me@example.com", To="you@example.com", charset="utf-8") message.Subject = "An HTML Email" message.Html = """This email uses HTML!""" message.Body = """This is alternate text."""
sender = Mailer('smtp.example.com') sender.send(message)
Sending an attachment: ::
from mailer import Mailer from mailer import Message
message = Message(From="me@example.com", To=["you@example.com", "him@example.com"], Subject="Cute Cat") message.Body = """Kittens with dynamite""" message.attach("kitty.jpg")
sender = Mailer('smtp.example.com') sender.send(message)
Tested with Python 2.4, 2.5, and 2.6
FAQs
A module to send email simply in Python
We found that mailer 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.