Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Keep in mind that this project is still WIP, therefore it might be unstable.
Yet another Discord API wrapper for Python, aimed to follow Discord API format as much as possible but also simple and easy to use.
Development Version:
pip install -U git+https://github.com/dico-api/dico
PyPi(Not Recommended):
pip install -U dico-api
import dico
api = dico.APIClient("APPLICATION_TOKEN_HERE", base=dico.HTTPRequest)
# You may use AsyncHTTPClient for async support.
# All endpoints are implemented, and for the example request_user (= Get User) will be used.
user = api.request_user() # You may pass any user ID or it will be the application itself.
# You may use either int, str, dico.Snowflake, or dico.User itself.
print(user.username)
import dico
client = dico.Client("YOUR_BOT_TOKEN_HERE", intents=dico.Intents.full())
@client.on_message_create
async def on_message_create(message: dico.Message):
if message.content.startswith("!hello"):
await message.reply("Hello, World!")
client.run()
More examples are in here.
FAQs
Yet another Discord API wrapper for Python.
We found that dico-api 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.