{"version": "2.1.0", "$schema": "https://json.schemastore.org/sarif-2.1.0.json", "runs": [{"tool": {"driver": {"name": "Repobility", "informationUri": "https://repobility.com", "rules": [{"id": "scanner-a782e0631ce0e796", "name": "Possibly dead Python function: sync_sheets_to_supabase", "shortDescription": {"text": "Possibly dead Python function: sync_sheets_to_supabase"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-d068ccb460d8e18a", "name": "Possibly dead Python function: is_all_bloques_scored", "shortDescription": {"text": "Possibly dead Python function: is_all_bloques_scored"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8d5e1b76ee59625a", "name": "Possibly dead Python function: is_ofertas_completed", "shortDescription": {"text": "Possibly dead Python function: is_ofertas_completed"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-632c4d0ce53320fb", "name": "Possibly dead Python function: is_expired", "shortDescription": {"text": "Possibly dead Python function: is_expired"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-7e8651c79d9b7662", "name": "Possibly dead Python function: send_message", "shortDescription": {"text": "Possibly dead Python function: send_message"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-f6051f3a1ddb3588", "name": "Possibly dead Python function: download_media", "shortDescription": {"text": "Possibly dead Python function: download_media"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6eef73cd6d4242f5", "name": "Possibly dead Python function: check_expired_confirmations", "shortDescription": {"text": "Possibly dead Python function: check_expired_confirmations"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-42c5d0ce103dddfe", "name": "Possibly dead Python function: check_incomplete_respuestas_timeout", "shortDescription": {"text": "Possibly dead Python function: check_incomplete_respuestas_timeout"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ab52e2fc970c4100", "name": "Possibly dead Python function: check_expired_audit_sessions", "shortDescription": {"text": "Possibly dead Python function: check_expired_audit_sessions"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-70d9efb0e1bfc3c6", "name": "Possibly dead Python function: daily_summary_job", "shortDescription": {"text": "Possibly dead Python function: daily_summary_job"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2dc4bf346d6ca27f", "name": "Possibly dead Python function: regenerate_thumbnails_job", "shortDescription": {"text": "Possibly dead Python function: regenerate_thumbnails_job"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-c096986defedd2cc", "name": "Possibly dead Python function: verify_tables_accessible", "shortDescription": {"text": "Possibly dead Python function: verify_tables_accessible"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-d63da3583b14afc0", "name": "Dockerfile runs as root: Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: Dockerfile"}, "fullDescription": {"text": "No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e066691601852931", "name": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-a8594ae9da7bc25d", "name": "Insecure pattern 'cors_wildcard' in main.py:41", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in main.py:41"}, "fullDescription": {"text": "Found a known-risky pattern (cors_wildcard). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-d58d074dea4307f5", "name": "Very large file: audit_handlers.py (1285 lines)", "shortDescription": {"text": "Very large file: audit_handlers.py (1285 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2fc6a089f85bc703", "name": "Very large file: main.py (1420 lines)", "shortDescription": {"text": "Very large file: main.py (1420 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6035a6d55ac6825d", "name": "Very large file: router.py (6563 lines)", "shortDescription": {"text": "Very large file: router.py (6563 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-61288663737c5b07", "name": "Very large file: supabase_manager.py (1730 lines)", "shortDescription": {"text": "Very large file: supabase_manager.py (1730 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 34 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-62ffb549903b9c55", "name": "Legacy-named symbol `auditoria_v2` in audit_handlers.py:460", "shortDescription": {"text": "Legacy-named symbol `auditoria_v2` in audit_handlers.py:460"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3e1078854b1a2d77", "name": "Legacy-named symbol `test_collector_failure_does_not_fall_back_to_legacy` in test_respuesta_recolectora.py:182", "shortDescription": {"text": "Legacy-named symbol `test_collector_failure_does_not_fall_back_to_legacy` in test_respuesta_recolectora.py:182"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-e81fbf9b1cab42f0", "name": "Stub function `execute` (body is just `pass`/`return`) \u2014 test_respuesta_recolectora.py:29", "shortDescription": {"text": "Stub function `execute` (body is just `pass`/`return`) \u2014 test_respuesta_recolectora.py:29"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-83184dea90131114", "name": "Legacy-named symbol `whatsapp_audit_v2` in audit_database.py:125", "shortDescription": {"text": "Legacy-named symbol `whatsapp_audit_v2` in audit_database.py:125"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3ed0c4b65ee64326", "name": "Commented-code block (7 lines) in main.py:435", "shortDescription": {"text": "Commented-code block (7 lines) in main.py:435"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-6de54f9d082b3b49", "name": "Legacy-named symbol `audit_session_v2` in router.py:2216", "shortDescription": {"text": "Legacy-named symbol `audit_session_v2` in router.py:2216"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-319e66a630e14977", "name": "2 env vars used in code but missing from .env.example", "shortDescription": {"text": "2 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `SUPABASE_SERVICE_KEY`, `SUPABASE_URL`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-be46ea126aa5d8dc", "name": "Near-duplicate function bodies in 3 places", "shortDescription": {"text": "Near-duplicate function bodies in 3 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\naudit_session.py:to_dict, audit_session.py:to_dict, audit_session.py:to_dict\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2c04133e54348533", "name": "Near-duplicate function bodies in 2 places", "shortDescription": {"text": "Near-duplicate function bodies in 2 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nmeta_client.py:send_text_with_id, meta_client.py:send_text\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-defac529ca229148", "name": "FastAPI POST `send_encargado_notification` without auth dependency \u2014 main.py:464", "shortDescription": {"text": "FastAPI POST `send_encargado_notification` without auth dependency \u2014 main.py:464"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-0e3868b69fbe98d0", "name": "FastAPI POST `create_internal_message` without auth dependency \u2014 main.py:492", "shortDescription": {"text": "FastAPI POST `create_internal_message` without auth dependency \u2014 main.py:492"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-a021f0924325eac0", "name": "FastAPI POST `create_panel_user` without auth dependency \u2014 main.py:557", "shortDescription": {"text": "FastAPI POST `create_panel_user` without auth dependency \u2014 main.py:557"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-e261d956b4d30664", "name": "FastAPI PATCH `update_panel_user` without auth dependency \u2014 main.py:607", "shortDescription": {"text": "FastAPI PATCH `update_panel_user` without auth dependency \u2014 main.py:607"}, "fullDescription": {"text": "`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-948d9063ee966ce8", "name": "FastAPI POST `create_perfumeria_deviations` without auth dependency \u2014 main.py:711", "shortDescription": {"text": "FastAPI POST `create_perfumeria_deviations` without auth dependency \u2014 main.py:711"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-0ccde68e13a37b4d", "name": "FastAPI POST `regenerate_thumbnails_endpoint` without auth dependency \u2014 main.py:1304", "shortDescription": {"text": "FastAPI POST `regenerate_thumbnails_endpoint` without auth dependency \u2014 main.py:1304"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/28121"}, "properties": {"repository": "nacholuquez20-source/FarmaAudit", "repoUrl": "https://github.com/nacholuquez20-source/FarmaAudit", "branch": "main"}, "results": [{"ruleId": "scanner-a782e0631ce0e796", "level": "note", "message": {"text": "Possibly dead Python function: sync_sheets_to_supabase"}, "properties": {"repobilityId": "d54f60f29833fee8", "scanner": "scanner-primary", "fingerprint": "a782e0631ce0e796", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sync_sheets_to_supabase.py:227"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d068ccb460d8e18a", "level": "note", "message": {"text": "Possibly dead Python function: is_all_bloques_scored"}, "properties": {"repobilityId": "27c81d790394e0d5", "scanner": "scanner-primary", "fingerprint": "d068ccb460d8e18a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "audit_session.py:214"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8d5e1b76ee59625a", "level": "note", "message": {"text": "Possibly dead Python function: is_ofertas_completed"}, "properties": {"repobilityId": "6ddfb3ffa69f76d3", "scanner": "scanner-primary", "fingerprint": "8d5e1b76ee59625a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "audit_session.py:218"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-632c4d0ce53320fb", "level": "note", "message": {"text": "Possibly dead Python function: is_expired"}, "properties": {"repobilityId": "43d05883fea1f364", "scanner": "scanner-primary", "fingerprint": "632c4d0ce53320fb", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "audit_session.py:292"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7e8651c79d9b7662", "level": "note", "message": {"text": "Possibly dead Python function: send_message"}, "properties": {"repobilityId": "1249251570e4ca4d", "scanner": "scanner-primary", "fingerprint": "7e8651c79d9b7662", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "meta_client.py:106"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f6051f3a1ddb3588", "level": "note", "message": {"text": "Possibly dead Python function: download_media"}, "properties": {"repobilityId": "99eaf2d68dcc36b9", "scanner": "scanner-primary", "fingerprint": "f6051f3a1ddb3588", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "meta_client.py:130"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6eef73cd6d4242f5", "level": "note", "message": {"text": "Possibly dead Python function: check_expired_confirmations"}, "properties": {"repobilityId": "2c3f9deae627a739", "scanner": "scanner-primary", "fingerprint": "6eef73cd6d4242f5", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:1002"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-42c5d0ce103dddfe", "level": "note", "message": {"text": "Possibly dead Python function: check_incomplete_respuestas_timeout"}, "properties": {"repobilityId": "2acc1cd49afcf2a8", "scanner": "scanner-primary", "fingerprint": "42c5d0ce103dddfe", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:1045"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ab52e2fc970c4100", "level": "note", "message": {"text": "Possibly dead Python function: check_expired_audit_sessions"}, "properties": {"repobilityId": "10dff947a992d374", "scanner": "scanner-primary", "fingerprint": "ab52e2fc970c4100", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:1151"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-70d9efb0e1bfc3c6", "level": "note", "message": {"text": "Possibly dead Python function: daily_summary_job"}, "properties": {"repobilityId": "3b0e4365b7003709", "scanner": "scanner-primary", "fingerprint": "70d9efb0e1bfc3c6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:1266"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2dc4bf346d6ca27f", "level": "note", "message": {"text": "Possibly dead Python function: regenerate_thumbnails_job"}, "properties": {"repobilityId": "6268e481cd31bad4", "scanner": "scanner-primary", "fingerprint": "2dc4bf346d6ca27f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:1294"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c096986defedd2cc", "level": "note", "message": {"text": "Possibly dead Python function: verify_tables_accessible"}, "properties": {"repobilityId": "34c08ce930052935", "scanner": "scanner-primary", "fingerprint": "c096986defedd2cc", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "supabase_manager.py:56"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d63da3583b14afc0", "level": "warning", "message": {"text": "Dockerfile runs as root: Dockerfile"}, "properties": {"repobilityId": "a2ed1bd120e507db", "scanner": "scanner-primary", "fingerprint": "d63da3583b14afc0", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-e066691601852931", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim"}, "properties": {"repobilityId": "f391052c9bfd7e8b", "scanner": "scanner-primary", "fingerprint": "e066691601852931", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a8594ae9da7bc25d", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in main.py:41"}, "properties": {"repobilityId": "7efce937690fb5d6", "scanner": "scanner-primary", "fingerprint": "a8594ae9da7bc25d", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py"}, "region": {"startLine": 41}}}]}, {"ruleId": "scanner-d58d074dea4307f5", "level": "note", "message": {"text": "Very large file: audit_handlers.py (1285 lines)"}, "properties": {"repobilityId": "9032c1e862139cfc", "scanner": "scanner-primary", "fingerprint": "d58d074dea4307f5", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-2fc6a089f85bc703", "level": "note", "message": {"text": "Very large file: main.py (1420 lines)"}, "properties": {"repobilityId": "d28330f452f23706", "scanner": "scanner-primary", "fingerprint": "2fc6a089f85bc703", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-6035a6d55ac6825d", "level": "note", "message": {"text": "Very large file: router.py (6563 lines)"}, "properties": {"repobilityId": "f279f6b53c083f53", "scanner": "scanner-primary", "fingerprint": "6035a6d55ac6825d", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-61288663737c5b07", "level": "note", "message": {"text": "Very large file: supabase_manager.py (1730 lines)"}, "properties": {"repobilityId": "14cd2fe880f92309", "scanner": "scanner-primary", "fingerprint": "61288663737c5b07", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "117f53f33e6d9427", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "80c1ff9b3257110a", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "4cf3fa11945c6c73", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "2594a44b3bc02cec", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-62ffb549903b9c55", "level": "note", "message": {"text": "Legacy-named symbol `auditoria_v2` in audit_handlers.py:460"}, "properties": {"repobilityId": "2fca21c3e01e6ae7", "scanner": "scanner-primary", "fingerprint": "62ffb549903b9c55", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-3e1078854b1a2d77", "level": "note", "message": {"text": "Legacy-named symbol `test_collector_failure_does_not_fall_back_to_legacy` in test_respuesta_recolectora.py:182"}, "properties": {"repobilityId": "a88d86b5df1d7291", "scanner": "scanner-primary", "fingerprint": "3e1078854b1a2d77", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-e81fbf9b1cab42f0", "level": "note", "message": {"text": "Stub function `execute` (body is just `pass`/`return`) \u2014 test_respuesta_recolectora.py:29"}, "properties": {"repobilityId": "a3393ede832ee256", "scanner": "scanner-primary", "fingerprint": "e81fbf9b1cab42f0", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-83184dea90131114", "level": "note", "message": {"text": "Legacy-named symbol `whatsapp_audit_v2` in audit_database.py:125"}, "properties": {"repobilityId": "2c5c603f99fb518f", "scanner": "scanner-primary", "fingerprint": "83184dea90131114", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-3ed0c4b65ee64326", "level": "none", "message": {"text": "Commented-code block (7 lines) in main.py:435"}, "properties": {"repobilityId": "dfe70193ca55b569", "scanner": "scanner-primary", "fingerprint": "3ed0c4b65ee64326", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-6de54f9d082b3b49", "level": "note", "message": {"text": "Legacy-named symbol `audit_session_v2` in router.py:2216"}, "properties": {"repobilityId": "e259c11f0cb072ad", "scanner": "scanner-primary", "fingerprint": "6de54f9d082b3b49", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-319e66a630e14977", "level": "none", "message": {"text": "2 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "d838d1fc5d8231c9", "scanner": "scanner-primary", "fingerprint": "319e66a630e14977", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "ac803d41c6d0b30c", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "528093686b5f2533", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "25909393f3d9310f", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "c8a1fbd9951e08f8", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "7cd58779cd54e9fe", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "011bb083b714fa68", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "5a8bae1b8c4daf9a", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "d053caf0c67eb57d", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "02ba08c7a0611ef6", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "4e255872242ef702", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "12428cd8aff4572a", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "bffef08c0a37cc62", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-defac529ca229148", "level": "error", "message": {"text": "FastAPI POST `send_encargado_notification` without auth dependency \u2014 main.py:464"}, "properties": {"repobilityId": "1e43400460dbfcfb", "scanner": "scanner-primary", "fingerprint": "defac529ca229148", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py"}, "region": {"startLine": 464}}}]}, {"ruleId": "scanner-0e3868b69fbe98d0", "level": "error", "message": {"text": "FastAPI POST `create_internal_message` without auth dependency \u2014 main.py:492"}, "properties": {"repobilityId": "90b2bb29ac8f4c8c", "scanner": "scanner-primary", "fingerprint": "0e3868b69fbe98d0", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py"}, "region": {"startLine": 492}}}]}, {"ruleId": "scanner-a021f0924325eac0", "level": "error", "message": {"text": "FastAPI POST `create_panel_user` without auth dependency \u2014 main.py:557"}, "properties": {"repobilityId": "fc8335a12f9bf873", "scanner": "scanner-primary", "fingerprint": "a021f0924325eac0", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py"}, "region": {"startLine": 557}}}]}, {"ruleId": "scanner-e261d956b4d30664", "level": "error", "message": {"text": "FastAPI PATCH `update_panel_user` without auth dependency \u2014 main.py:607"}, "properties": {"repobilityId": "baaf743ce7476220", "scanner": "scanner-primary", "fingerprint": "e261d956b4d30664", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py"}, "region": {"startLine": 607}}}]}, {"ruleId": "scanner-948d9063ee966ce8", "level": "error", "message": {"text": "FastAPI POST `create_perfumeria_deviations` without auth dependency \u2014 main.py:711"}, "properties": {"repobilityId": "b0fa44b32ffc9c7a", "scanner": "scanner-primary", "fingerprint": "948d9063ee966ce8", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py"}, "region": {"startLine": 711}}}]}, {"ruleId": "scanner-0ccde68e13a37b4d", "level": "error", "message": {"text": "FastAPI POST `regenerate_thumbnails_endpoint` without auth dependency \u2014 main.py:1304"}, "properties": {"repobilityId": "7a75ad4749e46239", "scanner": "scanner-primary", "fingerprint": "0ccde68e13a37b4d", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py"}, "region": {"startLine": 1304}}}]}]}]}