Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
158 of your 252 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 1.67s · analysis 22.14s · 3.8 MB · GitHub preflight 423ms

microsoft/Agents-for-python

https://github.com/microsoft/Agents-for-python · scanned 2026-06-05 21:23 UTC (4 days, 11 hours ago) · 10 languages

509 raw signals (237 security + 272 graph) 51st percentile · Python · medium (20-100K LoC) System graph score 70 (lower by 6)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 4 days, 11 hours ago · v2 · 223 actionable findings from 2 signal sources. 124 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 40.0 0.15 6.00
security_score 17.4 0.25 4.35
testing_score 100.0 0.20 20.00
documentation_score 88.0 0.15 13.20
practices_score 94.0 0.15 14.10
code_quality 63.8 0.10 6.38
Overall 1.00 64.0
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade C+ (64/100). Dimensions: security 17, maintainability 40. 237 findings (59 security). 96,247 lines analyzed.

Showing 124 of 223 actionable findings. 347 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

critical Security checks security auth conf 1.00 3 occurrences [SEC099] JWT decoded without signature verification: JWT token is parsed without verifying its signature. The token body can be tampered with arbitrarily by an attacker.
Use jwt.decode(token, key, algorithms=[...]) without options={'verify_signature': False}. If you genuinely need to peek without verifying (rare — e.g. logging the kid before fetching the key), use jwt.get_unverified_header() instead and clearly comment.
3 files, 3 locations
libraries/microsoft-agents-activity/microsoft_agents/activity/token_response.py:43
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/oauth/_handlers/connector_user_authorization.py:227
test_samples/agentic-test/src/agent.py:48
high Security checks quality Quality conf 1.00 ✓ Repobility 3 occurrences Missing import: `string` used but not imported
The file uses `string.something(...)` but never imports `string`. This raises NameError at runtime the first time the line executes.
3 files, 3 locations
libraries/microsoft-agents-hosting-dialogs/microsoft_agents/hosting/dialogs/memory/dialog_state_manager.py:173
libraries/microsoft-agents-hosting-dialogs/microsoft_agents/hosting/dialogs/memory/path_resolvers/at_path_resolver.py:40
tests/_common/testing_objects/adapters/mock_testing_adapter.py:98
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED020] Logging Credential Via Fstring: logger.error(f"failed for {api_key}") — secrets end up in log aggregators / sentry.
Review and fix per the pattern semantics. See CWE-532 / A09:2021 for context.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/authorization/jwt_token_validator.py:91
high Security checks quality Quality conf 0.80 ✓ Repobility 4 occurrences FastAPI DELETE (unknown path) has no auth
Handler `delete_activity` is registered with router/app.delete(...) but no Depends/Security parameter is declared and no auth marker appears in the function body.
2 files, 4 locations
libraries/microsoft-agents-hosting-aiohttp/microsoft_agents/hosting/aiohttp/channel_service_route_table.py:77, 125 (2 hits)
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:76, 128 (2 hits)
high Security checks quality Quality conf 0.80 ✓ Repobility 10 occurrences FastAPI POST (unknown path) has no auth
Handler `send_to_conversation` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body.
2 files, 10 locations
libraries/microsoft-agents-hosting-aiohttp/microsoft_agents/hosting/aiohttp/channel_service_route_table.py:54, 63, 92, 132, 139 (5 hits)
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:51, 60, 93, 137, 144 (5 hits)
high Security checks quality Quality conf 0.80 ✓ Repobility FastAPI PUT (unknown path) has no auth
Handler `update_activity` is registered with router/app.put(...) but no Depends/Security parameter is declared and no auth marker appears in the function body.
libraries/microsoft-agents-hosting-aiohttp/microsoft_agents/hosting/aiohttp/channel_service_route_table.py:70
high Security checks quality Quality conf 0.80 ✓ Repobility FastAPI PUT (unknown path) has no auth
Handler `update_activity` is registered with router/app.put(...) but no Depends/Security parameter is declared and no auth marker appears in the function body.
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:69
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 5 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `actions/checkout` pinned to mutable ref `@v4` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
2 files, 5 locations
.github/workflows/python-package.yml:25, 27 (3 hits)
.github/workflows/codeql.yml:60 (2 hits)
CI/CD securitySupply chainGitHub Actions
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility 4 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `github/codeql-action/init` pinned to mutable ref `@v3` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
lines 70, 98
.github/workflows/codeql.yml:70, 98 (4 hits)
CI/CD securitySupply chainGitHub Actions
high Security checks software dependencies conf 0.90 ✓ Repobility pre-commit hook `https://github.com/psf/black` pinned to mutable rev `22.3.0`
`.pre-commit-config.yaml` references `https://github.com/psf/black` at `rev: 22.3.0`. If `{rev}` is a branch or version tag, the repo owner can push new code there and `pre-commit install --install-hooks` will fetch it on every developer's machine.
.pre-commit-config.yaml:2
high System graph security auth conf 1.00 FastAPI DELETE `delete_activity` without auth dependency — libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:73
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:73 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_conversation_member` without auth dependency — libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:127
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:127 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_conversation` without auth dependency — libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:92
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:92 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `reply_to_activity` without auth dependency — libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:57
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:57 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `send_conversation_history` without auth dependency — libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:136
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:136 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `send_to_conversation` without auth dependency — libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:50
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:50 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `upload_attachment` without auth dependency — libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:143
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:143 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `update_activity` without auth dependency — libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:66
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/channel_service_route_table.py:66 securityAuth fastapi unauth mutation
low Security checks quality Error handling conf 1.00 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level.
Log the error: `except Exception: logger.debug('cleanup failed', exc_info=True)`. Or handle specific exception types.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/storage/transcript_file_store.py:248
low Security checks quality Error handling conf 1.00 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level.
Log the error: `except Exception: logger.debug('cleanup failed', exc_info=True)`. Or handle specific exception types.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/client/http_agent_channel.py:85
low Security checks quality Quality conf 1.00 [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 — 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.
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.
libraries/microsoft-agents-activity/microsoft_agents/activity/token_response.py:62
low Security checks quality Error handling conf 0.55 ✓ Repobility 24 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
12 files, 21 locations
test_samples/app_style/authorization_agent.py:63, 70, 101, 141, 182, 227, 244 (7 hits)
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/proactive/proactive.py:212, 278, 341 (3 hits)
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/storage/transcript_file_store.py:164, 254 (2 hits)
dev/testing/microsoft-agents-testing/microsoft_agents/testing/cli/commands/scenario.py:157
dev/testing/microsoft-agents-testing/microsoft_agents/testing/cli/scenarios/auth_scenario.py:36
dev/testing/microsoft-agents-testing/microsoft_agents/testing/core/transport/aiohttp_callback_server.py:106
dev/testing/microsoft-agents-testing/microsoft_agents/testing/scenario_registry.py:224
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/channel_adapter.py:245
Error handlingquality
high Security checks software dependencies conf 0.90 GitHub Action `actions/checkout@v4` is 2 major version(s) behind (latest v6.0.3)
`uses: actions/checkout@v4` is 2 major version(s) behind the latest published release v6.0.3. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/python-package.yml:25
high Security checks software dependencies conf 0.90 GitHub Action `actions/checkout@v4` is 2 major version(s) behind (latest v6.0.3)
`uses: actions/checkout@v4` is 2 major version(s) behind the latest published release v6.0.3. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/codeql.yml:60
high Security checks software dependencies conf 0.90 GitHub Action `actions/setup-python@v3` is 3 major version(s) behind (latest v6.2.0)
`uses: actions/setup-python@v3` is 3 major version(s) behind the latest published release v6.2.0. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/python-package.yml:27
medium Security checks quality Quality conf 0.78 Public web service has no security.txt
security.txt gives researchers and customers a safe disclosure channel. Public web apps and APIs should publish it under /.well-known/security.txt.
.well-known/security.txt
medium Security checks software dependencies conf 0.90 ✓ Repobility 25 occurrences requirements.txt: `microsoft-agents-activity` has no version pin
Unpinned pip requirement means every fresh install may resolve a different version. Newer releases can introduce malicious code (typosquats, account compromises). Reproducible installs need exact pins.
3 files, 25 locations
dev/requirements.txt:1, 2, 3, 4, 5, 6, 7, 8, +3 more (11 hits)
test_samples/otel/requirements.txt:1, 2, 3, 4, 5, 6, 7, 8 (8 hits)
test_samples/proactive/requirements.txt:1, 2, 3, 4, 5, 6 (6 hits)
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — dev/testing/microsoft-agents-testing/microsoft_agents/testing/core/utils.py:61
`requests.post(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
low Security checks quality Quality conf 0.60 22 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
12 files, 14 locations
libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/cloud_adapter.py:14, 30 (2 hits)
libraries/microsoft-agents-hosting-teams/setup.py:1, 2 (2 hits)
libraries/microsoft-agents-activity/microsoft_agents/activity/audio_card.py:8
libraries/microsoft-agents-activity/microsoft_agents/activity/hero_card.py:7
libraries/microsoft-agents-activity/microsoft_agents/activity/media_card.py:8
libraries/microsoft-agents-activity/microsoft_agents/activity/thumbnail_card.py:7
libraries/microsoft-agents-activity/microsoft_agents/activity/video_card.py:8
libraries/microsoft-agents-copilotstudio-client/setup.py:1
duplicationquality
low System graph quality Maintenance conf 1.00 54 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: dev/testing/microsoft-agents-testing/tests/cli/test_cli_integration.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: dev/testing/microsoft-agents-testing/tests/cli/test_output.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: dev/testing/microsoft-agents-testing/tests/test_examples.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-activity/microsoft_agents/activity/_type_aliases.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-activity/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-authentication-msal/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-copilotstudio-client/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-aiohttp/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/oauth/telemetry/constants.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/proactive/telemetry/constants.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/telemetry/constants.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/telemetry/metrics.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/authorization/telemetry/constants.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/authorization/telemetry/metrics.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/connector/telemetry/constants.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/connector/telemetry/metrics.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/storage/_type_aliases.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/storage/telemetry/constants.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/storage/telemetry/metrics.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/telemetry/adapter/constants.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/telemetry/adapter/metrics.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/telemetry/attributes.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/telemetry/core/resource.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/telemetry/core/type_defs.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/telemetry/turn_context/constants.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-core/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-dialogs/microsoft_agents/hosting/dialogs/memory/scope_path.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-dialogs/microsoft_agents/hosting/dialogs/prompts/prompt_validator.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-dialogs/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-fastapi/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/teams_cloud_adapter.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-hosting-teams/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-storage-blob/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: libraries/microsoft-agents-storage-cosmos/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test_samples/agentic-test/src/main.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test_samples/extensions/extension-starter/src/sample/main.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: test_samples/otel/src/main.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/_common/_tests/testing_objects/adapters/test_testing_adapter.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/_common/_tests/testing_objects/adapters/test_testing_simple_adapter.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/_common/_tests/testing_objects/mocks/test_mock_msal_auth.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/_common/_tests/testing_objects/mocks/test_mock_user_token_client.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/_common/type_defs.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/_integration/test_quickstart.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/authentication_msal/_data.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Integrity conf 1.00 16 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: dev/testing/microsoft-agents-testing/docs/samples/scenario_registry_demo.py:init_echo, dev/testing/microsoft-agents-testing/docs/samples/transcript_formatting.py:init_echo This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos —…
16 occurrences
repo-level (16 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: dev/testing/microsoft-agents-testing/microsoft_agents/testing/transcript_formatter.py:format, dev/testing/microsoft-agents-testing/microsoft_agents/testing/transcript_formatter.py:format, dev/testing/microsoft-agents-testing/microsoft_agents/testing/t…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: dev/testing/microsoft-agents-testing/microsoft_agents/testing/cli/core/decorators.py:wrapper, dev/testing/microsoft-agents-testing/microsoft_agents/testing/cli/core/decorators.py:wrapper, dev/testing/microsoft-agents-testing/microsoft_agents/testing/c…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `activity_copy` in libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/client/http_agent_channel.py:48
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `activity_copy` in tests/activity/pydantic/test_activity_io.py:17
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `defaults_copy` in dev/testing/microsoft-agents-testing/microsoft_agents/testing/core/fluent/model_template.py:86
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `fields_to_copy` in libraries/microsoft-agents-activity/microsoft_agents/activity/agents_model.py:28
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `initial_state_copy` in tests/_common/storage/utils.py:218
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/_oauth/_oauth_flow.py:79
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/oauth/authorization.py:327
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/_common/fixtures/flow_state_fixtures.py:13
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/hosting_core/_oauth/test_flow_state.py:53
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/hosting_core/_oauth/test_flow_storage_client.py:142
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/hosting_core/_oauth/test_oauth_flow.py:84
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/hosting_core/app/_oauth/test_authorization.py:107
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/hosting_core/app/_routes/test_agentic_selector.py:59
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `original_copy` in dev/testing/microsoft-agents-testing/tests/core/fluent/test_utils.py:154
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_history_returns_copy` in dev/testing/microsoft-agents-testing/tests/core/transport/transcript/test_transcript.py:36
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_resolve_kwargs_deep_copy` in dev/testing/microsoft-agents-testing/tests/core/fluent/backend/test_utils.py:229
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: call_next_middleware
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/middleware_set.py:70
low System graph software Dead code conf 1.00 Possibly dead Python function: create_activity
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/streaming/streaming_response.py:269
low System graph software Dead code conf 1.00 Possibly dead Python function: delete_state
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/state/temp_state.py:55
low System graph software Dead code conf 1.00 Possibly dead Python function: has
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/turn_context.py:163
low System graph software Dead code conf 1.00 Possibly dead Python function: is_loaded
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/state/temp_state.py:91
low System graph software Dead code conf 1.00 Possibly dead Python function: message_reaction
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/agent_application.py:426
low System graph software Dead code conf 1.00 Possibly dead Python function: message_update
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/agent_application.py:476
low System graph software Dead code conf 1.00 Possibly dead Python function: normalize_outgoing_activity
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/connector/client/connector_client.py:52
low System graph software Dead code conf 1.00 Possibly dead Python function: receive_activity
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/middleware_set.py:44
low System graph software Dead code conf 1.00 Possibly dead Python function: set_attachments
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/streaming/streaming_response.py:145
low System graph software Dead code conf 1.00 Possibly dead Python function: set_typed_value
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/state/temp_state.py:86
low System graph software Dead code conf 1.00 Possibly dead Python function: wrapped_selector
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/_routes/_route.py:15
low System graph quality Integrity conf 1.00 Stub function `agent_sign_in` (body is just `pass`/`return`) — libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/connector/user_token_client_base.py:14
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `attachments` (body is just `pass`/`return`) — libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/connector/connector_client_base.py:19
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `CHANNEL_HOST_CONFIGURATION` (body is just `pass`/`return`) — libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/client/channels_configuration.py:41
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `create_channel` (body is just `pass`/`return`) — libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/client/channel_factory_protocol.py:12
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `get_attachment` (body is just `pass`/`return`) — libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/connector/attachments_base.py:16
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `get_default_connection` (body is just `pass`/`return`) — test_samples/compat/agent_to_agent/agent_1/app.py:33
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `get_default_connection` (body is just `pass`/`return`) — test_samples/compat/agent_to_agent/agent_2/app.py:25
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `get_default_connection` (body is just `pass`/`return`) — test_samples/compat/weather-agent-open-ai/app.py:27
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `on_end_of_conversation_activity` (body is just `pass`/`return`) — test_samples/compat/agent_to_agent/agent_2/agent2.py:34
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `on_get_conversations` (body is just `pass`/`return`) — test_samples/compat/agent_to_agent/agent_1/agent1.py:113
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `on_prompt` (body is just `pass`/`return`) — libraries/microsoft-agents-hosting-dialogs/microsoft_agents/hosting/dialogs/prompts/prompt.py:131
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `on_turn` (body is just `pass`/`return`) — libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/middleware_set.py:12
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `send_activities` (body is just `pass`/`return`) — libraries/microsoft-agents-activity/microsoft_agents/activity/channel_adapter_protocol.py:20
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `send_activity` (body is just `pass`/`return`) — libraries/microsoft-agents-activity/microsoft_agents/activity/turn_context_protocol.py:28
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `store_item_to_json` (body is just `pass`/`return`) — libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/storage/store_item.py:11
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `track_event` (body is just `pass`/`return`) — libraries/microsoft-agents-hosting-dialogs/microsoft_agents/hosting/dialogs/_telemetry_client.py:10
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `write` (body is just `pass`/`return`) — libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/_oauth/_flow_storage_client.py:15
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/messages
`test_samples/fastapi/empty_agent.py` declares `GET /api/messages` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/messages
`test_samples/fastapi/empty_agent.py` declares `POST /api/messages` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/7d6ce753-cd50-496e-aa8f-dc78c913089d/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/7d6ce753-cd50-496e-aa8f-dc78c913089d/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.