mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
* feat: Add support for environment variable protection for sandbox * chore: Update dangerous env var list * fix: Split profiles for improved environment protection * fix: pipx sandbox profile separation * chore: Show sandbox scrub info on error exit * fix: Code review fixes * test: Add e2e for sandbox environment scrubbing
16 lines
461 B
YAML
16 lines
461 B
YAML
name: pip
|
|
description: Profile for pip and pip3, extending pypi-restrictive with pip environment variables
|
|
inherits: pypi-restrictive
|
|
|
|
package_managers:
|
|
- pip
|
|
- pip3
|
|
|
|
environment:
|
|
# The pypi-restrictive base allows no environment variables. pip needs its
|
|
# own config namespace for index auth, mirrors, and TLS (e.g. PIP_INDEX_URL,
|
|
# PIP_CERT). Sibling tool credentials (UV_PUBLISH_TOKEN, POETRY_*) and
|
|
# TWINE_* stay scrubbed.
|
|
allow:
|
|
- PIP_*
|