
Research
Security News
Malicious npm Package Wipes Codebases with Remote Trigger
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
This package is developed by Charen Bahaeddine Hemmem (1hemmem) and is open to contributions from developers like you.
TTK ePay requires Python 3.8
and above.
pip install ttk-epay
from ttk_epay import ttk_epay
from ttk_epay.models import Invoice, InvoiceDto
# Initialize the client
client = ttk_epay(base_url="https://pay.deploily.cloud/api/v1")
# ==============
# Invoice Management
# ==============
# Create an invoice
invoice_data = Invoice(
ID=123,
INVOICE_NUMBER=456,
NET_AMOUNT=100.0,
CLIENT_NAME="Client name",
CLIENT_MAIL="client@example.com"
)
created_invoice = client.create_invoice(invoice_data)
# Get paginated invoices
invoices = client.get_invoices(page_number=1, page_size=10)
# Get invoice by order ID
invoice = client.get_invoice_by_order_id("41")
# ==============
# Payment Processing
# ==============
# Create a payment
payment_data = InvoiceDto(
INVOICE_NUMBER=456,
NET_AMOUNT=100.0,
CLIENT_NAME="John Doe"
)
payment = client.post_payement(payment_data)
# Check payment status
status = client.get_payment_status("8LmjDNjisi0A5EAAGBYM")
# ==============
# Receipt Management
# ==============
# Get PDF receipt
pdf_response = client.get_pdf_recipt("8LmjDNjisi0A5EAAGBYM")
with open("receipt.pdf", "wb") as f:
f.write(pdf_response.content)
# Send receipt via email
result = client.send_pdf_recipt_mail("8LmjDNjisi0A5EAAGBYM", "client@example.com")
FAQs
Unknown package
We found that ttk-epay 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
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.
Security News
New CNA status enables OpenJS Foundation to assign CVEs for security vulnerabilities in projects like ESLint, Fastify, Electron, and others, while leaving disclosure responsibility with individual maintainers.