
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Please report any problems to the Martin Owens <mailto:doctormo@gmail.com>
_.
This module provides a decorator for your django views which will take the flat django request response and convert the POST and FILES into a tree structure.
This tree can optionally be sent to be varified using an xsd like data-validator if installed.
For example, your html web page might provide a way for javascript to generate many input widgets and for these to be numbered and collated, once complete the html form submits this data:
fruit_0_name="banana" fruit_0_colour="yellow" fruit_1_name="apple" fruit_1_colour="red" bread_name="tigle" bread_type="hairy"
Into this:
{ 'fruit': [ { 'name': "banana", 'colour': "yellow" }, { 'name': "apple", 'color': "red" }, ], 'bread': { 'name': "tigle", 'type': "hairy" }, }
import request_tree
@request_tree.generate def example_view(request): print request.TREE
import request_tree
@request_tree.validate(schema=MY_INPUT_SCHEMA) def example_view(request): print request.VALUS
This code is still a work in progress, please submit your ideas and patches directly to me via email.
FAQs
Provides dango views with input transformed into a tree structure.
We found that django-request-tree 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.