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.
yayawallet-python-sdk
Advanced tools
This is a Python SDK package for handling API integration on merchant application.
To install the sdk to your python based application, add
yayawallet-python-sdk==VERSION
to the requirements.txt file on your python project. Then run 'pip install -r requirements.txt'.
The sdk expects api credentials to be provided by the user. To set it up, you need to create a .env file and add the following environment variables:
YAYA_API_URL=https://yayawallet.com/api/en
YAYA_API_PATH=/api/en
YAYA_API_KEY=your_yayawallet_api_key
YAYA_API_SECRET=your_yayawallet_api_secret
You can find the last two credentials on https://yayawallet.com/en/profile/settings, after you logged in to your account on a browser.
This sdk provides functions that will call different apis available on YaYa's system. Here is how you can call getTransactionListByUser
function:
from adrf.decorators import api_view
from rest_framework.response import Response
from yayawallet_python_sdk.api import transaction
@api_view(['GET'])
async def proxy_get_transaction_list_by_user(request):
response = await transaction.get_transaction_list_by_user(None)
return Response(response)
You can get the list of services available on yayawallet_python_sdk/api
folder on this repo.
FAQs
Unknown package
We found that yayawallet-python-sdk 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.