{"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-e628a713c4cb226c", "name": "Insecure pattern 'cors_wildcard' in server.py:37", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in server.py:37"}, "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-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:\nserver.py:get_negotiations, server.py:get_negotiation\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-4c4697e4e65c21f9", "name": "FastAPI POST `post_negotiate` without auth dependency \u2014 server.py:84", "shortDescription": {"text": "FastAPI POST `post_negotiate` without auth dependency \u2014 server.py:84"}, "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/27038"}, "properties": {"repository": "junnam586/agentdeal", "repoUrl": "https://github.com/junnam586/agentdeal", "branch": "main"}, "results": [{"ruleId": "scanner-e628a713c4cb226c", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in server.py:37"}, "properties": {"repobilityId": "8785661a35cadd9b", "scanner": "scanner-primary", "fingerprint": "e628a713c4cb226c", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server.py"}, "region": {"startLine": 37}}}]}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "26e068f728050b57", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-4c4697e4e65c21f9", "level": "error", "message": {"text": "FastAPI POST `post_negotiate` without auth dependency \u2014 server.py:84"}, "properties": {"repobilityId": "ab174386da4c09c4", "scanner": "scanner-primary", "fingerprint": "4c4697e4e65c21f9", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server.py"}, "region": {"startLine": 84}}}]}]}]}