
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
How to detect if a user query might be an address and requires to launch a map answer.
The project implements 3 classifiers, using an a la scikit template.
The first classifier is a simple scorer classifier, based on the parsing result of the address parser libpostal (https://github.com/openvenues/libpostal) According to how the parser manage to work, and which fields are parsed, we make a score and decide if an address or not.
The second classifier is based on the FastText classifier trained on address data. The fasttext makes an embedding of the differents address it sees and therefore when a new address is submitted if it's in a close spaceto what have been learned. The classifier is pre-trained, and the Fasttext zip model is store within the package.
The third classifier is a voting classifier combining the results of the two previous classifiers.
####Installation of Postal:
Before you install Postal
, make sure you have the following prerequisites:
sudo apt-get install curl autoconf automake libtool pkg-config
Then to install the C library:
git clone https://github.com/openvenues/libpostal
cd libpostal
./bootstrap.sh
./configure --datadir=[...some dir with a few GB of space...]
make
sudo make install
# On Linux it's probably a good idea to run
sudo ldconfig
In order to build fastText
, use the following:
$ git clone https://github.com/facebookresearch/fastText.git
$ cd fastText
$ make
FAQs
Python address detector
We found that addr-detector 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
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.