Files
pmg/sandbox/profiles/bun.yml
T
Abhisek DattaandGitHub c7244f921a feat: Add support for environment protection (scrubbing) (#327)
* 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
2026-06-11 11:40:33 +05:30

20 lines
489 B
YAML

name: bun
description: Profile for bun, extending npm-restrictive with bun environment variables
inherits: npm-restrictive
package_managers:
- bun
environment:
# Bun authenticates via BUN_AUTH_TOKEN and also reads .npmrc with env
# interpolation and npm_config_* conventions. Sibling tokens
# (YARN_NPM_AUTH_*) stay scrubbed.
allow:
- BUN_AUTH_TOKEN
- NPM_TOKEN
- NPM_AUTH_TOKEN
- NODE_AUTH_TOKEN
- npm_config_*
- NPM_CONFIG_*
- NODE_EXTRA_CA_CERTS