Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
table-reconstruction
Advanced tools
table-reconstruction
is a tool used to detect table spaces and reconstruct the information in them using DL models.
To provide the above feature, Table reconstruction works based on several components as follows:
Due to the requirements of the used libraries, table-reconstruction requires version 3.7 or higher.
Currently, this package works well with most popular operating systems including Windows, Linux/GNU and MacOS. its system requirements will be mainly based on the requirements of Pytorch version 1.9.1, please check more here
Note that although not exactly measured, the processing of this library uses a RAM amount of about 235.9 MiB (for the example provided here) when using the CPU device and about 1000MiB VRAM when used with GPU. In general, the amount of resources used is still quite large and they will be gradually reduced by optimizing the models used in the next versions.
Finally, because it does not require too much computing power, this library is only too demanding on CPU when most devices can use this package without any problems. The processing time with measured in the example provided above has a value of 13.4 s . wall time
Table Reconstruction is published on PyPI and can be installed from there:
pip install table-reconstruction
You can also install this package manually with the following command:
python setup.py install
You can easily use this library by using the following statements:
import torch
from table_reconstruction import TableExtraction
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
extraction = TableExtraction(device=device)
image = ... # Accept Numpy ndarray and PIL image
tables = extraction.extract(image)
We also provide a simple Jupyter notebook which can be used to illustrate the results obtained after processing, please check it out here
Documentation will be available soon.
FAQs
A table reconstruction package
We found that table-reconstruction 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 package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.