ai-secret-scout 2.4.4 → 2.4.6
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 +16 -10
- package/README.md +16 -10
- package/ai_secret_scout.py +461 -243
- package/bin/aiscout.js +1 -1
- package/bin/check-environment.js +10 -4
- package/package.json +2 -2
package/README.fr.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
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.
|
|
12
|
+
<h2>AI Secret Scout (<code>aiscout</code>) — v2.4.6</h2>
|
|
13
13
|
|
|
14
14
|
<p align="center">
|
|
15
15
|
<!-- Ligne 1 : badges techno & plateforme -->
|
|
@@ -162,6 +162,12 @@ aiscout
|
|
|
162
162
|
### Options en ligne de commande usuelles
|
|
163
163
|
|
|
164
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
|
+
|
|
165
171
|
# Surveillance temps réel (Watchdog) avec alertes bureau
|
|
166
172
|
aiscout --watch
|
|
167
173
|
|
|
@@ -186,7 +192,7 @@ Le moteur TUI autonome d'`aiscout` (pure bibliothèque standard Python) s'adapte
|
|
|
186
192
|
### 1. Tableau de bord & Menu d'accueil interactif (Hub central)
|
|
187
193
|
|
|
188
194
|
```text
|
|
189
|
-
◈ AISCOUT v2.4.
|
|
195
|
+
◈ AISCOUT v2.4.6 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
|
|
190
196
|
|
|
191
197
|
█████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
|
|
192
198
|
██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
|
|
@@ -222,7 +228,7 @@ Le moteur TUI autonome d'`aiscout` (pure bibliothèque standard Python) s'adapte
|
|
|
222
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 :
|
|
223
229
|
|
|
224
230
|
```text
|
|
225
|
-
◈ AISCOUT v2.4.
|
|
231
|
+
◈ AISCOUT v2.4.6 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
|
|
226
232
|
|
|
227
233
|
📋 EXPLORATEUR DE SECRETS (1/21) — Mode : MASQUÉ 🛡️ │ Tri : Sévérité (🔴 > 🟡 > 🔵)
|
|
228
234
|
|
|
@@ -243,7 +249,7 @@ La vue tableau permet de parcourir l'intégralité des fuites identifiées avec
|
|
|
243
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) :
|
|
244
250
|
|
|
245
251
|
```text
|
|
246
|
-
◈ AISCOUT v2.4.
|
|
252
|
+
◈ AISCOUT v2.4.6 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
|
|
247
253
|
|
|
248
254
|
📋 EXPLORATEUR DE SECRETS (1/3) — Mode : MASQUÉ 🛡️ │ Tri : Sévérité (🔴 > 🟡 > 🔵)
|
|
249
255
|
🔍 Recherche active : "github" (3 secrets trouvés) │ [Backspace/Esc] Effacer
|
|
@@ -263,7 +269,7 @@ En appuyant sur `/`, une boîte de saisie inline s'ouvre sur la barre inférieur
|
|
|
263
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 :
|
|
264
270
|
|
|
265
271
|
```text
|
|
266
|
-
◈ AISCOUT v2.4.
|
|
272
|
+
◈ AISCOUT v2.4.6 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
|
|
267
273
|
|
|
268
274
|
╭──────────────────────────────────────────────────────────────────────────────────╮
|
|
269
275
|
│ FICHE D'AUDIT DU SECRET DÉTECTÉ │
|
|
@@ -292,7 +298,7 @@ En pressant `Entrée` sur une ligne du tableau, une fiche d'audit chirurgicale s
|
|
|
292
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 :
|
|
293
299
|
|
|
294
300
|
```text
|
|
295
|
-
◈ AISCOUT v2.4.
|
|
301
|
+
◈ AISCOUT v2.4.6 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
|
|
296
302
|
|
|
297
303
|
█████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
|
|
298
304
|
██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
|
|
@@ -328,7 +334,7 @@ Lors de l'audit initial, du caviardage ou de l'exportation des dossiers d'audit,
|
|
|
328
334
|
Le mode **Watchdog** transforme `aiscout` en un gardien silencieux en arrière-plan :
|
|
329
335
|
|
|
330
336
|
```text
|
|
331
|
-
◈ AISCOUT v2.4.
|
|
337
|
+
◈ AISCOUT v2.4.6 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:21
|
|
332
338
|
|
|
333
339
|
📡 SURVEILLANCE EN TEMPS RÉEL (WATCHDOG) │ 🟢 [VEILLE ACTIVE]
|
|
334
340
|
Détecte les sessions IA en écriture et notifie instantanément sur le bureau (Linux / Windows)
|
|
@@ -359,7 +365,7 @@ Le mode **Watchdog** transforme `aiscout` en un gardien silencieux en arrière-p
|
|
|
359
365
|
Le menu `[7]` offre un contrôle absolu sur les fichiers de sauvegarde générés lors des opérations de caviardage :
|
|
360
366
|
|
|
361
367
|
```text
|
|
362
|
-
◈ AISCOUT v2.4.
|
|
368
|
+
◈ AISCOUT v2.4.6 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:22
|
|
363
369
|
|
|
364
370
|
↩️ GESTIONNAIRE DES SAUVEGARDES & RESTAURATION (.BAK)
|
|
365
371
|
Restaurer les fichiers originaux avant caviardage ou purger les sauvegardes.
|
|
@@ -400,7 +406,7 @@ Le menu `[7]` offre un contrôle absolu sur les fichiers de sauvegarde généré
|
|
|
400
406
|
| **GitHub Token (PAT / Fine-Grained)** | 🔴 **CRITIQUE** | `ghp_[A-Za-z0-9]{36}`, `github_pat_[A-Za-z0-9_]{82}` |
|
|
401
407
|
| **GitLab Personal Access Token** *(Nouveau)* | 🔴 **CRITIQUE** | `glpat-[0-9a-zA-Z_\-]{20,}` |
|
|
402
408
|
| **HuggingFace Token** *(Nouveau)* | 🔴 **CRITIQUE** | `hf_[a-zA-Z0-9]{34,}` |
|
|
403
|
-
| **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-----` |
|
|
404
410
|
| **Stripe Secret Key** | 🔴 **CRITIQUE** | `sk_live_[0-9a-zA-Z]{24,}`, `rk_live_[0-9a-zA-Z]{24,}` |
|
|
405
411
|
| **Base de données (URI avec MDP)** | 🔴 **CRITIQUE** | `postgres://user:password@host`, `mysql://...`, `mongodb://...` |
|
|
406
412
|
| **Infisical / Coolify Token** | 🔴 **CRITIQUE** | `st.[a-f0-9]{24}.[a-f0-9]{64}`, `inf_sec_...`, `inf_tok_...` |
|
|
@@ -547,4 +553,4 @@ aiscout --home-dir /home/autre_utilisateur
|
|
|
547
553
|
* **Systèmes Supportés** : **Linux** (natif Wayland / X11), **Windows 10/11** (natif PowerShell, CMD, Windows Terminal) et **WSL / WSL2**.
|
|
548
554
|
* **Système de Notification** : Détection automatique de `notify-send` sous Linux et toasts natifs PowerShell sous Windows.
|
|
549
555
|
* **Configuration** : `~/.config/aiscout/rules.json` (ou `%APPDATA%\aiscout\rules.json` sous Windows).
|
|
550
|
-
* **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,7 +9,7 @@
|
|
|
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.
|
|
12
|
+
<h2>AI Secret Scout (<code>aiscout</code>) — v2.4.6</h2>
|
|
13
13
|
|
|
14
14
|
<p align="center">
|
|
15
15
|
<!-- Row 1: tech & platform badges -->
|
|
@@ -159,6 +159,12 @@ aiscout
|
|
|
159
159
|
|
|
160
160
|
### 🛠️ Common CLI Commands
|
|
161
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
|
+
|
|
162
168
|
# Launch real-time background watchdog with desktop notifications
|
|
163
169
|
aiscout --watch
|
|
164
170
|
|
|
@@ -186,7 +192,7 @@ The application automatically switches your terminal to an alternate screen buff
|
|
|
186
192
|
### 1. Central Hub & Dashboard
|
|
187
193
|
|
|
188
194
|
```text
|
|
189
|
-
◈ AISCOUT v2.4.
|
|
195
|
+
◈ AISCOUT v2.4.6 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
|
|
190
196
|
|
|
191
197
|
█████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
|
|
192
198
|
██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
|
|
@@ -222,7 +228,7 @@ The application automatically switches your terminal to an alternate screen buff
|
|
|
222
228
|
The interactive table allows fluid inspection of all detected secrets with multi-criteria sorting and instantaneous full-text filtering:
|
|
223
229
|
|
|
224
230
|
```text
|
|
225
|
-
◈ AISCOUT v2.4.
|
|
231
|
+
◈ AISCOUT v2.4.6 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
|
|
226
232
|
|
|
227
233
|
📋 SECRET EXPLORER (1/21) — Mode : MASKED 🛡️ │ Sort : Severity (🔴 > 🟡 > 🔵)
|
|
228
234
|
|
|
@@ -243,7 +249,7 @@ The interactive table allows fluid inspection of all detected secrets with multi
|
|
|
243
249
|
Pressing `/` opens an inline prompt directly in the status bar. The table updates dynamically with every keystroke:
|
|
244
250
|
|
|
245
251
|
```text
|
|
246
|
-
◈ AISCOUT v2.4.
|
|
252
|
+
◈ AISCOUT v2.4.6 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
|
|
247
253
|
|
|
248
254
|
📋 SECRET EXPLORER (1/3) — Mode : MASKED 🛡️ │ Sort : Severity (🔴 > 🟡 > 🔵)
|
|
249
255
|
🔍 Active filter: "github" (3 matching secrets) │ [Backspace/Esc] Clear
|
|
@@ -263,7 +269,7 @@ Pressing `/` opens an inline prompt directly in the status bar. The table update
|
|
|
263
269
|
Pressing `Enter` on any row displays a full diagnostic modal card highlighting the source file, context, and remediation recommendations:
|
|
264
270
|
|
|
265
271
|
```text
|
|
266
|
-
◈ AISCOUT v2.4.
|
|
272
|
+
◈ AISCOUT v2.4.6 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
|
|
267
273
|
|
|
268
274
|
╭──────────────────────────────────────────────────────────────────────────────────╮
|
|
269
275
|
│ AUDIT CARD FOR DETECTED SECRET │
|
|
@@ -292,7 +298,7 @@ Pressing `Enter` on any row displays a full diagnostic modal card highlighting t
|
|
|
292
298
|
During scans, redactions, or reports generation, an animated 100ms spinner displays current scan phase and progress percentage:
|
|
293
299
|
|
|
294
300
|
```text
|
|
295
|
-
◈ AISCOUT v2.4.
|
|
301
|
+
◈ AISCOUT v2.4.6 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
|
|
296
302
|
|
|
297
303
|
█████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
|
|
298
304
|
██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
|
|
@@ -328,7 +334,7 @@ During scans, redactions, or reports generation, an animated 100ms spinner displ
|
|
|
328
334
|
The **Watchdog** mode turns `aiscout` into a background sentinel:
|
|
329
335
|
|
|
330
336
|
```text
|
|
331
|
-
◈ AISCOUT v2.4.
|
|
337
|
+
◈ AISCOUT v2.4.6 │ User : dev_redious │ Host : workstation 12/09/2026 22:21
|
|
332
338
|
|
|
333
339
|
📡 REAL-TIME MONITORING (WATCHDOG) │ 🟢 [ACTIVE SENTINEL]
|
|
334
340
|
Detects active AI sessions writing to disk and sends instant desktop alerts
|
|
@@ -359,7 +365,7 @@ The **Watchdog** mode turns `aiscout` into a background sentinel:
|
|
|
359
365
|
TUI Menu `[7]` provides complete control over backup files created prior to sanitization:
|
|
360
366
|
|
|
361
367
|
```text
|
|
362
|
-
◈ AISCOUT v2.4.
|
|
368
|
+
◈ AISCOUT v2.4.6 │ User : dev_redious │ Host : workstation 12/09/2026 22:22
|
|
363
369
|
|
|
364
370
|
↩️ SAFE RESTORE & BACKUP MANAGER (.BAK)
|
|
365
371
|
Restore original files before redaction or purge stale backup copies.
|
|
@@ -400,7 +406,7 @@ TUI Menu `[7]` provides complete control over backup files created prior to sani
|
|
|
400
406
|
| **GitHub Token (PAT / Fine-Grained)** | 🔴 **CRITICAL** | `ghp_[A-Za-z0-9]{36}`, `github_pat_[A-Za-z0-9_]{82}` |
|
|
401
407
|
| **GitLab Personal Access Token** *(New)* | 🔴 **CRITICAL** | `glpat-[0-9a-zA-Z_\-]{20,}` |
|
|
402
408
|
| **HuggingFace Token** *(New)* | 🔴 **CRITICAL** | `hf_[a-zA-Z0-9]{34,}` |
|
|
403
|
-
| **Private Key (SSH / RSA / ECC / PEM)** | 🔴 **CRITICAL** | `-----BEGIN (?:OPENSSH
|
|
409
|
+
| **Private Key (SSH / RSA / ECC / PEM)** | 🔴 **CRITICAL** | `-----BEGIN (?:OPENSSH\|RSA\|DSA\|EC\|ENCRYPTED\|PGP)? PRIVATE KEY-----` |
|
|
404
410
|
| **Stripe Secret Key** | 🔴 **CRITICAL** | `sk_live_[0-9a-zA-Z]{24,}`, `rk_live_[0-9a-zA-Z]{24,}` |
|
|
405
411
|
| **Database URI (with Credentials)** | 🔴 **CRITICAL** | `postgres://user:password@host`, `mysql://...`, `mongodb://...` |
|
|
406
412
|
| **Infisical / Coolify Token** | 🔴 **CRITICAL** | `st.[a-f0-9]{24}.[a-f0-9]{64}`, `inf_sec_...`, `inf_tok_...` |
|
|
@@ -547,7 +553,7 @@ aiscout --home-dir /home/other_user
|
|
|
547
553
|
* **Supported Platforms**: **Linux** (native Wayland / X11), **Windows 10/11** (native PowerShell, CMD, Windows Terminal), and **WSL / WSL2**.
|
|
548
554
|
* **Notification System**: Auto-detects `notify-send` on Linux and native PowerShell toast notifications on Windows.
|
|
549
555
|
* **Configuration Path**: `~/.config/aiscout/rules.json` (or `%APPDATA%\aiscout\rules.json` on Windows).
|
|
550
|
-
* **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.
|
|
551
557
|
|
|
552
558
|
---
|
|
553
559
|
|