fix: try/except in _scan_component, serialize_finding to prevent data injection, DRY LLM template, SUPPORTED_ECOSYSTEMS constant

This commit is contained in:
Marker689
2026-05-11 19:45:49 +03:00
parent 6743321463
commit a6cd20e41c
8 changed files with 67 additions and 83 deletions

View File

@@ -32,6 +32,7 @@ METADATA_PATTERNS = (
# ---------------------------------------------------------------------------
DEFAULT_ECOSYSTEM = "pypi"
SUPPORTED_ECOSYSTEMS = frozenset({"pypi", "go", "npm"})
# ---------------------------------------------------------------------------
# Severity