Inspect and apply install-time cooldown (min-release-age / exclude-newer) for npm and uv.
Project description
pmsec (Python)
pmsec is a cross-platform CLI that inspects and applies install-time cooldown
settings (e.g. npm min-release-age, uv exclude-newer) to mitigate
supply-chain attacks where malicious packages are typically detected and
removed within hours to days of publication.
Install
uvx pmsec check --min 7
uvx pmsec set 7
uvx pmsec unset
Supported tools
npm, pnpm, yarn 4+, bun, cargo (RFC #3801), mise, uv
Commands
| Command | Description |
|---|---|
pmsec check [--min N] |
Read each tool's config; exit 1 if any tool is below N days or unset |
pmsec set <DAYS> [--force] |
Write DAYS-day cooldown to every selected tool |
pmsec unset |
Remove only the cooldown key from each config (other keys preserved) |
Options: --tool npm,pnpm,yarn,bun,cargo,mise,uv, --json.
See the project README for the full table of keys, units, paths, and overrides.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pmsec-0.1.3.tar.gz.
File metadata
- Download URL: pmsec-0.1.3.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81a3ea020f7e83f627dedce2745be3f0083974960a13fe8eb09137df6e461370
|
|
| MD5 |
89bd62ac5af462ada79e8c1fedf3343e
|
|
| BLAKE2b-256 |
252153514ed47cb591206969aafa8316118523ddeb2f6cb73b4c280631a53a37
|
Provenance
The following attestation bundles were made for pmsec-0.1.3.tar.gz:
Publisher:
pmsec-release-pypi.yml on HikaruEgashira/pmsec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pmsec-0.1.3.tar.gz -
Subject digest:
81a3ea020f7e83f627dedce2745be3f0083974960a13fe8eb09137df6e461370 - Sigstore transparency entry: 1432804133
- Sigstore integration time:
-
Permalink:
HikaruEgashira/pmsec@851d15f3ba92896a5a3166047cc3669ab4df9a02 -
Branch / Tag:
refs/tags/pmsec-py-v0.1.3 - Owner: https://github.com/HikaruEgashira
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pmsec-release-pypi.yml@851d15f3ba92896a5a3166047cc3669ab4df9a02 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pmsec-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pmsec-0.1.3-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
966ef761944b87693a26f951eb0d4051fb833b24899efce2216cdf30c63e7e0e
|
|
| MD5 |
1c6f8592ed0de4bd701fdc53383b3492
|
|
| BLAKE2b-256 |
9df70a932c51680ad76820238bf236785d42ed291bab1e9b8abaa4305a86c0ef
|
Provenance
The following attestation bundles were made for pmsec-0.1.3-py3-none-any.whl:
Publisher:
pmsec-release-pypi.yml on HikaruEgashira/pmsec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pmsec-0.1.3-py3-none-any.whl -
Subject digest:
966ef761944b87693a26f951eb0d4051fb833b24899efce2216cdf30c63e7e0e - Sigstore transparency entry: 1432804236
- Sigstore integration time:
-
Permalink:
HikaruEgashira/pmsec@851d15f3ba92896a5a3166047cc3669ab4df9a02 -
Branch / Tag:
refs/tags/pmsec-py-v0.1.3 - Owner: https://github.com/HikaruEgashira
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pmsec-release-pypi.yml@851d15f3ba92896a5a3166047cc3669ab4df9a02 -
Trigger Event:
push
-
Statement type: