Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Darts-clone binding for Python 3.x.
This repository provides Cython-based pip-installable package.
pip install dartsclone
darts-clone-python is almost compatible with darts-clone.
import dartsclone
darts = dartsclone.DoubleArray()
# build index
data = [b'apple', b'banana', b'orange']
values = [1, 3, 2]
darts.build(data, values=values)
# exact match search
result = darts.exact_match_search('apple'.encode('utf-8'))
print(result) # [1, 5]
# common prefix search
result = darts.common_prefix_search('apples'.encode('utf-8'), pair_type=False)
print(result) # [1]
# save index
darts.save('sample.dic')
# load index
darts.clear()
darts.open('sample.dic')
# dump array data
array = darts.array()
# load array data
darts.clear()
darts.set_array(array)
FAQs
Python binding of Darts Clone
We found that dartsclone 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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.