@methodwhite/auto-hardening 1.7.1 → 1.7.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.7.2 - 2026-08-02
4
+
5
+ - Añadido workflow de publicación npm mediante Trusted Publishing/OIDC.
6
+ - La publicación de releases se valida automáticamente antes de ejecutarse.
7
+
3
8
  ## 1.7.1 - 2026-08-02
4
9
 
5
10
  - Corregida la auditoría cuando el módulo `Microsoft.PowerShell.Security` no puede cargarse.
package/auto-hardening.js CHANGED
@@ -7,7 +7,7 @@ import { execFileSync } from 'node:child_process';
7
7
  import { randomUUID, createHash } from 'node:crypto';
8
8
  import chalk from 'chalk';
9
9
 
10
- const VERSION = '1.7.1';
10
+ const VERSION = '1.7.2';
11
11
  const quarantineDir = process.env.PROGRAMDATA ? path.join(process.env.PROGRAMDATA, 'MethodWhite', 'auto-hardening', 'quarantine') : path.join(os.tmpdir(), 'methodwhite-auto-hardening', 'quarantine');
12
12
  const stateDir = process.env.PROGRAMDATA ? path.join(process.env.PROGRAMDATA, 'MethodWhite', 'auto-hardening') : path.join(os.tmpdir(), 'methodwhite-auto-hardening');
13
13
  const powershell = (script) => execFileSync('powershell.exe', ['-NoProfile', '-NonInteractive', '-ExecutionPolicy', 'Bypass', '-Command', script], { encoding: 'utf8', maxBuffer: 16 * 1024 * 1024, stdio: ['ignore', 'pipe', 'pipe'] }).trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@methodwhite/auto-hardening",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "Audita y aplica medidas de hardening defensivo en Windows con modo dry-run seguro.",
5
5
  "type": "module",
6
6
  "main": "auto-hardening.js",