Package Executor Support & Enhanced Proxy Mode

New Package Executor Support
PMG now supports package executorsnpx and pnpx, expanding protection beyond traditional package managers to include package execution scenarios.Usage Examples
Enhanced Experimental Proxy Mode
The experimental proxy mode has been expanded to support additional package managers:bun, yarn, pnpm, npx, and pnpx.Usage
Supported Package Managers For Proxy
| Package Manager | Status |
|---|---|
npm | ✅ Active |
npx | ✅ Active |
pnpx | ✅ Active |
pnpm | ✅ Active |
yarn | ✅ Active |
bun | ✅ Active |
pip | 🕒 Planned |
uv | 🕒 Planned |
poetry | 🕒 Planned |
Trusted Packages & Experimental Proxy Mode

Trusted Packages
pmg allows you to trust a package. Trusted packages are not scanned and always allowed to be installed.Configuration
Trusted packages are configured in theconfig.yml file. See config template for the configuration schema.
If you don’t have a config.yml file, you can create one by running pmg setup install.Example
Proxy Mode
PMG supports an experimental proxy-based interception as an alternative to the current optimistic dependency resolution. When enabled via--experimental-proxy-mode flag:- PMG starts a micro-proxy server on a random localhost port
- Runs
npmand other supported package managers configured to use the proxy - Intercepts package registry requests and analyzes packages as they are downloaded
- Blocks malicious packages and allows trusted packages to be installed
Usage
Configuration
To permanently enable proxy mode, add the following to yourconfig.yml file:Supported Package Managers
| Package Manager | Status |
|---|---|
npm | ✅ Active |
npx | 🕒 Planned |
pnpx | 🕒 Planned |
pnpm | 🕒 Planned |
yarn | 🕒 Planned |
bun | 🕒 Planned |
pip | 🕒 Planned |
uv | 🕒 Planned |
poetry | 🕒 Planned |

