Skip to main content

Arbitrary code execution when activating a virtual environment after install a wheel

Project description

venvasion

Arbitrary code execution when activating a virtual environment after install a wheel.

This package exists to demonstrate that you should never build a virtual environment or install packages from untrusted sources: You don't even need to run a python interpreter to trigger the code execution.

Usage:

uv venv test-venv
. test-venv/bin/activate
uv pip install venvasion
. test-venv/bin/activate # oops!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

venvasion-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

venvasion-0.1.0-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file venvasion-0.1.0.tar.gz.

File metadata

  • Download URL: venvasion-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.4

File hashes

Hashes for venvasion-0.1.0.tar.gz
Algorithm Hash digest
SHA256 97f8df8d37a477814e1e8040d9c1543674aab4410bb2d472f5a86ba7cf526537
MD5 4189e6bbfddb11785833a5edbc0cbe28
BLAKE2b-256 4ba13fbe80d72d937853ac26f7de3488ad1511e9d4524869e74f9af49bee7fd7

See more details on using hashes here.

File details

Details for the file venvasion-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: venvasion-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.4

File hashes

Hashes for venvasion-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8abd76844793a49ef6ba0959457ded14efe9f32f6fd15f6c12958eebec176ec3
MD5 c67fc336474e56fccb43c5426d9cc1a0
BLAKE2b-256 d771beb9750590fde81e9e25b889f666f4393087db336c0b960ff92710e437ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page