-
Notifications
You must be signed in to change notification settings - Fork 0
[INCORPORATED] Fix/credentials audit burn down sprint1-4 #458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8bf404e
fix(product-webhook): ssot-bypass + module-scope → credential vault
TIPROMO 2b97be3
fix(secure-upload): ssot-bypass → credential vault
TIPROMO 1100987
fix(send-scheduled-reports): ssot-bypass → credential vault
TIPROMO 0674364
fix(simulation-orchestrator): ssot-bypass → credential vault
TIPROMO ed773d1
fix(webhook-dispatcher): ssot-bypass → credential vault
TIPROMO 87f83eb
fix(sync-external-db): ssot-bypass → credential vault
TIPROMO 56504fb
fix(expert-chat): ssot-bypass → credential vault (4 issues)
TIPROMO f2e8802
chore(baseline): update after Sprints 1-4 fixes (28 → 7 issues)
TIPROMO 0221006
chore(baseline): fix baseline format — array issues[] (was signatures…
TIPROMO 0d42b1a
fix(lint): corrige 3 erros ESLint pós-merge
TIPROMO File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,33 +1,12 @@ | ||
| { | ||
| "generated_at": "2026-05-26T12:06:33.381Z", | ||
| "schema": "v2-counts", | ||
| "issue_count": 28, | ||
| "signatures": { | ||
| "supabase/functions/categories-api/index.ts:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_KEY": 1, | ||
| "supabase/functions/categories-api/index.ts:ssot-bypass:EXTERNAL_SUPABASE_URL": 1, | ||
| "supabase/functions/cleanup-novelties/index.ts:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_KEY": 1, | ||
| "supabase/functions/cleanup-novelties/index.ts:ssot-bypass:EXTERNAL_SUPABASE_URL": 1, | ||
| "supabase/functions/cnpj-lookup/index.ts:ssot-bypass:SIMULATION_BYPASS_KEY": 1, | ||
| "supabase/functions/expert-chat/index.ts:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_KEY": 2, | ||
| "supabase/functions/expert-chat/index.ts:ssot-bypass:EXTERNAL_SUPABASE_URL": 2, | ||
| "supabase/functions/external-db-inspect/index.ts:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_KEY": 1, | ||
| "supabase/functions/external-db-inspect/index.ts:ssot-bypass:EXTERNAL_SUPABASE_URL": 1, | ||
| "supabase/functions/health-check/index.ts:module-scope-credential-read:EXTERNAL_SUPABASE_SERVICE_KEY": 1, | ||
| "supabase/functions/health-check/index.ts:module-scope-credential-read:EXTERNAL_SUPABASE_URL": 1, | ||
| "supabase/functions/health-check/index.ts:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_KEY": 1, | ||
| "supabase/functions/health-check/index.ts:ssot-bypass:EXTERNAL_SUPABASE_URL": 1, | ||
| "supabase/functions/materials-api/index.ts:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_KEY": 1, | ||
| "supabase/functions/materials-api/index.ts:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_ROLE_KEY": 1, | ||
| "supabase/functions/materials-api/index.ts:ssot-bypass:EXTERNAL_SUPABASE_URL": 1, | ||
| "supabase/functions/product-webhook/index.ts:module-scope-credential-read:N8N_PRODUCT_WEBHOOK_SECRET": 1, | ||
| "supabase/functions/product-webhook/index.ts:ssot-bypass:N8N_PRODUCT_WEBHOOK_SECRET": 1, | ||
| "supabase/functions/product-webhook/index.ts:ssot-bypass:N8N_PRODUCT_WEBHOOK_TOLERANCE_SEC": 1, | ||
| "supabase/functions/secure-upload/index.ts:ssot-bypass:VIRUSTOTAL_API_KEY": 1, | ||
| "supabase/functions/send-scheduled-reports/index.ts:ssot-bypass:RESEND_API_KEY": 1, | ||
| "supabase/functions/simulation-orchestrator/index.ts:ssot-bypass:N8N_PRODUCT_WEBHOOK_SECRET": 1, | ||
| "supabase/functions/sync-external-db/index.ts:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_KEY": 1, | ||
| "supabase/functions/sync-external-db/index.ts:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_ROLE_KEY": 1, | ||
| "supabase/functions/sync-external-db/index.ts:ssot-bypass:EXTERNAL_SUPABASE_URL": 1, | ||
| "supabase/functions/webhook-dispatcher/index.ts:ssot-bypass:WEBHOOK_DISPATCHER_SECRET": 1 | ||
| } | ||
| "generated_at": "2026-05-26T15:49:16.936Z", | ||
| "issue_count": 6, | ||
| "issues": [ | ||
| "supabase/functions/categories-api/index.ts:28:ssot-bypass:EXTERNAL_SUPABASE_URL", | ||
| "supabase/functions/categories-api/index.ts:29:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_KEY", | ||
| "supabase/functions/cleanup-novelties/index.ts:38:ssot-bypass:EXTERNAL_SUPABASE_URL", | ||
| "supabase/functions/cleanup-novelties/index.ts:39:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_KEY", | ||
| "supabase/functions/external-db-inspect/index.ts:78:ssot-bypass:EXTERNAL_SUPABASE_URL", | ||
| "supabase/functions/external-db-inspect/index.ts:79:ssot-bypass:EXTERNAL_SUPABASE_SERVICE_KEY" | ||
| ] | ||
| } |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remover fallback de segredo hardcoded em Line 64.
?? "sim-secret"introduz segredo previsível quando o vault falha/ausenta credencial, enfraquecendo a proteção do webhook. Falhe fechado com 503 em vez de usar default secreto.💡 Patch sugerido
As per coding guidelines "Secrets sempre via Deno.env.get(), NUNCA hardcoded".
🤖 Prompt for AI Agents