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.
Research Informatics Shared Resource, Huntsman Cancer Institute, Salt Lake City, UT
The HEA server Keychain is a service for managing laboratory and user credentials.
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
.
Use semantic versioning as described in
https://packaging.python.org/guides/distributing-packages-using-setuptools/#choosing-a-versioning-scheme. In addition,
while development is underway, the version should be the next version number suffixed by .dev
.
Version tags should follow the format heaserver-keychains-<version>
, for example, heaserver-keychains-1.0.0
.
The following instructions assume separate stable and staging indexes. Numbered releases, including alphas and betas, go into the stable index. Snapshots of works in progress go into the staging index. Thus, use staging to upload numbered releases, verify the uploaded packages, and then upload to stable.
From the project's root directory:
.dev
from the version number in setup.py, tag it in git to indicate a release,
and commit to version control. Skip this step for developer snapshot releases.python setup.py clean --all sdist bdist_wheel
to create the artifacts.twine upload -r <repository> dist/<wheel-filename> dist/<tarball-filename>
to upload to the
repository. The repository name has to be defined in a twine configuration file such as $HOME/.pypirc
..dev
to it, and commit to version
control with a commit message like, "Prepare for next development iteration."FAQs
a service for managing laboratory credentials
We found that heaserver-keychain 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.