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.
Mati Python3.6+ client library
pip install mati
make venv
source venv/bin/activate
make test
from mati import Client
client = Client('api_key', 'secret_key')
verification = client.verifications.create(
'some_flow_id',
company_id='some_id',
)
from mati.types import (
PageType,
UserValidationFile,
ValidationInputType,
ValidationType,
)
# Load documents
front = open('ine_front.jpg', 'rb')
back = open('ine_back.jpg', 'rb')
live = open('liveness.mp4', 'rb')
# Create document with metadata
user_validation_file = UserValidationFile(
filename='ine_front.jpg',
content=front,
input_type=ValidationInputType.document_photo,
validation_type=ValidationType.national_id,
country='MX',
group=0, #The group is important when create your metamap
)
user_validation_file_back = UserValidationFile(
filename='ine_back.jpg',
content=back,
input_type=ValidationInputType.document_photo,
validation_type=ValidationType.national_id,
country='MX',
page=PageType.back,
group=0,
)
user_validation_live = UserValidationFile(
filename='liveness.MOV',
content=live,
input_type=ValidationInputType.selfie_video,
group=1,
)
# Send documentation for validation
resp = client.verifications.upload_validation_data(
[
user_validation_file,
user_validation_file_back,
user_validation_live,
],
verification.identity,
)
Retrieve the verification when its complete
verification = client.verifications.retrieve('verification_id')
FAQs
Client library for mati.io
We found that mati demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.