Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Requires Python 2.7 or greater. Has been tested on 2.7, 3.4 and 3.6
$ pip install pyvieser
from pyVies import api
try:
vies = api.Vies()
result = vies.request('RO2785503', 'RO', extended_info=True)
# works as well
# result = vies.request('RO2785503')
# result = vies.request('RO2785503', 'RO')
except api.ViesValidationError as e:
print (e)
except api.ViesHTTPError as e:
print (e)
except api.ViesError as e:
print (e)
else:
print (result)
print (result.vatNumber)
print(result.valid)
# You may also use clean to extract vat number and country code
# The line bellow would print ('2785503', 'RO')
print (vies.clean('RO2785503'))
$ pyvies <vat_number>
The number should start with the country code. For python3 you might have to set python encoding for your environment (e.g. export PYTHONIOENCODING=utf-8).
FAQs
A wrapper API of VIES VAT web service
We found that pyvieser 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.