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.
Welcome to SmartCitizen Data. This is a data analysis framework for working with sensor data in different ways:
You can check it out in the before installing if you want. Works with Python 3.*
(tested between 3.9 and 3.11).
You can just run:
pip install scdata
Simply clone the repository with:
git clone https://github.com/fablabbcn/smartcitizen-data.git
cd smartcitizen-data
Install scdata
package with requirements:
python setup.py install
Or if you want to edit:
cd scdata
pip install --editable .
If you want to upload data to Zenodo, you will need to fill set an environment variable called ZENODO_TOKEN
in your environment. You can get more instructions here and with this example.
A configuration file is available at ~/.config/scdata/config.yaml
, which contains a set of configurable variables to allow or not the local storage of relevant data in the data folder, normally in ~/.cache/scdata
:
data:
cached_data_margin: 2
load_cached_api: true
reload_metadata: true
store_cached_api: true
paths:
config: /Users/username/.config/scdata
data: /Users/username/.cache/scdata
export: /Users/username/.cache/scdata/export
interim: /Users/username/.cache/scdata/interim
inventory: ''
models: /Users/username/.cache/scdata/models
processed: /Users/username/.cache/scdata/processed
raw: /Users/username/.cache/scdata/raw
reports: /Users/username/.cache/scdata/reports
uploads: /Users/username/.cache/scdata/uploads
zenodo_real_base_url: https://zenodo.org
zenodo_sandbox_base_url: http://sandbox.zenodo.org
Also, .env
files will be picked from ~/.cache/scdata
.
It can also be used with jupyter lab
or jupyter
. For this install juypterlab.
Issues and PR more than welcome!
This work has received funding from the European Union's Horizon 2020 research and innovation program under the grant agreement No. 689954
FAQs
Analysis of sensors and time series data
We found that scdata 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.