ai-secret-scout 2.4.3 → 2.4.4
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 -8
- package/README.md +16 -8
- package/ai_secret_scout.py +1 -1
- package/bin/aiscout.js +1 -1
- package/bin/check-environment.js +2 -50
- package/package.json +2 -2
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.
|
|
12
|
+
<h2>AI Secret Scout (<code>aiscout</code>) — v2.4.4</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&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&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&logoColor=white" alt="Python 3.10+">
|
|
17
25
|
<img src="https://img.shields.io/badge/Interface-TUI%20Plein%20%C3%89cran-06B6D4?logo=gnometerminal&logoColor=white" alt="TUI Plein Écran">
|
|
18
26
|
<img src="https://img.shields.io/badge/D%C3%A9pendances-Zero%20External-22c55e?logo=python&logoColor=white" alt="Zéro Dépendance">
|
|
@@ -178,7 +186,7 @@ Le moteur TUI autonome d'`aiscout` (pure bibliothèque standard Python) s'adapte
|
|
|
178
186
|
### 1. Tableau de bord & Menu d'accueil interactif (Hub central)
|
|
179
187
|
|
|
180
188
|
```text
|
|
181
|
-
◈ AISCOUT v2.4.
|
|
189
|
+
◈ AISCOUT v2.4.4 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
|
|
182
190
|
|
|
183
191
|
█████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
|
|
184
192
|
██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
|
|
@@ -214,7 +222,7 @@ Le moteur TUI autonome d'`aiscout` (pure bibliothèque standard Python) s'adapte
|
|
|
214
222
|
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
223
|
|
|
216
224
|
```text
|
|
217
|
-
◈ AISCOUT v2.4.
|
|
225
|
+
◈ AISCOUT v2.4.4 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
|
|
218
226
|
|
|
219
227
|
📋 EXPLORATEUR DE SECRETS (1/21) — Mode : MASQUÉ 🛡️ │ Tri : Sévérité (🔴 > 🟡 > 🔵)
|
|
220
228
|
|
|
@@ -235,7 +243,7 @@ La vue tableau permet de parcourir l'intégralité des fuites identifiées avec
|
|
|
235
243
|
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
244
|
|
|
237
245
|
```text
|
|
238
|
-
◈ AISCOUT v2.4.
|
|
246
|
+
◈ AISCOUT v2.4.4 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
|
|
239
247
|
|
|
240
248
|
📋 EXPLORATEUR DE SECRETS (1/3) — Mode : MASQUÉ 🛡️ │ Tri : Sévérité (🔴 > 🟡 > 🔵)
|
|
241
249
|
🔍 Recherche active : "github" (3 secrets trouvés) │ [Backspace/Esc] Effacer
|
|
@@ -255,7 +263,7 @@ En appuyant sur `/`, une boîte de saisie inline s'ouvre sur la barre inférieur
|
|
|
255
263
|
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
264
|
|
|
257
265
|
```text
|
|
258
|
-
◈ AISCOUT v2.4.
|
|
266
|
+
◈ AISCOUT v2.4.4 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
|
|
259
267
|
|
|
260
268
|
╭──────────────────────────────────────────────────────────────────────────────────╮
|
|
261
269
|
│ FICHE D'AUDIT DU SECRET DÉTECTÉ │
|
|
@@ -284,7 +292,7 @@ En pressant `Entrée` sur une ligne du tableau, une fiche d'audit chirurgicale s
|
|
|
284
292
|
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
293
|
|
|
286
294
|
```text
|
|
287
|
-
◈ AISCOUT v2.4.
|
|
295
|
+
◈ AISCOUT v2.4.4 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:30
|
|
288
296
|
|
|
289
297
|
█████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
|
|
290
298
|
██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
|
|
@@ -320,7 +328,7 @@ Lors de l'audit initial, du caviardage ou de l'exportation des dossiers d'audit,
|
|
|
320
328
|
Le mode **Watchdog** transforme `aiscout` en un gardien silencieux en arrière-plan :
|
|
321
329
|
|
|
322
330
|
```text
|
|
323
|
-
◈ AISCOUT v2.4.
|
|
331
|
+
◈ AISCOUT v2.4.4 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:21
|
|
324
332
|
|
|
325
333
|
📡 SURVEILLANCE EN TEMPS RÉEL (WATCHDOG) │ 🟢 [VEILLE ACTIVE]
|
|
326
334
|
Détecte les sessions IA en écriture et notifie instantanément sur le bureau (Linux / Windows)
|
|
@@ -351,7 +359,7 @@ Le mode **Watchdog** transforme `aiscout` en un gardien silencieux en arrière-p
|
|
|
351
359
|
Le menu `[7]` offre un contrôle absolu sur les fichiers de sauvegarde générés lors des opérations de caviardage :
|
|
352
360
|
|
|
353
361
|
```text
|
|
354
|
-
◈ AISCOUT v2.4.
|
|
362
|
+
◈ AISCOUT v2.4.4 │ Utilisateur : dev_redious │ Machine : poste-travail 12/09/2026 22:22
|
|
355
363
|
|
|
356
364
|
↩️ GESTIONNAIRE DES SAUVEGARDES & RESTAURATION (.BAK)
|
|
357
365
|
Restaurer les fichiers originaux avant caviardage ou purger les sauvegardes.
|
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.
|
|
12
|
+
<h2>AI Secret Scout (<code>aiscout</code>) — v2.4.4</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&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&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&logoColor=white" alt="Python 3.10+">
|
|
17
25
|
<img src="https://img.shields.io/badge/Interface-Full--Screen%20TUI-06B6D4?logo=gnometerminal&logoColor=white" alt="Full-Screen TUI">
|
|
18
26
|
<img src="https://img.shields.io/badge/Dependencies-Zero%20External-22c55e?logo=python&logoColor=white" alt="Zero Dependencies">
|
|
@@ -178,7 +186,7 @@ The application automatically switches your terminal to an alternate screen buff
|
|
|
178
186
|
### 1. Central Hub & Dashboard
|
|
179
187
|
|
|
180
188
|
```text
|
|
181
|
-
◈ AISCOUT v2.4.
|
|
189
|
+
◈ AISCOUT v2.4.4 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
|
|
182
190
|
|
|
183
191
|
█████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
|
|
184
192
|
██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
|
|
@@ -214,7 +222,7 @@ The application automatically switches your terminal to an alternate screen buff
|
|
|
214
222
|
The interactive table allows fluid inspection of all detected secrets with multi-criteria sorting and instantaneous full-text filtering:
|
|
215
223
|
|
|
216
224
|
```text
|
|
217
|
-
◈ AISCOUT v2.4.
|
|
225
|
+
◈ AISCOUT v2.4.4 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
|
|
218
226
|
|
|
219
227
|
📋 SECRET EXPLORER (1/21) — Mode : MASKED 🛡️ │ Sort : Severity (🔴 > 🟡 > 🔵)
|
|
220
228
|
|
|
@@ -235,7 +243,7 @@ The interactive table allows fluid inspection of all detected secrets with multi
|
|
|
235
243
|
Pressing `/` opens an inline prompt directly in the status bar. The table updates dynamically with every keystroke:
|
|
236
244
|
|
|
237
245
|
```text
|
|
238
|
-
◈ AISCOUT v2.4.
|
|
246
|
+
◈ AISCOUT v2.4.4 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
|
|
239
247
|
|
|
240
248
|
📋 SECRET EXPLORER (1/3) — Mode : MASKED 🛡️ │ Sort : Severity (🔴 > 🟡 > 🔵)
|
|
241
249
|
🔍 Active filter: "github" (3 matching secrets) │ [Backspace/Esc] Clear
|
|
@@ -255,7 +263,7 @@ Pressing `/` opens an inline prompt directly in the status bar. The table update
|
|
|
255
263
|
Pressing `Enter` on any row displays a full diagnostic modal card highlighting the source file, context, and remediation recommendations:
|
|
256
264
|
|
|
257
265
|
```text
|
|
258
|
-
◈ AISCOUT v2.4.
|
|
266
|
+
◈ AISCOUT v2.4.4 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
|
|
259
267
|
|
|
260
268
|
╭──────────────────────────────────────────────────────────────────────────────────╮
|
|
261
269
|
│ AUDIT CARD FOR DETECTED SECRET │
|
|
@@ -284,7 +292,7 @@ Pressing `Enter` on any row displays a full diagnostic modal card highlighting t
|
|
|
284
292
|
During scans, redactions, or reports generation, an animated 100ms spinner displays current scan phase and progress percentage:
|
|
285
293
|
|
|
286
294
|
```text
|
|
287
|
-
◈ AISCOUT v2.4.
|
|
295
|
+
◈ AISCOUT v2.4.4 │ User : dev_redious │ Host : workstation 12/09/2026 22:30
|
|
288
296
|
|
|
289
297
|
█████╗ ██╗ ███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
|
|
290
298
|
██╔══██╗██║ ██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝
|
|
@@ -320,7 +328,7 @@ During scans, redactions, or reports generation, an animated 100ms spinner displ
|
|
|
320
328
|
The **Watchdog** mode turns `aiscout` into a background sentinel:
|
|
321
329
|
|
|
322
330
|
```text
|
|
323
|
-
◈ AISCOUT v2.4.
|
|
331
|
+
◈ AISCOUT v2.4.4 │ User : dev_redious │ Host : workstation 12/09/2026 22:21
|
|
324
332
|
|
|
325
333
|
📡 REAL-TIME MONITORING (WATCHDOG) │ 🟢 [ACTIVE SENTINEL]
|
|
326
334
|
Detects active AI sessions writing to disk and sends instant desktop alerts
|
|
@@ -351,7 +359,7 @@ The **Watchdog** mode turns `aiscout` into a background sentinel:
|
|
|
351
359
|
TUI Menu `[7]` provides complete control over backup files created prior to sanitization:
|
|
352
360
|
|
|
353
361
|
```text
|
|
354
|
-
◈ AISCOUT v2.4.
|
|
362
|
+
◈ AISCOUT v2.4.4 │ User : dev_redious │ Host : workstation 12/09/2026 22:22
|
|
355
363
|
|
|
356
364
|
↩️ SAFE RESTORE & BACKUP MANAGER (.BAK)
|
|
357
365
|
Restore original files before redaction or purge stale backup copies.
|
package/ai_secret_scout.py
CHANGED
package/bin/aiscout.js
CHANGED
|
@@ -5,7 +5,7 @@ const path = require("node:path");
|
|
|
5
5
|
const { runCheck } = require("./check-environment");
|
|
6
6
|
|
|
7
7
|
// Valide la présence et la version de Node (>=16) et Python (>=3.10)
|
|
8
|
-
const pyCmd = runCheck(
|
|
8
|
+
const pyCmd = runCheck();
|
|
9
9
|
|
|
10
10
|
const pyScript = path.join(__dirname, "..", "ai_secret_scout.py");
|
|
11
11
|
|
package/bin/check-environment.js
CHANGED
|
@@ -114,58 +114,11 @@ function getInstallSuggestion(isFr) {
|
|
|
114
114
|
return `👉 Recommended installation command for your distribution:\n ${cmd}`;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
function runCheck(
|
|
117
|
+
function runCheck() {
|
|
118
118
|
const isFr = isFrenchLocale();
|
|
119
119
|
const nodeStatus = checkNodeVersion();
|
|
120
120
|
const pyStatus = checkPythonVersion();
|
|
121
121
|
|
|
122
|
-
if (isPostinstall) {
|
|
123
|
-
// Mode postinstall lors du npm install -g
|
|
124
|
-
if (nodeStatus.ok && pyStatus.ok) {
|
|
125
|
-
console.log(
|
|
126
|
-
"\x1b[32m✔ AI Secret Scout - Environment check passed:\x1b[0m",
|
|
127
|
-
);
|
|
128
|
-
console.log(` • Node.js : ${nodeStatus.version} (OK)`);
|
|
129
|
-
console.log(` • Python : ${pyStatus.version} (${pyStatus.cmd} - OK)`);
|
|
130
|
-
console.log(
|
|
131
|
-
"\x1b[36m🚀 AI Secret Scout is ready to run! Type: aiscout\x1b[0m\n",
|
|
132
|
-
);
|
|
133
|
-
return true;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
if (!nodeStatus.ok) {
|
|
137
|
-
console.warn(
|
|
138
|
-
`\x1b[33m⚠️ Warning: Node.js version ${nodeStatus.version} detected. AI Secret Scout recommends Node.js >= 16.0.0.\x1b[0m`,
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
if (!pyStatus.ok) {
|
|
143
|
-
console.warn(
|
|
144
|
-
"\x1b[33m──────────────────────────────────────────────────────────────────\x1b[0m",
|
|
145
|
-
);
|
|
146
|
-
if (pyStatus.tooOld) {
|
|
147
|
-
console.warn(
|
|
148
|
-
`\x1b[33m⚠️ Warning: Python ${pyStatus.version} found via '${pyStatus.cmd}', but AI Secret Scout requires Python >= 3.10.\x1b[0m`,
|
|
149
|
-
);
|
|
150
|
-
} else {
|
|
151
|
-
console.warn(
|
|
152
|
-
"\x1b[33m⚠️ Warning: Python 3 was not detected on your system.\x1b[0m",
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
console.warn(
|
|
156
|
-
isFr
|
|
157
|
-
? "AI Secret Scout nécessite Python 3.10+ pour exécuter le moteur d'analyse TUI."
|
|
158
|
-
: "AI Secret Scout requires Python 3.10+ to run the core TUI security engine.",
|
|
159
|
-
);
|
|
160
|
-
console.warn(getInstallSuggestion(isFr));
|
|
161
|
-
console.warn(
|
|
162
|
-
"\x1b[33m──────────────────────────────────────────────────────────────────\x1b[0m\n",
|
|
163
|
-
);
|
|
164
|
-
}
|
|
165
|
-
return true;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
// Mode runtime direct (aiscout execution)
|
|
169
122
|
if (!nodeStatus.ok) {
|
|
170
123
|
console.error(
|
|
171
124
|
isFr
|
|
@@ -209,8 +162,7 @@ function runCheck(isPostinstall = false) {
|
|
|
209
162
|
}
|
|
210
163
|
|
|
211
164
|
if (require.main === module) {
|
|
212
|
-
|
|
213
|
-
runCheck(isPostinstall);
|
|
165
|
+
runCheck();
|
|
214
166
|
}
|
|
215
167
|
|
|
216
168
|
module.exports = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-secret-scout",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.4",
|
|
4
4
|
"description": "Zero-dependency heuristic secret scanner & redaction tool for AI coding assistants (Claude Code, Antigravity, Codex, Copilot, Cursor)",
|
|
5
5
|
"homepage": "https://github.com/DevRedious/ai-secret-scout#readme",
|
|
6
6
|
"repository": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"README.fr.md"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"postinstall": "node ./bin/check-environment.js --postinstall",
|
|
26
25
|
"start": "node ./bin/aiscout.js",
|
|
26
|
+
"test": "node --test",
|
|
27
27
|
"format": "biome format --write .",
|
|
28
28
|
"lint": "biome lint .",
|
|
29
29
|
"check": "biome check --write .",
|