pmsec 2026.6.1 → 2026.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -28
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
# pmsec (Node)
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
cargo, mise, uv, and bundler. One command flips on every safe-by-default knob each
|
|
5
|
-
package manager exposes — install cooldown, signature trust policy, lockfile
|
|
6
|
-
re-verification, build-script attestation, and more.
|
|
7
|
-
|
|
8
|
-
## Install
|
|
3
|
+
Node 22+ ESM CLI for the same pmsec contract as the root project.
|
|
9
4
|
|
|
10
5
|
```bash
|
|
11
6
|
npx pmsec
|
|
@@ -13,40 +8,30 @@ npx pmsec --check
|
|
|
13
8
|
npx pmsec --disable
|
|
14
9
|
```
|
|
15
10
|
|
|
16
|
-
|
|
17
|
-
uvx pmsec
|
|
18
|
-
uvx pmsec --check
|
|
19
|
-
uvx pmsec --disable
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
If your environment already enforces cooldown (or routes through a proxy
|
|
23
|
-
registry), bootstrap pmsec by overriding just for that call:
|
|
11
|
+
Bootstrap through registries that already enforce cooldowns:
|
|
24
12
|
|
|
25
13
|
```bash
|
|
26
14
|
npx --registry=https://registry.npmjs.org/ --min-release-age=0 pmsec --check
|
|
27
15
|
uvx --index https://pypi.org/simple --exclude-newer-package pmsec=2099-01-01 pmsec --check
|
|
28
16
|
```
|
|
29
17
|
|
|
30
|
-
Zero runtime dependencies, ESM, requires Node 22+.
|
|
31
|
-
|
|
32
18
|
## Usage
|
|
33
19
|
|
|
34
|
-
|
|
|
20
|
+
| Command | Result |
|
|
35
21
|
| --- | --- |
|
|
36
|
-
| `pmsec` |
|
|
37
|
-
| `pmsec --check` |
|
|
38
|
-
| `pmsec --disable` |
|
|
39
|
-
| `pmsec --
|
|
22
|
+
| `pmsec` | Writes the hardening bundle. |
|
|
23
|
+
| `pmsec --check` | Exits 1 when any selected tool is below policy. |
|
|
24
|
+
| `pmsec --disable` | Removes pmsec-managed keys only. |
|
|
25
|
+
| `pmsec --doctor` | Prints read-only path, ownership, and writability diagnostics. |
|
|
26
|
+
| `pmsec --version` | Prints the version. |
|
|
40
27
|
|
|
41
|
-
Options: `--tool npm,pnpm,yarn,bun,cargo,mise,uv,bundler`, `--days N
|
|
28
|
+
Options: `--tool npm,pnpm,yarn,bun,cargo,mise,uv,bundler,aube`, `--days N`,
|
|
29
|
+
`--force`, `--json`.
|
|
42
30
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
and pmsec prints the exact `chown` command needed to restore ownership —
|
|
46
|
-
re-run after applying it. pmsec never escalates privileges itself.
|
|
31
|
+
Write failures include the target path and ownership hint. pmsec never escalates
|
|
32
|
+
privileges.
|
|
47
33
|
|
|
48
|
-
See the
|
|
49
|
-
full table of keys, units, paths, and environment overrides.
|
|
34
|
+
See the root README for the full key table.
|
|
50
35
|
|
|
51
36
|
## License
|
|
52
37
|
|