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.
heaserver-files-aws-s3
Advanced tools
Research Informatics Shared Resource, Huntsman Cancer Institute, Salt Lake City, UT
The HEA Server AWS S3 Bucket Files Microservice manages files in AWS S3 buckets.
Initial release.
python -m venv <venv_directory>
command, substituting <venv_directory>
with the directory name of your virtual environment. Run source <venv_directory>/bin/activate
(or <venv_directory>/Scripts/activate
on Windows) to activate the virtual
environment. You will need to activate the virtualenv every time before starting work, or your IDE may be able to do
this for you automatically. Note that PyCharm will do this for you, but you have to create a new Terminal panel
after you newly configure a project with your virtualenv.pip install wheel
followed by
pip install -r requirements_dev.txt
. Do NOT run python setup.py develop
. It will break your environment.Run tests with the pytest
command from the project root directory. To improve performance, run tests in multiple
processes with pytest -n auto
.
include-system-site-packages
is set to true
.pytest integrationtests
command from the project root directory.This microservice has Swagger3/OpenAPI support so that you can quickly test the APIs in a web browser. Do the following:
run-swaggerui.py
file in your terminal. This file contains some test objects that are loaded into a MongoDB
Docker container.Once run-swaggerui.py
is running, you can also access the APIs via curl
or other tool. For example, in Windows
PowerShell, execute:
Invoke-RestMethod -Uri http://localhost:8080/awss3files/root/items -Method GET -Headers @{'accept' = 'application/json'}`
In MacOS or Linux, the equivalent command is:
curl -X GET http://localhost:8080/awss3files/root/items -H 'accept: application/json'
See the RELEASING.md file for details.
FAQs
The HEA AWS S3 bucket files service.
We found that heaserver-files-aws-s3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.