From 3c349d0ace09ef73e8e739de2faae2934e4106fa Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 13 Jan 2026 15:57:34 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-13T15:57:34Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/commands/security.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/v3/@claude-flow/cli/src/commands/security.ts b/v3/@claude-flow/cli/src/commands/security.ts index de980b22aa..bc92f960cf 100644 --- a/v3/@claude-flow/cli/src/commands/security.ts +++ b/v3/@claude-flow/cli/src/commands/security.ts @@ -396,19 +396,22 @@ const secretsCommand: Command = { await new Promise(r => setTimeout(r, 800)); spinner.succeed('Scan complete'); + output.writeln(); + output.writeln(output.warning('⚠ No real secrets scan performed. Showing example findings.')); + output.writeln(output.dim('Run "claude-flow security scan --depth full" for real secret detection.')); output.writeln(); output.printTable({ columns: [ - { key: 'type', header: 'Secret Type', width: 20 }, + { key: 'type', header: 'Secret Type (Example)', width: 25 }, { key: 'location', header: 'Location', width: 30 }, { key: 'risk', header: 'Risk', width: 12 }, { key: 'action', header: 'Recommended', width: 20 }, ], data: [ - { type: 'AWS Access Key', location: 'src/config.ts:15', risk: output.error('Critical'), action: 'Rotate immediately' }, - { type: 'GitHub Token', location: '.env.example:8', risk: output.warning('High'), action: 'Remove from repo' }, - { type: 'JWT Secret', location: 'src/auth.ts:42', risk: output.warning('High'), action: 'Use env variable' }, - { type: 'DB Password', location: 'docker-compose.yml:23', risk: output.warning('Medium'), action: 'Use secrets mgmt' }, + { type: 'AWS Access Key', location: 'example/config.ts:15', risk: output.error('Critical'), action: 'Rotate immediately' }, + { type: 'GitHub Token', location: 'example/.env:8', risk: output.warning('High'), action: 'Remove from repo' }, + { type: 'JWT Secret', location: 'example/auth.ts:42', risk: output.warning('High'), action: 'Use env variable' }, + { type: 'DB Password', location: 'example/compose.yml:23', risk: output.warning('Medium'), action: 'Use secrets mgmt' }, ], });