cuonztech-privacy-chaos-gate 0.3.4 → 0.3.5

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/LICENSE CHANGED
@@ -4,12 +4,14 @@ Copyright (c) 2026 CuonzTech · Carlo Cuonz. Alle Rechte vorbehalten. / All righ
4
4
 
5
5
  Source-available, proprietär. Der Quelltext ist einsehbar, aber nicht frei im Sinne einer
6
6
  Open-Source-Lizenz. Gilt ab Version 0.2.1.
7
- Fassung vom 2026-10-23 (Revision 2). / Revision of 2026-10-23 (revision 2).
7
+ Fassung vom 2026-10-30 (Revision 3). / Revision of 2026-10-30 (revision 3).
8
8
 
9
9
  HINWEIS ZU FRÜHEREN VERSIONEN
10
10
  Die bereits auf npm veröffentlichten Versionen 0.1.0 und 0.2.0 wurden unter der MIT-Lizenz
11
- veröffentlicht. Für Empfänger dieser Versionen bleiben sie unter MIT. Diese Lizenz gilt für
12
- Version 0.2.1 und alle späteren Versionen.
11
+ veröffentlicht. Für Empfänger dieser Versionen bleiben sie unter MIT. Die Versionen 0.2.1 bis
12
+ 0.3.3 wurden unter Revision 2 dieser Lizenz (Fassung vom 2026-10-23) veröffentlicht; für
13
+ Empfänger dieser Versionen bleibt Revision 2 massgebend. Diese Revision 3 gilt für Version
14
+ 0.3.4 und alle späteren Versionen.
13
15
 
14
16
 
15
17
  ================================================================================
@@ -17,17 +19,24 @@ DEUTSCH
17
19
  ================================================================================
18
20
 
19
21
  1. Was ohne Lizenzschlüssel erlaubt ist
20
- Sie dürfen die Software herunterladen, installieren und ausführen, um Websites zu
21
- scannen und das Konsolen-Gate (Ergebnis in der Konsole, Exit-Code, JSON-Report) in der
22
- CI zu verwenden. Das gilt auch für kommerzielle und interne Zwecke. Ziele auf dem
23
- eigenen Rechner (localhost, Loopback) sind immer frei. Frei ist ebenso der lokale
24
- Auto-Fix: Patches erzeugen und im eigenen Arbeitsverzeichnis anwenden, ohne Commit und
25
- ohne Pull Request.
26
-
27
- 2. Was eine gültige Lizenz von CuonzTech erfordert
28
- a) Erzeugen eines PDF-Reports sowie eines Kundenreports (HTML/Markdown mit --client),
29
- b) Auto-Fix als Commit oder Pull Request (Code-Patches in ein Repository schreiben,
30
- nicht das lokale Anwenden im Arbeitsverzeichnis).
22
+ Sie dürfen die Software herunterladen, installieren und ausführen, auch für kommerzielle
23
+ und interne Zwecke. Der Umfang hängt vom Ziel des Scans ab:
24
+ a) Lokale Ziele (localhost, 127.0.0.1, ::1) sind für Entwicklungs-, Test- und
25
+ Fixture-Zwecke vollständig frei: voller Scan, detailliertes Konsolen-Gate,
26
+ vollständiger JSON-Report und lokaler Auto-Fix im eigenen Arbeitsverzeichnis.
27
+ b) Externe Ziele (Staging, Produktion, alle anderen Adressen): Ermittlung des
28
+ Gate-Zustands (PASS, BLOCKED, INCONCLUSIVE), des Exit-Codes und aggregierter Zahlen
29
+ (Anzahl der Befundgruppen und der betroffenen Requests). Die Ausgabe ist auf diese
30
+ Zahlen gekürzt; die erzeugte report.json ist eine schlanke Ergebnisdatei mit dem
31
+ Vermerk limitedByLicense: true.
32
+
33
+ 2. Was bei externen Zielen eine gültige Lizenz von CuonzTech erfordert
34
+ a) Detaillierte Befundberichte (konkrete Tracker-Namen, URLs, Belege, Phasen,
35
+ Zeitlinien),
36
+ b) vollständige Prüfberichte in Markdown, HTML und PDF sowie HAR-Exporte,
37
+ c) Kundenreports (--client),
38
+ d) Auto-Fix: Erzeugen und Anwenden von Patches im Arbeitsverzeichnis sowie Commits und
39
+ Pull Requests.
31
40
  Eine Lizenz erhalten Sie über cuonztech.ch (Pilot, Pro, Agency). Der Umfang der Tarife
32
41
  steht auf der Produktseite und in der Lizenzmail. Die Zahl der Domains je Tarif beruht
33
42
  auf Vertrauen; die Software zählt sie nicht.
@@ -74,16 +83,24 @@ Copyright (c) 2026 CuonzTech · Carlo Cuonz. All rights reserved. Source-availab
74
83
  proprietary, from version 0.2.1.
75
84
 
76
85
  Versions 0.1.0 and 0.2.0 were published on npm under the MIT License and remain under MIT
77
- for their recipients. This license applies to version 0.2.1 and later.
78
-
79
- Without a license key you may install and run the software to scan websites and use the
80
- console gate (console output, exit code, JSON report) in CI, including for commercial and
81
- internal use. Local targets (localhost, loopback) are always free. Local auto-fix (creating
82
- and applying patches in your own working directory, without a commit or pull request) is free
83
- as well.
84
-
85
- A valid license from CuonzTech is required for: the PDF report and customer reports (HTML,
86
- Markdown with --client) and auto-fix as a commit or pull request (writing patches into a repository).
86
+ for their recipients. Versions 0.2.1 to 0.3.3 were published under revision 2 of this license
87
+ (dated 2026-10-23); revision 2 remains authoritative for their recipients. This revision 3
88
+ applies to version 0.3.4 and later.
89
+
90
+ Without a license key you may install and run the software, including for commercial and
91
+ internal use. The scope depends on the target of the scan:
92
+ (a) Local targets (localhost, 127.0.0.1, ::1) are fully free for development, testing and
93
+ fixture purposes: full scan, detailed console gate, full JSON report and local auto-fix in
94
+ your own working directory.
95
+ (b) External targets (staging, production, any other address): determining the gate state
96
+ (PASS, BLOCKED, INCONCLUSIVE), the exit code and aggregate numbers (number of finding groups
97
+ and affected requests). The output is limited to these numbers; the generated report.json is
98
+ a slim result file marked limitedByLicense: true.
99
+
100
+ For external targets a valid license from CuonzTech is required for: detailed finding
101
+ reports (tracker names, URLs, evidence, phases, timelines), full reports in Markdown, HTML
102
+ and PDF as well as HAR exports, customer reports (--client), and auto-fix (creating and
103
+ applying patches in the working directory, commits and pull requests).
87
104
  The number of domains per plan is based on trust and is not counted by the software.
88
105
 
89
106
  You may not copy, sell, redistribute or sublicense the software, offer it as your own
package/README.md CHANGED
@@ -257,6 +257,25 @@ Erwartet: Gate **BLOCKED**, Szenarien «auffällig» — exakt dieselben Zahlen
257
257
  client-name: "Firma AG"
258
258
  ```
259
259
 
260
+ **Laufzeit und Actions-Minuten:** Die Action läuft in Ihrem GitHub-Konto und verbraucht dessen Minuten. Gemessen auf einem
261
+ GitHub-Runner (`ubuntu-24.04`): Installation samt Browser etwa 35 Sekunden, der Scan einer einfachen Seite etwa 110 Sekunden,
262
+ zusammen rund 2,5 Minuten. Seiten mit viel Werbetechnik und vielen Unterseiten brauchen länger; mit `deep-budget` (Standard 300 s)
263
+ kann ein Tiefenlauf bis zu fünf weitere Minuten dauern. Im kostenlosen Tarif sind private Repositories auf 2.000 Minuten im Monat
264
+ begrenzt, öffentliche Repositories kosten nichts. Deshalb lieber nicht bei jedem Push scannen, sondern:
265
+
266
+ - **nach dem Deployment** (`deployment_status` oder `repository_dispatch`, siehe das Verify-Beispiel unten),
267
+ - **zeitgesteuert**, zum Beispiel einmal pro Woche, und
268
+ - **von Hand** (`workflow_dispatch`) vor einem Release.
269
+
270
+ ```yaml
271
+ on:
272
+ schedule: [{ cron: "17 5 * * 1" }] # montags 05:17 UTC
273
+ workflow_dispatch:
274
+ concurrency:
275
+ group: cpcg-${{ github.ref }}
276
+ cancel-in-progress: true # ein neuer Lauf ersetzt einen noch laufenden
277
+ ```
278
+
260
279
  Die Action installiert das veröffentlichte Paket `cuonztech-privacy-chaos-gate` in der Version, die in `action.yml`
261
280
  fest eingetragen ist (`npm install --ignore-scripts`, ohne Secrets in der Umgebung dieses Schritts), samt dem passenden
262
281
  Chromium (`playwright install --with-deps chromium`). Kennt die installierte CLI eine angeforderte Option nicht, gibt die Action
package/action.yml CHANGED
@@ -188,7 +188,7 @@ runs:
188
188
  shell: bash
189
189
  env:
190
190
  ACTION_PATH: ${{ github.action_path }}
191
- CPCG_PINNED_VERSION: "0.3.4" # = package.json version; bei jedem Release mit anheben (tests/action-pin.test.ts prüft das)
191
+ CPCG_PINNED_VERSION: "0.3.5" # = package.json version; bei jedem Release mit anheben (tests/action-pin.test.ts prüft das)
192
192
  run: |
193
193
  set -euo pipefail
194
194
 
@@ -11139,7 +11139,7 @@ import pc from "picocolors";
11139
11139
  import { createHash } from "crypto";
11140
11140
  import fs10 from "fs/promises";
11141
11141
  import path10 from "path";
11142
- var CPCG_VERSION = true ? "0.3.4" : "dev";
11142
+ var CPCG_VERSION = true ? "0.3.5" : "dev";
11143
11143
  function scanConfigOf(config) {
11144
11144
  return {
11145
11145
  targetUrl: config.targetUrl,
package/dist/cli.js CHANGED
@@ -11,12 +11,12 @@ import {
11
11
  resolveEntitlement,
12
12
  resolveGateConfig,
13
13
  resolveJurisdictions
14
- } from "./chunk-NGGZYNRX.js";
14
+ } from "./chunk-HL3LOVSD.js";
15
15
 
16
16
  // src/cli.ts
17
17
  import { Command, CommanderError } from "commander";
18
18
  import pc from "picocolors";
19
- var VERSION = true ? "0.3.4" : "dev";
19
+ var VERSION = true ? "0.3.5" : "dev";
20
20
  for (const stream of [process.stdout, process.stderr]) {
21
21
  stream.on("error", (err) => {
22
22
  if (err.code !== "EPIPE") throw err;
package/dist/index.js CHANGED
@@ -56,7 +56,7 @@ import {
56
56
  uncheckableReasons,
57
57
  uncheckableReasonsForReport,
58
58
  waitForVerifyUrl
59
- } from "./chunk-NGGZYNRX.js";
59
+ } from "./chunk-HL3LOVSD.js";
60
60
 
61
61
  // src/index.ts
62
62
  async function runGate(optionsOrConfig) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cuonztech-privacy-chaos-gate",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "CuonzTech Privacy Chaos Gate — CI/CD Consent-Scanner, Chaos-Szenarien und Auto-Fix-PR",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,13 +21,10 @@
21
21
  "engines": {
22
22
  "node": ">=20"
23
23
  },
24
- "repository": {
25
- "type": "git",
26
- "url": "git+https://github.com/cuonztech/privacy-chaos-gate.git"
27
- },
28
24
  "homepage": "https://cuonztech.ch/privacy-chaos-gate.html",
29
25
  "bugs": {
30
- "url": "https://github.com/cuonztech/privacy-chaos-gate/issues"
26
+ "url": "https://cuonztech.ch/privacy-chaos-gate.html",
27
+ "email": "support@cuonztech.ch"
31
28
  },
32
29
  "publishConfig": {},
33
30
  "scripts": {