ai-secret-scout 2.4.3 → 2.4.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/README.fr.md CHANGED
@@ -9,10 +9,18 @@
9
9
  ◈ A I S E C R E T S C O U T ◈
10
10
  </pre>
11
11
 
12
- <h2>AI Secret Scout (<code>aiscout</code>) — v2.4.3</h2>
12
+ <h2>AI Secret Scout (<code>aiscout</code>) — v2.4.5</h2>
13
13
 
14
14
  <p align="center">
15
15
  <!-- Ligne 1 : badges techno & plateforme -->
16
+ <a href="https://github.com/DevRedious/ai-secret-scout/actions/workflows/ci.yml"><img src="https://github.com/DevRedious/ai-secret-scout/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
17
+ <a href="https://www.npmjs.com/package/ai-secret-scout"><img src="https://img.shields.io/npm/v/ai-secret-scout?logo=npm&amp;color=CB3837" alt="npm version"></a>
18
+ <a href="https://www.npmjs.com/package/ai-secret-scout"><img src="https://img.shields.io/npm/dm/ai-secret-scout?logo=npm&amp;color=CB3837" alt="npm downloads"></a>
19
+ <a href="https://socket.dev/npm/package/ai-secret-scout"><img src="https://badge.socket.dev/npm/package/ai-secret-scout" alt="Socket Badge"></a>
20
+ <a href="./LICENSE"><img src="https://img.shields.io/npm/l/ai-secret-scout?color=blue" alt="License MIT"></a>
21
+ </p>
22
+
23
+ <p align="center">
16
24
  <img src="https://img.shields.io/badge/Python-3.10%2B-3776AB?logo=python&amp;logoColor=white" alt="Python 3.10+">
17
25
  <img src="https://img.shields.io/badge/Interface-TUI%20Plein%20%C3%89cran-06B6D4?logo=gnometerminal&amp;logoColor=white" alt="TUI Plein Écran">
18
26
  <img src="https://img.shields.io/badge/D%C3%A9pendances-Zero%20External-22c55e?logo=python&amp;logoColor=white" alt="Zéro Dépendance">
@@ -154,6 +162,12 @@ aiscout
154
162
  ### Options en ligne de commande usuelles
155
163
 
156
164
  ```bash
165
+ # Version installée
166
+ aiscout --version
167
+
168
+ # Mise à jour vers la dernière version npm (seule commande qui accède au réseau)
169
+ aiscout update
170
+
157
171
  # Surveillance temps réel (Watchdog) avec alertes bureau
158
172
  aiscout --watch
159
173
 
@@ -178,7 +192,7 @@ Le moteur TUI autonome d'`aiscout` (pure bibliothèque standard Python) s'adapte
178
192
  ### 1. Tableau de bord & Menu d'accueil interactif (Hub central)
179
193
 
180
194
  ```text
181
- ◈ AISCOUT v2.4.3 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
195
+ ◈ AISCOUT v2.4.5 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
182
196
 
183
197
  █████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
184
198
  ██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
@@ -214,7 +228,7 @@ Le moteur TUI autonome d'`aiscout` (pure bibliothèque standard Python) s'adapte
214
228
  La vue tableau permet de parcourir l'intégralité des fuites identifiées avec pagination fluide, tri multi-critères et recherche plein texte instantanée :
215
229
 
216
230
  ```text
217
- ◈ AISCOUT v2.4.3 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
231
+ ◈ AISCOUT v2.4.5 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
218
232
 
219
233
  📋 EXPLORATEUR DE SECRETS (1/21) — Mode : MASQUÉ 🛡️ │ Tri : Sévérité (🔴 > 🟡 > 🔵)
220
234
 
@@ -235,7 +249,7 @@ La vue tableau permet de parcourir l'intégralité des fuites identifiées avec
235
249
  En appuyant sur `/`, une boîte de saisie inline s'ouvre sur la barre inférieure. Le tableau se met à jour en temps réel (filtre instantané sur la catégorie, l'outil, le projet, le fichier ou la valeur du secret) :
236
250
 
237
251
  ```text
238
- ◈ AISCOUT v2.4.3 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
252
+ ◈ AISCOUT v2.4.5 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
239
253
 
240
254
  📋 EXPLORATEUR DE SECRETS (1/3) — Mode : MASQUÉ 🛡️ │ Tri : Sévérité (🔴 > 🟡 > 🔵)
241
255
  🔍 Recherche active : "github" (3 secrets trouvés) │ [Backspace/Esc] Effacer
@@ -255,7 +269,7 @@ En appuyant sur `/`, une boîte de saisie inline s'ouvre sur la barre inférieur
255
269
  En pressant `Entrée` sur une ligne du tableau, une fiche d'audit chirurgicale s'affiche avec le contexte exact d'usage et l'extrait de log :
256
270
 
257
271
  ```text
258
- ◈ AISCOUT v2.4.3 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
272
+ ◈ AISCOUT v2.4.5 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
259
273
 
260
274
  ╭──────────────────────────────────────────────────────────────────────────────────╮
261
275
  │ FICHE D'AUDIT DU SECRET DÉTECTÉ │
@@ -284,7 +298,7 @@ En pressant `Entrée` sur une ligne du tableau, une fiche d'audit chirurgicale s
284
298
  Lors de l'audit initial, du caviardage ou de l'exportation des dossiers d'audit, une animation à 100ms affiche l'étape en cours et la progression :
285
299
 
286
300
  ```text
287
- ◈ AISCOUT v2.4.3 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
301
+ ◈ AISCOUT v2.4.5 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
288
302
 
289
303
  █████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
290
304
  ██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
@@ -320,7 +334,7 @@ Lors de l'audit initial, du caviardage ou de l'exportation des dossiers d'audit,
320
334
  Le mode **Watchdog** transforme `aiscout` en un gardien silencieux en arrière-plan :
321
335
 
322
336
  ```text
323
- ◈ AISCOUT v2.4.3 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:21
337
+ ◈ AISCOUT v2.4.5 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:21
324
338
 
325
339
  📡 SURVEILLANCE EN TEMPS RÉEL (WATCHDOG) │ 🟢 [VEILLE ACTIVE]
326
340
  Détecte les sessions IA en écriture et notifie instantanément sur le bureau (Linux / Windows)
@@ -351,7 +365,7 @@ Le mode **Watchdog** transforme `aiscout` en un gardien silencieux en arrière-p
351
365
  Le menu `[7]` offre un contrôle absolu sur les fichiers de sauvegarde générés lors des opérations de caviardage :
352
366
 
353
367
  ```text
354
- ◈ AISCOUT v2.4.3 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:22
368
+ ◈ AISCOUT v2.4.5 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:22
355
369
 
356
370
  ↩️ GESTIONNAIRE DES SAUVEGARDES & RESTAURATION (.BAK)
357
371
  Restaurer les fichiers originaux avant caviardage ou purger les sauvegardes.
@@ -392,7 +406,7 @@ Le menu `[7]` offre un contrôle absolu sur les fichiers de sauvegarde généré
392
406
  | **GitHub Token (PAT / Fine-Grained)** | 🔴 **CRITIQUE** | `ghp_[A-Za-z0-9]{36}`, `github_pat_[A-Za-z0-9_]{82}` |
393
407
  | **GitLab Personal Access Token** *(Nouveau)* | 🔴 **CRITIQUE** | `glpat-[0-9a-zA-Z_\-]{20,}` |
394
408
  | **HuggingFace Token** *(Nouveau)* | 🔴 **CRITIQUE** | `hf_[a-zA-Z0-9]{34,}` |
395
- | **Clé Privée (SSH / RSA / ECC / PEM)** | 🔴 **CRITIQUE** | `-----BEGIN (?:OPENSSH\|RSA\|EC) PRIVATE KEY-----` |
409
+ | **Clé Privée (SSH / RSA / ECC / PEM)** | 🔴 **CRITIQUE** | `-----BEGIN (?:OPENSSH\|RSA\|DSA\|EC\|ENCRYPTED\|PGP)? PRIVATE KEY-----` |
396
410
  | **Stripe Secret Key** | 🔴 **CRITIQUE** | `sk_live_[0-9a-zA-Z]{24,}`, `rk_live_[0-9a-zA-Z]{24,}` |
397
411
  | **Base de données (URI avec MDP)** | 🔴 **CRITIQUE** | `postgres://user:password@host`, `mysql://...`, `mongodb://...` |
398
412
  | **Infisical / Coolify Token** | 🔴 **CRITIQUE** | `st.[a-f0-9]{24}.[a-f0-9]{64}`, `inf_sec_...`, `inf_tok_...` |
@@ -539,4 +553,4 @@ aiscout --home-dir /home/autre_utilisateur
539
553
  * **Systèmes Supportés** : **Linux** (natif Wayland / X11), **Windows 10/11** (natif PowerShell, CMD, Windows Terminal) et **WSL / WSL2**.
540
554
  * **Système de Notification** : Détection automatique de `notify-send` sous Linux et toasts natifs PowerShell sous Windows.
541
555
  * **Configuration** : `~/.config/aiscout/rules.json` (ou `%APPDATA%\aiscout\rules.json` sous Windows).
542
- * **Confidentialité absolue** : 100% local, aucun flux réseau sortant, zéro télémétrie.
556
+ * **Confidentialité absolue** : 100% local, aucun flux réseau sortant, zéro télémétrie. Seule exception : `aiscout update`, lancé à la demande, où npm interroge son registre.
package/README.md CHANGED
@@ -9,10 +9,18 @@
9
9
  ◈ A I S E C R E T S C O U T ◈
10
10
  </pre>
11
11
 
12
- <h2>AI Secret Scout (<code>aiscout</code>) — v2.4.3</h2>
12
+ <h2>AI Secret Scout (<code>aiscout</code>) — v2.4.5</h2>
13
13
 
14
14
  <p align="center">
15
15
  <!-- Row 1: tech & platform badges -->
16
+ <a href="https://github.com/DevRedious/ai-secret-scout/actions/workflows/ci.yml"><img src="https://github.com/DevRedious/ai-secret-scout/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
17
+ <a href="https://www.npmjs.com/package/ai-secret-scout"><img src="https://img.shields.io/npm/v/ai-secret-scout?logo=npm&amp;color=CB3837" alt="npm version"></a>
18
+ <a href="https://www.npmjs.com/package/ai-secret-scout"><img src="https://img.shields.io/npm/dm/ai-secret-scout?logo=npm&amp;color=CB3837" alt="npm downloads"></a>
19
+ <a href="https://socket.dev/npm/package/ai-secret-scout"><img src="https://badge.socket.dev/npm/package/ai-secret-scout" alt="Socket Badge"></a>
20
+ <a href="./LICENSE"><img src="https://img.shields.io/npm/l/ai-secret-scout?color=blue" alt="License MIT"></a>
21
+ </p>
22
+
23
+ <p align="center">
16
24
  <img src="https://img.shields.io/badge/Python-3.10%2B-3776AB?logo=python&amp;logoColor=white" alt="Python 3.10+">
17
25
  <img src="https://img.shields.io/badge/Interface-Full--Screen%20TUI-06B6D4?logo=gnometerminal&amp;logoColor=white" alt="Full-Screen TUI">
18
26
  <img src="https://img.shields.io/badge/Dependencies-Zero%20External-22c55e?logo=python&amp;logoColor=white" alt="Zero Dependencies">
@@ -151,6 +159,12 @@ aiscout
151
159
 
152
160
  ### 🛠️ Common CLI Commands
153
161
  ```bash
162
+ # Print the installed version
163
+ aiscout --version
164
+
165
+ # Update to the latest npm release (the only command that uses the network)
166
+ aiscout update
167
+
154
168
  # Launch real-time background watchdog with desktop notifications
155
169
  aiscout --watch
156
170
 
@@ -178,7 +192,7 @@ The application automatically switches your terminal to an alternate screen buff
178
192
  ### 1. Central Hub & Dashboard
179
193
 
180
194
  ```text
181
- ◈ AISCOUT v2.4.3 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
195
+ ◈ AISCOUT v2.4.5 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
182
196
 
183
197
  █████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
184
198
  ██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
@@ -214,7 +228,7 @@ The application automatically switches your terminal to an alternate screen buff
214
228
  The interactive table allows fluid inspection of all detected secrets with multi-criteria sorting and instantaneous full-text filtering:
215
229
 
216
230
  ```text
217
- ◈ AISCOUT v2.4.3 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
231
+ ◈ AISCOUT v2.4.5 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
218
232
 
219
233
  📋 SECRET EXPLORER (1/21) — Mode : MASKED 🛡️ │ Sort : Severity (🔴 > 🟡 > 🔵)
220
234
 
@@ -235,7 +249,7 @@ The interactive table allows fluid inspection of all detected secrets with multi
235
249
  Pressing `/` opens an inline prompt directly in the status bar. The table updates dynamically with every keystroke:
236
250
 
237
251
  ```text
238
- ◈ AISCOUT v2.4.3 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
252
+ ◈ AISCOUT v2.4.5 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
239
253
 
240
254
  📋 SECRET EXPLORER (1/3) — Mode : MASKED 🛡️ │ Sort : Severity (🔴 > 🟡 > 🔵)
241
255
  🔍 Active filter: "github" (3 matching secrets) │ [Backspace/Esc] Clear
@@ -255,7 +269,7 @@ Pressing `/` opens an inline prompt directly in the status bar. The table update
255
269
  Pressing `Enter` on any row displays a full diagnostic modal card highlighting the source file, context, and remediation recommendations:
256
270
 
257
271
  ```text
258
- ◈ AISCOUT v2.4.3 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
272
+ ◈ AISCOUT v2.4.5 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
259
273
 
260
274
  ╭──────────────────────────────────────────────────────────────────────────────────╮
261
275
  │ AUDIT CARD FOR DETECTED SECRET │
@@ -284,7 +298,7 @@ Pressing `Enter` on any row displays a full diagnostic modal card highlighting t
284
298
  During scans, redactions, or reports generation, an animated 100ms spinner displays current scan phase and progress percentage:
285
299
 
286
300
  ```text
287
- ◈ AISCOUT v2.4.3 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
301
+ ◈ AISCOUT v2.4.5 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
288
302
 
289
303
  █████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
290
304
  ██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
@@ -320,7 +334,7 @@ During scans, redactions, or reports generation, an animated 100ms spinner displ
320
334
  The **Watchdog** mode turns `aiscout` into a background sentinel:
321
335
 
322
336
  ```text
323
- ◈ AISCOUT v2.4.3 │ User : dev_redious │ Host : workstation 12/09/2026 22:21
337
+ ◈ AISCOUT v2.4.5 │ User : dev_redious │ Host : workstation 12/09/2026 22:21
324
338
 
325
339
  📡 REAL-TIME MONITORING (WATCHDOG) │ 🟢 [ACTIVE SENTINEL]
326
340
  Detects active AI sessions writing to disk and sends instant desktop alerts
@@ -351,7 +365,7 @@ The **Watchdog** mode turns `aiscout` into a background sentinel:
351
365
  TUI Menu `[7]` provides complete control over backup files created prior to sanitization:
352
366
 
353
367
  ```text
354
- ◈ AISCOUT v2.4.3 │ User : dev_redious │ Host : workstation 12/09/2026 22:22
368
+ ◈ AISCOUT v2.4.5 │ User : dev_redious │ Host : workstation 12/09/2026 22:22
355
369
 
356
370
  ↩️ SAFE RESTORE & BACKUP MANAGER (.BAK)
357
371
  Restore original files before redaction or purge stale backup copies.
@@ -392,7 +406,7 @@ TUI Menu `[7]` provides complete control over backup files created prior to sani
392
406
  | **GitHub Token (PAT / Fine-Grained)** | 🔴 **CRITICAL** | `ghp_[A-Za-z0-9]{36}`, `github_pat_[A-Za-z0-9_]{82}` |
393
407
  | **GitLab Personal Access Token** *(New)* | 🔴 **CRITICAL** | `glpat-[0-9a-zA-Z_\-]{20,}` |
394
408
  | **HuggingFace Token** *(New)* | 🔴 **CRITICAL** | `hf_[a-zA-Z0-9]{34,}` |
395
- | **Private Key (SSH / RSA / ECC / PEM)** | 🔴 **CRITICAL** | `-----BEGIN (?:OPENSSH|RSA|EC) PRIVATE KEY-----` |
409
+ | **Private Key (SSH / RSA / ECC / PEM)** | 🔴 **CRITICAL** | `-----BEGIN (?:OPENSSH\|RSA\|DSA\|EC\|ENCRYPTED\|PGP)? PRIVATE KEY-----` |
396
410
  | **Stripe Secret Key** | 🔴 **CRITICAL** | `sk_live_[0-9a-zA-Z]{24,}`, `rk_live_[0-9a-zA-Z]{24,}` |
397
411
  | **Database URI (with Credentials)** | 🔴 **CRITICAL** | `postgres://user:password@host`, `mysql://...`, `mongodb://...` |
398
412
  | **Infisical / Coolify Token** | 🔴 **CRITICAL** | `st.[a-f0-9]{24}.[a-f0-9]{64}`, `inf_sec_...`, `inf_tok_...` |
@@ -539,7 +553,7 @@ aiscout --home-dir /home/other_user
539
553
  * **Supported Platforms**: **Linux** (native Wayland / X11), **Windows 10/11** (native PowerShell, CMD, Windows Terminal), and **WSL / WSL2**.
540
554
  * **Notification System**: Auto-detects `notify-send` on Linux and native PowerShell toast notifications on Windows.
541
555
  * **Configuration Path**: `~/.config/aiscout/rules.json` (or `%APPDATA%\aiscout\rules.json` on Windows).
542
- * **Zero Telemetry**: 100% local execution, zero outbound network traffic, complete privacy guarantee.
556
+ * **Zero Telemetry**: 100% local execution, zero outbound network traffic, complete privacy guarantee. The only exception is `aiscout update`, run on demand, where npm queries its registry.
543
557
 
544
558
  ---
545
559