Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,11 @@ _builtin_setup_submodules:

_builtin_require_environment:
@if [ ! -x "$(RUNTIME_PYTHON)" ]; then \
printf 'ERROR: missing environment interpreter %s; make setup creates it\n' "$(RUNTIME_PYTHON)" >&2; \
printf '==> environment interpreter missing; provisioning via setup\n' >&2; \
$(SELF_MAKE) setup || exit $$?; \
fi
@if [ ! -x "$(RUNTIME_PYTHON)" ]; then \
printf 'ERROR: setup did not produce the environment interpreter %s\n' "$(RUNTIME_PYTHON)" >&2; \
exit 2; \
fi

Expand Down
29 changes: 29 additions & 0 deletions docs/security/snyk-sast-triage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Triagem Snyk Code (SAST) — flext-sh/flext-cli

Gerado do scan Snyk da org Datacosmos (dump 2026-08-06).

**4 achados** — critical 0, high 0, medium 0, low 4
Comment on lines +1 to +5

| categoria | achados |
|---|---|
| Hardcoded Non-Cryptographic Secret | 3 |
| Use of Hardcoded Passwords | 1 |

## Achados

Coluna **Decisão**: `corrigir` / `falso-positivo` / `risco-aceito`.

| # | sev | categoria | arquivo | linha | CWE | Decisão |
|---|---|---|---|---|---|---|
| 1 | low | Use of Hardcoded Passwords | `tests/unit/_cases/test_examples_smoke/testsflextcliexamplessmoke_part_05.py` | 78 | - | |
| 2 | low | Hardcoded Non-Cryptographic Secret | `tests/unit/test_examples_models_utilities_cov.py` | 153 | - | |
| 3 | low | Hardcoded Non-Cryptographic Secret | `tests/unit/test_examples_models_utilities_cov.py` | 169 | - | |
| 4 | low | Hardcoded Non-Cryptographic Secret | `tests/unit/test_examples_models_utilities_cov.py` | 243 | - | |

## Como triar

1. Abrir `arquivo:linha` e seguir o fluxo de dados até o sink.
2. Classificar: **corrigir** (entrada externa alcança o sink sem sanitização), **falso-positivo** (credencial de fixture, path de constante — registrar em `.snyk` com justificativa), **risco-aceito** (com prazo de revisão).

Dados brutos: `~/snyk-violations/sast/flext-sh__flext-cli.sast.json`

Loading