{"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": "MINED111", "name": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or ", "shortDescription": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "fullDescription": {"text": "Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling."}, "properties": {"scanner": "repobility-ast-engine", "category": "quality", "severity": "medium", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "MINED109", "name": "[MINED109] Mutable default argument in `cost_estimator` (list): `def cost_estimator(... = []/{}/set())` \u2014 Python's defau", "shortDescription": {"text": "[MINED109] Mutable default argument in `cost_estimator` (list): `def cost_estimator(... = []/{}/set())` \u2014 Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it"}, "fullDescription": {"text": "Use None as the default and create the collection inside the function: `def cost_estimator(x=None): x = x or []`"}, "properties": {"scanner": "repobility-ast-engine", "category": "quality", "severity": "medium", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "AGT007", "name": "localStorage write failures are swallowed silently", "shortDescription": {"text": "localStorage write failures are swallowed silently"}, "fullDescription": {"text": "Handle QuotaExceededError explicitly, show a toast or error state, and guide the user to export/clear old local data. Log non-quota failures for diagnostics."}, "properties": {"scanner": "repobility-agent-runtime", "category": "quality", "severity": "medium", "confidence": 0.8, "cwe": "", "owasp": ""}}, {"id": "AGT012", "name": "Agent control bridge may listen on a network interface without visible auth", "shortDescription": {"text": "Agent control bridge may listen on a network interface without visible auth"}, "fullDescription": {"text": "Bind local agent bridges to 127.0.0.1 by default. If remote access is required, require a bearer token or mTLS, enforce origin/CSRF checks for browser clients, and document the threat model."}, "properties": {"scanner": "repobility-agent-runtime", "category": "quality", "severity": "medium", "confidence": 0.72, "cwe": "", "owasp": ""}}, {"id": "CFG006", "name": "[CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build artifacts.", "shortDescription": {"text": "[CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build artifacts."}, "fullDescription": {"text": "Add a .gitignore appropriate for your language/framework."}, "properties": {"scanner": "repobility-threat-engine", "category": "practices", "severity": "medium", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC012", "name": "[SEC012] ZipSlip \u2014 Archive Path Traversal: Archive extraction without path validation allows writing files outside the t", "shortDescription": {"text": "[SEC012] ZipSlip \u2014 Archive Path Traversal: Archive extraction without path validation allows writing files outside the target directory."}, "fullDescription": {"text": "Validate extracted paths with os.path.realpath() and ensure they stay within the target directory."}, "properties": {"scanner": "repobility-threat-engine", "category": "path_traversal", "severity": "medium", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC045", "name": "[SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data \u2014 even admin-stored data \u2014 is a latera", "shortDescription": {"text": "[SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data \u2014 even admin-stored data \u2014 is a lateral-movement vector after any one credential compromise. Sandboxes (__builtins__ cleared) are escapable: attackers use obj"}, "fullDescription": {"text": "For literal data structures: use ast.literal_eval(text) \u2014 only parses literals, raises on code.\nFor formula evaluation: use asteval or simpleeval (purpose-built sandboxes with allow-lists).\nFor Odoo: use odoo.tools.safe_eval(expr, locals_dict, mode='exec').\nIf you genuinely need to execute admin-stored code: require explicit super-admin permission AND log every execution with a stack trace."}, "properties": {"scanner": "repobility-threat-engine", "category": "injection", "severity": "medium", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC034", "name": "[SEC034] Log Injection / Log Forging \u2014 unsanitized user input in log: User input is logged without sanitizing newlines o", "shortDescription": {"text": "[SEC034] Log Injection / Log Forging \u2014 unsanitized user input in log: User input is logged without sanitizing newlines or control characters. Attackers inject `\\n` to forge fake log entries, hide tracks, or exploit downstream log parsers (S"}, "fullDescription": {"text": "Strip control characters before logging:\n  safe = user_input.replace('\\n','').replace('\\r','').replace('\\x00','')\n  logger.info('User action: %s', safe)\nAlways use parameterized logging (`%s` + args), never f-strings or string concat \u2014 that's also what mitigates log4shell-style attacks. For structured logging, use a JSON formatter that escapes values."}, "properties": {"scanner": "repobility-threat-engine", "category": "log_injection", "severity": "medium", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC017", "name": "[SEC017] Unbounded Input to LLM/External API: User input is passed to an LLM or external AI API (OpenAI, Anthropic, etc.", "shortDescription": {"text": "[SEC017] Unbounded Input to LLM/External API: User input is passed to an LLM or external AI API (OpenAI, Anthropic, etc.) without any visible length or size validation. This creates two risks: (1) Cost abuse \u2014 an attacker can send extremely"}, "fullDescription": {"text": "1) Enforce a maximum input length BEFORE sending to the API: e.g. `if len(text) > 4000: return error`. 2) Use token counting (tiktoken for OpenAI, anthropic's token counter) to enforce token-level limits. 3) Set max_tokens on the API call to cap response cost. 4) Add rate limiting per user/IP to prevent automated abuse. 5) Monitor API spend with alerts for unusual usage patterns."}, "properties": {"scanner": "repobility-threat-engine", "category": "llm_injection", "severity": "medium", "confidence": 0.8, "cwe": "", "owasp": ""}}, {"id": "ERR001", "name": "[ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG ", "shortDescription": {"text": "[ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level."}, "fullDescription": {"text": "Log the error: `except Exception: logger.debug('cleanup failed', exc_info=True)`. Or handle specific exception types."}, "properties": {"scanner": "repobility-threat-engine", "category": "error_handling", "severity": "medium", "confidence": 0.45, "cwe": "", "owasp": ""}}, {"id": "SEC136", "name": "[SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all exception block that silently returns ", "shortDescription": {"text": "[SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all exception block that silently returns success or no-ops. AI agents reach for this pattern when a flaky test or an unfamiliar API throws \u2014 wrap, swallow, retur"}, "fullDescription": {"text": "Catch the specific exception type, log at error level with full exception info, and return a failure-shaped result. If the operation is genuinely best-effort, log at warning and document why in a comment so the next reader (or scanner) knows."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "medium", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC068", "name": "[SEC068] Dockerfile: base image uses :latest or no tag: FROM uses :latest or no tag \u2014 builds are not reproducible and ma", "shortDescription": {"text": "[SEC068] Dockerfile: base image uses :latest or no tag: FROM uses :latest or no tag \u2014 builds are not reproducible and may pull a compromised parent image. Ported from trivy DS001 (Apache-2.0)."}, "fullDescription": {"text": "Pin to a specific version tag (e.g. python:3.12.4-slim) or digest (image@sha256:...)."}, "properties": {"scanner": "repobility-threat-engine", "category": "docker", "severity": "medium", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "CFG003", "name": "[CFG003] Docker COPY Everything: Copying entire directory may include secrets and build artifacts.", "shortDescription": {"text": "[CFG003] Docker COPY Everything: Copying entire directory may include secrets and build artifacts."}, "fullDescription": {"text": "Use .dockerignore and COPY specific files/directories."}, "properties": {"scanner": "repobility-threat-engine", "category": "docker", "severity": "low", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC075", "name": "[SEC075] Dockerfile: no HEALTHCHECK: No HEALTHCHECK directive \u2014 orchestrators can't detect a wedged process. Ported from", "shortDescription": {"text": "[SEC075] Dockerfile: no HEALTHCHECK: No HEALTHCHECK directive \u2014 orchestrators can't detect a wedged process. Ported from trivy DS026 / checkov CKV_DOCKER_2 (Apache-2.0). Implement file-level: skip if file contains `^\\s*HEALTHCHECK\\b`."}, "fullDescription": {"text": "Add `HEALTHCHECK CMD curl -f http://localhost:PORT/health || exit 1`."}, "properties": {"scanner": "repobility-threat-engine", "category": "docker", "severity": "low", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "COMP001", "name": "[COMP001] High cognitive complexity: Function `main` has cognitive complexity 9 (SonarSource scale). Cognitive complexit", "shortDescription": {"text": "[COMP001] High cognitive complexity: Function `main` has cognitive complexity 9 (SonarSource scale). Cognitive complexity measures how hard the function is for a human to understand \u2014 nested branches, boolean chains, and recursion all weigh"}, "fullDescription": {"text": "Extract nested branches into named helper functions; flatten early-return / guard clauses; replace long if/elif chains with dispatch dicts or polymorphism. SonarQube's threshold for 'should refactor' is 15 \u2014 yours is 9."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "low", "confidence": 0.95, "cwe": "", "owasp": ""}}, {"id": "MINED045", "name": "[MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError if wrong.", "shortDescription": {"text": "[MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError if wrong."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-476 /  for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC118", "name": "[SEC118] UUIDv1 / UUIDv3 used for security-sensitive identifier: UUIDv1 encodes the MAC address and timestamp, making it", "shortDescription": {"text": "[SEC118] UUIDv1 / UUIDv3 used for security-sensitive identifier: UUIDv1 encodes the MAC address and timestamp, making it predictable. Used as a session token or password-reset key, it's enumerable."}, "fullDescription": {"text": "Use `uuid.uuid4()` (random) or `secrets.token_urlsafe()` for tokens. In Go, use `uuid.NewRandom()` (google/uuid)."}, "properties": {"scanner": "repobility-threat-engine", "category": "crypto", "severity": "info", "confidence": 0.1, "cwe": "", "owasp": ""}}, {"id": "MINED043", "name": "[MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle credentials or data.", "shortDescription": {"text": "[MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle credentials or data."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-319 / A02:2021 for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "MINED052", "name": "[MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety.", "shortDescription": {"text": "[MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-704 /  for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "MINED056", "name": "[MINED056] React Key As Index: key={index} in map() \u2014 re-renders the wrong elements on re-order.", "shortDescription": {"text": "[MINED056] React Key As Index: key={index} in map() \u2014 re-renders the wrong elements on re-order."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-682 /  for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "MINED064", "name": "[MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services.", "shortDescription": {"text": "[MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services."}, "fullDescription": {"text": "Review and fix per the pattern semantics."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "MINED062", "name": "[MINED062] Python Dataclass No Fields (and 1 more): Same pattern found in 1 additional files. Review if needed.", "shortDescription": {"text": "[MINED062] Python Dataclass No Fields (and 1 more): Same pattern found in 1 additional files. Review if needed."}, "fullDescription": {"text": "Review and fix per the pattern semantics."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 0.2, "cwe": "", "owasp": ""}}, {"id": "MINED044", "name": "[MINED044] Js Console Log Prod (and 4 more): Same pattern found in 4 additional files. Review if needed.", "shortDescription": {"text": "[MINED044] Js Console Log Prod (and 4 more): Same pattern found in 4 additional files. Review if needed."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-532 /  for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 0.2, "cwe": "", "owasp": ""}}, {"id": "SEC020", "name": "[SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-bearing value. This is a frequen", "shortDescription": {"text": "[SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-bearing value. This is a frequent AI-assisted coding failure: the helper exposes the exact value needed for troubleshooting."}, "fullDescription": {"text": "Log only redacted, hashed, or last-four-style metadata. Rotate any secret that may have reached logs."}, "properties": {"scanner": "repobility-threat-engine", "category": "credential_exposure", "severity": "info", "confidence": 0.1, "cwe": "", "owasp": ""}}, {"id": "MINED067", "name": "[MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang forever.", "shortDescription": {"text": "[MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang forever."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-400 /  for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC029", "name": "[SEC029] Server-Side Request Forgery (SSRF) \u2014 outbound HTTP from user input (and 6 more): Same pattern found in 6 additi", "shortDescription": {"text": "[SEC029] Server-Side Request Forgery (SSRF) \u2014 outbound HTTP from user input (and 6 more): Same pattern found in 6 additional files. Review if needed."}, "fullDescription": {"text": "Validate the URL against an allowlist BEFORE fetching:\n  ALLOWED = {'images.example.com', 'cdn.example.com'}\n  host = urlparse(url).hostname\n  if host not in ALLOWED: abort(400)\nOr use a server-side proxy (Imgproxy / serve-files-only-from-S3) that isolates outbound network access from the request handler.\nBlock private CIDRs explicitly: 10/8, 172.16/12, 192.168/16, 169.254/16."}, "properties": {"scanner": "repobility-threat-engine", "category": "ssrf", "severity": "info", "confidence": 0.2, "cwe": "", "owasp": ""}}, {"id": "MINED001", "name": "[MINED001] Bare Except Pass (and 1 more): Same pattern found in 1 additional files. Review if needed.", "shortDescription": {"text": "[MINED001] Bare Except Pass (and 1 more): Same pattern found in 1 additional files. Review if needed."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-755 /  for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 0.2, "cwe": "", "owasp": ""}}, {"id": "MINED050", "name": "[MINED050] Stub Only Function (and 4 more): Same pattern found in 4 additional files. Review if needed.", "shortDescription": {"text": "[MINED050] Stub Only Function (and 4 more): Same pattern found in 4 additional files. Review if needed."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-1188 /  for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 0.2, "cwe": "", "owasp": ""}}, {"id": "MINED055", "name": "[MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versions on every build) instead of ", "shortDescription": {"text": "[MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versions on every build) instead of npm ci."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-1357 / A06:2021 for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "info", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "MINED112", "name": "[MINED112] FastAPI POST /api/traces/ingest has no auth: Handler `ingest_traces` is registered with router/app.post(...) ", "shortDescription": {"text": "[MINED112] FastAPI POST /api/traces/ingest has no auth: Handler `ingest_traces` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body."}, "fullDescription": {"text": "Add Depends(get_current_user) or Security(...) to the handler signature. If the route is truly public, document it with a code comment so the rule knows it's intentional."}, "properties": {"scanner": "repobility-route-auth", "category": "quality", "severity": "high", "confidence": 0.8, "cwe": "", "owasp": ""}}, {"id": "MINED106", "name": "[MINED106] Phantom test coverage: test_validate_output_rejects_missing_run_grade_mean: Test function `test_validate_outp", "shortDescription": {"text": "[MINED106] Phantom test coverage: test_validate_output_rejects_missing_run_grade_mean: Test function `test_validate_output_rejects_missing_run_grade_mean` runs code but contains no assert / expect / should call \u2014 it passes regardless of beh"}, "fullDescription": {"text": "Add an explicit assertion that captures the test's intent, or remove the test."}, "properties": {"scanner": "repobility-ast-engine", "category": "quality", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "MINED110", "name": "[MINED110] Blocking call `input` inside async function `run_agent`: `input` is a synchronous (blocking) call. When invok", "shortDescription": {"text": "[MINED110] Blocking call `input` inside async function `run_agent`: `input` is a synchronous (blocking) call. When invoked inside an `async def` it stalls the event loop, preventing every other coroutine in the process from making progress."}, "fullDescription": {"text": "Use the async equivalent: `aiohttp` instead of `requests`, `asyncio.sleep` instead of `time.sleep`, `aiofiles` instead of `open`."}, "properties": {"scanner": "repobility-ast-engine", "category": "quality", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "MINED108", "name": "[MINED108] `self.get_state` used but never assigned in __init__: Method `should_continue_tuning` of class `ThresholdAdju", "shortDescription": {"text": "[MINED108] `self.get_state` used but never assigned in __init__: Method `should_continue_tuning` of class `ThresholdAdjuster` reads `self.get_state`, but no assignment to it exists in __init__ (and no class-level fallback). This raises Attr"}, "fullDescription": {"text": "Initialize `self.get_state = <default>` in __init__, or add a class-level default."}, "properties": {"scanner": "repobility-ast-engine", "category": "quality", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC040", "name": "[SEC040] innerHTML XSS \u2014 template literal with server-supplied data: Setting .innerHTML with a template literal that int", "shortDescription": {"text": "[SEC040] innerHTML XSS \u2014 template literal with server-supplied data: Setting .innerHTML with a template literal that interpolates server-supplied or user-supplied data is the canonical stored/reflected XSS vector. The browser parses the HTM"}, "fullDescription": {"text": "For plain text: use el.textContent = data.value (auto-escapes).\nFor HTML you need to render: el.innerHTML = DOMPurify.sanitize(html).\nFor React/Vue/Svelte: stop using innerHTML; use the framework's binding.\nWhen data comes from CV/PDF parsers, sanitize at the parser boundary too."}, "properties": {"scanner": "repobility-threat-engine", "category": "xss", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC085", "name": "[SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived input enables command injection. ", "shortDescription": {"text": "[SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived input enables command injection. Ported from eslint-plugin-security detect-child-process (Apache-2.0)."}, "fullDescription": {"text": "Use execFile / spawn with separate args array; never pass shell strings."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC135", "name": "[SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint generated by an AI agent without", "shortDescription": {"text": "[SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint generated by an AI agent without an auth decorator or middleware. The number-one production-incident pattern we see in AI-generated SaaS code: the AI bu"}, "fullDescription": {"text": "Add the project's auth decorator/middleware: `@login_required` (Django/Flask), `@permission_classes([IsAuthenticated])` (DRF), `Depends(get_current_user)` (FastAPI), `requireAuth` middleware (Express). For genuinely public endpoints, add a `# public-endpoint` marker comment so future scans skip them."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC128", "name": "[SEC128] Async function without await \u2014 fire-and-forget Promise (AI mistake): Async call invoked without `await` returns", "shortDescription": {"text": "[SEC128] Async function without await \u2014 fire-and-forget Promise (AI mistake): Async call invoked without `await` returns an unhandled Promise. The outer function resolves before the inner work completes \u2014 DB writes lost, emails not sent, ra"}, "fullDescription": {"text": "Add `await` before each async call, or chain with `.then`. If you intentionally want fire-and-forget, prefix with `void` (TS) or assign to `_` (Python with `asyncio.create_task`) to make the intent explicit and survive lint."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC103", "name": "[SEC103] LDAP injection \u2014 non-constant search filter: User input concatenated into an LDAP search filter. Attackers inje", "shortDescription": {"text": "[SEC103] LDAP injection \u2014 non-constant search filter: User input concatenated into an LDAP search filter. Attackers inject `*)(uid=*` style payloads to bypass auth or enumerate accounts."}, "fullDescription": {"text": "Escape with javax.naming.ldap.Rdn.escapeValue or equivalent. For python-ldap, use ldap.filter.escape_filter_chars. Better: use parameterized search APIs (Spring LdapTemplate filter encoders)."}, "properties": {"scanner": "repobility-threat-engine", "category": "injection", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC016", "name": "[SEC016] LLM Prompt Injection \u2014 User Input in AI Prompt: User-supplied text is interpolated directly into an AI/LLM prom", "shortDescription": {"text": "[SEC016] LLM Prompt Injection \u2014 User Input in AI Prompt: User-supplied text is interpolated directly into an AI/LLM prompt (e.g. OpenAI, Anthropic, or local model). This is the AI equivalent of SQL injection: an attacker can craft input tha"}, "fullDescription": {"text": "1) Separate user content from instructions: use the 'user' role for user text and 'system' role for your instructions \u2014 never concatenate them into one string. 2) Validate and constrain: limit input length, strip control characters, and reject known injection patterns. 3) Use structured output (JSON mode / function calling) so the model returns data, not freeform actions. 4) Apply output validation: check the AI's response before acting on it. 5) Consider a prompt injection detection layer (e.g. Anthropic's constitutional AI, prompt-guard models)."}, "properties": {"scanner": "repobility-threat-engine", "category": "llm_injection", "severity": "high", "confidence": 0.9, "cwe": "", "owasp": ""}}, {"id": "MINED006", "name": "[MINED006] Overcatch Baseexception: except BaseException: ... \u2014 prevents Ctrl+C and SystemExit from working.", "shortDescription": {"text": "[MINED006] Overcatch Baseexception: except BaseException: ... \u2014 prevents Ctrl+C and SystemExit from working."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-705 /  for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC078", "name": "[SEC078] Python: requests without timeout: requests.get/post without a timeout will hang indefinitely on a non-responsiv", "shortDescription": {"text": "[SEC078] Python: requests without timeout: requests.get/post without a timeout will hang indefinitely on a non-responsive server, causing thread exhaustion and ReDoS. Ported from bandit B113 (Apache-2.0). NOTE: this regex is heuristic; a re"}, "fullDescription": {"text": "Add `timeout=10` (or appropriate value) to every requests call."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC013", "name": "[SEC013] Path Traversal \u2014 User Input in File Path: User-controlled input used in file path without sanitization. Allows ", "shortDescription": {"text": "[SEC013] Path Traversal \u2014 User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files."}, "fullDescription": {"text": "Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads."}, "properties": {"scanner": "repobility-threat-engine", "category": "path_traversal", "severity": "high", "confidence": 0.8, "cwe": "", "owasp": ""}}, {"id": "MINED004", "name": "[MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums).", "shortDescription": {"text": "[MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums)."}, "fullDescription": {"text": "Review and fix per the pattern semantics. See CWE-327 / A02:2021 for context."}, "properties": {"scanner": "repobility-threat-engine", "category": "quality", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "SEC069", "name": "[SEC069] Dockerfile: no USER directive (runs as root): Container runs as root because no USER directive was set. Ported ", "shortDescription": {"text": "[SEC069] Dockerfile: no USER directive (runs as root): Container runs as root because no USER directive was set. Ported from trivy DS002 / checkov CKV_DOCKER_3 (Apache-2.0). Implement as a file-level rule: skip if file contains `^\\s*USER\\s+"}, "fullDescription": {"text": "Add `RUN adduser -D app && USER app` before the CMD/ENTRYPOINT."}, "properties": {"scanner": "repobility-threat-engine", "category": "docker", "severity": "high", "confidence": 1.0, "cwe": "", "owasp": ""}}, {"id": "MINED107", "name": "[MINED107] Missing import: `html` used but not imported: The file uses `html.something(...)` but never imports `html`. T", "shortDescription": {"text": "[MINED107] Missing import: `html` used but not imported: The file uses `html.something(...)` but never imports `html`. This raises NameError at runtime the first time the line executes."}, "fullDescription": {"text": "Add `import html` at the top of the file."}, "properties": {"scanner": "repobility-ast-engine", "category": "quality", "severity": "critical", "confidence": 1.0, "cwe": "", "owasp": ""}}]}}, "automationDetails": {"id": "repobility/819"}, "properties": {"repository": "openai/openai-cookbook", "repoUrl": "https://github.com/openai/openai-cookbook", "branch": "main"}, "results": [{"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72279, "scanner": "repobility-ast-engine", "fingerprint": "11f7c97137550bb5ab50cd5f22c7d9ac60406c77956cae8ff61ebc42200bff83", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|11f7c97137550bb5ab50cd5f22c7d9ac60406c77956cae8ff61ebc42200bff83"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_23.py"}, "region": {"startLine": 40}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72278, "scanner": "repobility-ast-engine", "fingerprint": "da7fef332044e4c7290a84c6785223831269c9661cd26ddc81c3f9d1ed8f7385", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|da7fef332044e4c7290a84c6785223831269c9661cd26ddc81c3f9d1ed8f7385"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_03.py"}, "region": {"startLine": 42}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72277, "scanner": "repobility-ast-engine", "fingerprint": "cf71f7929e6ecfe4ae7f95bfdcdd6b52f74d96857ea8b5d0861b51498d7752c3", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|cf71f7929e6ecfe4ae7f95bfdcdd6b52f74d96857ea8b5d0861b51498d7752c3"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_16.py"}, "region": {"startLine": 27}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72276, "scanner": "repobility-ast-engine", "fingerprint": "ca4834a61e05e93dc547d1ea7362409e8ee532dee77e2d7372ef4d0f9fb93813", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|ca4834a61e05e93dc547d1ea7362409e8ee532dee77e2d7372ef4d0f9fb93813"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_11.py"}, "region": {"startLine": 10}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72275, "scanner": "repobility-ast-engine", "fingerprint": "c16d7fc3ae39f9bc20fbd360b1d57ced5292f7a0d1698391ed91bdc17e7175db", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|c16d7fc3ae39f9bc20fbd360b1d57ced5292f7a0d1698391ed91bdc17e7175db"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_27.py"}, "region": {"startLine": 36}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72274, "scanner": "repobility-ast-engine", "fingerprint": "9b4104fee2d8683a9a376b13bfa4d20e0254c1560189f870dd5e61f5b76d609f", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|9b4104fee2d8683a9a376b13bfa4d20e0254c1560189f870dd5e61f5b76d609f"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_22.py"}, "region": {"startLine": 36}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72273, "scanner": "repobility-ast-engine", "fingerprint": "8a4700a2597ccd9ae46054af71a2edb0deb650f2c707cee6d4f122650d36646c", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|8a4700a2597ccd9ae46054af71a2edb0deb650f2c707cee6d4f122650d36646c"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_26.py"}, "region": {"startLine": 44}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72272, "scanner": "repobility-ast-engine", "fingerprint": "6d3611deb71655cc34bff7fd0ae9473334eb4fa5d37173eb9d25e5b8707d7737", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|6d3611deb71655cc34bff7fd0ae9473334eb4fa5d37173eb9d25e5b8707d7737"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_29.py"}, "region": {"startLine": 25}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72271, "scanner": "repobility-ast-engine", "fingerprint": "138d5e9c757209ad0150443c872e10c0b135578fd8f4edb43b15b87e489097dd", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|138d5e9c757209ad0150443c872e10c0b135578fd8f4edb43b15b87e489097dd"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_19.py"}, "region": {"startLine": 35}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72270, "scanner": "repobility-ast-engine", "fingerprint": "f17337e279b7e41447655667bb7641d62faa42b470ec4f01aa498167b1c55bc9", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|f17337e279b7e41447655667bb7641d62faa42b470ec4f01aa498167b1c55bc9"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_08.py"}, "region": {"startLine": 21}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72269, "scanner": "repobility-ast-engine", "fingerprint": "387e94c89701168952c7ad41e25eb9781656c9419601ef57d525ef075ac8f09b", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|387e94c89701168952c7ad41e25eb9781656c9419601ef57d525ef075ac8f09b"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_14.py"}, "region": {"startLine": 26}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72268, "scanner": "repobility-ast-engine", "fingerprint": "6b8e1f39fa5f8b6c8895d291875b1c70ce8edcffc2e0c4a8a9806efc7e915eba", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|6b8e1f39fa5f8b6c8895d291875b1c70ce8edcffc2e0c4a8a9806efc7e915eba"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_01.py"}, "region": {"startLine": 26}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72267, "scanner": "repobility-ast-engine", "fingerprint": "e8aab063459dbc095ce10413c9909723a2a5939bddb57a74d8e81b0235c959b9", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|e8aab063459dbc095ce10413c9909723a2a5939bddb57a74d8e81b0235c959b9"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/results_topk_baseline/run_13.py"}, "region": {"startLine": 30}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72266, "scanner": "repobility-ast-engine", "fingerprint": "0868c29aa6e5b17bda2d6b24f44bd93404e69530e55734e3e573d2b94eb25ef7", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|0868c29aa6e5b17bda2d6b24f44bd93404e69530e55734e3e573d2b94eb25ef7"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/macro_evals_for_agentic_systems/helpers/macro_eval_pipeline.py"}, "region": {"startLine": 1100}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72265, "scanner": "repobility-ast-engine", "fingerprint": "8fb96acc56cea77fca2a07cb955249c03b5f91bdcfa2b1e8f920a2e13aa95e8a", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|8fb96acc56cea77fca2a07cb955249c03b5f91bdcfa2b1e8f920a2e13aa95e8a"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/macro_evals_for_agentic_systems/helpers/macro_eval_pipeline.py"}, "region": {"startLine": 374}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72264, "scanner": "repobility-ast-engine", "fingerprint": "2ce5d8e14b56e882bcf3d6acf73d0858a0bc81844f1606becc3dc06b738c6972", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|2ce5d8e14b56e882bcf3d6acf73d0858a0bc81844f1606becc3dc06b738c6972"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/macro_evals_for_agentic_systems/helpers/macro_eval_pipeline.py"}, "region": {"startLine": 51}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72263, "scanner": "repobility-ast-engine", "fingerprint": "5bb4ded1eef2b888467d8527456a176c3247204a5893926e7f0c62446771ef47", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|5bb4ded1eef2b888467d8527456a176c3247204a5893926e7f0c62446771ef47"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/macro_evals_for_agentic_systems/helpers/macro_eval_pipeline.py"}, "region": {"startLine": 46}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72262, "scanner": "repobility-ast-engine", "fingerprint": "8a5a9a9a06f9dd7f4428d89588850d96d986f00a88951975d79064ac02a4cd13", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|8a5a9a9a06f9dd7f4428d89588850d96d986f00a88951975d79064ac02a4cd13"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/macro_evals_for_agentic_systems/helpers/macro_eval_pipeline.py"}, "region": {"startLine": 41}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72261, "scanner": "repobility-ast-engine", "fingerprint": "8b42103f9a4f6b90c38b3828b393acd4bc1474d606c7e369a502f50f32dac6cc", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|8b42103f9a4f6b90c38b3828b393acd4bc1474d606c7e369a502f50f32dac6cc"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/macro_evals_for_agentic_systems/helpers/macro_eval_pipeline.py"}, "region": {"startLine": 36}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72260, "scanner": "repobility-ast-engine", "fingerprint": "4628a22150c045affa039f867a3eda7e11b5b777d61cd032182498095c21514c", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|4628a22150c045affa039f867a3eda7e11b5b777d61cd032182498095c21514c"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/macro_evals_for_agentic_systems/helpers/macro_eval_pipeline.py"}, "region": {"startLine": 27}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72259, "scanner": "repobility-ast-engine", "fingerprint": "56359d92d3f249254a0e645751ed365b519cbbfa9b9f7ee96d647b15b9b37723", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|56359d92d3f249254a0e645751ed365b519cbbfa9b9f7ee96d647b15b9b37723"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/macro_evals_for_agentic_systems/helpers/macro_eval_pipeline.py"}, "region": {"startLine": 21}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72258, "scanner": "repobility-ast-engine", "fingerprint": "0d170981a00950148438cef70432720e88068c8845a96cda0f2f57ee3aa2feaa", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|0d170981a00950148438cef70432720e88068c8845a96cda0f2f57ee3aa2feaa"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/macro_evals_for_agentic_systems/helpers/macro_eval_pipeline.py"}, "region": {"startLine": 15}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72243, "scanner": "repobility-ast-engine", "fingerprint": "7c983e827a47b45daaa7eaf84b746a2c1413960f3e4fa5672b812dd6bfefd4c8", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|7c983e827a47b45daaa7eaf84b746a2c1413960f3e4fa5672b812dd6bfefd4c8"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/promptfoo/promptfoo_target.py"}, "region": {"startLine": 200}}}]}, {"ruleId": "MINED109", "level": "warning", "message": {"text": "[MINED109] Mutable default argument in `cost_estimator` (list): `def cost_estimator(... = []/{}/set())` \u2014 Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too."}, "properties": {"repobilityId": 72242, "scanner": "repobility-ast-engine", "fingerprint": "dbb64ef137df48f745989c6f543bf510846876b50ad75a1109da8a49dfa97766", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "mutable-default-arg", "owasp": null, "cwe_ids": ["CWE-1023"], "languages": ["python"], "observations_count": 64867}, "scanner": "repobility-ast-engine", "correlation_key": "fp|dbb64ef137df48f745989c6f543bf510846876b50ad75a1109da8a49dfa97766"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/model_selection_guide/tools.py"}, "region": {"startLine": 179}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72241, "scanner": "repobility-ast-engine", "fingerprint": "6a8c1d948881de875fe66b6a9a74f9524a8eb03374f5380cb24019bbf86d1310", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|6a8c1d948881de875fe66b6a9a74f9524a8eb03374f5380cb24019bbf86d1310"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/temporal_agents_with_knowledge_graphs/utils.py"}, "region": {"startLine": 32}}}]}, {"ruleId": "MINED111", "level": "warning", "message": {"text": "[MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose."}, "properties": {"repobilityId": 72228, "scanner": "repobility-ast-engine", "fingerprint": "c6819f4eb71906d0d8e22ad8c646820e73e948c15f180ae0d782aec8d1f6d20d", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "bare-except-without-pass", "owasp": null, "cwe_ids": [], "languages": ["python"], "observations_count": 21610}, "scanner": "repobility-ast-engine", "correlation_key": "fp|c6819f4eb71906d0d8e22ad8c646820e73e948c15f180ae0d782aec8d1f6d20d"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/fine-tuned_qa/answers_with_ft.py"}, "region": {"startLine": 97}}}]}, {"ruleId": "MINED109", "level": "warning", "message": {"text": "[MINED109] Mutable default argument in `answer_question` (list): `def answer_question(... = []/{}/set())` \u2014 Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too."}, "properties": {"repobilityId": 72227, "scanner": "repobility-ast-engine", "fingerprint": "4bd9f8ff952323fc96cd2f7f707c1d68f5c92211e56a220d5eff66fcfa446adc", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "mutable-default-arg", "owasp": null, "cwe_ids": ["CWE-1023"], "languages": ["python"], "observations_count": 64867}, "scanner": "repobility-ast-engine", "correlation_key": "fp|4bd9f8ff952323fc96cd2f7f707c1d68f5c92211e56a220d5eff66fcfa446adc"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/fine-tuned_qa/answers_with_ft.py"}, "region": {"startLine": 46}}}]}, {"ruleId": "AGT007", "level": "warning", "message": {"text": "localStorage write failures are swallowed silently"}, "properties": {"repobilityId": 72226, "scanner": "repobility-agent-runtime", "fingerprint": "d12772841d1b9ec0127b39160877e6cf0e61e7a192efa1bfa06a271552b99eeb", "category": "quality", "severity": "medium", "confidence": 0.8, "triageState": "open", "verdict": "likely", "isResolved": false, "reason": "File writes to localStorage and has an empty or ignore-only catch block without QuotaExceededError handling.", "evidence": {"rule_id": "AGT007", "scanner": "repobility-agent-runtime", "references": ["https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API"], "correlation_key": "fp|d12772841d1b9ec0127b39160877e6cf0e61e7a192efa1bfa06a271552b99eeb"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/frontend/src/main.jsx"}, "region": {"startLine": 324}}}]}, {"ruleId": "AGT012", "level": "warning", "message": {"text": "Agent control bridge may listen on a network interface without visible auth"}, "properties": {"repobilityId": 72225, "scanner": "repobility-agent-runtime", "fingerprint": "4ce8297397a518781edcad2d0dc27ac9ab3d84f361ecfb31876be9393704f6d9", "category": "quality", "severity": "medium", "confidence": 0.72, "triageState": "open", "verdict": "likely", "isResolved": false, "reason": "File combines agent-control wording with an HTTP/SSE/WebSocket listener on an all-interface host and no visible auth guard.", "evidence": {"rule_id": "AGT012", "scanner": "repobility-agent-runtime", "references": [], "correlation_key": "fp|4ce8297397a518781edcad2d0dc27ac9ab3d84f361ecfb31876be9393704f6d9"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/runner.py"}, "region": {"startLine": 246}}}]}, {"ruleId": "CFG006", "level": "warning", "message": {"text": "[CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build artifacts."}, "properties": {"repobilityId": 72224, "scanner": "repobility-threat-engine", "fingerprint": "c65fc71ce58c37a0e07837c0fe294108b731c43ef16027a2f0971c757bbe9a16", "category": "practices", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "No .gitignore file found in repository root", "evidence": {"reason": "No .gitignore file found in repository root", "rule_id": "CFG006", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "repo|practices|cfg006"}}}, {"ruleId": "SEC012", "level": "warning", "message": {"text": "[SEC012] ZipSlip \u2014 Archive Path Traversal: Archive extraction without path validation allows writing files outside the target directory."}, "properties": {"repobilityId": 72218, "scanner": "repobility-threat-engine", "fingerprint": "e6fd04ce9157a83553faf91624d24c85d576c7a97e6438bde86616f009dd533a", "category": "path_traversal", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": ".extractall(", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC012", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "code|path_traversal|token|30|sec012"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/vector_databases/redis/nbutils.py"}, "region": {"startLine": 30}}}]}, {"ruleId": "SEC045", "level": "warning", "message": {"text": "[SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data \u2014 even admin-stored data \u2014 is a lateral-movement vector after any one credential compromise. Sandboxes (__builtins__ cleared) are escapable: attackers use object introspection (().__class__.__mro__[-1].__subclasses__()) to reach os.system. CWE-95 (eval injection)."}, "properties": {"repobilityId": 72216, "scanner": "repobility-threat-engine", "fingerprint": "a498f959a3e6f3e450334212c3b4f8d03a0ffa60ea2a8bd80e7c11bc40b5bcde", "category": "injection", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "exec(", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC045", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "code|injection|token|55|sec045"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/object_oriented_agentic_approach/resources/registry/tools/python_code_interpreter_tool.py"}, "region": {"startLine": 55}}}]}, {"ruleId": "SEC034", "level": "warning", "message": {"text": "[SEC034] Log Injection / Log Forging \u2014 unsanitized user input in log: User input is logged without sanitizing newlines or control characters. Attackers inject `\\n` to forge fake log entries, hide tracks, or exploit downstream log parsers (SIEM, splunk). Combined with template injection this can escalate to RCE (CVE-2021-44228 log4shell). CWE-117."}, "properties": {"repobilityId": 72211, "scanner": "repobility-threat-engine", "fingerprint": "3f70ae30f30d45c7c83455d6c73f82dc75a9f03a2485c5d58cdee1c080f18456", "category": "log_injection", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "logger.info(f\"Tool arguments: {args", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC034", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|3f70ae30f30d45c7c83455d6c73f82dc75a9f03a2485c5d58cdee1c080f18456"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/object_oriented_agentic_approach/resources/object_oriented_agents/core_classes/tool_manager.py"}, "region": {"startLine": 62}}}]}, {"ruleId": "SEC034", "level": "warning", "message": {"text": "[SEC034] Log Injection / Log Forging \u2014 unsanitized user input in log: User input is logged without sanitizing newlines or control characters. Attackers inject `\\n` to forge fake log entries, hide tracks, or exploit downstream log parsers (SIEM, splunk). Combined with template injection this can escalate to RCE (CVE-2021-44228 log4shell). CWE-117."}, "properties": {"repobilityId": 72210, "scanner": "repobility-threat-engine", "fingerprint": "a437d63d6bf7a0cb0a93e255b1c941dc49d45e5be9bb3e2ee0ce15c5b4cf0d8f", "category": "log_injection", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "logger.debug(f\"Starting task: {user", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC034", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|a437d63d6bf7a0cb0a93e255b1c941dc49d45e5be9bb3e2ee0ce15c5b4cf0d8f"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/object_oriented_agentic_approach/resources/object_oriented_agents/core_classes/base_agent.py"}, "region": {"startLine": 56}}}]}, {"ruleId": "SEC034", "level": "warning", "message": {"text": "[SEC034] Log Injection / Log Forging \u2014 unsanitized user input in log: User input is logged without sanitizing newlines or control characters. Attackers inject `\\n` to forge fake log entries, hide tracks, or exploit downstream log parsers (SIEM, splunk). Combined with template injection this can escalate to RCE (CVE-2021-44228 log4shell). CWE-117."}, "properties": {"repobilityId": 72209, "scanner": "repobility-threat-engine", "fingerprint": "5245a02dfa1066687b39ee085ad699336c5896203bdf8c4bb66dc39b1b74f706", "category": "log_injection", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "logging.info(f\"[AGENT_STREAM] Input message: {req", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC034", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|5245a02dfa1066687b39ee085ad699336c5896203bdf8c4bb66dc39b1b74f706"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/mcp/building-a-supply-chain-copilot-with-agent-sdk-and-databricks-mcp/api_server.py"}, "region": {"startLine": 107}}}]}, {"ruleId": "SEC017", "level": "warning", "message": {"text": "[SEC017] Unbounded Input to LLM/External API: User input is passed to an LLM or external AI API (OpenAI, Anthropic, etc.) without any visible length or size validation. This creates two risks: (1) Cost abuse \u2014 an attacker can send extremely long inputs to burn through your API credits (a single 128K-token request to GPT-4 costs ~$4, and automated attacks can drain budgets in minutes). (2) Context stuffing \u2014 oversized inputs can push your system prompt out of the context window, effectively disab"}, "properties": {"repobilityId": 72202, "scanner": "repobility-threat-engine", "fingerprint": "00202e4211d73d2530bc031efdc39dce268730e7b9bf6f273abd9c1b0d07b225", "category": "llm_injection", "severity": "medium", "confidence": 0.8, "triageState": "open", "verdict": "likely", "isResolved": false, "reason": "This file sends user input to an LLM with no visible length check or rate limit. Risks: (1) cost abuse \u2014 automated long inputs drain API budget ($4/request at 128K tokens on GPT-4), (2) context stuffing \u2014 oversized input pushes system prompt out of context window, disabling safety rules. Add input length validation before the API call.", "evidence": {"reason": "This file sends user input to an LLM with no visible length check or rate limit. Risks: (1) cost abuse \u2014 automated long inputs drain API budget ($4/request at 128K tokens on GPT-4), (2) context stuffing \u2014 oversized input pushes system prompt out of context window, disabling safety rules. Add input length validation before the API call.", "rule_id": "SEC017", "scanner": "repobility-threat-engine", "confidence": 0.8, "correlation_key": "fp|00202e4211d73d2530bc031efdc39dce268730e7b9bf6f273abd9c1b0d07b225"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/fine-tuned_qa/answers_with_ft.py"}, "region": {"startLine": 88}}}]}, {"ruleId": "ERR001", "level": "warning", "message": {"text": "[ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level."}, "properties": {"repobilityId": 72183, "scanner": "repobility-threat-engine", "fingerprint": "34d0e61b9da139f33677c8355cbac9f6c8d510f51a3c8c2c3d5d3c50a3c60874", "category": "error_handling", "severity": "medium", "confidence": 0.45, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Pattern matched with no mitigating context found | [R34 auto-suppress: documentation/example path]", "evidence": {"match": "except Exception:\n                pass", "reason": "Pattern matched with no mitigating context found | [R34 auto-suppress: documentation/example path]", "rule_id": "ERR001", "scanner": "repobility-threat-engine", "confidence": 0.45, "correlation_key": "fp|34d0e61b9da139f33677c8355cbac9f6c8d510f51a3c8c2c3d5d3c50a3c60874"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/scripts/topk_eval.py"}, "region": {"startLine": 107}}}]}, {"ruleId": "ERR001", "level": "warning", "message": {"text": "[ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level."}, "properties": {"repobilityId": 72182, "scanner": "repobility-threat-engine", "fingerprint": "2c4b4f1f98a939a9a3b3e70ef020bd0417bdc0562fbfbf8577b23f475f3c7329", "category": "error_handling", "severity": "medium", "confidence": 0.45, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Pattern matched with no mitigating context found | [R34 auto-suppress: documentation/example path]", "evidence": {"match": "except Exception:\n    pass", "reason": "Pattern matched with no mitigating context found | [R34 auto-suppress: documentation/example path]", "rule_id": "ERR001", "scanner": "repobility-threat-engine", "confidence": 0.45, "correlation_key": "fp|2c4b4f1f98a939a9a3b3e70ef020bd0417bdc0562fbfbf8577b23f475f3c7329"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/runtime/trace_capture/sitecustomize.py"}, "region": {"startLine": 5}}}]}, {"ruleId": "SEC136", "level": "warning", "message": {"text": "[SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all exception block that silently returns success or no-ops. AI agents reach for this pattern when a flaky test or an unfamiliar API throws \u2014 wrap, swallow, return success. Real bugs are masked, observability is destroyed, and callers think the operation worked. CWE-396 (improperly-generalized exception). Distinct from intentional fallback because there's no log line and the success value is fabricated."}, "properties": {"repobilityId": 72173, "scanner": "repobility-threat-engine", "fingerprint": "87d330ac139bbd09cf4190ca3d84a1cb71430554aed1f9c5f2f873df1c4195c2", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "try:\n        # Year Handling\n        if re.fullmatch(r\"\\d{4}\", value.strip()):\n            year = in", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC136", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|87d330ac139bbd09cf4190ca3d84a1cb71430554aed1f9c5f2f873df1c4195c2"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/temporal_agents_with_knowledge_graphs/utils.py"}, "region": {"startLine": 20}}}]}, {"ruleId": "SEC136", "level": "warning", "message": {"text": "[SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all exception block that silently returns success or no-ops. AI agents reach for this pattern when a flaky test or an unfamiliar API throws \u2014 wrap, swallow, return success. Real bugs are masked, observability is destroyed, and callers think the operation worked. CWE-396 (improperly-generalized exception). Distinct from intentional fallback because there's no log line and the success value is fabricated."}, "properties": {"repobilityId": 72172, "scanner": "repobility-threat-engine", "fingerprint": "4825a268576c38c3660f1afe8e1b2a5935e2ec72acf9f06c640e96c787f96812", "category": "quality", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "try:\n            with self._opener.open(request, timeout=1):\n                pass\n        except Exc", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC136", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|4825a268576c38c3660f1afe8e1b2a5935e2ec72acf9f06c640e96c787f96812"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/runtime/trace_capture/agents_sdk_trace_capture.py"}, "region": {"startLine": 105}}}]}, {"ruleId": "SEC068", "level": "warning", "message": {"text": "[SEC068] Dockerfile: base image uses :latest or no tag: FROM uses :latest or no tag \u2014 builds are not reproducible and may pull a compromised parent image. Ported from trivy DS001 (Apache-2.0)."}, "properties": {"repobilityId": 72164, "scanner": "repobility-threat-engine", "fingerprint": "32b9b649947f062700fda6f3d5051e10137e582e0ff17c6c0750d0b543759bbc", "category": "docker", "severity": "medium", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "from __future__", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC068", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|32b9b649947f062700fda6f3d5051e10137e582e0ff17c6c0750d0b543759bbc"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/dockerfile_writer.py"}, "region": {"startLine": 1}}}]}, {"ruleId": "CFG003", "level": "note", "message": {"text": "[CFG003] Docker COPY Everything: Copying entire directory may include secrets and build artifacts."}, "properties": {"repobilityId": 72168, "scanner": "repobility-threat-engine", "fingerprint": "4bdcda79dc94fdb8a70a94bc7264187e8ec29529e269f860e2ba8a3562975b13", "category": "docker", "severity": "low", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "COPY .", "reason": "Pattern matched with no mitigating context found", "rule_id": "CFG003", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|4bdcda79dc94fdb8a70a94bc7264187e8ec29529e269f860e2ba8a3562975b13"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/dockerfile_writer.py"}, "region": {"startLine": 29}}}]}, {"ruleId": "SEC075", "level": "note", "message": {"text": "[SEC075] Dockerfile: no HEALTHCHECK: No HEALTHCHECK directive \u2014 orchestrators can't detect a wedged process. Ported from trivy DS026 / checkov CKV_DOCKER_2 (Apache-2.0). Implement file-level: skip if file contains `^\\s*HEALTHCHECK\\b`."}, "properties": {"repobilityId": 72166, "scanner": "repobility-threat-engine", "fingerprint": "e946b420bd8630a7399601996ab02fcf395f69245d9cdc3c3316f237aa6bf5fa", "category": "docker", "severity": "low", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "from __future__ import annotations\n\nfrom pathlib import Path\n\nfrom .models import Project\n\n\nDOCKERIG", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC075", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|e946b420bd8630a7399601996ab02fcf395f69245d9cdc3c3316f237aa6bf5fa"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/dockerfile_writer.py"}, "region": {"startLine": 1}}}]}, {"ruleId": "COMP001", "level": "note", "message": {"text": "[COMP001] High cognitive complexity: Function `main` has cognitive complexity 9 (SonarSource scale). Cognitive complexity measures how hard the function is for a human to understand \u2014 nested branches, boolean chains, and recursion all weigh in. Breakdown: if=6, nested_bonus=1, or=2."}, "properties": {"repobilityId": 72162, "scanner": "repobility-threat-engine", "fingerprint": "b395131d2378b24a56bd38bbe1f8474b171f00eb243568290b74663fd96b4d81", "category": "quality", "severity": "low", "confidence": 0.95, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "AST-derived cognitive complexity score = 9 (severity threshold for low: 8+).", "evidence": {"scanner": "repobility-threat-engine", "function": "main", "breakdown": {"if": 6, "or": 2, "nested_bonus": 1}, "complexity": 9, "correlation_key": "fp|b395131d2378b24a56bd38bbe1f8474b171f00eb243568290b74663fd96b4d81"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/scripts/local_deploy.py"}, "region": {"startLine": 20}}}]}, {"ruleId": "COMP001", "level": "note", "message": {"text": "[COMP001] High cognitive complexity: Function `inspect_project` has cognitive complexity 13 (SonarSource scale). Cognitive complexity measures how hard the function is for a human to understand \u2014 nested branches, boolean chains, and recursion all weigh in. Breakdown: and=1, if=3, or=1, ternary=8."}, "properties": {"repobilityId": 72161, "scanner": "repobility-threat-engine", "fingerprint": "1617026a66b4fc5d8aa21dc0b7faad1d0ad3a053757ec3eadbcdbc9a4b6fbbc0", "category": "quality", "severity": "low", "confidence": 0.95, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "AST-derived cognitive complexity score = 13 (severity threshold for low: 8+).", "evidence": {"scanner": "repobility-threat-engine", "function": "inspect_project", "breakdown": {"if": 3, "or": 1, "and": 1, "ternary": 8}, "complexity": 13, "correlation_key": "fp|1617026a66b4fc5d8aa21dc0b7faad1d0ad3a053757ec3eadbcdbc9a4b6fbbc0"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/project_inspector.py"}, "region": {"startLine": 66}}}]}, {"ruleId": "COMP001", "level": "note", "message": {"text": "[COMP001] High cognitive complexity: Function `main` has cognitive complexity 9 (SonarSource scale). Cognitive complexity measures how hard the function is for a human to understand \u2014 nested branches, boolean chains, and recursion all weigh in. Breakdown: continue=1, else=1, for=1, if=4, nested_bonus=2."}, "properties": {"repobilityId": 72160, "scanner": "repobility-threat-engine", "fingerprint": "77d7347b5e2da152002af931bd11b3e92049386f3bea5a2a176f694b89b5a902", "category": "quality", "severity": "low", "confidence": 0.95, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "AST-derived cognitive complexity score = 9 (severity threshold for low: 8+).", "evidence": {"scanner": "repobility-threat-engine", "function": "main", "breakdown": {"if": 4, "for": 1, "else": 1, "continue": 1, "nested_bonus": 2}, "complexity": 9, "correlation_key": "fp|77d7347b5e2da152002af931bd11b3e92049386f3bea5a2a176f694b89b5a902"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/scripts/check_notebooks.py"}, "region": {"startLine": 36}}}]}, {"ruleId": "MINED045", "level": "none", "message": {"text": "[MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError if wrong."}, "properties": {"repobilityId": 72222, "scanner": "repobility-threat-engine", "fingerprint": "a2e039352073a9d2c78ab778b0487dff22e91df52ceaa01d1559a766403391bd", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "ts-non-null-assertion", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["typescript", "tsx"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348005+00:00", "triaged_in_corpus": 12, "observations_count": 1810954, "ai_coder_pattern_id": 105}, "scanner": "repobility-threat-engine", "correlation_key": "fp|a2e039352073a9d2c78ab778b0487dff22e91df52ceaa01d1559a766403391bd"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/voice_solutions/realtime_translation_guide/livekit-translation-demo/components/theme-provider.tsx"}, "region": {"startLine": 25}}}]}, {"ruleId": "SEC118", "level": "none", "message": {"text": "[SEC118] UUIDv1 / UUIDv3 used for security-sensitive identifier: UUIDv1 encodes the MAC address and timestamp, making it predictable. Used as a session token or password-reset key, it's enumerable."}, "properties": {"repobilityId": 72221, "scanner": "repobility-threat-engine", "fingerprint": "b8cc9d6579f1b760cff94e4eb2d898649bf14de517f479a4e9026db05bfc9310", "category": "crypto", "severity": "info", "confidence": 0.1, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Safe pattern 'randomUUID' detected on same line", "evidence": {"match": "crypto.randomUUID", "reason": "Safe pattern 'randomUUID' detected on same line", "rule_id": "SEC118", "scanner": "repobility-threat-engine", "confidence": 0.1, "correlation_key": "code|crypto|token|51|sec118"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/voice_solutions/realtime_translation_guide/livekit-translation-demo/app/api/livekit/token/route.ts"}, "region": {"startLine": 51}}}]}, {"ruleId": "MINED043", "level": "none", "message": {"text": "[MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle credentials or data."}, "properties": {"repobilityId": 72220, "scanner": "repobility-threat-engine", "fingerprint": "a593b7bc32bf9e34676dd5c561ccc5d9d9bc4d003d270ace99ffecacea4ee26e", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "http-not-https", "owasp": "A02:2021", "cwe_ids": ["CWE-319"], "precision": 0.917, "promoted_at": "2026-05-18T14:01:32.347999+00:00", "triaged_in_corpus": 12, "observations_count": 4113831, "ai_coder_pattern_id": 15}, "scanner": "repobility-threat-engine", "correlation_key": "fp|a593b7bc32bf9e34676dd5c561ccc5d9d9bc4d003d270ace99ffecacea4ee26e"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/voice_solutions/realtime_translation_guide/browser-translation-demo/src/server.js"}, "region": {"startLine": 255}}}]}, {"ruleId": "MINED052", "level": "none", "message": {"text": "[MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety."}, "properties": {"repobilityId": 72219, "scanner": "repobility-threat-engine", "fingerprint": "2f9df4719a42bbf4738ac6c5ae0528438a223e4e54b8302fce778785aec40552", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "ts-any-typed", "owasp": null, "cwe_ids": ["CWE-704"], "languages": ["typescript", "tsx"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348022+00:00", "triaged_in_corpus": 12, "observations_count": 496002, "ai_coder_pattern_id": 97}, "scanner": "repobility-threat-engine", "correlation_key": "fp|2f9df4719a42bbf4738ac6c5ae0528438a223e4e54b8302fce778785aec40552"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/voice_solutions/one_way_translation_using_realtime_api/src/pages/SpeakerPage.tsx"}, "region": {"startLine": 17}}}]}, {"ruleId": "MINED056", "level": "none", "message": {"text": "[MINED056] React Key As Index: key={index} in map() \u2014 re-renders the wrong elements on re-order."}, "properties": {"repobilityId": 72215, "scanner": "repobility-threat-engine", "fingerprint": "706374a613302d0ad7966352a1566f6f5afbdaf86e0da238b56e5cdf296a6ec2", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "react-key-as-index", "owasp": null, "cwe_ids": ["CWE-682"], "languages": ["typescript", "tsx", "javascript", "jsx"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348032+00:00", "triaged_in_corpus": 12, "observations_count": 299917, "ai_coder_pattern_id": 135}, "scanner": "repobility-threat-engine", "correlation_key": "fp|706374a613302d0ad7966352a1566f6f5afbdaf86e0da238b56e5cdf296a6ec2"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/voice_solutions/realtime_translation_guide/livekit-translation-demo/components/ui/slider.tsx"}, "region": {"startLine": 51}}}]}, {"ruleId": "MINED056", "level": "none", "message": {"text": "[MINED056] React Key As Index: key={index} in map() \u2014 re-renders the wrong elements on re-order."}, "properties": {"repobilityId": 72214, "scanner": "repobility-threat-engine", "fingerprint": "e696869cbb94197e3e70d2113da8fc3a509549e5e52c84d2ac5218983668902c", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "react-key-as-index", "owasp": null, "cwe_ids": ["CWE-682"], "languages": ["typescript", "tsx", "javascript", "jsx"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348032+00:00", "triaged_in_corpus": 12, "observations_count": 299917, "ai_coder_pattern_id": 135}, "scanner": "repobility-threat-engine", "correlation_key": "fp|e696869cbb94197e3e70d2113da8fc3a509549e5e52c84d2ac5218983668902c"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/voice_solutions/one_way_translation_using_realtime_api/src/pages/SpeakerPage.tsx"}, "region": {"startLine": 275}}}]}, {"ruleId": "MINED056", "level": "none", "message": {"text": "[MINED056] React Key As Index: key={index} in map() \u2014 re-renders the wrong elements on re-order."}, "properties": {"repobilityId": 72213, "scanner": "repobility-threat-engine", "fingerprint": "ae9816e5c49667aabf2bd5d52110fd03a0816db81bd38b9e722475e7381327ed", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "react-key-as-index", "owasp": null, "cwe_ids": ["CWE-682"], "languages": ["typescript", "tsx", "javascript", "jsx"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348032+00:00", "triaged_in_corpus": 12, "observations_count": 299917, "ai_coder_pattern_id": 135}, "scanner": "repobility-threat-engine", "correlation_key": "fp|ae9816e5c49667aabf2bd5d52110fd03a0816db81bd38b9e722475e7381327ed"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/mcp/building-a-supply-chain-copilot-with-agent-sdk-and-databricks-mcp/ui/src/components/ChatUI.jsx"}, "region": {"startLine": 67}}}]}, {"ruleId": "MINED064", "level": "none", "message": {"text": "[MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services."}, "properties": {"repobilityId": 72204, "scanner": "repobility-threat-engine", "fingerprint": "b48b33e6ef5bccfaa1408d9344bd266ab5fb71279e1d3caac6d580e7168342a4", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "python-input-call", "owasp": null, "cwe_ids": [], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348050+00:00", "triaged_in_corpus": 12, "observations_count": 66378, "ai_coder_pattern_id": 124}, "scanner": "repobility-threat-engine", "correlation_key": "fp|b48b33e6ef5bccfaa1408d9344bd266ab5fb71279e1d3caac6d580e7168342a4"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/mcp/building-a-supply-chain-copilot-with-agent-sdk-and-databricks-mcp/main.py"}, "region": {"startLine": 70}}}]}, {"ruleId": "MINED064", "level": "none", "message": {"text": "[MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services."}, "properties": {"repobilityId": 72203, "scanner": "repobility-threat-engine", "fingerprint": "538d66030136cdf47e95d982c850214b30a93fc8d225fed4deef9fb224e38e77", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "python-input-call", "owasp": null, "cwe_ids": [], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348050+00:00", "triaged_in_corpus": 12, "observations_count": 66378, "ai_coder_pattern_id": 124}, "scanner": "repobility-threat-engine", "correlation_key": "fp|538d66030136cdf47e95d982c850214b30a93fc8d225fed4deef9fb224e38e77"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/scripts/llm_judge.py"}, "region": {"startLine": 22}}}]}, {"ruleId": "MINED062", "level": "none", "message": {"text": "[MINED062] Python Dataclass No Fields (and 1 more): Same pattern found in 1 additional files. Review if needed."}, "properties": {"repobilityId": 72200, "scanner": "repobility-threat-engine", "fingerprint": "fae806c2ee90fa304d3a37e2a631a59e1c95dc447dbe00b9024d66fc54d3ca88", "category": "quality", "severity": "info", "confidence": 0.2, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Deduplicated summary only: 1 additional occurrences found. The top occurrences remain visible as actionable findings.", "evidence": {"mined": true, "mining": {"slug": "python-dataclass-no-fields", "owasp": null, "cwe_ids": [], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348046+00:00", "triaged_in_corpus": 10, "observations_count": 92448, "ai_coder_pattern_id": 144}, "scanner": "repobility-threat-engine", "aggregated": true, "correlation_key": "fp|fae806c2ee90fa304d3a37e2a631a59e1c95dc447dbe00b9024d66fc54d3ca88", "aggregated_count": 1}}}, {"ruleId": "MINED062", "level": "none", "message": {"text": "[MINED062] Python Dataclass No Fields: @dataclass over an empty class \u2014 unfinished model."}, "properties": {"repobilityId": 72199, "scanner": "repobility-threat-engine", "fingerprint": "733dbbe1411a3886f9383262da214d8e3f48f4b82a10feb13721ee5ff18b9294", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "python-dataclass-no-fields", "owasp": null, "cwe_ids": [], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348046+00:00", "triaged_in_corpus": 10, "observations_count": 92448, "ai_coder_pattern_id": 144}, "scanner": "repobility-threat-engine", "correlation_key": "fp|733dbbe1411a3886f9383262da214d8e3f48f4b82a10feb13721ee5ff18b9294"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/evals/imagegen_evals/vision_harness/types.py"}, "region": {"startLine": 11}}}]}, {"ruleId": "MINED062", "level": "none", "message": {"text": "[MINED062] Python Dataclass No Fields: @dataclass over an empty class \u2014 unfinished model."}, "properties": {"repobilityId": 72198, "scanner": "repobility-threat-engine", "fingerprint": "07a6894a8ebc9be7bd7087f9f5bf5c6e1a63de7a37c47fcf49b6d955e1234cf6", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "python-dataclass-no-fields", "owasp": null, "cwe_ids": [], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348046+00:00", "triaged_in_corpus": 10, "observations_count": 92448, "ai_coder_pattern_id": 144}, "scanner": "repobility-threat-engine", "correlation_key": "fp|07a6894a8ebc9be7bd7087f9f5bf5c6e1a63de7a37c47fcf49b6d955e1234cf6"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/evals/imagegen_evals/vision_harness/storage.py"}, "region": {"startLine": 8}}}]}, {"ruleId": "MINED062", "level": "none", "message": {"text": "[MINED062] Python Dataclass No Fields: @dataclass over an empty class \u2014 unfinished model."}, "properties": {"repobilityId": 72197, "scanner": "repobility-threat-engine", "fingerprint": "9f32a06a7158e22d237bd3cf1a19418b420bf51a6b19a92106457c16869cb4a3", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "python-dataclass-no-fields", "owasp": null, "cwe_ids": [], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348046+00:00", "triaged_in_corpus": 10, "observations_count": 92448, "ai_coder_pattern_id": 144}, "scanner": "repobility-threat-engine", "correlation_key": "fp|9f32a06a7158e22d237bd3cf1a19418b420bf51a6b19a92106457c16869cb4a3"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/evals/imagegen_evals/vision_harness/graders.py"}, "region": {"startLine": 83}}}]}, {"ruleId": "MINED044", "level": "none", "message": {"text": "[MINED044] Js Console Log Prod (and 4 more): Same pattern found in 4 additional files. Review if needed."}, "properties": {"repobilityId": 72195, "scanner": "repobility-threat-engine", "fingerprint": "67a27f5cf85eac044eca73e20fc23fb9d6a1a9f74728d143ec989b8f7cbb925d", "category": "quality", "severity": "info", "confidence": 0.2, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Deduplicated summary only: 4 additional occurrences found. The top occurrences remain visible as actionable findings.", "evidence": {"mined": true, "mining": {"slug": "js-console-log-prod", "owasp": null, "cwe_ids": ["CWE-532"], "languages": ["javascript", "typescript", "tsx", "jsx"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348003+00:00", "triaged_in_corpus": 10, "observations_count": 1940833, "ai_coder_pattern_id": 102}, "scanner": "repobility-threat-engine", "aggregated": true, "correlation_key": "fp|67a27f5cf85eac044eca73e20fc23fb9d6a1a9f74728d143ec989b8f7cbb925d", "aggregated_count": 4}}}, {"ruleId": "MINED044", "level": "none", "message": {"text": "[MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger or removed."}, "properties": {"repobilityId": 72194, "scanner": "repobility-threat-engine", "fingerprint": "624d3c52cb77558fdb10afdf8da9eed377f2d1c1f5508c8885bc78a444c2c43b", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "js-console-log-prod", "owasp": null, "cwe_ids": ["CWE-532"], "languages": ["javascript", "typescript", "tsx", "jsx"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348003+00:00", "triaged_in_corpus": 10, "observations_count": 1940833, "ai_coder_pattern_id": 102}, "scanner": "repobility-threat-engine", "correlation_key": "fp|624d3c52cb77558fdb10afdf8da9eed377f2d1c1f5508c8885bc78a444c2c43b"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/voice_solutions/one_way_translation_using_realtime_api/relay-server/index.js"}, "region": {"startLine": 8}}}]}, {"ruleId": "MINED044", "level": "none", "message": {"text": "[MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger or removed."}, "properties": {"repobilityId": 72193, "scanner": "repobility-threat-engine", "fingerprint": "df7b163e8addc3b10573fbcf8d0b79cf8059695cb7eb1c71c6388432104d4e41", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "js-console-log-prod", "owasp": null, "cwe_ids": ["CWE-532"], "languages": ["javascript", "typescript", "tsx", "jsx"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348003+00:00", "triaged_in_corpus": 10, "observations_count": 1940833, "ai_coder_pattern_id": 102}, "scanner": "repobility-threat-engine", "correlation_key": "fp|df7b163e8addc3b10573fbcf8d0b79cf8059695cb7eb1c71c6388432104d4e41"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/chatgpt/sharepoint_azure_function/solution_two_preprocessing.js"}, "region": {"startLine": 43}}}]}, {"ruleId": "MINED044", "level": "none", "message": {"text": "[MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger or removed."}, "properties": {"repobilityId": 72192, "scanner": "repobility-threat-engine", "fingerprint": "e94af95a1d6ac7cafb5fc37cbcdce666ee4bdf8f2c870297775473356db8bd3f", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "js-console-log-prod", "owasp": null, "cwe_ids": ["CWE-532"], "languages": ["javascript", "typescript", "tsx", "jsx"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348003+00:00", "triaged_in_corpus": 10, "observations_count": 1940833, "ai_coder_pattern_id": 102}, "scanner": "repobility-threat-engine", "correlation_key": "fp|e94af95a1d6ac7cafb5fc37cbcdce666ee4bdf8f2c870297775473356db8bd3f"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/chatgpt/sharepoint_azure_function/solution_one_file_retrieval.js"}, "region": {"startLine": 42}}}]}, {"ruleId": "SEC020", "level": "none", "message": {"text": "[SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-bearing value. This is a frequent AI-assisted coding failure: the helper exposes the exact value needed for troubleshooting."}, "properties": {"repobilityId": 72191, "scanner": "repobility-threat-engine", "fingerprint": "b73d2dc4c990c57db6af8aa8682e84717f85e14bf27bff89335b2b166c7fd0fb", "category": "credential_exposure", "severity": "info", "confidence": 0.1, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Safe context pattern detected", "evidence": {"match": "print(\"\\nNo guardrails with confidence_threshold found in config.\")", "reason": "Safe context pattern detected", "rule_id": "SEC020", "scanner": "repobility-threat-engine", "confidence": 0.1, "correlation_key": "secret|token|13|print nno guardrails with confidence_threshold found in config."}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/tune_guardrails.py"}, "region": {"startLine": 136}}}]}, {"ruleId": "SEC020", "level": "none", "message": {"text": "[SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-bearing value. This is a frequent AI-assisted coding failure: the helper exposes the exact value needed for troubleshooting."}, "properties": {"repobilityId": 72190, "scanner": "repobility-threat-engine", "fingerprint": "2f6e9333e3316139ff10a097b6c61779ec8d40cad40abe026ae9c1bb5cf96339", "category": "credential_exposure", "severity": "info", "confidence": 0.15, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Log message mentions credential-related metadata but does not print a credential-bearing value Collapsed 1 duplicate scanner signal(s) for the same underlying issue.", "evidence": {"match": "console.error('Error obtaining OBO token:', error.response?.data || error.message)", "reason": "Log message mentions credential-related metadata but does not print a credential-bearing value", "rule_id": "SEC020", "scanner": "repobility-threat-engine", "confidence": 0.15, "correlation_key": "secret|token|4|console.error error obtaining obo token: error.response .data error.message", "duplicate_count": 1, "duplicate_rule_ids": ["SEC020"], "duplicate_scanners": ["repobility-threat-engine"], "duplicate_fingerprints": ["2f6e9333e3316139ff10a097b6c61779ec8d40cad40abe026ae9c1bb5cf96339", "b4f4e51a46c1de6701efbe9ef30afa095ce9a972b502c32bc1853c7012312472"]}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/chatgpt/sharepoint_azure_function/solution_one_file_retrieval.js"}, "region": {"startLine": 42}}}]}, {"ruleId": "MINED067", "level": "none", "message": {"text": "[MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang forever."}, "properties": {"repobilityId": 72189, "scanner": "repobility-threat-engine", "fingerprint": "9b0dccc7ff8186b9114d34c5c0970db17cbb144bced5e397fa400fe649ee949e", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "python-requests-no-timeout", "owasp": null, "cwe_ids": ["CWE-400"], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348058+00:00", "triaged_in_corpus": 12, "observations_count": 45429, "ai_coder_pattern_id": 122}, "scanner": "repobility-threat-engine", "correlation_key": "fp|9b0dccc7ff8186b9114d34c5c0970db17cbb144bced5e397fa400fe649ee949e"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/multi-agent-portfolio-collaboration/tools.py"}, "region": {"startLine": 119}}}]}, {"ruleId": "SEC029", "level": "none", "message": {"text": "[SEC029] Server-Side Request Forgery (SSRF) \u2014 outbound HTTP from user input (and 6 more): Same pattern found in 6 additional files. Review if needed."}, "properties": {"repobilityId": 72187, "scanner": "repobility-threat-engine", "fingerprint": "d57f94c2e96069b4a87a7fb2ba46f76103ae7ecd579ffae7064a6551df416baa", "category": "ssrf", "severity": "info", "confidence": 0.2, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Deduplicated summary only: 6 additional occurrences found. The top occurrences remain visible as actionable findings.", "evidence": {"reason": "Deduplicated summary only: 6 additional occurrences found. The top occurrences remain visible as actionable findings.", "rule_id": "SEC029", "scanner": "repobility-threat-engine", "confidence": 0.2, "correlation_key": "fp|d57f94c2e96069b4a87a7fb2ba46f76103ae7ecd579ffae7064a6551df416baa"}}}, {"ruleId": "MINED001", "level": "none", "message": {"text": "[MINED001] Bare Except Pass (and 1 more): Same pattern found in 1 additional files. Review if needed."}, "properties": {"repobilityId": 72181, "scanner": "repobility-threat-engine", "fingerprint": "3ed4a11ec48650075e843160edf55362aa121897a652d0286a1dc826dd94d954", "category": "quality", "severity": "info", "confidence": 0.2, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Deduplicated summary only: 1 additional occurrences found. The top occurrences remain visible as actionable findings.", "evidence": {"mined": true, "mining": {"slug": "bare-except-pass", "owasp": null, "cwe_ids": ["CWE-755"], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.347744+00:00", "triaged_in_corpus": 15, "observations_count": 1550824, "ai_coder_pattern_id": 6}, "scanner": "repobility-threat-engine", "aggregated": true, "correlation_key": "fp|3ed4a11ec48650075e843160edf55362aa121897a652d0286a1dc826dd94d954", "aggregated_count": 1}}}, {"ruleId": "MINED050", "level": "none", "message": {"text": "[MINED050] Stub Only Function (and 4 more): Same pattern found in 4 additional files. Review if needed."}, "properties": {"repobilityId": 72177, "scanner": "repobility-threat-engine", "fingerprint": "a28cbeac28128be054c3f8e1a83589ca9ebddaa29ed78b582b0c2183d021e21c", "category": "quality", "severity": "info", "confidence": 0.2, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Deduplicated summary only: 4 additional occurrences found. The top occurrences remain visible as actionable findings.", "evidence": {"mined": true, "mining": {"slug": "stub-only-function", "owasp": null, "cwe_ids": ["CWE-1188"], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348017+00:00", "triaged_in_corpus": 12, "observations_count": 633513, "ai_coder_pattern_id": 2}, "scanner": "repobility-threat-engine", "aggregated": true, "correlation_key": "fp|a28cbeac28128be054c3f8e1a83589ca9ebddaa29ed78b582b0c2183d021e21c", "aggregated_count": 4}}}, {"ruleId": "MINED050", "level": "none", "message": {"text": "[MINED050] Stub Only Function: Function declared but body is just pass, return None, raise NotImplementedError, or TODO comment."}, "properties": {"repobilityId": 72176, "scanner": "repobility-threat-engine", "fingerprint": "ff29699f6b92573d0f0cb0458ff317da5b6632d8e4ea45af027a5e9446b3a924", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "stub-only-function", "owasp": null, "cwe_ids": ["CWE-1188"], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348017+00:00", "triaged_in_corpus": 12, "observations_count": 633513, "ai_coder_pattern_id": 2}, "scanner": "repobility-threat-engine", "correlation_key": "fp|ff29699f6b92573d0f0cb0458ff317da5b6632d8e4ea45af027a5e9446b3a924"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/scripts/local_deploy.py"}, "region": {"startLine": 188}}}]}, {"ruleId": "MINED050", "level": "none", "message": {"text": "[MINED050] Stub Only Function: Function declared but body is just pass, return None, raise NotImplementedError, or TODO comment."}, "properties": {"repobilityId": 72175, "scanner": "repobility-threat-engine", "fingerprint": "d9de8906aead243afb8b99b3a074b177910266fb1e63f3f8ee1ef64732e218cc", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "stub-only-function", "owasp": null, "cwe_ids": ["CWE-1188"], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348017+00:00", "triaged_in_corpus": 12, "observations_count": 633513, "ai_coder_pattern_id": 2}, "scanner": "repobility-threat-engine", "correlation_key": "fp|d9de8906aead243afb8b99b3a074b177910266fb1e63f3f8ee1ef64732e218cc"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/runtime/trace_capture/sitecustomize.py"}, "region": {"startLine": 6}}}]}, {"ruleId": "MINED050", "level": "none", "message": {"text": "[MINED050] Stub Only Function: Function declared but body is just pass, return None, raise NotImplementedError, or TODO comment."}, "properties": {"repobilityId": 72174, "scanner": "repobility-threat-engine", "fingerprint": "f6e28f259dd83f127ddbfb40441cd274ba705ffed0cae2e327b9c36610795276", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "stub-only-function", "owasp": null, "cwe_ids": ["CWE-1188"], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348017+00:00", "triaged_in_corpus": 12, "observations_count": 633513, "ai_coder_pattern_id": 2}, "scanner": "repobility-threat-engine", "correlation_key": "fp|f6e28f259dd83f127ddbfb40441cd274ba705ffed0cae2e327b9c36610795276"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/runtime/trace_capture/agents_sdk_trace_capture.py"}, "region": {"startLine": 107}}}]}, {"ruleId": "MINED055", "level": "none", "message": {"text": "[MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versions on every build) instead of npm ci."}, "properties": {"repobilityId": 72167, "scanner": "repobility-threat-engine", "fingerprint": "f8fb6e92b7bb684e238f55dfb6640769435db8af49f821a46bb3debd64952879", "category": "quality", "severity": "info", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "npm-install-no-lockfile", "owasp": "A06:2021", "cwe_ids": ["CWE-1357"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.348030+00:00", "triaged_in_corpus": 12, "observations_count": 317602, "ai_coder_pattern_id": 42}, "scanner": "repobility-threat-engine", "correlation_key": "fp|f8fb6e92b7bb684e238f55dfb6640769435db8af49f821a46bb3debd64952879"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/dockerfile_writer.py"}, "region": {"startLine": 27}}}]}, {"ruleId": "COMP001", "level": "none", "message": {"text": "[COMP001] High cognitive complexity (and 39 more): Same pattern found in 39 additional files. Review if needed."}, "properties": {"repobilityId": 72163, "scanner": "repobility-threat-engine", "fingerprint": "0b7fe54636352719cbc4711a7a74d6c7c2a5986f9272e22fb517084b56a61a3c", "category": "quality", "severity": "info", "confidence": 0.2, "triageState": "false_positive", "verdict": "likely_fp", "isResolved": true, "reason": "Deduplicated summary only: 39 additional occurrences found. The top occurrences remain visible as actionable findings.", "evidence": {"scanner": "repobility-threat-engine", "function": "main", "breakdown": {"if": 4, "for": 1, "else": 1, "continue": 1, "nested_bonus": 2}, "aggregated": true, "complexity": 9, "correlation_key": "fp|0b7fe54636352719cbc4711a7a74d6c7c2a5986f9272e22fb517084b56a61a3c", "aggregated_count": 39}}}, {"ruleId": "MINED112", "level": "error", "message": {"text": "[MINED112] FastAPI POST /api/traces/ingest has no auth: Handler `ingest_traces` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body."}, "properties": {"repobilityId": 72292, "scanner": "repobility-route-auth", "fingerprint": "fbe18b7807c93c680bdcab28ae744097a61b17914cb25f53e6851e6f75d1bcfb", "category": "quality", "severity": "high", "confidence": 0.8, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "fastapi-destructive-unauth", "owasp": "A01:2021", "cwe_ids": ["CWE-306", "CWE-862"], "languages": ["python", "javascript"], "observations_count": 10455}, "scanner": "repobility-route-auth", "correlation_key": "fp|fbe18b7807c93c680bdcab28ae744097a61b17914cb25f53e6851e6f75d1bcfb"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/main.py"}, "region": {"startLine": 401}}}]}, {"ruleId": "MINED112", "level": "error", "message": {"text": "[MINED112] FastAPI DELETE /api/deployments/<deployment_id> has no auth: Handler `remove_deployment` is registered with router/app.delete(...) but no Depends/Security parameter is declared and no auth marker appears in the function body."}, "properties": {"repobilityId": 72291, "scanner": "repobility-route-auth", "fingerprint": "9b17adc68d6c502622cdf3cacf147c77c3fc2fcd5dca95b37e48d6d94a7f4802", "category": "quality", "severity": "high", "confidence": 0.8, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "fastapi-destructive-unauth", "owasp": "A01:2021", "cwe_ids": ["CWE-306", "CWE-862"], "languages": ["python", "javascript"], "observations_count": 10455}, "scanner": "repobility-route-auth", "correlation_key": "fp|9b17adc68d6c502622cdf3cacf147c77c3fc2fcd5dca95b37e48d6d94a7f4802"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/main.py"}, "region": {"startLine": 280}}}]}, {"ruleId": "MINED112", "level": "error", "message": {"text": "[MINED112] FastAPI POST /api/deployments/<deployment_id>/stop has no auth: Handler `stop_deployment` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body."}, "properties": {"repobilityId": 72290, "scanner": "repobility-route-auth", "fingerprint": "1bf63276de3486e098dce4f77b34356bba4d6fbb61df863365ef1f1f53c44665", "category": "quality", "severity": "high", "confidence": 0.8, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "fastapi-destructive-unauth", "owasp": "A01:2021", "cwe_ids": ["CWE-306", "CWE-862"], "languages": ["python", "javascript"], "observations_count": 10455}, "scanner": "repobility-route-auth", "correlation_key": "fp|1bf63276de3486e098dce4f77b34356bba4d6fbb61df863365ef1f1f53c44665"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/main.py"}, "region": {"startLine": 267}}}]}, {"ruleId": "MINED112", "level": "error", "message": {"text": "[MINED112] FastAPI POST /api/deployments/<deployment_id>/start has no auth: Handler `start_deployment` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body."}, "properties": {"repobilityId": 72289, "scanner": "repobility-route-auth", "fingerprint": "6db47df8fb0ea4a745335c6132d8960fbfa401a434b74da9b5c9d763c15c783b", "category": "quality", "severity": "high", "confidence": 0.8, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "fastapi-destructive-unauth", "owasp": "A01:2021", "cwe_ids": ["CWE-306", "CWE-862"], "languages": ["python", "javascript"], "observations_count": 10455}, "scanner": "repobility-route-auth", "correlation_key": "fp|6db47df8fb0ea4a745335c6132d8960fbfa401a434b74da9b5c9d763c15c783b"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/main.py"}, "region": {"startLine": 247}}}]}, {"ruleId": "MINED112", "level": "error", "message": {"text": "[MINED112] FastAPI POST /api/deployments has no auth: Handler `create_deployment` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body."}, "properties": {"repobilityId": 72288, "scanner": "repobility-route-auth", "fingerprint": "8f74ff84a68faf8de90d3c97acd4ace1e16b729995da5ceea4e42ef43f984964", "category": "quality", "severity": "high", "confidence": 0.8, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "fastapi-destructive-unauth", "owasp": "A01:2021", "cwe_ids": ["CWE-306", "CWE-862"], "languages": ["python", "javascript"], "observations_count": 10455}, "scanner": "repobility-route-auth", "correlation_key": "fp|8f74ff84a68faf8de90d3c97acd4ace1e16b729995da5ceea4e42ef43f984964"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/main.py"}, "region": {"startLine": 201}}}]}, {"ruleId": "MINED112", "level": "error", "message": {"text": "[MINED112] FastAPI POST /api/projects/import has no auth: Handler `import_project` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body."}, "properties": {"repobilityId": 72287, "scanner": "repobility-route-auth", "fingerprint": "05e06b336c0a9889d46d6d98fa514a95f19476fb40c01ce9e953b84fc9d2181f", "category": "quality", "severity": "high", "confidence": 0.8, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "fastapi-destructive-unauth", "owasp": "A01:2021", "cwe_ids": ["CWE-306", "CWE-862"], "languages": ["python", "javascript"], "observations_count": 10455}, "scanner": "repobility-route-auth", "correlation_key": "fp|05e06b336c0a9889d46d6d98fa514a95f19476fb40c01ce9e953b84fc9d2181f"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/main.py"}, "region": {"startLine": 135}}}]}, {"ruleId": "MINED112", "level": "error", "message": {"text": "[MINED112] FastAPI POST /chat has no auth: Handler `chat_endpoint` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body."}, "properties": {"repobilityId": 72286, "scanner": "repobility-route-auth", "fingerprint": "f51d1af5990401661f147765a4aaa3db90ed4ddf9f0f499ec34d97befcbe779b", "category": "quality", "severity": "high", "confidence": 0.8, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "fastapi-destructive-unauth", "owasp": "A01:2021", "cwe_ids": ["CWE-306", "CWE-862"], "languages": ["python", "javascript"], "observations_count": 10455}, "scanner": "repobility-route-auth", "correlation_key": "fp|f51d1af5990401661f147765a4aaa3db90ed4ddf9f0f499ec34d97befcbe779b"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/mcp/building-a-supply-chain-copilot-with-agent-sdk-and-databricks-mcp/api_server.py"}, "region": {"startLine": 92}}}]}, {"ruleId": "MINED106", "level": "error", "message": {"text": "[MINED106] Phantom test coverage: test_validate_output_rejects_missing_run_grade_mean: Test function `test_validate_output_rejects_missing_run_grade_mean` runs code but contains no assert / expect / should call \u2014 it passes regardless of behaviour. Adds line coverage without verifying anything."}, "properties": {"repobilityId": 72284, "scanner": "repobility-ast-engine", "fingerprint": "2cb525a17ee5904eba884121e55ab1cc3f2ab8c6aabe1c50ffd8a704273cfd5a", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "phantom-test-coverage", "owasp": null, "cwe_ids": ["CWE-1126"], "languages": ["python"], "observations_count": 982154}, "scanner": "repobility-ast-engine", "correlation_key": "fp|2cb525a17ee5904eba884121e55ab1cc3f2ab8c6aabe1c50ffd8a704273cfd5a"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/evals/realtime_evals/tests/test_validation_scripts.py"}, "region": {"startLine": 155}}}]}, {"ruleId": "MINED106", "level": "error", "message": {"text": "[MINED106] Phantom test coverage: test_validate_output_accepts_valid_run_output: Test function `test_validate_output_accepts_valid_run_output` runs code but contains no assert / expect / should call \u2014 it passes regardless of behaviour. Adds line coverage without verifying anything."}, "properties": {"repobilityId": 72283, "scanner": "repobility-ast-engine", "fingerprint": "5aad6db565518b5514079c6d890d156e90ec77653fa8073f55a992ae582bdc24", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "phantom-test-coverage", "owasp": null, "cwe_ids": ["CWE-1126"], "languages": ["python"], "observations_count": 982154}, "scanner": "repobility-ast-engine", "correlation_key": "fp|5aad6db565518b5514079c6d890d156e90ec77653fa8073f55a992ae582bdc24"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/evals/realtime_evals/tests/test_validation_scripts.py"}, "region": {"startLine": 91}}}]}, {"ruleId": "MINED106", "level": "error", "message": {"text": "[MINED106] Phantom test coverage: test_validate_input_rejects_walk_audio_with_wrong_format: Test function `test_validate_input_rejects_walk_audio_with_wrong_format` runs code but contains no assert / expect / should call \u2014 it passes regardless of behaviour. Adds line coverage without verifying anything."}, "properties": {"repobilityId": 72282, "scanner": "repobility-ast-engine", "fingerprint": "90e3630f2de0d932a07f190c06224cfc9de3a592d0940cd2918c34e48810e3b6", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "phantom-test-coverage", "owasp": null, "cwe_ids": ["CWE-1126"], "languages": ["python"], "observations_count": 982154}, "scanner": "repobility-ast-engine", "correlation_key": "fp|90e3630f2de0d932a07f190c06224cfc9de3a592d0940cd2918c34e48810e3b6"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/evals/realtime_evals/tests/test_validation_scripts.py"}, "region": {"startLine": 70}}}]}, {"ruleId": "MINED106", "level": "error", "message": {"text": "[MINED106] Phantom test coverage: test_validate_input_accepts_valid_run_bundle: Test function `test_validate_input_accepts_valid_run_bundle` runs code but contains no assert / expect / should call \u2014 it passes regardless of behaviour. Adds line coverage without verifying anything."}, "properties": {"repobilityId": 72281, "scanner": "repobility-ast-engine", "fingerprint": "d6b06347f40485aea182628eaae03b24778f8800f99d066d6bdd96785174bc5c", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "phantom-test-coverage", "owasp": null, "cwe_ids": ["CWE-1126"], "languages": ["python"], "observations_count": 982154}, "scanner": "repobility-ast-engine", "correlation_key": "fp|d6b06347f40485aea182628eaae03b24778f8800f99d066d6bdd96785174bc5c"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/evals/realtime_evals/tests/test_validation_scripts.py"}, "region": {"startLine": 29}}}]}, {"ruleId": "MINED110", "level": "error", "message": {"text": "[MINED110] Blocking call `input` inside async function `run_agent`: `input` is a synchronous (blocking) call. When invoked inside an `async def` it stalls the event loop, preventing every other coroutine in the process from making progress."}, "properties": {"repobilityId": 72280, "scanner": "repobility-ast-engine", "fingerprint": "ffdf090c970ac86fbdcb5f20d51b4c195953dd21d62d241611daa5cfcd6fa0c3", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "asyncio-blocking-call", "owasp": null, "cwe_ids": ["CWE-833"], "languages": ["python"], "observations_count": 31606}, "scanner": "repobility-ast-engine", "correlation_key": "fp|ffdf090c970ac86fbdcb5f20d51b4c195953dd21d62d241611daa5cfcd6fa0c3"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/mcp/building-a-supply-chain-copilot-with-agent-sdk-and-databricks-mcp/main.py"}, "region": {"startLine": 70}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.get_state` used but never assigned in __init__: Method `should_continue_tuning` of class `ThresholdAdjuster` reads `self.get_state`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72256, "scanner": "repobility-ast-engine", "fingerprint": "aa69748a26022d2576ba16351908348e68cd578e269a593ab75c7dcbeca2c3c7", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|aa69748a26022d2576ba16351908348e68cd578e269a593ab75c7dcbeca2c3c7"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/threshold_adjuster.py"}, "region": {"startLine": 200}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._state_key` used but never assigned in __init__: Method `get_state` of class `ThresholdAdjuster` reads `self._state_key`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72255, "scanner": "repobility-ast-engine", "fingerprint": "8c4999d4996c1914850fbdfdf9221c61ab822f07b8db7e434deb5156c7263df0", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|8c4999d4996c1914850fbdfdf9221c61ab822f07b8db7e434deb5156c7263df0"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/threshold_adjuster.py"}, "region": {"startLine": 101}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._state_key` used but never assigned in __init__: Method `get_or_create_state` of class `ThresholdAdjuster` reads `self._state_key`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72254, "scanner": "repobility-ast-engine", "fingerprint": "e4a4a27cf4b495618a29dfec7336a81a8e8900554b09df4f285826f46f72d3c6", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|e4a4a27cf4b495618a29dfec7336a81a8e8900554b09df4f285826f46f72d3c6"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/threshold_adjuster.py"}, "region": {"startLine": 89}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.calculate_gaps` used but never assigned in __init__: Method `determine_direction` of class `MetricsAnalyzer` reads `self.calculate_gaps`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72253, "scanner": "repobility-ast-engine", "fingerprint": "67c3af90a436f7e2380cb00302089c635fb5003a401cc1e93eb5b8187ce037c6", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|67c3af90a436f7e2380cb00302089c635fb5003a401cc1e93eb5b8187ce037c6"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/threshold_adjuster.py"}, "region": {"startLine": 38}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._update_threshold` used but never assigned in __init__: Method `run` of class `GuardrailFeedbackLoop` reads `self._update_threshold`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72252, "scanner": "repobility-ast-engine", "fingerprint": "fa95a78ccc10a30059c1bc1907bdce871cd8b5a8c222e8d583621dc2ebb50438", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|fa95a78ccc10a30059c1bc1907bdce871cd8b5a8c222e8d583621dc2ebb50438"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/feedback_loop.py"}, "region": {"startLine": 333}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._run_eval` used but never assigned in __init__: Method `run` of class `GuardrailFeedbackLoop` reads `self._run_eval`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72251, "scanner": "repobility-ast-engine", "fingerprint": "becdb26ce6bb28776c0ebf8fa1a085d342ca01ed81021b62d688bffb5bf77c29", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|becdb26ce6bb28776c0ebf8fa1a085d342ca01ed81021b62d688bffb5bf77c29"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/feedback_loop.py"}, "region": {"startLine": 347}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._save_config` used but never assigned in __init__: Method `run` of class `GuardrailFeedbackLoop` reads `self._save_config`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72250, "scanner": "repobility-ast-engine", "fingerprint": "cd33eb1940f12312267566550b73e760ee337f2d0e903e040a1fd71a48c23d96", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|cd33eb1940f12312267566550b73e760ee337f2d0e903e040a1fd71a48c23d96"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/feedback_loop.py"}, "region": {"startLine": 344}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._run_eval` used but never assigned in __init__: Method `run` of class `GuardrailFeedbackLoop` reads `self._run_eval`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72249, "scanner": "repobility-ast-engine", "fingerprint": "76acfa7fedbc18811c5d7a61f564fdef9f471950df04b41239101fc054802208", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|76acfa7fedbc18811c5d7a61f564fdef9f471950df04b41239101fc054802208"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/feedback_loop.py"}, "region": {"startLine": 284}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._generate_report` used but never assigned in __init__: Method `run` of class `GuardrailFeedbackLoop` reads `self._generate_report`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72248, "scanner": "repobility-ast-engine", "fingerprint": "e30da551bfdef8e1c53372e1d2ef4d7d43947633dc3b436c67f52eff482aa932", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|e30da551bfdef8e1c53372e1d2ef4d7d43947633dc3b436c67f52eff482aa932"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/feedback_loop.py"}, "region": {"startLine": 388}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._save_config` used but never assigned in __init__: Method `run` of class `GuardrailFeedbackLoop` reads `self._save_config`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72247, "scanner": "repobility-ast-engine", "fingerprint": "47a3d60ce0d9a2698ad6137a4a308b9513497d2b3da4ba705bb0893d8119164d", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|47a3d60ce0d9a2698ad6137a4a308b9513497d2b3da4ba705bb0893d8119164d"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/feedback_loop.py"}, "region": {"startLine": 384}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._get_tunable_guardrails` used but never assigned in __init__: Method `run` of class `GuardrailFeedbackLoop` reads `self._get_tunable_guardrails`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72246, "scanner": "repobility-ast-engine", "fingerprint": "b71ffa9b20d17da1294cc301be6257e2575bb3cbcf09a211035d5e97067dcfb7", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|b71ffa9b20d17da1294cc301be6257e2575bb3cbcf09a211035d5e97067dcfb7"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/feedback_loop.py"}, "region": {"startLine": 259}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._load_config` used but never assigned in __init__: Method `run` of class `GuardrailFeedbackLoop` reads `self._load_config`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72245, "scanner": "repobility-ast-engine", "fingerprint": "f7c83b7942d86e8dbc98a9defebc25b08ad6183bf9596300288eb4c4b8cf6e5c", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|f7c83b7942d86e8dbc98a9defebc25b08ad6183bf9596300288eb4c4b8cf6e5c"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/feedback_loop.py"}, "region": {"startLine": 258}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self._parse_metrics` used but never assigned in __init__: Method `_run_eval` of class `GuardrailFeedbackLoop` reads `self._parse_metrics`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72244, "scanner": "repobility-ast-engine", "fingerprint": "99cc6c15a6eda3b6e8a39f3f6e729d6483c4f6f497f903e3c81f87dc4856789a", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|99cc6c15a6eda3b6e8a39f3f6e729d6483c4f6f497f903e3c81f87dc4856789a"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/agentic_governance_guide/guardrail_tuner/feedback_loop.py"}, "region": {"startLine": 189}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.read_str` used but never assigned in __init__: Method `parse_add_file` of class `Parser` reads `self.read_str`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72240, "scanner": "repobility-ast-engine", "fingerprint": "8b1517662d9910a03b53e3dd11019563a019f5f51edf7e4309d23c1a8f0db548", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|8b1517662d9910a03b53e3dd11019563a019f5f51edf7e4309d23c1a8f0db548"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 211}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.is_done` used but never assigned in __init__: Method `parse_add_file` of class `Parser` reads `self.is_done`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72239, "scanner": "repobility-ast-engine", "fingerprint": "fb86a3c8cadab77f212999f09c7cf6514f8a5d42df49662121b550228ccd652c", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|fb86a3c8cadab77f212999f09c7cf6514f8a5d42df49662121b550228ccd652c"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 208}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.read_str` used but never assigned in __init__: Method `parse_update_file` of class `Parser` reads `self.read_str`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72238, "scanner": "repobility-ast-engine", "fingerprint": "6e9340eda9f6863ebccb586d54f0e45f251e34dc67daeb123e269db730cd7cf0", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|6e9340eda9f6863ebccb586d54f0e45f251e34dc67daeb123e269db730cd7cf0"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 159}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.is_done` used but never assigned in __init__: Method `parse_update_file` of class `Parser` reads `self.is_done`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72237, "scanner": "repobility-ast-engine", "fingerprint": "73a9bb5fadd77df5ff8dc4da78b8d1ec1d166692c57c3c981afadf0de4b77c11", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|73a9bb5fadd77df5ff8dc4da78b8d1ec1d166692c57c3c981afadf0de4b77c11"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 150}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.parse_add_file` used but never assigned in __init__: Method `parse` of class `Parser` reads `self.parse_add_file`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72236, "scanner": "repobility-ast-engine", "fingerprint": "8b3d9dae392a1a6710abdd5d3380ee3c97327c933e6885d2dc6371e3b290e2db", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|8b3d9dae392a1a6710abdd5d3380ee3c97327c933e6885d2dc6371e3b290e2db"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 134}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.parse_update_file` used but never assigned in __init__: Method `parse` of class `Parser` reads `self.parse_update_file`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72235, "scanner": "repobility-ast-engine", "fingerprint": "def7ffa8ade319a37ada2f22880c2ef84fbb737ec354e77e9652cf50bb2a9c49", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|def7ffa8ade319a37ada2f22880c2ef84fbb737ec354e77e9652cf50bb2a9c49"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 115}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.read_str` used but never assigned in __init__: Method `parse` of class `Parser` reads `self.read_str`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72234, "scanner": "repobility-ast-engine", "fingerprint": "69ba959a1662fc502450ef70ee66e48ac0d7ddaa9ac7534f07768ef3aca71b19", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|69ba959a1662fc502450ef70ee66e48ac0d7ddaa9ac7534f07768ef3aca71b19"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 111}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.startswith` used but never assigned in __init__: Method `parse` of class `Parser` reads `self.startswith`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72233, "scanner": "repobility-ast-engine", "fingerprint": "848bd0d36f6ff22025b81c5eaf942e53dce741c9c7edc800f0803f9f1beeac1b", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|848bd0d36f6ff22025b81c5eaf942e53dce741c9c7edc800f0803f9f1beeac1b"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 137}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.read_str` used but never assigned in __init__: Method `parse` of class `Parser` reads `self.read_str`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72232, "scanner": "repobility-ast-engine", "fingerprint": "beb43dd0004c8235b74058038d574fb4164bb11da9e9e910d1520f15189fff11", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|beb43dd0004c8235b74058038d574fb4164bb11da9e9e910d1520f15189fff11"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 130}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.read_str` used but never assigned in __init__: Method `parse` of class `Parser` reads `self.read_str`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72231, "scanner": "repobility-ast-engine", "fingerprint": "2061f23eda0ddc8783a7ce889fb67c700d9fe252cfad6afd5c1401387ed8ee0a", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|2061f23eda0ddc8783a7ce889fb67c700d9fe252cfad6afd5c1401387ed8ee0a"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 120}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.read_str` used but never assigned in __init__: Method `parse` of class `Parser` reads `self.read_str`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72230, "scanner": "repobility-ast-engine", "fingerprint": "9c58993bf67de1e34b0315b2992f73fbe9d2189ecd1c6df2ed1a6d21e84ef5c3", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|9c58993bf67de1e34b0315b2992f73fbe9d2189ecd1c6df2ed1a6d21e84ef5c3"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 107}}}]}, {"ruleId": "MINED108", "level": "error", "message": {"text": "[MINED108] `self.is_done` used but never assigned in __init__: Method `parse` of class `Parser` reads `self.is_done`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance."}, "properties": {"repobilityId": 72229, "scanner": "repobility-ast-engine", "fingerprint": "88604bcb0b46240c6bbda8eb5103af77430961136732f290f8d3c97283a52640", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "self-attr-never-set", "owasp": null, "cwe_ids": ["CWE-476"], "languages": ["python"], "observations_count": 25998}, "scanner": "repobility-ast-engine", "correlation_key": "fp|88604bcb0b46240c6bbda8eb5103af77430961136732f290f8d3c97283a52640"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/apply_patch.py"}, "region": {"startLine": 106}}}]}, {"ruleId": "SEC040", "level": "error", "message": {"text": "[SEC040] innerHTML XSS \u2014 template literal with server-supplied data: Setting .innerHTML with a template literal that interpolates server-supplied or user-supplied data is the canonical stored/reflected XSS vector. The browser parses the HTML and executes any <script> or event-handler attributes in the data. CWE-79. Especially dangerous when the data comes from a CV parser, profile field, or any user-input pipeline."}, "properties": {"repobilityId": 72223, "scanner": "repobility-threat-engine", "fingerprint": "4c0214598b422515386f2eb7528f6fd409e0e7fa50c6b5785aaf639479b0de2c", "category": "xss", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "map((key) => `${key}${stringValue(params[key])}", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC040", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|4c0214598b422515386f2eb7528f6fd409e0e7fa50c6b5785aaf639479b0de2c"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/voice_solutions/realtime_translation_guide/twilio-translation-demo/src/security.js"}, "region": {"startLine": 12}}}]}, {"ruleId": "SEC085", "level": "error", "message": {"text": "[SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived input enables command injection. Ported from eslint-plugin-security detect-child-process (Apache-2.0)."}, "properties": {"repobilityId": 72217, "scanner": "repobility-threat-engine", "fingerprint": "3965c1fcbb7e0f95810a19bb507e7fbd89a65229c9eeca92efd18318928a3fad", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "exec(sys", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC085", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|3965c1fcbb7e0f95810a19bb507e7fbd89a65229c9eeca92efd18318928a3fad"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/object_oriented_agentic_approach/resources/registry/tools/python_code_interpreter_tool.py"}, "region": {"startLine": 55}}}]}, {"ruleId": "SEC135", "level": "error", "message": {"text": "[SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint generated by an AI agent without an auth decorator or middleware. The number-one production-incident pattern we see in AI-generated SaaS code: the AI builds the route, builds the handler, and forgets to wire the auth check that the rest of the codebase uses. CWE-862 (missing authorization). High-severity because the route is fully functional, just unprotected \u2014 attackers can call it directly."}, "properties": {"repobilityId": 72212, "scanner": "repobility-threat-engine", "fingerprint": "7645552b5e509c2c2e6ee891003704c0bf3112fb672ba92e01538173d6d7476e", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "@app.post(\"/chat\")\nasync def chat_endpoint(req: ChatRequest)", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC135", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|7645552b5e509c2c2e6ee891003704c0bf3112fb672ba92e01538173d6d7476e"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/mcp/building-a-supply-chain-copilot-with-agent-sdk-and-databricks-mcp/api_server.py"}, "region": {"startLine": 91}}}]}, {"ruleId": "SEC128", "level": "error", "message": {"text": "[SEC128] Async function without await \u2014 fire-and-forget Promise (AI mistake): Async call invoked without `await` returns an unhandled Promise. The outer function resolves before the inner work completes \u2014 DB writes lost, emails not sent, race conditions. This is one of the top-3 errors AI coders make: they understand async-shape but drop the await keyword when chaining multiple ops. Surfaces as flaky tests or silently dropped data in production."}, "properties": {"repobilityId": 72208, "scanner": "repobility-threat-engine", "fingerprint": "e88fe0411e63956c3398475d97ec80c6119e9e7980cd0a4de4b1b02251210a64", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "this.callers.delete(callSid);", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC128", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|e88fe0411e63956c3398475d97ec80c6119e9e7980cd0a4de4b1b02251210a64"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/voice_solutions/realtime_translation_guide/twilio-translation-demo/src/room.js"}, "region": {"startLine": 36}}}]}, {"ruleId": "SEC128", "level": "error", "message": {"text": "[SEC128] Async function without await \u2014 fire-and-forget Promise (AI mistake): Async call invoked without `await` returns an unhandled Promise. The outer function resolves before the inner work completes \u2014 DB writes lost, emails not sent, race conditions. This is one of the top-3 errors AI coders make: they understand async-shape but drop the await keyword when chaining multiple ops. Surfaces as flaky tests or silently dropped data in production."}, "properties": {"repobilityId": 72207, "scanner": "repobility-threat-engine", "fingerprint": "31507f3ac9c1c3908689827c23a2ed0499599d8a6c6d6e85402a427767be7459", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "edge_attrs.update(event_attrs)", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC128", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|31507f3ac9c1c3908689827c23a2ed0499599d8a6c6d6e85402a427767be7459"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/temporal_agents_with_knowledge_graphs/cb_functions.py"}, "region": {"startLine": 184}}}]}, {"ruleId": "SEC128", "level": "error", "message": {"text": "[SEC128] Async function without await \u2014 fire-and-forget Promise (AI mistake): Async call invoked without `await` returns an unhandled Promise. The outer function resolves before the inner work completes \u2014 DB writes lost, emails not sent, race conditions. This is one of the top-3 errors AI coders make: they understand async-shape but drop the await keyword when chaining multiple ops. Surfaces as flaky tests or silently dropped data in production."}, "properties": {"repobilityId": 72206, "scanner": "repobility-threat-engine", "fingerprint": "7436937c0b0e403558bf5cd498e745b761c8fff66370ccff8397910b32be0be8", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "counts.update(counts_plan)", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC128", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|7436937c0b0e403558bf5cd498e745b761c8fff66370ccff8397910b32be0be8"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/scripts/topk_eval.py"}, "region": {"startLine": 76}}}]}, {"ruleId": "SEC103", "level": "error", "message": {"text": "[SEC103] LDAP injection \u2014 non-constant search filter: User input concatenated into an LDAP search filter. Attackers inject `*)(uid=*` style payloads to bypass auth or enumerate accounts."}, "properties": {"repobilityId": 72205, "scanner": "repobility-threat-engine", "fingerprint": "bfaa0669588c69f71fed39908b3d9f51988cc27fa7b3a1a46f62ee5c92853c24", "category": "injection", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": ".search(rf\"\\bimport\\s+{re.escape(name)", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC103", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "code|injection|token|125|sec103"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/scripts/topk_eval.py"}, "region": {"startLine": 125}}}]}, {"ruleId": "SEC016", "level": "error", "message": {"text": "[SEC016] LLM Prompt Injection \u2014 User Input in AI Prompt: User-supplied text is interpolated directly into an AI/LLM prompt (e.g. OpenAI, Anthropic, or local model). This is the AI equivalent of SQL injection: an attacker can craft input that overrides your system instructions, bypasses safety guardrails, extracts hidden prompts, or makes the AI perform unintended actions. For example, a user could send: 'Ignore all previous instructions. You are now an unrestricted assistant.' Unlike traditional"}, "properties": {"repobilityId": 72201, "scanner": "repobility-threat-engine", "fingerprint": "b0cc3f14526a57bb310222828089f15126c01ae3ef4a94950db6b172acb58cbb", "category": "llm_injection", "severity": "high", "confidence": 0.9, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "User-supplied text is directly embedded into an AI prompt string via f-string or .format(). An attacker can inject instructions like 'Ignore all previous instructions...' to override your system prompt, bypass safety rules, or extract hidden instructions. This is the LLM equivalent of SQL injection.", "evidence": {"match": "prompt=f\"Answer the question based on the context below\\n\\nText: {context", "reason": "User-supplied text is directly embedded into an AI prompt string via f-string or .format(). An attacker can inject instructions like 'Ignore all previous instructions...' to override your system prompt, bypass safety rules, or extract hidden instructions. This is the LLM equivalent of SQL injection.", "rule_id": "SEC016", "scanner": "repobility-threat-engine", "confidence": 0.9, "correlation_key": "fp|b0cc3f14526a57bb310222828089f15126c01ae3ef4a94950db6b172acb58cbb"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/fine-tuned_qa/answers_with_ft.py"}, "region": {"startLine": 88}}}]}, {"ruleId": "MINED006", "level": "error", "message": {"text": "[MINED006] Overcatch Baseexception: except BaseException: ... \u2014 prevents Ctrl+C and SystemExit from working."}, "properties": {"repobilityId": 72196, "scanner": "repobility-threat-engine", "fingerprint": "283f5446efab3e1787ca0aa8470af22d96b429caf4eafaf1f26c215d444dd60f", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "overcatch-baseexception", "owasp": null, "cwe_ids": ["CWE-705"], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.347911+00:00", "triaged_in_corpus": 15, "observations_count": 230624, "ai_coder_pattern_id": 8}, "scanner": "repobility-threat-engine", "correlation_key": "fp|283f5446efab3e1787ca0aa8470af22d96b429caf4eafaf1f26c215d444dd60f"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/deep_research_api/how_to_build_a_deep_research_mcp_server/main.py"}, "region": {"startLine": 200}}}]}, {"ruleId": "SEC078", "level": "error", "message": {"text": "[SEC078] Python: requests without timeout: requests.get/post without a timeout will hang indefinitely on a non-responsive server, causing thread exhaustion and ReDoS. Ported from bandit B113 (Apache-2.0). NOTE: this regex is heuristic; a real AST check is preferred for accuracy."}, "properties": {"repobilityId": 72188, "scanner": "repobility-threat-engine", "fingerprint": "0deb02f609d35530636c186224ccfe0d5fac7978282a2c99527432802d804235", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "requests.get(", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC078", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|0deb02f609d35530636c186224ccfe0d5fac7978282a2c99527432802d804235"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/multi-agent-portfolio-collaboration/tools.py"}, "region": {"startLine": 119}}}]}, {"ruleId": "SEC029", "level": "error", "message": {"text": "[SEC029] Server-Side Request Forgery (SSRF) \u2014 outbound HTTP from user input: Outbound HTTP request to a user-controlled URL without allowlist validation. Attackers can probe internal services (169.254.169.254 metadata, internal Kubernetes endpoints, file:// URIs), exfiltrate data, or pivot through your network. SSRF is OWASP A10:2021 and a frequent foothold in cloud breaches."}, "properties": {"repobilityId": 72186, "scanner": "repobility-threat-engine", "fingerprint": "b65986f62d533546e8e15fcc7215ac05297b04f71bb5c61db58afa5d9a4187c4", "category": "ssrf", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "url(p", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC029", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|b65986f62d533546e8e15fcc7215ac05297b04f71bb5c61db58afa5d9a4187c4"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/evals/imagegen_evals/vision_harness/io.py"}, "region": {"startLine": 14}}}]}, {"ruleId": "SEC029", "level": "error", "message": {"text": "[SEC029] Server-Side Request Forgery (SSRF) \u2014 outbound HTTP from user input: Outbound HTTP request to a user-controlled URL without allowlist validation. Attackers can probe internal services (169.254.169.254 metadata, internal Kubernetes endpoints, file:// URIs), exfiltrate data, or pivot through your network. SSRF is OWASP A10:2021 and a frequent foothold in cloud breaches."}, "properties": {"repobilityId": 72185, "scanner": "repobility-threat-engine", "fingerprint": "8f5ed42c950d01549b9efee7e1671df57ea9de8a6f9f7424ca78ce92c2732404", "category": "ssrf", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "url(o", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC029", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|8f5ed42c950d01549b9efee7e1671df57ea9de8a6f9f7424ca78ce92c2732404"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/evals/imagegen_evals/vision_harness/graders.py"}, "region": {"startLine": 35}}}]}, {"ruleId": "SEC029", "level": "error", "message": {"text": "[SEC029] Server-Side Request Forgery (SSRF) \u2014 outbound HTTP from user input: Outbound HTTP request to a user-controlled URL without allowlist validation. Attackers can probe internal services (169.254.169.254 metadata, internal Kubernetes endpoints, file:// URIs), exfiltrate data, or pivot through your network. SSRF is OWASP A10:2021 and a frequent foothold in cloud breaches."}, "properties": {"repobilityId": 72184, "scanner": "repobility-threat-engine", "fingerprint": "e783b91d8e46dc9924f95951be7bd3f2d9960da1bc90fcf0cbc550e2904eb1fb", "category": "ssrf", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "urllib.request.urlopen(r", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC029", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|e783b91d8e46dc9924f95951be7bd3f2d9960da1bc90fcf0cbc550e2904eb1fb"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/scripts/local_deploy.py"}, "region": {"startLine": 219}}}]}, {"ruleId": "MINED001", "level": "error", "message": {"text": "[MINED001] Bare Except Pass: except: pass or except Exception: pass \u2014 silently swallows everything including KeyboardInterrupt and bugs."}, "properties": {"repobilityId": 72180, "scanner": "repobility-threat-engine", "fingerprint": "6e6dab2a725abceedff090f93fc67bd816c24b696ce0fa47674fe64b17ed8936", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "bare-except-pass", "owasp": null, "cwe_ids": ["CWE-755"], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.347744+00:00", "triaged_in_corpus": 15, "observations_count": 1550824, "ai_coder_pattern_id": 6}, "scanner": "repobility-threat-engine", "correlation_key": "fp|6e6dab2a725abceedff090f93fc67bd816c24b696ce0fa47674fe64b17ed8936"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/gpt-5/prompt-optimization-cookbook/scripts/topk_eval.py"}, "region": {"startLine": 107}}}]}, {"ruleId": "MINED001", "level": "error", "message": {"text": "[MINED001] Bare Except Pass: except: pass or except Exception: pass \u2014 silently swallows everything including KeyboardInterrupt and bugs."}, "properties": {"repobilityId": 72179, "scanner": "repobility-threat-engine", "fingerprint": "1e34ac017ac002ad9a414c55b078ef572af2c601bb3a7e609778a538466d6b1b", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "bare-except-pass", "owasp": null, "cwe_ids": ["CWE-755"], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.347744+00:00", "triaged_in_corpus": 15, "observations_count": 1550824, "ai_coder_pattern_id": 6}, "scanner": "repobility-threat-engine", "correlation_key": "fp|1e34ac017ac002ad9a414c55b078ef572af2c601bb3a7e609778a538466d6b1b"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/scripts/local_deploy.py"}, "region": {"startLine": 187}}}]}, {"ruleId": "MINED001", "level": "error", "message": {"text": "[MINED001] Bare Except Pass: except: pass or except Exception: pass \u2014 silently swallows everything including KeyboardInterrupt and bugs."}, "properties": {"repobilityId": 72178, "scanner": "repobility-threat-engine", "fingerprint": "bf405ddabc26dd1bf9cef5c81fd8d0ba475552a39dca48c543a2ea5a030369bc", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "bare-except-pass", "owasp": null, "cwe_ids": ["CWE-755"], "languages": ["python"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.347744+00:00", "triaged_in_corpus": 15, "observations_count": 1550824, "ai_coder_pattern_id": 6}, "scanner": "repobility-threat-engine", "correlation_key": "fp|bf405ddabc26dd1bf9cef5c81fd8d0ba475552a39dca48c543a2ea5a030369bc"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/runtime/trace_capture/sitecustomize.py"}, "region": {"startLine": 5}}}]}, {"ruleId": "SEC013", "level": "error", "message": {"text": "[SEC013] Path Traversal \u2014 User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files."}, "properties": {"repobilityId": 72171, "scanner": "repobility-threat-engine", "fingerprint": "14c09df84b29962b3ff0f4334b0b35ab3e8ea6f702d34d8f9a9d8167de36ea49", "category": "path_traversal", "severity": "high", "confidence": 0.8, "triageState": "open", "verdict": "likely", "isResolved": false, "reason": "User-controlled input detected in file path construction", "evidence": {"match": "open(request", "reason": "User-controlled input detected in file path construction", "rule_id": "SEC013", "scanner": "repobility-threat-engine", "confidence": 0.8, "correlation_key": "code|path_traversal|token|106|sec013"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/runtime/trace_capture/agents_sdk_trace_capture.py"}, "region": {"startLine": 106}}}]}, {"ruleId": "MINED004", "level": "error", "message": {"text": "[MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums)."}, "properties": {"repobilityId": 72170, "scanner": "repobility-threat-engine", "fingerprint": "91af25cae1593bd39b70f1674b6db1bc966b21957058aa3693762ff99c86d828", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "weak-crypto", "owasp": "A02:2021", "cwe_ids": ["CWE-327"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.347906+00:00", "triaged_in_corpus": 15, "observations_count": 303181, "ai_coder_pattern_id": 13}, "scanner": "repobility-threat-engine", "correlation_key": "fp|91af25cae1593bd39b70f1674b6db1bc966b21957058aa3693762ff99c86d828"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/voice_solutions/realtime_translation_guide/twilio-translation-demo/src/security.js"}, "region": {"startLine": 15}}}]}, {"ruleId": "MINED004", "level": "error", "message": {"text": "[MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums)."}, "properties": {"repobilityId": 72169, "scanner": "repobility-threat-engine", "fingerprint": "4bd37dc8259537f655e90972e3dda08c149db2acd8fa317addb150a795d6d950", "category": "quality", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"mined": true, "mining": {"slug": "weak-crypto", "owasp": "A02:2021", "cwe_ids": ["CWE-327"], "precision": 1.0, "promoted_at": "2026-05-18T14:01:32.347906+00:00", "triaged_in_corpus": 15, "observations_count": 303181, "ai_coder_pattern_id": 13}, "scanner": "repobility-threat-engine", "correlation_key": "fp|4bd37dc8259537f655e90972e3dda08c149db2acd8fa317addb150a795d6d950"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/project_inspector.py"}, "region": {"startLine": 18}}}]}, {"ruleId": "SEC069", "level": "error", "message": {"text": "[SEC069] Dockerfile: no USER directive (runs as root): Container runs as root because no USER directive was set. Ported from trivy DS002 / checkov CKV_DOCKER_3 (Apache-2.0). Implement as a file-level rule: skip if file contains `^\\s*USER\\s+\\S+` other than `root`."}, "properties": {"repobilityId": 72165, "scanner": "repobility-threat-engine", "fingerprint": "e048a214691763490fca87ba5d4a974337fd2631ec9d8bfe8ff112a6e0c14512", "category": "docker", "severity": "high", "confidence": 1.0, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Pattern matched with no mitigating context found", "evidence": {"match": "from __future__ import annotations\n\nfrom pathlib import Path\n\nfrom .models import Project\n\n\nDOCKERIG", "reason": "Pattern matched with no mitigating context found", "rule_id": "SEC069", "scanner": "repobility-threat-engine", "confidence": 1.0, "correlation_key": "fp|e048a214691763490fca87ba5d4a974337fd2631ec9d8bfe8ff112a6e0c14512"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/dockerfile_writer.py"}, "region": {"startLine": 1}}}]}, {"ruleId": "MINED107", "level": "error", "message": {"text": "[MINED107] Missing import: `html` used but not imported: The file uses `html.something(...)` but never imports `html`. This raises NameError at runtime the first time the line executes."}, "properties": {"repobilityId": 72285, "scanner": "repobility-ast-engine", "fingerprint": "859d36b47715a81e73f387a911e232587e9b42e2b44b389ed21000ad9399ef2a", "category": "quality", "severity": "critical", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "missing-import-python", "owasp": "A06:2021", "cwe_ids": ["CWE-1075"], "languages": ["python"], "observations_count": 2192}, "scanner": "repobility-ast-engine", "correlation_key": "fp|859d36b47715a81e73f387a911e232587e9b42e2b44b389ed21000ad9399ef2a"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/agents_sdk/deployment_manager/app/main.py"}, "region": {"startLine": 98}}}]}, {"ruleId": "MINED107", "level": "error", "message": {"text": "[MINED107] Missing import: `stat` used but not imported: The file uses `stat.something(...)` but never imports `stat`. This raises NameError at runtime the first time the line executes."}, "properties": {"repobilityId": 72257, "scanner": "repobility-ast-engine", "fingerprint": "08d005dd542227cd629ddaa2024ec20ac73530b0ecf6dc5bf3b9ec233b1df895", "category": "quality", "severity": "critical", "confidence": 1.0, "triageState": "open", "verdict": "", "isResolved": false, "reason": "", "evidence": {"mined": true, "mining": {"slug": "missing-import-python", "owasp": "A06:2021", "cwe_ids": ["CWE-1075"], "languages": ["python"], "observations_count": 2192}, "scanner": "repobility-ast-engine", "correlation_key": "fp|08d005dd542227cd629ddaa2024ec20ac73530b0ecf6dc5bf3b9ec233b1df895"}}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "examples/partners/macro_evals_for_agentic_systems/helpers/macro_eval_pipeline.py"}, "region": {"startLine": 2331}}}]}]}]}