Repository Analysis

microsoft/agent-governance-toolkit

AI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers 10/10 OWASP Agentic Top 10.

36.7 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of microsoft/agent-governance-toolkit, a Python project with 5,563 GitHub stars. SynthScan v2.0 examined 950,909 lines of code across 4221 source files, recording 21046 pattern matches distributed across 26 syntactic categories. The overall adjusted score of 36.7 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

36.7
Adjusted Score
36.7
Raw Score
100%
Time Factor
2026-08-01
Last Push
5.6K
Stars
Python
Language
950.9K
Lines of Code
4.2K
Files
21.0K
Pattern Hits
2026-08-02
Scan Date
0.09
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 15HIGH 364MEDIUM 5447LOW 15220

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 21046 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators5050 hits · 17326 pts
SeverityFileLineSnippetContext
MEDIUMpolicy-engine/core/src/runtime.rs1007 // ── AGT D1 transform application in evaluate_intervention_point ───────COMMENT
MEDIUMpolicy-engine/core/src/runtime.rs1185 // ── AGT D2 evidence propagation + Transformed event ───────────────COMMENT
MEDIUMpolicy-engine/core/src/runtime.rs1298 // ── AGT D1.4 bisected action identity ─────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/verdict.rs385 // ── AGT D1 effects rejection ──────────────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/verdict.rs438 // ── AGT D1 transform decision ─────────────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/verdict.rs498 // ── AGT D2 evidence ───────────────────────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/verdict.rs567 // ── AGT D1.4 permits() helper ─────────────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/verdict.rs578 // ── AGT D6 reserved reasons present in error.rs ───────────────────COMMENT
MEDIUMpolicy-engine/core/src/cedar.rs773 // ── D3.2 request mapping ──────────────────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/cedar.rs825 // ── D3.3 allow / deny ─────────────────────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/cedar.rs869 // ── D3.3 advice translation ───────────────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/cedar.rs921 // ── D3.3 malformed advice ─────────────────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/cedar.rs976 // ── D1.1 transform target confinement ─────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/cedar.rs996 // ── Dispatcher error paths ────────────────────────────────────────COMMENT
MEDIUMpolicy-engine/core/src/cedar.rs1053 // ── M2.S5 D7 builtin dispatcher (feature `cedar`) ─────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh37# ── plumbing ──────────────────────────────────────────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh81# ── 0. toolchain probe ────────────────────────────────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh99# ── 1. build the AGT-vendored ACS Rust core ──────────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh117# ── 2. Python venv + ACS Python SDK + agt-policies wrapper ──────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh132# ── 3. Node SDK build + pack + install ───────────────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh148# ── 4. .NET SDK build + pack + install ───────────────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh165# ── 5. End-to-end scenario: Python ──────────────────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh373# ── 6. End-to-end scenario: Rust ────────────────────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh482# ── 7. End-to-end scenario: Node ────────────────────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh571# ── 8. End-to-end scenario: .NET ────────────────────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh847# ── 10. Migration tool ──────────────────────────────────────────COMMENT
MEDIUMpolicy-engine/scripts/demo_end_to_end.sh875# ── 11. Final summary ───────────────────────────────────────────COMMENT
MEDIUM…net/tests/AgentGovernance.Tests/ProtocolFacetsTests.cs10 // ── FacetRegistry ─────────────────────────────────────────────────────COMMENT
MEDIUM…net/tests/AgentGovernance.Tests/ProtocolFacetsTests.cs71 // ── SQL ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…net/tests/AgentGovernance.Tests/ProtocolFacetsTests.cs216 // ── K8s ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…net/tests/AgentGovernance.Tests/ProtocolFacetsTests.cs403 // ── ExtractProtocolFacets default flow ────────────────────────────────COMMENT
MEDIUM…net/tests/AgentGovernance.Tests/ProtocolFacetsTests.cs453 // ── PolicyEngine integration ──────────────────────────────────────────COMMENT
MEDIUM…net/tests/AgentGovernance.Tests/PolicyAdvancedTests.cs10 // ── Policy.FromYaml ─────────────────────────────────────────────COMMENT
MEDIUM…net/tests/AgentGovernance.Tests/PolicyAdvancedTests.cs89 // ── Condition evaluation ────────────────────────────────────────COMMENT
MEDIUM…net/tests/AgentGovernance.Tests/PolicyAdvancedTests.cs267 // ── PolicyEngine management ─────────────────────────────────────COMMENT
MEDIUM…net/tests/AgentGovernance.Tests/PolicyAdvancedTests.cs326 // ── Conflict resolution strategies ──────────────────────────────COMMENT
MEDIUM…net/tests/AgentGovernance.Tests/PolicyAdvancedTests.cs442 // ── File loading ────────────────────────────────────────────────COMMENT
MEDIUM…otnet/tests/AgentGovernance.Tests/AuditEmitterTests.cs169 // ── Subscription order ─────────────────────────────────────────COMMENT
MEDIUM…otnet/tests/AgentGovernance.Tests/AuditEmitterTests.cs202 // ── Unsubscription ─────────────────────────────────────────────COMMENT
MEDIUM…otnet/tests/AgentGovernance.Tests/AuditEmitterTests.cs286 // ── Concurrent subscribe / emit ─────────────────────────────────COMMENT
MEDIUM…tGovernance.Tests/GovernanceMiddlewareAdvancedTests.cs27 // ── Input validation ────────────────────────────────────────────COMMENT
MEDIUM…tGovernance.Tests/GovernanceMiddlewareAdvancedTests.cs57 // ── Rate limiting ───────────────────────────────────────────────COMMENT
MEDIUM…tGovernance.Tests/GovernanceMiddlewareAdvancedTests.cs113 // ── Injection detection ─────────────────────────────────────────COMMENT
MEDIUM…tGovernance.Tests/GovernanceMiddlewareAdvancedTests.cs163 // ── Audit events ────────────────────────────────────────────────COMMENT
MEDIUM…tGovernance.Tests/GovernanceMiddlewareAdvancedTests.cs270 // ── Concurrency ─────────────────────────────────────────────────COMMENT
MEDIUM…ce-dotnet/examples/Quickstart/wire-protocol-rules.yaml11 # ── SQL ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ce-dotnet/examples/Quickstart/wire-protocol-rules.yaml33 # ── Kubernetes ───────────────────────────────────────────────────────────COMMENT
MEDIUM…tnet/src/AgentGovernance/Lifecycle/LifecycleManager.cs176 // ── Convenience methods ──────────────────────────────────────COMMENT
MEDIUM…ce-dotnet/src/AgentGovernance/Policy/ProtocolFacets.cs167 // ── SQL ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…ce-dotnet/src/AgentGovernance/Policy/ProtocolFacets.cs534 // ── Kubernetes ──────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_example_smoke.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_example_smoke.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_example_smoke.py73# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_example_smoke.py75# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_example_smoke.py105# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_example_smoke.py107# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_example_smoke.py142# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_example_smoke.py144# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_policy_test.py21# ── Helpers ────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/unit/test_policy_test.py86# ── Fixture loading ────────────────────────────────────────────────────COMMENT
4990 more matches not shown…
Hyper-Verbose Identifiers9012 hits · 8800 pts
SeverityFileLineSnippetContext
LOWpolicy-engine/tests/conformance/run_python.py55 async def evaluate_intervention_point(self, request):CODE
LOWpolicy-engine/tests/conformance/run_python.py164 def test_python_runner_cases_pass_or_skip(self):CODE
LOWpolicy-engine/generator/tests/test_generator.py87def test_golden_happy_path_generates_valid_artifacts() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py105def test_openai_compatible_model_detects_azure_by_hostname_only() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py120def test_openai_compatible_model_api_version_forces_azure_mode() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py128def test_generator_package_includes_wire_schemas() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py147def test_packaged_schemas_match_canonical_spec_schemas() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py168def test_empty_annotation_from_defaults_to_policy_target() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py180def test_tools_are_derived_from_tool_identity_conditions() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py194def test_unconditional_blocking_rule_is_rejected_and_repaired() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py207def test_retry_recovers_from_schema_invalid_plan() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py218def test_retry_recovers_from_invalid_rego() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py230def test_undefined_annotator_surfaces_core_error() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py240def test_opa_missing_warns_and_strict_fails(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py255def test_package_imports_without_credentials_or_network(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py263def test_init_cli_generates_guided_artifact_shape(capsys: pytest.CaptureFixture[str]) -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py331def test_init_cli_help_documents_output_layout_and_strict_opa() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py342def test_init_cli_preserves_regex_commas_in_repeatable_flags() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py373def test_init_cli_reads_answers_from_stdin(capsys: pytest.CaptureFixture[str]) -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py393def test_init_cli_dry_run_does_not_create_requested_output() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py423def test_init_cli_rejects_invalid_intervention_point() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py435def test_init_cli_rejects_empty_name_and_points() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py455def test_init_cli_rejects_repeated_singleton_flags() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py478def test_init_cli_rejects_unsupported_answer_keys() -> None:CODE
LOWpolicy-engine/generator/tests/test_generator.py496def test_init_cli_requires_empty_output_without_force() -> None:CODE
LOW…icy-engine/generator/acs_generator/manifest_builder.py51def referenced_annotators_by_point(plan: PolicyPlan) -> dict[str, set[str]]:CODE
LOWpolicy-engine/generator/acs_generator/init_flow.py286def _reject_repeated_singleton_flags(argv: list[str]) -> None:CODE
LOWpolicy-engine/generator/acs_generator/init_flow.py430def test_generated_policy_accepts_sample_snapshot(point: str) -> None:CODE
LOWpolicy-engine/generator/acs_generator/rego_builder.py108def _render_transform_verdict(verdict: dict[str, Any], rule: RulePlan) -> tuple[str, list[str]]:CODE
LOWpolicy-engine/generator/acs_generator/rego_builder.py141def _normalize_transform_path(path: str) -> str:CODE
LOWpolicy-engine/generator/acs_generator/validation.py358def _membership_binding_terms(base: Any, assigns: dict[str, list]) -> list:CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py54 async def evaluate_intervention_point(self, request):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py76 async def evaluate_intervention_point(self, request):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py132 async def test_litellm_public_stream_allow_reemits_verbatim_and_transform_synthesizes_once(self):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py162 async def test_litellm_public_stream_deny_and_malformed_inputs_release_no_bytes(self):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py197 async def test_litellm_public_stream_oversize_limits_fail_closed(self):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py207 async def test_tool_call_streaming_many_fragments_parallel_indices_and_downstream_redaction(self):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py237 async def test_escalate_approval_seam_receives_exact_context_and_rejects_deterministically(self):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py280 async def test_runtime_and_adapter_failures_release_no_stream_bytes(self):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py333 async def test_concurrent_streams_do_not_share_buffer_or_decision_state(self):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py350 async def test_openai_raw_sse_chat_stream_is_guarded_and_responses_stream_fails_closed(self):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py373 async def test_openai_sdk_object_stream_is_guarded_and_anthropic_stream_fails_closed(self):CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py442 def test_annotator_dispatch_precedes_policy_evaluation(self):CODE
LOW…gine/sdk/python/tests/test_fail_closed_error_parity.py56 def test_native_runtime_fail_closed_errors_match_shared_fixture(self):CODE
LOWpolicy-engine/sdk/python/tests/test_validation.py185def test_string_validation_api_rejects_non_string_mapping_keys() -> None:CODE
LOWpolicy-engine/sdk/python/tests/test_validation.py28def test_artifact_validation_matches_shared_parity_corpus() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py43def test_string_validation_api_returns_json_ready_success() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py73def test_string_validation_api_aggregates_manifest_and_rego_diagnostics() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py101def test_string_validation_api_parses_rego_modules_independently() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py125def test_string_validation_api_rejects_duplicate_manifest_keys() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py160def test_string_validation_api_does_not_coerce_mixed_case_boolean() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py169def test_string_validation_api_uses_runtime_merge_key_semantics() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py210def test_string_validation_api_accepts_runtime_prefixed_integer(value: str) -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py222def test_string_validation_api_rechecks_aliases_at_deeper_paths() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py243def test_string_validation_api_bounds_alias_expansion() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py264def test_string_validation_api_returns_diagnostics_for_hostile_text() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py281def test_string_validation_api_bounds_diagnostics_and_snippets() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py301def test_string_validation_api_requires_modules_for_rego_manifest() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py321def test_string_validation_api_rejects_non_opa_executable() -> None:STRING
LOWpolicy-engine/sdk/python/tests/test_validation.py332def test_string_validation_api_rejects_invalid_opa_path() -> None:STRING
8952 more matches not shown…
Unused Imports3755 hits · 3104 pts
SeverityFileLineSnippetContext
LOWpolicy-engine/tests/perf/extract_stats.py4CODE
LOWpolicy-engine/tests/perf/compare.py4CODE
LOWpolicy-engine/tests/conformance/run_python.py2CODE
LOWpolicy-engine/tests/conformance/run_python.py8CODE
LOWpolicy-engine/tests/conformance/run_python.py27CODE
LOW…licy-engine/tests/conformance/verify_release_claims.py2CODE
LOW…licy-engine/tests/conformance/verify_release_claims.py6CODE
LOWpolicy-engine/tests/conformance/run_parity.py2CODE
LOWpolicy-engine/tests/conformance/streaming/generate.py19CODE
LOWpolicy-engine/generator/tests/test_generator.py1CODE
LOWpolicy-engine/generator/acs_generator/util.py1CODE
LOWpolicy-engine/generator/acs_generator/llm.py1CODE
LOWpolicy-engine/generator/acs_generator/init_flow.py1CODE
LOWpolicy-engine/generator/acs_generator/engine.py1CODE
LOWpolicy-engine/generator/acs_generator/rego_builder.py1CODE
LOWpolicy-engine/generator/acs_generator/cli.py1CODE
LOWpolicy-engine/generator/acs_generator/vocabulary.py1CODE
LOWpolicy-engine/generator/acs_generator/report.py1CODE
LOWpolicy-engine/generator/acs_generator/validation.py1CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py1CODE
LOW…e/sdk/python/tests/test_streaming_adapter_hardening.py33CODE
LOW…gine/sdk/python/tests/test_fail_closed_error_parity.py1CODE
LOW…gine/sdk/python/tests/test_fail_closed_error_parity.py12CODE
LOWpolicy-engine/sdk/python/tests/test_validation.py4CODE
LOWpolicy-engine/sdk/python/tests/test_parity_canonical.py21CODE
LOWpolicy-engine/sdk/python/tests/test_foundry_adapter.py1CODE
LOWpolicy-engine/sdk/python/tests/test_host.py5CODE
LOWpolicy-engine/sdk/python/tests/test_real_packages.py12CODE
LOWpolicy-engine/sdk/python/tests/test_escalation.py1CODE
LOWpolicy-engine/sdk/python/tests/test_adapters.py1CODE
LOW…licy-engine/sdk/python/tests/test_litellm_guardrail.py4CODE
LOWpolicy-engine/sdk/python/tests/test_orchestration.py1CODE
LOW…licy-engine/sdk/python/tests/test_adapter_mediation.py1CODE
LOW…licy-engine/sdk/python/tests/test_adapter_mediation.py3CODE
LOWpolicy-engine/sdk/python/tests/test_native_runtime.py1CODE
LOW…e/sdk/python/tests/test_transform_evidence_identity.py1CODE
LOW…e/sdk/python/tests/test_transform_evidence_identity.py3CODE
LOW…e/sdk/python/tests/test_transform_evidence_identity.py7CODE
LOWpolicy-engine/sdk/python/tests/test_telemetry.py1CODE
LOWpolicy-engine/sdk/python/tests/test_telemetry.py558CODE
LOWpolicy-engine/sdk/python/tests/test_telemetry.py437CODE
LOW…-engine/sdk/python/tests/test_streaming_conformance.py11CODE
LOW…python/examples/real_packages/foundry_agent_guarded.py35CODE
LOW…cy-engine/sdk/python/examples/real_packages/_common.py1CODE
LOW…-engine/sdk/python/examples/real_packages/telemetry.py11CODE
LOW…ine/sdk/python/examples/real_packages/autogen_agent.py1CODE
LOW…/python/examples/real_packages/openai_agents_runner.py1CODE
LOW…ngine/sdk/python/examples/real_packages/crewai_crew.py1CODE
LOW…ine/sdk/python/examples/real_packages/openai_client.py1CODE
LOW…ine/sdk/python/examples/real_packages/litellm_proxy.py1CODE
LOW…hon/examples/real_packages/semantic_kernel_function.py1CODE
LOW…/sdk/python/examples/real_packages/anthropic_client.py1CODE
LOW…dk/python/examples/real_packages/langchain_runnable.py1CODE
LOW…ne/sdk/python/examples/real_packages/foundry_agents.py49CODE
LOW…engine/sdk/python/examples/real_packages/mcp_server.py1CODE
LOW…ngine/sdk/python/agent_control_specification/_types.py1CODE
LOW…k/python/agent_control_specification/_orchestration.py1CODE
LOW…ine/sdk/python/agent_control_specification/__init__.py3CODE
LOW…ine/sdk/python/agent_control_specification/__init__.py3CODE
LOW…ine/sdk/python/agent_control_specification/__init__.py3CODE
3695 more matches not shown…
Docstring Block Structure197 hits · 985 pts
SeverityFileLineSnippetContext
HIGH…tions/langchain-agentmesh/langchain_agentmesh/tools.py108Invoke the tool with trust verification. Args: invoker_card: The invoking agent's card STRING
HIGH…tions/langchain-agentmesh/langchain_agentmesh/tools.py199Invoke a tool with trust verification. Args: tool: Tool name or TrustGatedTool instance STRING
HIGH…tions/langchain-agentmesh/langchain_agentmesh/trust.py696Add a delegation to the chain. Args: delegatee: The agent receiving the delegation capaSTRING
HIGH…ns/langchain-agentmesh/langchain_agentmesh/identity.py149Sign data with this identity's private key. Args: data: String data to sign Returns: STRING
HIGH…nance-python/agent-compliance/schemas/policy_schema.py27Validate a governance policy dict against the schema. Args: data: Policy data dictionary. Returns: STRING
HIGH…hon/agent-compliance/src/agent_compliance/promotion.py319Evaluate all applicable gates for a proposed promotion. Args: agent_id: Agent identifier. STRING
HIGH…gent-compliance/src/agent_compliance/prompt_defense.py662Evaluate a system prompt for missing defenses. Args: prompt: The system prompt text to audit. STRING
HIGH…gent-compliance/src/agent_compliance/prompt_defense.py757Evaluate a system prompt read from a file. Args: path: Path to a text file containing the system prSTRING
HIGH…gent-os/examples/self-evaluating/src/wisdom_curator.py453 Approve a review item. Args: review_id: ID of the review to approve reSTRING
HIGH…gent-os/examples/self-evaluating/src/wisdom_curator.py473 Reject a review item. Args: review_id: ID of the review to reject reviSTRING
HIGH…s/examples/self-evaluating/src/universal_signal_bus.py452 Ingest a raw signal and normalize it to a ContextObject. This is the main entry point. ANY sigSTRING
HIGH…s/examples/self-evaluating/src/universal_signal_bus.py489 Auto-detect signal type from raw signal structure. Args: raw_signal: Raw signal daSTRING
HIGH…ent-os/examples/self-evaluating/src/agent_brokerage.py56 Calculate cost based on usage. Note: This implementation allows for hybrid pricing models wherSTRING
HIGH…ython/agent-os/modules/caas/src/caas/vfs/filesystem.py115 Create a new file in the file system. Args: path: Path where to create the file STRING
HIGH…ython/agent-os/modules/caas/src/caas/vfs/filesystem.py169 Read the content of a file. Args: path: Path of the file to read STRING
HIGH…ython/agent-os/modules/caas/src/caas/vfs/filesystem.py201 Update an existing file. Args: path: Path of the file to update contenSTRING
HIGH…ython/agent-os/modules/caas/src/caas/vfs/filesystem.py249 Delete a file from the file system. Args: path: Path of the file to delete STRING
HIGH…ython/agent-os/modules/caas/src/caas/vfs/filesystem.py308 List files in a directory. Args: directory_path: Path of the directory to list STRING
HIGH…ython/agent-os/modules/caas/src/caas/vfs/filesystem.py366 Get information about a file without reading its content. Args: path: Path of the STRING
HIGH…ython/agent-os/modules/caas/src/caas/vfs/filesystem.py398 Get the edit history of a file. Args: path: Path of the file STRING
HIGH…governance-python/agent-os/modules/emk/CONTRIBUTING.md170 Generate searchable tags from an episode. Args: episode: The episode to generate tags from. STRING
HIGH…governance-python/agent-os/modules/emk/emk/hf_utils.py69 Upload episodes to a Hugging Face Hub dataset repository. This function serializes episodes to JSONL formaSTRING
HIGH…governance-python/agent-os/modules/emk/emk/hf_utils.py151 Download episodes from a Hugging Face Hub dataset repository. Args: repo_id: The Hugging Face Hub STRING
HIGH…nance-python/agent-os/modules/amb/amb_core/hf_utils.py82 Upload experiment logs or benchmark results to Hugging Face Hub. This function uploads a single file (typicallSTRING
HIGH…nance-python/agent-os/modules/amb/amb_core/hf_utils.py160 Download a dataset file from Hugging Face Hub. Args: repo_id: Repository ID on HF Hub (e.g., "microsofSTRING
HIGH…governance-python/agent-os/modules/amb/amb_core/bus.py146 Publish a message to a topic. This method supports both "fire and forget" (default) and STRING
HIGH…governance-python/agent-os/modules/amb/amb_core/bus.py327 Send a request and wait for a response. This implements the request-response pattern for casesSTRING
HIGH…governance-python/agent-os/modules/amb/amb_core/bus.py420 Replay persisted messages from a topic (AMB-001). Args: topic: Topic to replay mesSTRING
HIGH…ernance-python/agent-os/modules/amb/amb_core/broker.py41 Publish a message to the broker. Args: message: The message to publish STRING
HIGH…ernance-python/agent-os/modules/amb/amb_core/broker.py59 Subscribe to a topic and register a handler. Args: topic: Topic to subscribe to STRING
HIGH…ernance-python/agent-os/modules/amb/amb_core/broker.py89 Send a request and wait for a response (request-response pattern). Args: message: STRING
HIGH…-python/agent-os/modules/amb/amb_core/memory_broker.py319 Send a request and wait for response. Args: message: Request message tSTRING
HIGH…ernance-python/agent-os/modules/amb/amb_core/schema.py30 Validate a payload against the schema. Args: payload: The payload to validate STRING
HIGH…ernance-python/agent-os/modules/amb/amb_core/schema.py253 Validate a payload for a given topic. Args: topic: Topic the message is for STRING
HIGH…governance-python/agent-os/modules/amb/amb_core/dlq.py225 Retry processing a failed message. Args: message_id: Message ID to retry STRING
HIGH…t-governance-python/agent-os/modules/nexus/registry.py230 Verify a peer agent before IATP handshake. This is the core viral mechanism - unverified peersSTRING
HIGH…ent-governance-python/agent-os/modules/nexus/client.py142 Verify a peer agent before IATP handshake. This is the core viral mechanism - unverified peersSTRING
HIGH…overnance-python/agent-os/modules/atr/atr/injection.py142Register a dependency. Args: key: Type, name string, or InjectionToken. value: The valuSTRING
HIGH…overnance-python/agent-os/modules/atr/atr/injection.py339Resolve injection markers in function parameters. Args: func: The function being called. STRING
HIGH…governance-python/agent-os/modules/atr/atr/registry.py196Retrieve a tool specification by name and optional version constraint. Args: name: The tool name STRING
HIGH…governance-python/agent-os/modules/atr/atr/registry.py280Get all registered versions of a tool. Args: name: The tool name Returns: ListSTRING
HIGH…governance-python/agent-os/modules/atr/atr/registry.py298Get the callable function for a tool. This returns the function object but does NOT execute it. The calSTRING
HIGH…overnance-python/agent-os/modules/atr/atr/decorator.py91Extract parameter specifications from function signature. Args: func: The function to analyze Returns:STRING
HIGH…governance-python/agent-os/modules/atr/atr/hf_utils.py68Upload experiment results to Hugging Face Hub. Creates or updates a dataset repository with experiment logs. ASTRING
HIGH…governance-python/agent-os/modules/atr/atr/hf_utils.py153Download experiment results from Hugging Face Hub. Args: repo_id: The Hugging Face repo ID. output_STRING
HIGH…governance-python/agent-os/modules/atr/atr/__init__.py3ATR - Agent Tool Registry. A decentralized marketplace for agent capabilities. ATR provides a standardized interface foSTRING
HIGH…governance-python/agent-os/modules/atr/atr/__init__.py284Register a function as a tool in the Agent Tool Registry. This decorator transforms a Python function into a discovSTRING
HIGH…governance-python/agent-os/modules/atr/atr/__init__.py364Retrieve a tool specification from the global registry. Args: name: The unique tool identifier. verSTRING
HIGH…governance-python/agent-os/modules/atr/atr/__init__.py392Get a ToolHandle for executing a tool with all policies applied. The ToolHandle provides a convenient interface forSTRING
HIGH…governance-python/agent-os/modules/atr/atr/__init__.py420Get all registered versions of a tool. Args: name: The unique tool identifier. Returns: List oSTRING
HIGH…governance-python/agent-os/modules/atr/atr/__init__.py516Get the callable function for a registered tool. This returns the function object but does NOT execute it. The STRING
HIGH…governance-python/agent-os/modules/atr/atr/__init__.py548Execute a registered tool with optional sandboxing. This is a convenience function that retrieves a tool and executSTRING
HIGH…governance-python/agent-os/modules/atr/atr/policies.py157Parse a rate limit string like '10/minute'. Args: rate_string: String in format 'N/period' where peSTRING
HIGH…governance-python/agent-os/modules/atr/atr/policies.py318Execute a function with retry policy. Args: policy: The retry policy to use. func: The function to STRING
HIGH…governance-python/agent-os/modules/atr/atr/policies.py362Execute an async function with retry policy. Args: policy: The retry policy to use. func: The asyncSTRING
HIGH…governance-python/agent-os/modules/atr/atr/executor.py42Execute a callable function. Args: func: The callable function to execute. argsSTRING
HIGH…governance-python/agent-os/modules/atr/atr/executor.py72Execute a callable function directly on the host. Args: func: The callable function to execSTRING
HIGH…governance-python/agent-os/modules/atr/atr/executor.py165Execute a callable function in a Docker container. The function is serialized and executed inside an epSTRING
HIGH…governance-python/agent-os/modules/atr/atr/executor.py340Parse execution result from container logs. Args: logs: Container logs output. STRING
HIGH…t-governance-python/agent-os/modules/atr/atr/schema.py323Execute the tool synchronously with all policies. Args: *args: Positional arguments. **STRING
137 more matches not shown…
Excessive Try-Catch Wrapping883 hits · 955 pts
SeverityFileLineSnippetContext
LOWpolicy-engine/tests/conformance/run_python.py132 except Exception as exc: # noqa: BLE001CODE
LOWpolicy-engine/generator/acs_generator/llm.py74 except Exception: # noqa: BLE001 - fall back to the bare status lineCODE
LOWpolicy-engine/generator/acs_generator/init_flow.py425except Exception as exc: # noqa: BLE001CODE
LOWpolicy-engine/generator/acs_generator/validation.py540 except Exception as exc: # noqa: BLE001 - preserve core diagnostics verbatim.CODE
LOWpolicy-engine/sdk/python/tests/test_real_packages.py121 except Exception: # noqa: BLE001CODE
LOW…e/sdk/python/agent_control_specification/_telemetry.py318 except Exception: # noqa: BLE001 - one sink must not break the othersCODE
LOW…e/sdk/python/agent_control_specification/_telemetry.py329 except Exception: # noqa: BLE001 - flush is best effortCODE
LOW…e/sdk/python/agent_control_specification/_telemetry.py340 except Exception: # noqa: BLE001 - shutdown is best effortCODE
LOW…k/python/agent_control_specification/_orchestration.py208 except Exception: # noqa: BLE001 - telemetry must never break enforcementCODE
LOW…k/python/agent_control_specification/_orchestration.py363 except Exception as exc: # noqa: BLE001 - a failing resolver must fail closedCODE
LOW…k/python/agent_control_specification/_orchestration.py700 except Exception: # noqa: BLE001 - label lookup must never break constructionCODE
LOW…engine/sdk/python/agent_control_specification/_host.py320 except Exception: # noqa: BLE001 - a broken resolver must not permitCODE
MEDIUM…engine/sdk/python/agent_control_specification/_host.py61def _runner() -> None:CODE
LOW…gine/sdk/python/agent_control_specification/_client.py254 except Exception: # noqa: BLE001 - label lookup must never break constructionCODE
LOW…ent_control_specification/_adapters/semantic_kernel.py177 except Exception as exc: # noqa: BLE001CODE
LOW…ent_control_specification/_adapters/semantic_kernel.py201 except Exception as exc: # noqa: BLE001CODE
LOW…ent_control_specification/_adapters/semantic_kernel.py210 except Exception as exc: # noqa: BLE001CODE
LOW…ython/agent_control_specification/_adapters/_shared.py184 except Exception: # noqa: BLE001CODE
LOW…python/agent_control_specification/_adapters/openai.py321 except Exception: # noqa: BLE001CODE
LOW…python/agent_control_specification/_adapters/openai.py325 except Exception: # noqa: BLE001CODE
LOW…python/agent_control_specification/_adapters/openai.py445 except Exception: # noqa: BLE001CODE
LOW…python/agent_control_specification/_adapters/openai.py451 except Exception: # noqa: BLE001CODE
LOW…python/agent_control_specification/_adapters/openai.py458 except Exception: # noqa: BLE001CODE
LOW…python/agent_control_specification/_adapters/openai.py464 except Exception: # noqa: BLE001CODE
LOW…ython/agent_control_specification/_adapters/foundry.py353 except Exception as exc: # noqa: BLE001 - isolate a single tool failureCODE
LOW…ython/agent_control_specification/_adapters/foundry.py440 except Exception: # noqa: BLE001 - fall back to the dict shape the SDK also acceptsCODE
LOWpolicy-engine/examples/from_agentshield/validate_all.py161 except Exception as exc: # noqa: BLE001 - surface the diagnostic verbatimCODE
LOW…ine/benchmarks/agentdojo/acs_agentdojo_bench/runner.py78 except Exception as exc:CODE
MEDIUM…ine/benchmarks/agentdojo/acs_agentdojo_bench/runner.py71def acs_unavailable_reason() -> str | None:CODE
LOW…e/benchmarks/agentdojo/acs_agentdojo_bench/pipeline.py124 except Exception as exc:CODE
LOW…e/benchmarks/agentdojo/acs_agentdojo_bench/pipeline.py195 except Exception as exc:CODE
LOWpolicy-engine/scripts/demo_end_to_end.sh276 except Exception as exc:CODE
LOWdocs/tutorials/36-govern-quickstart.md82except Exception as e:STRING
LOWdocs/tutorials/11-saga-orchestration.md153 except Exception as e:CODE
LOWdocs/tutorials/11-saga-orchestration.md476 except Exception:CODE
LOWdocs/tutorials/11-saga-orchestration.md609 except Exception as e:CODE
LOWdocs/tutorials/05-agent-reliability.md198except Exception:CODE
LOWdocs/tutorials/05-agent-reliability.md625 except Exception as exc:CODE
MEDIUMdocs/tutorials/05-agent-reliability.md672print(f"Error budget remaining: {slo.error_budget.remaining_percent:.1f}%")CODE
LOWexamples/acs-atr-annotator/atr_adapter.py155 except Exception:CODE
LOWexamples/flowise-governance/governance_server.py143 except Exception:CODE
LOWexamples/mcp-trust-verified-server/server.py115 except Exception:CODE
LOWexamples/pipeline-governance/test_demo.py166 except Exception as e:CODE
LOW…rflow-governed/test_deerflow_middleware_integration.py65 except Exception as exc:CODE
LOW…s/deerflow-governed/provider/deerflow_agt_guardrail.py22except Exception: # pragma: no cover - exercised when DeerFlow is not installedCODE
LOW…s/deerflow-governed/provider/deerflow_agt_guardrail.py82 except Exception as exc:CODE
LOWscripts/verify_tutorials_01_34.py14 except Exception as e:CODE
MEDIUMscripts/credential_audit.py56 print("Error: set GITHUB_TOKEN or authenticate with `gh auth login`", file=sys.stderr)CODE
LOWscripts/verify_tutorials.py25 except Exception as e:CODE
MEDIUMscripts/contributor_check.py63 print("Error: set GITHUB_TOKEN or authenticate with `gh auth login`", file=sys.stderr)CODE
LOWscripts/contributor_check.py302 except Exception:CODE
LOWscripts/contributor_check.py506 except Exception:CODE
LOWscripts/contributor_check.py1024 except Exception:CODE
LOWscripts/contributor_check.py1038 except Exception:CODE
LOWscripts/contributor_check.py1225 except Exception:CODE
LOWscripts/check_dependency_confusion.py519 except Exception:CODE
LOWscripts/contributor_check_action.py80 except Exception:CODE
LOWscripts/contributor_check_action.py212 except Exception:CODE
LOWscripts/check_dependency_scorecard.py573 except Exception as exc: # noqa: BLE001 - network/parse robustnessCODE
LOWscripts/check_dependency_scorecard.py586 except Exception as exc: # noqa: BLE001CODE
823 more matches not shown…
Cross-File Repetition136 hits · 680 pts
SeverityFileLineSnippetContext
HIGH…shield/moderation/azure-content-safety/app/run_demo.py0deterministic host stand-in for the external classifier.STRING
HIGH…om_agentshield/moderation/lakera-guard/app/run_demo.py0deterministic host stand-in for the external classifier.STRING
HIGH…entshield/moderation/openai-moderation/app/run_demo.py0deterministic host stand-in for the external classifier.STRING
HIGH…rom_agentshield/moderation/llama-guard/app/run_demo.py0deterministic host stand-in for the external classifier.STRING
HIGH…agentshield/moderation/perspective-api/app/run_demo.py0deterministic host stand-in for the external classifier.STRING
HIGHagent-governance-dotnet/README.md0permit( principal, action == action::"readdata", resource );STRING
HIGH…ts/AgentGovernance.Tests/OpaPolicyBackendAsyncTests.cs0permit( principal, action == action::"readdata", resource );STRING
HIGHagent-governance-python/agent-mesh/tests/test_cedar.py0permit( principal, action == action::"readdata", resource );STRING
HIGH…tnet/tests/AgentGovernance.Tests/PolicyBackendTests.cs0permit( principal, action == action::"readdata", resource ); permit( principal, action == action::"listfiles", resource STRING
HIGH…ent-governance-python/agent-mesh/tests/test_backend.py0permit( principal, action == action::"readdata", resource ); permit( principal, action == action::"listfiles", resource STRING
HIGHagent-governance-python/agent-mesh/tests/test_cedar.py0permit( principal, action == action::"readdata", resource ); permit( principal, action == action::"listfiles", resource STRING
HIGHdocs/tutorials/33-offline-verifiable-receipts.md0permit(principal, action == action::"readdata", resource); permit(principal, action == action::"listfiles", resource); fSTRING
HIGH…/agentmesh-integrations/mcp-receipt-governed/README.md0permit(principal, action == action::"readdata", resource); permit(principal, action == action::"listfiles", resource); fSTRING
HIGH…ntegrations/mcp-receipt-governed/tests/test_adapter.py0permit(principal, action == action::"readdata", resource); permit(principal, action == action::"listfiles", resource); fSTRING
HIGHexamples/quickstart/mcp_receipts_in_60_seconds.py0permit(principal, action == action::"readdata", resource); permit(principal, action == action::"listfiles", resource); fSTRING
HIGHscripts/verify_tutorials.py0apiversion: governance.toolkit/v1 name: legacy-no-stage agents: ["*"] default_action: allow rules: - name: block-delete STRING
HIGH…nt-governance-python/agent-mesh/tests/test_advisory.py0apiversion: governance.toolkit/v1 name: legacy-no-stage agents: ["*"] default_action: allow rules: - name: block-delete STRING
HIGH…e-python/agent-mesh/tests/test_multi_stage_pipeline.py0apiversion: governance.toolkit/v1 name: legacy-no-stage agents: ["*"] default_action: allow rules: - name: block-delete STRING
HIGH…ox/src/agent_sandbox/nono_sandbox_provider/provider.py0create the native acs session used for host-side execution gates.STRING
HIGH…dbox/src/agent_sandbox/hyperlight_provider/provider.py0create the native acs session used for host-side execution gates.STRING
HIGH…box/src/agent_sandbox/mxc_sandbox_provider/provider.py0create the native acs session used for host-side execution gates.STRING
HIGH…ndex-agentmesh/llama_index/agent/agentmesh/identity.py0cryptographic signature from a verification identity.STRING
HIGH…ns/langchain-agentmesh/langchain_agentmesh/identity.py0cryptographic signature from a verification identity.STRING
HIGH…ernance-python/agentmesh-integrations/dify/identity.py0cryptographic signature from a verification identity.STRING
HIGH…gent-os/examples/self-evaluating/docs/UPGRADE_PURGE.md0you are a helpful ai assistant. your goal is to provide accurate and useful responses to user queries. you have access tSTRING
HIGH…ples/self-evaluating/examples/example_upgrade_purge.py0you are a helpful ai assistant. your goal is to provide accurate and useful responses to user queries. you have access tSTRING
HIGH…agent-os/examples/self-evaluating/src/model_upgrade.py0you are a helpful ai assistant. your goal is to provide accurate and useful responses to user queries. you have access tSTRING
HIGH…governance-python/agent-os/modules/amb/amb_core/bus.py0unsubscribe from a topic. args: subscription_id: subscription idSTRING
HIGH…-python/agent-os/modules/amb/amb_core/memory_broker.py0unsubscribe from a topic. args: subscription_id: subscription idSTRING
HIGH…agent-os/modules/amb/amb_core/adapters/kafka_broker.py0unsubscribe from a topic. args: subscription_id: subscription idSTRING
HIGH…nt-os/modules/amb/amb_core/adapters/rabbitmq_broker.py0unsubscribe from a topic. args: subscription_id: subscription idSTRING
HIGH…-governance-python/agent-os/src/agent_os/server/app.py0parse, validate, and return cors origins. rejects ``*`` when credentials are enabled, and validates that each origin hasSTRING
HIGH…overnance-python/agent-sre/src/agent_sre/api/server.py0parse, validate, and return cors origins. rejects ``*`` when credentials are enabled, and validates that each origin hasSTRING
HIGH…e-python/agent-hypervisor/src/hypervisor/api/server.py0parse, validate, and return cors origins. rejects ``*`` when credentials are enabled, and validates that each origin hasSTRING
HIGH…/agent-os/src/agent_os/integrations/autogen_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…gent-os/src/agent_os/integrations/langchain_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…nt-os/src/agent_os/integrations/pydantic_ai_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…n/agent-os/src/agent_os/integrations/crewai_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…ent-os/src/agent_os/integrations/llamaindex_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…/agent-os/src/agent_os/integrations/mistral_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…thon/agent-os/src/agent_os/integrations/maf_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…n/agent-os/src/agent_os/integrations/gemini_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…n/agent-os/src/agent_os/integrations/openai_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…ent-os/src/agent_os/integrations/smolagents_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…/agent-os/src/agent_os/integrations/bedrock_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…gent-os/src/agent_os/integrations/anthropic_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…ent-os/src/agent_os/integrations/google_adk_adapter.py0return the v5 :class:`adapterruntime` for this kernel.STRING
HIGH…/agent-os/src/agent_os/integrations/autogen_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…gent-os/src/agent_os/integrations/langchain_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…nt-os/src/agent_os/integrations/pydantic_ai_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…n/agent-os/src/agent_os/integrations/crewai_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…ent-os/src/agent_os/integrations/llamaindex_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…/agent-os/src/agent_os/integrations/mistral_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…thon/agent-os/src/agent_os/integrations/maf_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…n/agent-os/src/agent_os/integrations/gemini_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…n/agent-os/src/agent_os/integrations/openai_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…ent-os/src/agent_os/integrations/smolagents_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…s/src/agent_os/integrations/semantic_kernel_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…/agent-os/src/agent_os/integrations/bedrock_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
HIGH…gent-os/src/agent_os/integrations/anthropic_adapter.py0public access to the agt ``input`` intervention point evaluation.STRING
76 more matches not shown…
Modern Structural Boilerplate468 hits · 475 pts
SeverityFileLineSnippetContext
LOW…e/sdk/python/agent_control_specification/_telemetry.py504__all__ = [CODE
LOW…ine/sdk/python/agent_control_specification/__init__.py87__all__ = [CODE
LOW…engine/sdk/python/agent_control_specification/_host.py396__all__ = ["HostSession", "SnapshotBuilder", "run_sync"]CODE
LOW…thon/agent_control_specification/_adapters/__init__.py67__all__ = [CODE
LOW…ent_control_specification/_adapters/semantic_kernel.py207def _set_context_arguments(context: Any, effective_args: JsonValue) -> None:CODE
LOW…ython/agent_control_specification/_adapters/litellm.py624def _set_message_content(message: Any, content: JsonValue) -> None:CODE
LOW…ython/agent_control_specification/_adapters/litellm.py690def _set_tool_call_args(call: Any, args: JsonValue) -> None:CODE
LOW…e/benchmarks/agentdojo/acs_agentdojo_bench/__init__.py3__all__ = ["__version__"]CODE
LOWtests/e2e_python/support/__init__.py19__all__ = [CODE
LOW…e2e_python/scenarios/policy_allow/test_policy_allow.py33 def update_visit_notes(self, **arguments: Any) -> None:CODE
LOWexamples/aegis-governance-profile/compile.py95__all__ = [CODE
LOW…s/deerflow-governed/provider/deerflow_agt_guardrail.py309__all__ = ["AGTGuardrailProvider"]CODE
LOWscripts/contributor_check_action.py102def _set_output(name: str, value: str) -> None:CODE
LOW…nce-python/agent-sandbox/src/agent_sandbox/__init__.py113__all__ = [CODE
LOW…e-python/agent-sandbox/src/agent_sandbox/_hardening.py30logger = logging.getLogger(__name__)CODE
LOW…on/agent-sandbox/src/agent_sandbox/sandbox_provider.py29logger = logging.getLogger(__name__)CODE
LOW…t_sandbox/aca_sandbox_provider/aca_sandbox_provider.py70logger = logging.getLogger(__name__)CODE
LOW…box/src/agent_sandbox/aca_sandbox_provider/__init__.py20__all__ = [CODE
LOW…dbox/src/agent_sandbox/nono_sandbox_provider/config.py30logger = logging.getLogger(__name__)CODE
LOW…ox/src/agent_sandbox/nono_sandbox_provider/provider.py65logger = logging.getLogger(__name__)CODE
LOW…ox/src/agent_sandbox/nono_sandbox_provider/__init__.py24__all__ = [CODE
LOW…dbox/src/agent_sandbox/hyperlight_provider/provider.py56logger = logging.getLogger(__name__)CODE
LOW…dbox/src/agent_sandbox/hyperlight_provider/__init__.py26__all__ = [CODE
LOW…ndbox/src/agent_sandbox/mxc_sandbox_provider/config.py37logger = logging.getLogger(__name__)CODE
LOW…box/src/agent_sandbox/mxc_sandbox_provider/provider.py70logger = logging.getLogger(__name__)CODE
LOW…box/src/agent_sandbox/mxc_sandbox_provider/__init__.py25__all__ = [CODE
LOW…-sandbox/src/agent_sandbox/docker_provider/provider.py40logger = logging.getLogger(__name__)CODE
LOW…-sandbox/src/agent_sandbox/docker_provider/__init__.py22__all__ = [CODE
LOW…ent-sandbox/src/agent_sandbox/docker_provider/state.py15logger = logging.getLogger(__name__)CODE
LOW…sh-integrations/a2a-protocol/a2a_agentmesh/__init__.py22__all__ = [CODE
LOW…grations/crewai-agentmesh/crewai_agentmesh/__init__.py18__all__ = [CODE
LOW…ndex-agentmesh/llama_index/agent/agentmesh/__init__.py24__all__ = [CODE
LOW…-integrations/adk-agentmesh/src/adk_agentmesh/audit.py14logger = logging.getLogger(__name__)CODE
LOW…tegrations/adk-agentmesh/src/adk_agentmesh/__init__.py16__all__ = [CODE
LOW…egrations/adk-agentmesh/src/adk_agentmesh/evaluator.py18logger = logging.getLogger(__name__)CODE
LOW…h-integrations/langgraph-trust/langgraph_trust/gate.py55 def set_score(self, agent: str, score: float) -> None:CODE
LOW…ability-export/audit_accountability_export/__init__.py11__all__ = [CODE
LOW…-integrations/mcp-trust-proxy/mcp_trust_proxy/proxy.py147 def set_tool_policy(self, tool_name: str, policy: ToolPolicy) -> None:CODE
LOW…tegrations/mcp-trust-proxy/mcp_trust_proxy/__init__.py12__all__ = ["TrustProxy", "ToolPolicy", "AuthResult"]CODE
LOW…ions/template-agentmesh/template_agentmesh/__init__.py23__all__ = [CODE
LOW…/mcp-receipt-governed/mcp_receipt_governed/__init__.py27__all__ = [CODE
LOW…i-agents-agentmesh/openai_agents_agentmesh/__init__.py18__all__ = [CODE
LOW…enai-agents-agentmesh/openai_agents_agentmesh/trust.py183 def set_threshold(self, function_name: str, min_trust: int) -> None:CODE
LOW…ns/langchain-agentmesh/langchain_agentmesh/__init__.py23__all__ = [CODE
LOW…tions/langchain-agentmesh/langchain_agentmesh/trust.py22logger = logging.getLogger(__name__)CODE
LOW…ernance-python/agentmesh-integrations/dify/__init__.py11__all__ = [CODE
LOW…governance-python/agentmesh-integrations/dify/trust.py15logger = logging.getLogger(__name__)CODE
LOW…governance-python/agentmesh-integrations/dify/trust.py60 def set_identity(self, identity: VerificationIdentity) -> None:CODE
LOW…ernance-python/agentmesh-integrations/dify/identity.py23logger = logging.getLogger(__name__)CODE
LOW…nance-python/agentmesh-integrations/dify/middleware.py16logger = logging.getLogger(__name__)CODE
LOW…governance-python/agent-compliance/schemas/__init__.py4__all__ = ["PolicySchema", "validate_policy"]CODE
LOW…n/agent-compliance/src/agent_compliance/policy_test.py35logger = logging.getLogger(__name__)CODE
LOW…hon/agent-compliance/src/agent_compliance/promotion.py49logger = logging.getLogger(__name__)CODE
LOW…python/agent-compliance/src/agent_compliance/verify.py26logger = logging.getLogger(__name__)CODE
LOW…hon/agent-compliance/src/agent_compliance/integrity.py38logger = logging.getLogger(__name__)CODE
LOW…nt-compliance/src/agent_compliance/security/scanner.py27logger = logging.getLogger(__name__)CODE
LOW…t-compliance/src/agent_compliance/security/__init__.py28__all__ = [CODE
LOW…python/agent-discovery/src/agent_discovery/__init__.py26__all__ = [CODE
LOW…ython/agent-discovery/src/agent_discovery/inventory.py20logger = logging.getLogger(__name__)CODE
LOW…ent-discovery/src/agent_discovery/scanners/__init__.py10__all__ = [CODE
408 more matches not shown…
Structural Annotation Overuse276 hits · 439 pts
SeverityFileLineSnippetContext
LOWdocs/TESTING_GUIDE.md33### Step 1: Clone and installCOMMENT
LOWdocs/TESTING_GUIDE.md44### Step 2: Set your LLM API keyCOMMENT
LOWdocs/TESTING_GUIDE.md62### Step 3: Run the demoCOMMENT
LOWdocs/TESTING_GUIDE.md77### Step 4: Run adversarial attacksCOMMENT
LOWdocs/TESTING_GUIDE.md104### Step 1: InstallCOMMENT
LOWdocs/TESTING_GUIDE.md110### Step 2: Create a policy fileCOMMENT
LOWdocs/TESTING_GUIDE.md143### Step 3: Use the toolkit in your codeCOMMENT
LOWdocs/TESTING_GUIDE.md183### Step 4: Add to a LangChain/CrewAI/ADK agentCOMMENT
LOWdocs/TESTING_GUIDE.md199### Step 1: InstallCOMMENT
LOWdocs/TESTING_GUIDE.md205### Step 2: Run the SQL policy testsCOMMENT
LOWdocs/TESTING_GUIDE.md220### Step 3: Test with custom YAML configCOMMENT
LOWdocs/modern-agent-architecture-overview.md198### Step 1: InstallCOMMENT
LOWdocs/modern-agent-architecture-overview.md206### Step 2: Your First Governed AgentCOMMENT
LOWdocs/modern-agent-architecture-overview.md233### Step 3: Wrap an Existing FrameworkCOMMENT
LOWdocs/modern-agent-architecture-overview.md251### Step 4: Verify OWASP CoverageCOMMENT
LOWdocs/integrations/mcp-trust-guide.md704 # Step 1: AuthorizationCOMMENT
LOWdocs/integrations/mcp-trust-guide.md714 # Step 2: Tool definition scanCOMMENT
LOWdocs/integrations/mcp-trust-guide.md721 # Step 3: Runtime interceptionCOMMENT
LOWdocs/integrations/mcp-trust-guide.md726 # Step 4: Execute the tool (your MCP server call here)COMMENT
LOWdocs/integrations/mcp-trust-guide.md729 # Step 5: Update trust based on outcomeCOMMENT
LOWdocs/tutorials/51-cost-governance.md66## Step 1: Basic Budget SetupCOMMENT
LOWdocs/tutorials/51-cost-governance.md84## Step 2: Pre-Task Budget CheckCOMMENT
LOWdocs/tutorials/51-cost-governance.md100## Step 3: Record Costs and Get AlertsCOMMENT
LOWdocs/tutorials/51-cost-governance.md125## Step 4: Watch Alerts EscalateCOMMENT
LOWdocs/tutorials/51-cost-governance.md156## Step 5: Organization-Wide BudgetCOMMENT
LOWdocs/tutorials/51-cost-governance.md180## Step 6: Cost Anomaly DetectionCOMMENT
LOWdocs/tutorials/51-cost-governance.md200## Step 7: Cost Optimization SuggestionsCOMMENT
LOWdocs/tutorials/50-decision-bom.md73## Step 1: Set Up Signal SourcesCOMMENT
LOWdocs/tutorials/50-decision-bom.md115## Step 2: Reconstruct a Single DecisionCOMMENT
LOWdocs/tutorials/50-decision-bom.md163## Step 3: Add Trust ContextCOMMENT
LOWdocs/tutorials/50-decision-bom.md208## Step 4: Full BOM with All SourcesCOMMENT
LOWdocs/tutorials/50-decision-bom.md241## Step 5: Batch ReconstructionCOMMENT
LOWdocs/tutorials/50-decision-bom.md267## Step 6: Export for AuditCOMMENT
LOWdocs/tutorials/19-dotnet-sdk.md463// Step 1: Create a cloud resourceSTRING
LOWdocs/tutorials/19-dotnet-sdk.md481// Step 2: Update the configuration databaseSTRING
LOWdocs/tutorials/35-policy-composition.md26## Step 1: Create the Org BaselineCOMMENT
LOWdocs/tutorials/35-policy-composition.md57## Step 2: Create Platform Shared ControlsCOMMENT
LOWdocs/tutorials/35-policy-composition.md85## Step 3: Create App-Specific PolicyCOMMENT
LOWdocs/tutorials/35-policy-composition.md117## Step 4: Load and EvaluateCOMMENT
LOWdocs/tutorials/35-policy-composition.md143## Step 5: Test Additive-Only EnforcementCOMMENT
LOWdocs/tutorials/35-policy-composition.md160## Step 6: Use with govern()COMMENT
LOWdocs/tutorials/42-csharp-mcp-extension.md49## Step 1 - Create a policy fileCOMMENT
LOWdocs/tutorials/42-csharp-mcp-extension.md70## Step 2 - Register the governed serverCOMMENT
LOWdocs/tutorials/42-csharp-mcp-extension.md96## Step 3 - Register toolsCOMMENT
LOWdocs/tutorials/42-csharp-mcp-extension.md160## Step 4 - Understand runtime behaviorCOMMENT
LOWdocs/tutorials/42-csharp-mcp-extension.md192## Step 5 - Tune the optionsCOMMENT
LOWdocs/tutorials/42-csharp-mcp-extension.md239## Step 6 - Use authenticated agent IDsCOMMENT
LOWdocs/tutorials/49-multi-agent-policies.md69## Step 1: Create a Basic Rate LimitCOMMENT
LOWdocs/tutorials/49-multi-agent-policies.md97## Step 2: Record Actions and EvaluateCOMMENT
LOWdocs/tutorials/49-multi-agent-policies.md127## Step 3: Limit Concurrent AgentsCOMMENT
LOWdocs/tutorials/49-multi-agent-policies.md162## Step 4: Alert Without BlockingCOMMENT
LOWdocs/tutorials/49-multi-agent-policies.md184## Step 5: Load Policies from ConfigurationCOMMENT
LOWdocs/tutorials/49-multi-agent-policies.md217## Step 6: Monitor with Window StatsCOMMENT
LOWdocs/tutorials/29-agent-discovery.md34## Step 1: InstallCOMMENT
LOWdocs/tutorials/29-agent-discovery.md47## Step 2: Scan Local ProcessesCOMMENT
LOWdocs/tutorials/29-agent-discovery.md76## Step 3: Scan Filesystem for Config ArtifactsCOMMENT
LOWdocs/tutorials/29-agent-discovery.md101## Step 4: Build an Inventory with DeduplicationCOMMENT
LOWdocs/tutorials/29-agent-discovery.md134## Step 5: Reconcile Against Your RegistryCOMMENT
LOWdocs/tutorials/29-agent-discovery.md180## Step 6: Use the CLICOMMENT
LOWdocs/tutorials/29-agent-discovery.md206## Step 7: Write a Custom ScannerCOMMENT
216 more matches not shown…
Modern AI Meta-Vocabulary157 hits · 416 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md32[![OWASP Agentic Top 10](https://img.shields.io/badge/OWASP_Agentic_Top_10-10%2F10_Covered-blue)](docs/compliance/owasp-CODE
MEDIUMdocs/COMPARISON.md9When evaluating agent security tooling, developers often encounter [NeMo Guardrails](https://github.com/NVIDIA/NeMo-GuarCODE
MEDIUMdocs/COMPARISON.md39> ¹ **OWASP scoring methodology:** Each tool was assessed against the ten [OWASP Agentic Top 10 (2026)](https://genai.owCODE
MEDIUMdocs/COMMUNITY.md32| [Policy-as-Code vs Prompt Engineering — When Guardrails Need Governance](https://dev.to/kanishtyagii/policy-as-code-vsCODE
MEDIUMdocs/COMMUNITY.md38| [OWASP Agentic Top 10 — What Every AI Developer Should Know in 2026](https://dev.to/zhangzeyu/owasp-agentic-top-10-whaCODE
MEDIUMdocs/COMMUNITY.md82| [OWASP Agentic Top 10](https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/) | Security riCODE
MEDIUMdocs/FAQ.md705| OWASP Agentic Top 10 | https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/ |CODE
MEDIUMdocs/modern-agent-architecture-overview.md320| OWASP Compliance | [../docs/compliance/owasp-agentic-top10-architecture.md](https://github.com/microsoft/agent-governaCODE
MEDIUMdocs/specs/AGENT-HYPERVISOR-EXECUTION-CONTROL-1.0.md3715. [Saga Orchestration](#15-saga-orchestration)CODE
MEDIUMdocs/compliance/mcp-owasp-top10-mapping.md393| [OWASP Agentic Top 10 (2026)](https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/) | MappCODE
MEDIUMdocs/compliance/owasp-agentic-top10-architecture.md22The [OWASP Top 10 for Agentic Applications for 2026](https://genai.owasp.org/resource/owasp-top-10-for-agentic-applicatiCODE
MEDIUMdocs/compliance/owasp-asi-policy-mapping.md13- [OWASP Top 10 for Agentic Applications (2026)](https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-CODE
MEDIUMdocs/compliance/owasp-asi-policy-mapping.md163**OWASP reference:** [OWASP Top 10 for Agentic Applications (2026)](https://genai.owasp.org/resource/owasp-top-10-for-agCODE
MEDIUMdocs/compliance/nist-rfi-2026-00206.md72### 1(b) Variation by model capability, scaffold, deployment, hosting, use caseCOMMENT
MEDIUMdocs/compliance/nist-rfi-2026-00206.md111### 2(b) Effectiveness variation by model/scaffold/deploymentCOMMENT
MEDIUMdocs/compliance/atf-conformance-assessment.md348- [ATF Specification](https://github.com/massivescale-ai/agentic-trust-framework)CODE
MEDIUMdocs/compliance/atf-conformance-assessment.md349- [ATF Conformance Specification v0.9.0](https://github.com/massivescale-ai/agentic-trust-framework/blob/main/CONFORMANCCODE
MEDIUMdocs/compliance/atf-conformance-assessment.md351- [OWASP Agentic Security Top 10](https://owasp.org/www-project-agentic-security/)CODE
MEDIUMdocs/case-studies/TEMPLATE.md240OWASP Agentic System Integrity (ASI) is a security project and framework focused on identifying and mitigating the uniquCODE
MEDIUMdocs/packages/agent-sre.md432│ │ ├── indicators.py # 7 built-in SLIs (task success, cost, hallucination, etc.)CODE
MEDIUMdocs/packages/agent-compliance.md21[Architecture](#architecture) • [Quick Start](#quick-start) • [Components](#components) • [Why Unified?](#why-a-unified-CODE
MEDIUMdocs/packages/agent-compliance.md225The agent governance stack covers **10 of 10** risks from the [OWASP Top 10 for Agentic Applications (2026)](https://genCODE
MEDIUMdocs/packages/agent-os.md459# Create a governed multi-agent sessionCOMMENT
MEDIUMdocs/packages/agent-hypervisor.md551| [Agent SRE](https://github.com/microsoft/agent-governance-toolkit) | SLO, chaos, and cost guardrails |CODE
MEDIUMdocs/tutorials/24-cost-and-token-budgets.md197# Allocate a context window for an agentCOMMENT
MEDIUMdocs/tutorials/24-cost-and-token-budgets.md387 # 2. Allocate context windowCOMMENT
MEDIUMdocs/tutorials/11-saga-orchestration.md339. [Real-World Example: Multi-Agent Data Pipeline](#9-real-world-example-multi-agent-data-pipeline)CODE
MEDIUMdocs/tutorials/16-protocol-bridges.md49| [Multi-Protocol Orchestration](#8-multi-protocol-orchestration) | Agents communicating via different protocols |CODE
MEDIUMdocs/tutorials/README.md190### 🤖 "I'm building multi-agent systems"COMMENT
MEDIUMdocs/tutorials/06-execution-sandboxing.md275. [Saga Orchestration](#5-saga-orchestration)CODE
MEDIUMdocs/tutorials/06-execution-sandboxing.md444### 5.4 Programmatic saga orchestrationCOMMENT
MEDIUMdocs/i18n/README.ja.md16[![OWASP Agentic Top 10](https://img.shields.io/badge/OWASP_Agentic_Top_10-10%2F10_Covered-blue)](../../docs/compliance/CODE
MEDIUMdocs/i18n/README.zh-TW.md14[![OWASP Agentic Top 10](https://img.shields.io/badge/OWASP_Agentic_Top_10-10%2F10_Covered-blue)](../../docs/compliance/CODE
MEDIUMdocs/i18n/README.zh-CN.md14[![OWASP Agentic Top 10](https://img.shields.io/badge/OWASP_Agentic_Top_10-10%2F10_Covered-blue)](../../docs/compliance/CODE
MEDIUMdocs/i18n/README.ko.md32[![OWASP Agentic Top 10](https://img.shields.io/badge/OWASP_Agentic_Top_10-10%2F10_Covered-blue)](../../docs/compliance/CODE
MEDIUMdocs/reference/comparison.md9When evaluating agent security tooling, developers often encounter [NeMo Guardrails](https://github.com/NVIDIA/NeMo-GuarCODE
MEDIUMdocs/reference/comparison.md39> ¹ **OWASP scoring methodology:** Each tool was assessed against the ten [OWASP Agentic Top 10 (2026)](https://genai.owCODE
MEDIUMdocs/proposals/COSAI-WS4-PROPOSAL.md3**Submission:** [cosai-oasis/ws4-secure-design-agentic-systems#42](https://github.com/cosai-oasis/ws4-secure-design-agenCODE
MEDIUMdocs/proposals/COSAI-WS4-PROPOSAL.md3**Submission:** [cosai-oasis/ws4-secure-design-agentic-systems#42](https://github.com/cosai-oasis/ws4-secure-design-agenCODE
MEDIUMdocs/proposals/COSAI-WS4-PROPOSAL.md104- [OWASP Agentic Top 10 Compliance Mapping](https://github.com/microsoft/agent-governance-toolkit/blob/main/docs/compliaCODE
MEDIUMdocs/proposals/COSAI-WS4-PROPOSAL.md108- [CoSAI MCP Security Analysis](https://github.com/cosai-oasis/ws4-secure-design-agentic-systems/blob/main/model-contextCODE
MEDIUMdocs/proposals/ANTHROPIC-INTEGRATION-PROPOSAL.md53│ └── policy-init.md # /policy-init — scaffold governance configCODE
MEDIUMdocs/proposals/OWASP-ASI-PROPOSAL.md82- Full compliance mapping: [OWASP-COMPLIANCE.md](https://github.com/microsoft/agent-governance-toolkit/blob/main/docs/coCODE
MEDIUMdocs/proposals/OWASP-ASI-PROPOSAL.md89- [OWASP Agentic Top 10](https://owasp.org/www-project-agentic-ai-threats-and-mitigations/)CODE
MEDIUMdocs/proposals/LFAI-PROPOSAL.md106- [OWASP Compliance Mapping](https://github.com/microsoft/agent-governance-toolkit/blob/main/docs/compliance/owasp-agentCODE
MEDIUMdocs/proposals/README.md19| **CoSAI/OASIS WS4** | [cosai-oasis/ws4#86](https://github.com/cosai-oasis/ws4-secure-design-agentic-systems/issues/86)CODE
MEDIUMdocs/proposals/README.md19| **CoSAI/OASIS WS4** | [cosai-oasis/ws4#86](https://github.com/cosai-oasis/ws4-secure-design-agentic-systems/issues/86)CODE
MEDIUMdocs/proposals/CSA-ATF-PROPOSAL.md10This proposal documents the Agent Governance Toolkit's alignment with the [CSA Agentic Trust Framework (ATF) v0.1.0](httCODE
MEDIUMdocs/proposals/CSA-ATF-PROPOSAL.md47- [CSA Agentic Trust Framework](https://github.com/massivescale-ai/agentic-trust-framework)CODE
MEDIUMexamples/deerflow-governed/requirements.txt15# or from GitHub when you want native deerflow.guardrails.provider types:COMMENT
MEDIUMscripts/tests/test_check_dependency_scorecard.py367# ---------- score_deps orchestration ----------------------------------------COMMENT
MEDIUM…ent-governance-python/agentmesh-integrations/README.md51| [OpenAI Agents](openai-agents-trust/) | [`agentmesh-openai-agents-trust`](https://pypi.org/project/agentmesh-openai-agCODE
MEDIUM…/agentmesh-integrations/llamaindex-agentmesh/README.md1# LlamaIndex AgentMesh IntegrationAgentMesh trust layer integration for LlamaIndex - enabling cryptographic identity verCOMMENT
MEDIUM…agentmesh-integrations/copilot-governance/src/owasp.ts6 * Reference: https://genai.owasp.org/agentic-security-initiative/COMMENT
MEDIUM…agentmesh-integrations/copilot-governance/src/owasp.ts7 * Catalogue: https://genai.owasp.org/agentic-risk/COMMENT
MEDIUM…agentmesh-integrations/copilot-governance/src/owasp.ts32 url: "https://genai.owasp.org/agentic-risk/asi01-agent-goal-hijack/",CODE
MEDIUM…agentmesh-integrations/copilot-governance/src/owasp.ts39 url: "https://genai.owasp.org/agentic-risk/asi02-tool-misuse-and-exploitation/",CODE
MEDIUM…agentmesh-integrations/copilot-governance/src/owasp.ts46 url: "https://genai.owasp.org/agentic-risk/asi03-identity-and-privilege-abuse/",CODE
MEDIUM…agentmesh-integrations/copilot-governance/src/owasp.ts53 url: "https://genai.owasp.org/agentic-risk/asi04-agentic-supply-chain-vulnerabilities/",CODE
MEDIUM…agentmesh-integrations/copilot-governance/src/owasp.ts60 url: "https://genai.owasp.org/agentic-risk/asi05-unexpected-code-execution/",CODE
97 more matches not shown…
Self-Referential Comments115 hits · 352 pts
SeverityFileLineSnippetContext
MEDIUM…python/examples/real_packages/foundry_agent_guarded.py90 # Create the hosted agent with the tool definitions but WITHOUT enablingCOMMENT
MEDIUMexamples/mcp-receipt-governed/demo.py39 # Create the adapterCOMMENT
MEDIUM…/agent-compliance/src/agent_compliance/cli/red_team.py286 # Create a chaos experiment with all adversarial fault types registeredCOMMENT
MEDIUM…-governance-python/agent-os/tests/nexus/test_client.py198 # Create a transferCOMMENT
MEDIUM…overnance-python/agent-os/examples/copilot_governed.py309 # Create a temporary workspaceSTRING
MEDIUM…agent-os/examples/crewai-safe-mode/crewai_safe_mode.py360 # Create the crewCOMMENT
MEDIUM…-python/agent-os/examples/carbon-auditor/demo_audit.py79 # Create a trace context for distributed tracing (AMB-004)COMMENT
MEDIUM…ples/carbon-auditor/data/projects/sample-projects.yaml6# This file contains synthetic data modeled after real projects.COMMENT
MEDIUM…vernance-python/agent-os/examples/hello-world/agent.py18 # Create a stateless kernel (includes read_only, no_pii, strict policies)COMMENT
MEDIUM…/agent-os/examples/self-evaluating/tests/test_agent.py23 # Create a test memory file using tempfile for cross-platform compatibilityCOMMENT
MEDIUM…nt-os/examples/self-evaluating/tests/test_decoupled.py51 # Create a test stream fileCOMMENT
MEDIUM…mples/self-evaluating/tests/test_polymorphic_output.py373 # Create a component with nested childrenCOMMENT
MEDIUM…xamples/self-evaluating/tests/test_intent_detection.py120 # Create a test stream fileCOMMENT
MEDIUM…s/self-evaluating/tests/test_constraint_engineering.py362 # Create a custom rule using constraint_engine moduleCOMMENT
MEDIUM…s/examples/self-evaluating/tests/test_orchestration.py33 # Create a valid workflowCOMMENT
MEDIUM…s/examples/self-evaluating/tests/test_orchestration.py205 # Create a simple workerCOMMENT
MEDIUM…s/examples/self-evaluating/tests/test_orchestration.py218 # Create a simple single-step workflowCOMMENT
MEDIUM…s/examples/self-evaluating/tests/test_orchestration.py363 # Create a worker that failsCOMMENT
MEDIUM…s/examples/self-evaluating/tests/test_orchestration.py367 # Create a fallback workerCOMMENT
MEDIUM…/examples/self-evaluating/tests/test_wisdom_curator.py95 # Create a design check reviewCOMMENT
MEDIUM…/examples/self-evaluating/tests/test_wisdom_curator.py151 # Create a strategic sampleCOMMENT
MEDIUM…lf-evaluating/tests/test_wisdom_curator_integration.py45 # Create an event that will trigger learningCOMMENT
MEDIUM…nt-os/examples/self-evaluating/tests/test_telemetry.py25 # Create a basic eventCOMMENT
MEDIUM…nt-os/examples/self-evaluating/tests/test_telemetry.py68 # Create a temporary fileCOMMENT
MEDIUM…nt-os/examples/self-evaluating/tests/test_telemetry.py89 # Create a temporary fileCOMMENT
MEDIUM…nt-os/examples/self-evaluating/tests/test_telemetry.py125 # Create a temporary fileCOMMENT
MEDIUM…nt-os/examples/self-evaluating/tests/test_telemetry.py161 # Create a temporary fileCOMMENT
MEDIUM…nt-os/examples/self-evaluating/tests/test_telemetry.py198 # Create a temporary fileCOMMENT
MEDIUM…nt-os/examples/self-evaluating/tests/test_telemetry.py233 # Create a temporary fileCOMMENT
MEDIUM…s/self-evaluating/tests/test_evaluation_engineering.py105 # Create a temporary fileCOMMENT
MEDIUM…s/self-evaluating/tests/test_evaluation_engineering.py272 # Create a simple datasetCOMMENT
MEDIUM…s/self-evaluating/tests/test_evaluation_engineering.py287 # Create a simple rubricCOMMENT
MEDIUM…s/self-evaluating/tests/test_evaluation_engineering.py297 # Create a simple AI function that always returns "4"COMMENT
MEDIUM…self-evaluating/examples/example_polymorphic_output.py329 # Create a chart responseCOMMENT
MEDIUM…les/self-evaluating/examples/example_agent_metadata.py37 # Create a metadata manifest for a specialized agentCOMMENT
MEDIUM…les/self-evaluating/examples/example_wisdom_curator.py58 # Create a design check reviewCOMMENT
MEDIUM…thon/agent-os/examples/self-evaluating/src/observer.py614 # Create a critique based on intent-specific failureSTRING
MEDIUM…s/examples/self-evaluating/src/universal_signal_bus.py162 # Create a query that describes the changeCOMMENT
MEDIUMagent-governance-python/agent-os/scripts/quickstart.sh38# Create a simple agentCOMMENT
MEDIUM…agent-os/modules/caas/tests/test_metadata_injection.py26 # Create a simple sectionCOMMENT
MEDIUM…agent-os/modules/caas/tests/test_metadata_injection.py33 # Create a mock documentCOMMENT
MEDIUM…agent-os/modules/caas/tests/test_metadata_injection.py68 # Create an HTML document with hierarchyCOMMENT
MEDIUM…agent-os/modules/caas/tests/test_metadata_injection.py202 # Create a document with explicit parent relationshipsCOMMENT
MEDIUM…os/modules/caas/tests/test_structure_aware_indexing.py24 # Create a code document with different tier contentCOMMENT
MEDIUM…-python/agent-os/modules/caas/tests/test_time_decay.py113 # Create a document storeCOMMENT
MEDIUM…-python/agent-os/modules/caas/tests/test_time_decay.py195 # Create a recent documentCOMMENT
MEDIUM…on/agent-os/modules/caas/tests/test_pragmatic_truth.py237 # Create a document with conflicting sectionsCOMMENT
MEDIUM…ernance-python/agent-os/modules/caas/tests/test_vfs.py26 # Create a fileCOMMENT
MEDIUM…thon/agent-os/modules/caas/tests/test_functionality.py116 # Create a test documentCOMMENT
MEDIUM…ce-python/agent-os/modules/caas/src/caas/enrichment.py79 # Create a new section with enriched contentCOMMENT
MEDIUM…python/agent-os/modules/caas/src/caas/storage/store.py315 # Create a list of sections with adjusted weights (don't mutate original)COMMENT
MEDIUM…python/agent-os/modules/caas/src/caas/storage/store.py319 # Create a shallow copy of the section and adjust weightCOMMENT
MEDIUM…ce-python/agent-os/modules/emk/examples/basic_usage.py20 # Create a temporary file for storage using secure methodCOMMENT
MEDIUM…nce-python/agent-os/modules/amb/tests/test_features.py450 # Create an already-expired messageCOMMENT
MEDIUM…ance-python/agent-os/modules/amb/tests/test_tracing.py44 # Create a trace context and publish message within itCOMMENT
MEDIUM…hon/agent-os/modules/amb/examples/advanced_features.py30# Define a schema for fraud alertsCOMMENT
MEDIUM…hon/agent-os/modules/amb/examples/advanced_features.py126 # Create a child spanCOMMENT
MEDIUM…governance-python/agent-os/modules/atr/atr/executor.py185 # Import required modulesCOMMENT
MEDIUM…governance-python/agent-os/modules/atr/atr/executor.py317 "# Define the function",CODE
MEDIUM…on/agent-os/modules/cmvk/tests/unit/test_visualizer.py30 # Create a temporary trace fileCOMMENT
55 more matches not shown…
Deep Nesting371 hits · 336 pts
SeverityFileLineSnippetContext
LOW…icy-engine/generator/acs_generator/manifest_builder.py65CODE
LOWpolicy-engine/generator/acs_generator/init_flow.py297CODE
LOWpolicy-engine/generator/acs_generator/init_flow.py350CODE
LOWpolicy-engine/generator/acs_generator/rego_builder.py51CODE
LOWpolicy-engine/generator/acs_generator/validation.py170CODE
LOWpolicy-engine/generator/acs_generator/validation.py210CODE
LOWpolicy-engine/generator/acs_generator/validation.py280CODE
LOWpolicy-engine/generator/acs_generator/validation.py316CODE
LOWpolicy-engine/generator/acs_generator/validation.py337CODE
LOWpolicy-engine/generator/acs_generator/validation.py371CODE
LOW…gine/sdk/python/tests/test_fail_closed_error_parity.py56CODE
LOWpolicy-engine/sdk/python/tests/test_telemetry.py533CODE
LOWpolicy-engine/sdk/python/tests/test_telemetry.py546CODE
LOW…k/python/agent_control_specification/_orchestration.py635CODE
LOW…e/sdk/python/agent_control_specification/validation.py83CODE
LOW…ython/agent_control_specification/_adapters/litellm.py715CODE
LOW…python/agent_control_specification/_adapters/openai.py398CODE
LOW…dk/python/agent_control_specification/_adapters/mcp.py203CODE
LOW…e/benchmarks/agentdojo/acs_agentdojo_bench/pipeline.py264CODE
LOWpolicy-engine/scripts/lint_logging.py178CODE
LOW…mples/physical-attestation-governed/getting_started.py104CODE
LOW…les/aegis-governance-profile/tests/test_compilation.py489CODE
LOW…les/aegis-governance-profile/tests/test_compilation.py512CODE
LOWexamples/mcp-receipt-governed/demo.py21CODE
LOWexamples/pipeline-governance/demo.py390CODE
LOWexamples/pipeline-governance/demo.py182CODE
LOWexamples/pipeline-governance/demo.py204CODE
LOWbenchmarks/prompt-injection/harness/generate-corpus.py384CODE
LOWbenchmarks/prompt-injection/harness/generate-corpus.py732CODE
LOWbenchmarks/prompt-injection/harness/check-corpus.py135CODE
LOWscripts/check_lockfile_integrity.py794CODE
LOWscripts/check_release_age.py131CODE
LOWscripts/check_release_age.py185CODE
LOWscripts/check_release_age.py283CODE
LOWscripts/check_license_headers.py104CODE
LOWscripts/credential_audit.py194CODE
LOWscripts/contributor_check.py467CODE
LOWscripts/contributor_check.py554CODE
LOWscripts/contributor_check.py753CODE
LOWscripts/sync-version.py134CODE
LOWscripts/check_install_scripts.py205CODE
LOWscripts/check_install_scripts.py288CODE
LOWscripts/check_vendor_imports.py38CODE
LOWscripts/check_vendor_imports.py53CODE
LOWscripts/check_dependency_confusion.py373CODE
LOWscripts/check_dependency_confusion.py399CODE
LOWscripts/check_dependency_confusion.py409CODE
LOWscripts/check_dependency_confusion.py480CODE
LOWscripts/check_dependency_scorecard.py199CODE
LOWscripts/check_dependency_scorecard.py426CODE
LOWscripts/check_dependency_scorecard.py639CODE
LOWscripts/cluster_detect.py159CODE
LOWscripts/cluster_detect.py255CODE
LOWscripts/cluster_detect.py320CODE
LOWscripts/security_scan.py86CODE
LOWscripts/check_v4_ratchet.py368CODE
LOWscripts/check_v4_ratchet.py882CODE
LOWscripts/check_v4_ratchet.py1002CODE
LOWscripts/ci/propose_workflow_updates.py110CODE
LOW…t_sandbox/aca_sandbox_provider/aca_sandbox_provider.py598CODE
311 more matches not shown…
Over-Commented Block255 hits · 250 pts
SeverityFileLineSnippetContext
LOW.pre-commit-hooks.yaml1# Pre-commit hooks for Agent Governance Toolkit.COMMENT
LOW.gitleaks.toml1# Gitleaks configuration for the AGT monorepo.COMMENT
LOWpolicy-engine/core/Cargo.toml21# * `opa` gates `pub mod opa`, the `Opa*` re-exports, and the OPA arm of theCOMMENT
LOWpolicy-engine/core/src/policy.rs221 #[serde(default, flatten, skip_serializing_if = "BTreeMap::is_empty")]COMMENT
LOWpolicy-engine/core/src/policy.rs301}COMMENT
LOWpolicy-engine/core/src/runtime.rs821///COMMENT
LOWpolicy-engine/core/src/manifest.rs41 pub extends: Vec<ManifestExtends>,COMMENT
LOWpolicy-engine/core/src/manifest.rs61 /// dispatcher will not fall back to host environment credentials for it.COMMENT
LOWpolicy-engine/core/src/manifest.rs81 pub timeout_seconds: Option<u64>,COMMENT
LOWpolicy-engine/core/src/manifest.rs221COMMENT
LOWpolicy-engine/core/src/manifest.rs241 /// `AnnotatorInvocation::from_annotation` overlays binding fields, so aCOMMENT
LOWpolicy-engine/core/src/manifest.rs1341 }COMMENT
LOWpolicy-engine/core/src/ffi.rs201 std::ptr::null_mut()COMMENT
LOWpolicy-engine/core/src/ffi.rs421 cb,COMMENT
LOWpolicy-engine/core/src/ffi.rs501 }COMMENT
LOWpolicy-engine/core/src/ffi.rs781/// # SafetyCOMMENT
LOWpolicy-engine/core/src/verdict.rs101 pub decision: Decision,COMMENT
LOWpolicy-engine/core/src/verdict.rs141COMMENT
LOWpolicy-engine/core/src/cedar.rs1//! AGT D3 cedar dispatcher surface.COMMENT
LOWpolicy-engine/core/src/cedar.rs161COMMENT
LOWpolicy-engine/core/src/cedar.rs461COMMENT
LOWpolicy-engine/core/src/dispatchers/mod.rs61///COMMENT
LOWpolicy-engine/core/src/dispatchers/default.rs1use super::constants::{ANNOTATOR_TYPE, TYPE_CLASSIFIER, TYPE_ENDPOINT, TYPE_LLM};COMMENT
LOW…ine/integrations/annotators/examples/live_llm_judge.rs1//! Live exercise of the reference annotators against real endpoints.COMMENT
LOWpolicy-engine/integrations/annotators/src/lib.rs1//! Reference annotator dispatchers for Agent Control Specification.COMMENT
LOWpolicy-engine/integrations/rig/src/lib.rs1//! Real [Rig](https://docs.rig.rs) integration for Agent Control Specification.COMMENT
LOWpolicy-engine/generator/acs_generator/rego_builder.py101def _read_expr_for_path(path: str) -> str:COMMENT
LOWpolicy-engine/sdk/rust/src/host/mod.rs81 Self::from_manifest_with_dispatchers(manifest, annotations, policy)COMMENT
LOW…ControlSpecification.Tests/Agt1TransformGateHarness.cs1using System.Text.Json;COMMENT
LOW…sdk/dotnet/src/AgentControlSpecification/Primitives.cs101 };COMMENT
LOW…sdk/dotnet/src/AgentControlSpecification/Primitives.cs121 public static bool AppliesTransform(this Decision decision) =>COMMENT
LOWpolicy-engine/scripts/demo_end_to_end.sh1#!/usr/bin/env bashCOMMENT
LOWpolicy-engine/scripts/demo_end_to_end.sh21# clear status banner. Stops at the first failure and surfaces theCOMMENT
LOW…otnet/tests/AgentGovernance.Tests/PolicyEngineTests.cs221 Assert.Empty(engine.ListPolicies());COMMENT
LOW…dotnet/tests/AgentGovernance.Tests/AuditLoggerTests.cs221 Assert.True(logger.Verify());COMMENT
LOW…gentGovernance.Tests/PolicyBackendArgumentListTests.cs1// Copyright (c) Microsoft Corporation.COMMENT
LOW…ts/AgentGovernance.Tests/OpaPolicyBackendAsyncTests.cs1// Copyright (c) Microsoft Corporation.COMMENT
LOW…examples/AspNetMiddleware/GovernanceCheckMiddleware.cs1// Copyright (c) Microsoft Corporation.COMMENT
LOW…amples/AspNetMiddleware/Controllers/ItemsController.cs1// Copyright (c) Microsoft Corporation.COMMENT
LOWagent-governance-dotnet/examples/Quickstart/Program.cs1// Copyright (c) Microsoft Corporation.COMMENT
LOW…ernance-dotnet/src/AgentGovernance/GovernanceKernel.cs21 /// </summary>COMMENT
LOW…ernance-dotnet/src/AgentGovernance/GovernanceKernel.cs41 /// </summary>COMMENT
LOW…ernance-dotnet/src/AgentGovernance/GovernanceKernel.cs61 /// Defaults to <c>false</c>.COMMENT
LOW…ernance-dotnet/src/AgentGovernance/GovernanceKernel.cs81 public CircuitBreakerConfig? CircuitBreakerConfig { get; init; }COMMENT
LOW…ernance-dotnet/src/AgentGovernance/GovernanceKernel.cs101/// Console.WriteLine($"Blocked: {result.Reason}");COMMENT
LOW…ernance-dotnet/src/AgentGovernance/GovernanceKernel.cs121COMMENT
LOW…ernance-dotnet/src/AgentGovernance/GovernanceKernel.cs141 /// </summary>COMMENT
LOW…ernance-dotnet/src/AgentGovernance/GovernanceKernel.cs161COMMENT
LOW…dotnet/src/AgentGovernance/Security/CredentialVault.cs121/// cannot probe vault contents via deny shape.COMMENT
LOW…dotnet/src/AgentGovernance/Security/CredentialVault.cs481 /// Workflow-policy allowlist of handle names eligible for substitutionCOMMENT
LOW…src/AgentGovernance/Security/PromptDefenseEvaluator.cs21 /// Human-readable vector name.COMMENT
LOW…src/AgentGovernance/Security/PromptDefenseEvaluator.cs41/// <summary>COMMENT
LOW…src/AgentGovernance/Security/PromptDefenseEvaluator.cs61 /// <summary>COMMENT
LOW…src/AgentGovernance/Security/PromptDefenseEvaluator.cs81 /// <summary>COMMENT
LOW…rc/AgentGovernance/Integration/GovernanceMiddleware.cs21 public bool Allowed { get; init; }COMMENT
LOW…rc/AgentGovernance/Integration/GovernanceMiddleware.cs41/// Agents call <see cref="EvaluateToolCall"/> before executing any tool to enforceCOMMENT
LOW…overnance-dotnet/src/AgentGovernance/Mcp/McpGateway.cs81/// Gateway pipeline for governed MCP traffic.COMMENT
LOW…ce-dotnet/src/AgentGovernance/Audit/GovernanceEvent.cs41{COMMENT
LOW…ce-dotnet/src/AgentGovernance/Audit/GovernanceEvent.cs61COMMENT
LOW…nance-dotnet/src/AgentGovernance/Audit/AuditEmitter.cs1// Copyright (c) Microsoft Corporation. Licensed under the MIT License.COMMENT
195 more matches not shown…
Redundant / Tautological Comments111 hits · 164 pts
SeverityFileLineSnippetContext
LOWexamples/cost-governance/cost_governance_demo.py64 # Check if killedCOMMENT
LOWexamples/pipeline-governance/demo.py176 # Check if this is a bare forbid (no when clause)COMMENT
LOWscripts/contributor_check.py413 # Check if created within 48-hour windowsCOMMENT
LOWscripts/ci/security-audit-required.sh28# Check if any capability paths are touchedCOMMENT
LOWscripts/ci/no-unauthed-registration.sh37 # Check if the file has proof-of-possession verificationCOMMENT
LOW…tions/langchain-agentmesh/langchain_agentmesh/trust.py805 # Check if delegation is still validCOMMENT
LOW…s/langchain-agentmesh/langchain_agentmesh/callbacks.py187 # Check if tool requires verificationCOMMENT
LOW…s/langchain-agentmesh/langchain_agentmesh/callbacks.py189 # Check if invoker is in verified peersCOMMENT
LOW…governance-python/agentmesh-integrations/dify/trust.py188 # Check if we have historical scoreCOMMENT
LOW…mpliance/src/agent_compliance/cli/contributor_check.py477 # Check if created within 48-hour windowsCOMMENT
LOW…ce-python/agent-os/tests/test_layer2_infrastructure.py12# Check if optional packages are installedCOMMENT
LOW…ernance-python/agent-os/tests/test_layer3_framework.py10# Check if control plane submodules are installedCOMMENT
LOW…vernance-python/agent-os/tests/test_kernel_critical.py20# Check if optional modules are availableCOMMENT
LOW…rnance-python/agent-os/tests/test_layer1_primitives.py10# Check if optional packages are installedCOMMENT
LOWagent-governance-python/agent-os/examples/run-demo.sh41# Check if demo existsCOMMENT
LOW…nce-python/agent-os/examples/pharma-compliance/demo.py366 # Check if draft claims stronger significance than actualCOMMENT
LOW…rnance-python/agent-os/examples/iot-smart-home/main.py186 # Check if in private room that's occupiedCOMMENT
LOW…vernance-python/agent-os/examples/legal-review/main.py383 # Check if clause type is presentCOMMENT
LOW…vernance-python/agent-os/examples/legal-review/main.py509 # Check if user is authorizedCOMMENT
LOW…ernance-python/agent-os/examples/hr-recruiting/main.py92 # Check if key relates to protected characteristicsCOMMENT
LOW…t-os/examples/self-evaluating/tests/test_ghost_mode.py117 os.close(fd) # Close the file descriptor immediatelyCODE
LOW…t-os/examples/self-evaluating/tests/test_ghost_mode.py452 # Check if pattern was learnedCOMMENT
LOW…-evaluating/examples/example_evaluation_engineering.py172 # Check if expected date is in the outputCOMMENT
LOW…les/self-evaluating/examples/example_agent_metadata.py316 # Check if fetcher output matches transformer inputCOMMENT
LOW…les/self-evaluating/examples/example_agent_metadata.py325 # Check if transformer output matches reporter inputCOMMENT
LOW…s/self-evaluating/examples/example_orchestration_ai.py294 # Display resultsCOMMENT
LOW…ples/self-evaluating/examples/example_orchestration.py238 # Display resultsCOMMENT
LOW…thon/agent-os/examples/self-evaluating/src/observer.py273 # Check if issue was resolved (last event success status)STRING
LOW…on/agent-os/examples/self-evaluating/src/ghost_mode.py377 # Check if we should surface this observationCOMMENT
LOW…on/agent-os/examples/self-evaluating/src/ghost_mode.py538 # Check if this matches a known patternCOMMENT
LOW…ent-os/examples/self-evaluating/src/circuit_breaker.py245 # Check if metrics meet thresholdsCOMMENT
LOW…gent-os/examples/self-evaluating/src/prioritization.py187 # Check if similar correction existsCOMMENT
LOW…gent-os/examples/self-evaluating/src/prioritization.py229 # Check if preference existsCOMMENT
LOW…gent-os/examples/self-evaluating/src/prioritization.py263 # Check if correction is recentCOMMENT
LOW…gent-os/examples/self-evaluating/src/prioritization.py268 # Check if correction is relevant to this userCOMMENT
LOW…-python/agent-os/examples/self-evaluating/src/agent.py911 # Check if score meets thresholdSTRING
LOW…-os/examples/self-evaluating/src/polymorphic_output.py174 # Check if it's codeCOMMENT
LOW…-os/examples/self-evaluating/src/polymorphic_output.py181 # Check if it's time series (list of dicts with timestamp)COMMENT
LOW…-os/examples/self-evaluating/src/polymorphic_output.py184 # Check if it's tabular (list of dicts with same keys)COMMENT
LOW…nce-python/agent-os/examples/tool-using-agent/agent.py103 # Check if agent wants to use a toolCOMMENT
LOW…thon/agent-os/modules/caas/src/caas/pragmatic_truth.py285 # Check if sections are about similar topicsCOMMENT
LOW…ython/agent-os/modules/caas/src/caas/vfs/filesystem.py294 # Check if this path is a child of the directoryCOMMENT
LOW…ython/agent-os/modules/caas/src/caas/vfs/filesystem.py337 # Check if this file is in the requested directoryCOMMENT
LOW…ce-python/agent-os/modules/caas/src/caas/api/server.py230 # Read file contentCOMMENT
LOW…governance-python/agent-os/modules/amb/amb_core/bus.py265 # Check if message is expired (AMB-007)COMMENT
LOW…-python/agent-os/modules/amb/amb_core/memory_broker.py141 # Check if there are messages to deliverCOMMENT
LOW…-python/agent-os/modules/amb/amb_core/memory_broker.py149 # Check if this is a response messageCOMMENT
LOW…-python/agent-os/modules/amb/amb_core/memory_broker.py198 # Check if queue is at max capacityCOMMENT
LOW…-python/agent-os/modules/amb/amb_core/memory_broker.py221 # Check if this is a response message for request-response patternCOMMENT
LOW…dules/amb/amb_core/adapters/azure_servicebus_broker.py206 # Check if message matches topic filterCOMMENT
LOW…t-governance-python/agent-os/modules/nexus/registry.py103 # Check if already registeredCOMMENT
LOW…t-governance-python/agent-os/modules/nexus/registry.py248 # Check if registeredCOMMENT
LOW…overnance-python/agent-os/modules/atr/atr/injection.py370 # Check if default is an injection markerCOMMENT
LOW…overnance-python/agent-os/modules/atr/atr/decorator.py56 # Check if it's a Union (which includes Optional)COMMENT
LOW…governance-python/agent-os/modules/atr/atr/policies.py222 # Check if we can make a callCOMMENT
LOW…governance-python/agent-os/modules/atr/atr/policies.py268 # Check if we can make a callCOMMENT
LOW…governance-python/agent-os/modules/atr/atr/executor.py262 # Check if it's a timeoutCOMMENT
LOW…governance-python/agent-os/modules/atr/atr/executor.py326 " # Print result with marker for parsing",CODE
LOW…hon/agent-os/modules/atr/atr/tools/safe/file_reader.py108 # Check if within sandboxCOMMENT
LOW…hon/agent-os/modules/atr/atr/tools/safe/file_reader.py182 # Read fileCOMMENT
51 more matches not shown…
Hallucination Indicators15 hits · 160 pts
SeverityFileLineSnippetContext
CRITICAL…/src/main/kotlin/com/agentos/plugin/actions/Actions.kt104 val toolWindowManager = com.intellij.openapi.wm.ToolWindowManager.getInstance(project)CODE
CRITICAL…/src/main/kotlin/com/agentos/plugin/actions/Actions.kt116 com.intellij.openapi.options.ShowSettingsUtil.getInstance()CODE
CRITICAL…/src/main/kotlin/com/agentos/plugin/actions/Actions.kt147 com.intellij.openapi.vfs.LocalFileSystem.getInstance().refreshAndFindFileByPath(configFile.absolutePath)CODE
CRITICAL…python/agent-os/extensions/chrome/devtools/devtools.js35 chrome.devtools.panels.elements.onSelectionChanged.addListener(() => {CODE
CRITICAL…n/agent-os/src/agent_os/integrations/openai_adapter.py436 return self._client.beta.threads.messages.list(CODE
CRITICAL…n/agent-os/src/agent_os/integrations/openai_adapter.py691 return self._client.beta.threads.runs.submit_tool_outputs(CODE
CRITICAL…n/agent-os/src/agent_os/integrations/openai_adapter.py418 message = self._client.beta.threads.messages.create(CODE
CRITICAL…n/agent-os/src/agent_os/integrations/openai_adapter.py497 run = self._client.beta.threads.runs.create(**run_kwargs)CODE
CRITICAL…n/agent-os/src/agent_os/integrations/openai_adapter.py529 with self._client.beta.threads.runs.stream(CODE
CRITICAL…n/agent-os/src/agent_os/integrations/openai_adapter.py571 run = self._client.beta.threads.runs.retrieve(CODE
CRITICAL…icies/tests/scenarios/test_openai_adapter_scenarios.py134 client.beta.threads.messages.create.assert_called_once()CODE
CRITICAL…icies/tests/scenarios/test_openai_adapter_scenarios.py161 client.beta.threads.messages.create.assert_not_called()CODE
CRITICAL…icies/tests/scenarios/test_openai_adapter_scenarios.py187 client.beta.threads.messages.create.assert_called_once()CODE
CRITICAL…icies/tests/scenarios/test_openai_adapter_scenarios.py217 client.beta.threads.messages.create.assert_called_once()CODE
CRITICAL…icies/tests/scenarios/test_openai_adapter_scenarios.py236 client.beta.threads.messages.create.assert_not_called()CODE
Verbosity Indicators76 hits · 141 pts
SeverityFileLineSnippetContext
LOWexamples/mcp-trust-verified-server/server.py51# Step 1: Configure the trust proxy with per-tool policies.COMMENT
LOWexamples/mcp-trust-verified-server/server.py73# Step 2: Register tool fingerprints for rug-pull detection.COMMENT
LOWscripts/credential_audit.py287 # Step 1: Find mergesCOMMENT
LOWscripts/credential_audit.py293 # Step 2: Find spray citationsCOMMENT
LOWscripts/credential_audit.py297 # Step 3: Calculate spray windowCOMMENT
LOW.github/pipelines/esrp-publish.yml929 # Step 4: Push signed package to NuGet.orgCOMMENT
LOW.github/pipelines/esrp-publish.yml831 # Step 1: Authenticode sign DLLs inside the NuGet packageCOMMENT
LOW.github/pipelines/esrp-publish.yml886 # Step 2: Sign the .nupkg with ESRP NuGet Signing (CP-401405)COMMENT
LOW.github/pipelines/esrp-publish.yml916 # Step 3: Verify the signed NuGet packageCOMMENT
LOW…agent-compliance/examples/prompt_defense_governance.py180 # Step 1: Evaluate prompt defenseCOMMENT
LOW…agent-compliance/examples/prompt_defense_governance.py185 # Step 2: Governance verification (if toolkit installed)COMMENT
LOW…agent-compliance/examples/prompt_defense_governance.py208 # Step 3: Deployment decisionCOMMENT
LOW…ompliance/src/agent_compliance/cli/credential_audit.py346 # Step 1: Find mergesCOMMENT
LOW…ompliance/src/agent_compliance/cli/credential_audit.py352 # Step 2: Find spray citationsCOMMENT
LOW…ompliance/src/agent_compliance/cli/credential_audit.py356 # Step 3: Calculate spray windowCOMMENT
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts480 // Step 1: Fetch data from sourcesCOMMENT
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts483 // Step 2: Process dataCOMMENT
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts486 // Step 3: Send to outputsCOMMENT
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts585 // Step 1: Fetch data from sourcesCOMMENT
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts593 // Step 2: Process dataCOMMENT
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts601 // Step 3: Send to outputsCOMMENT
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts389 # Step 1: Fetch data from sourcesSTRING
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts392 # Step 2: Process dataSTRING
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts395 # Step 3: Send to outputsSTRING
LOW…/kotlin/com/agentos/plugin/agents/AgentWizardDialog.kt28 // Step 1: Template selectionCOMMENT
LOW…/kotlin/com/agentos/plugin/agents/AgentWizardDialog.kt32 // Step 2: Agent configurationCOMMENT
LOW…/kotlin/com/agentos/plugin/agents/AgentWizardDialog.kt39 // Step 3: Policy selectionCOMMENT
LOW…/kotlin/com/agentos/plugin/agents/AgentWizardDialog.kt50 // Step 1: Template SelectionCOMMENT
LOW…/kotlin/com/agentos/plugin/agents/AgentWizardDialog.kt53 // Step 2: Agent ConfigurationCOMMENT
LOW…/kotlin/com/agentos/plugin/agents/AgentWizardDialog.kt56 // Step 3: Policy SelectionCOMMENT
LOW…ance-python/agent-os/examples/customer-service/main.py595 # Step 1: ClassifyCOMMENT
LOW…ance-python/agent-os/examples/customer-service/main.py601 # Step 2: Check escalationCOMMENT
LOW…ance-python/agent-os/examples/customer-service/main.py642 # Step 5: VerificationCOMMENT
LOW…ance-python/agent-os/examples/customer-service/main.py648 # Step 6: Determine if human review neededCOMMENT
LOW…ance-python/agent-os/examples/customer-service/main.py618 # Step 3: Search knowledge baseCOMMENT
LOW…ance-python/agent-os/examples/customer-service/main.py631 # Step 4: Policy checkCOMMENT
LOW…rnance-python/agent-os/examples/carbon-auditor/demo.py214 # Step 1: Extract claimCOMMENT
LOW…rnance-python/agent-os/examples/carbon-auditor/demo.py218 # Step 2: Fetch satellite observationCOMMENT
LOW…rnance-python/agent-os/examples/carbon-auditor/demo.py222 # Step 3: Audit with CMVKCOMMENT
LOW…ent-os/examples/carbon-auditor/src/agents/geo_agent.py89 # Step 1: Fetch satellite imagery using atr toolCOMMENT
LOW…ent-os/examples/carbon-auditor/src/agents/geo_agent.py105 # Step 2: Calculate NDVI using atr toolCOMMENT
LOW…ent-os/examples/carbon-auditor/src/agents/geo_agent.py119 # Step 3: Build observation objectCOMMENT
LOW…-os/examples/carbon-auditor/src/agents/claims_agent.py71 # Step 1: Parse PDF using atr toolCOMMENT
LOW…-os/examples/carbon-auditor/src/agents/claims_agent.py80 # Step 2: Extract structured data using atr toolCOMMENT
LOW…-os/examples/carbon-auditor/src/agents/claims_agent.py87 # Step 3: Build claim objectCOMMENT
LOW…es/self-evaluating/examples/sample_full_stack_agent.py96 # Step 1: Normalize the input signalCOMMENT
LOW…es/self-evaluating/examples/sample_full_stack_agent.py108 # Step 2: Execute the taskCOMMENT
LOW…es/self-evaluating/examples/sample_full_stack_agent.py122 # Step 3: Generate polymorphic output (if enabled)COMMENT
LOW…es/self-evaluating/examples/sample_full_stack_agent.py164 # Step 4: Emit telemetry event (if enabled)COMMENT
LOW…es/self-evaluating/examples/sample_full_stack_agent.py181 # Step 5: Return comprehensive resultCOMMENT
LOW…evaluating/examples/example_omnichannel_integration.py96 # Step 1: Normalize InputCOMMENT
LOW…evaluating/examples/example_omnichannel_integration.py103 # Step 2: Agent Processing (simulated)COMMENT
LOW…evaluating/examples/example_omnichannel_integration.py109 # Step 3: Generate Polymorphic OutputCOMMENT
LOW…evaluating/examples/example_omnichannel_integration.py131 # Step 4: Generate UI ComponentCOMMENT
LOW…/agent-os/examples/self-evaluating/src/orchestrator.py383 # Step 1: Product Manager creates specsCOMMENT
LOW…/agent-os/examples/self-evaluating/src/orchestrator.py395 # Step 2: Coder implementsCOMMENT
LOW…/agent-os/examples/self-evaluating/src/orchestrator.py407 # Step 3: Reviewer reviewsCOMMENT
LOW…agent-os/examples/self-evaluating/src/model_upgrade.py493 # Step 1: AuditSTRING
LOW…agent-os/examples/self-evaluating/src/model_upgrade.py501 # Step 2: Purge (if auto_purge enabled)STRING
LOW…t-os/modules/control-plane/examples/getting_started.py144 # Step 1: Create control planeCOMMENT
16 more matches not shown…
Cross-Language Confusion20 hits · 81 pts
SeverityFileLineSnippetContext
HIGHtests/ci/test_regression_ci_test_swallow.py8 pip install ... --require-hashes -r ci-test.txt 2>/dev/null || trueSTRING
HIGHtests/ci/test_regression_ci_test_swallow.py41 f"failures via `2>/dev/null || true`. Window:\n{window}"CODE
HIGHscripts/ci/generate_workflows.py217 " group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}",CODE
HIGHscripts/tests/test_supply_chain_common.py351 """Removed file (+++ /dev/null) must not become a current_file."""STRING
HIGH…nt-compliance/src/agent_compliance/security/scanner.py282 - line: Line number (integer or null)STRING
HIGH…nt-compliance/src/agent_compliance/security/scanner.py283 - cve: CVE identifier (string or null)STRING
HIGH…nt-compliance/src/agent_compliance/security/scanner.py284 - expires: ISO 8601 datetime (string or null)STRING
HIGH…ce-python/agent-os/tests/test_conversation_guardian.py174 score, _ = d.score_message("pip install flask-unsign && flask-unsign --decode")CODE
HIGH…vernance-python/agent-os/examples/hello-world/agent.py7Run with: pip install agent-os-kernel && python agent.pySTRING
HIGH…-python/agent-os/examples/quickstart/my_first_agent.py7Run with: pip install agent-os-kernel && python my_first_agent.pySTRING
HIGH…n/agent-os/services/cloud-board/api/routes/registry.py97 (verification_key || proof_timestamp) with the private keySTRING
HIGH…overnance-python/agent-os/src/agent_os/cli/__init__.py127 suggestion="Run: agentos init && agentos secure",CODE
HIGH…/agt-policies/src/agt/cli/_migrate_resolution/build.py331 expr = f"object.get({expr}, {json.dumps(part)}, null)"CODE
HIGH…n/agent-hypervisor/tests/unit/test_command_denylist.py138 result = self.enforcer.check_command("curl && rm -rf /")CODE
HIGHagent-governance-python/agent-mesh/tests/test_x3dh.py193 """Associated data is initiator IK || responder IK."""STRING
HIGH…ython/agent-mesh/examples/trust-dashboard/dashboard.py163let histChart=null, tierChart=null;CODE
HIGH…ython/agent-mesh/examples/trust-dashboard/dashboard.py238 datasets.push({CODE
HIGH…nce-python/agent-mesh/src/agentmesh/encryption/x3dh.py367 KDF input = F || KMSTRING
HIGH…python/agent-mesh/src/agentmesh/server/trust_engine.py74 proof: str = Field(..., description="Base64 Ed25519 signature over (public_key || proof_timestamp)")CODE
HIGH…-python/agent-mesh/src/agentmesh/reward/trust_decay.py332 """KL(P || Q) with Laplace smoothing."""STRING
AI Slop Vocabulary28 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUMexamples/policies/conversation-guardian.yaml6# that these rules are comprehensive or sufficient for your securityCOMMENT
MEDIUMexamples/policies/cli-security-rules.yaml6# that these rules are comprehensive or sufficient for your securityCOMMENT
MEDIUMexamples/policies/sql-safety.yaml6# that these rules are comprehensive or sufficient for your securityCOMMENT
MEDIUMexamples/policies/semantic-policy.yaml6# that these rules are comprehensive or sufficient for your securityCOMMENT
MEDIUMexamples/policies/mcp-security.yaml6# that these rules are comprehensive or sufficient for your securityCOMMENT
MEDIUMexamples/policies/pii-detection.yaml6# that these rules are comprehensive or sufficient for your securityCOMMENT
MEDIUMexamples/policies/sandbox-safety.yaml6# that these rules are comprehensive or sufficient for your securityCOMMENT
MEDIUMexamples/policies/prompt-injection-safety.yaml6# that these rules are comprehensive or sufficient for your securityCOMMENT
MEDIUM…les/marketplace-governance/policies/plugin-safety.yaml6# that these rules are comprehensive or sufficient for your securityCOMMENT
MEDIUM…arketplace-governance/policies/marketplace-policy.yaml6# that these rules are comprehensive or sufficient for your securityCOMMENT
MEDIUM.github/workflows/ai-security-scan.yml3# Posts comprehensive audit results as a GitHub issue.COMMENT
MEDIUM…nce-python/agent-sandbox/src/agent_sandbox/__init__.py62# symmetry with ``DockerSandboxProvider`` and to remain robust againstCOMMENT
MEDIUM…/agent-compliance/src/agent_compliance/cli/red_team.py393 """Generate a comprehensive red-team assessment report.STRING
MEDIUM…es/self-evaluating/examples/sample_full_stack_agent.py181 # Step 5: Return comprehensive resultCOMMENT
MEDIUM…rnance-python/agent-os/templates/policies/pci-dss.yaml262 saq_type: "SAQ-D" # Most comprehensiveCODE
LOW…nce-python/agent-os/modules/atr/tests/test_executor.py174 # But we'll just return a value to verify execution worksCOMMENT
MEDIUM…e-python/agent-os/modules/control-plane/pyproject.toml70# SQL AST parsing for robust policy enforcement (recommended)COMMENT
MEDIUM…os/modules/control-plane/examples/advanced_features.py372 # Get comprehensive statusCOMMENT
MEDIUM…nt-os/modules/control-plane/examples/lifecycle_demo.py658 # Show comprehensive statusCOMMENT
MEDIUM…control-plane/src/agent_control_plane/policy_engine.py902 # version-robust way. sqlglot renamed ``AlterTable`` -> ``Alter``COMMENT
MEDIUM…control-plane/src/agent_control_plane/control_plane.py424 """Get comprehensive status for an agent"""STRING
MEDIUM…les/control-plane/src/agent_control_plane/lifecycle.py3065 """Get comprehensive status of the control plane"""STRING
MEDIUM…n/agent-os/src/agent_os/integrations/drift_detector.py308 """Run a comprehensive scan over multiple source dicts.STRING
MEDIUM…/tests/scenarios/test_stock_library_smoke_scenarios.py55 proc = subprocess.run( # noqa: S603 — trusted test harnessCODE
MEDIUM…e-python/agent-mesh/tests/test_credential_lifecycle.py150 """Verify seamless key rotation without service interruption."""STRING
MEDIUM…nt-governance-python/agent-mesh/tests/test_keystore.py164 """Create a comprehensive mock of the pkcs11 package."""STRING
MEDIUM…examples/06-eu-ai-act-compliance/compliance_checker.py68# Capabilities that elevate risk when presentCOMMENT
MEDIUM…agent-mesh/packages/mcp-proxy/policies/enterprise.yaml3# Full enterprise security: Rate limiting, PII detection, comprehensive audit.COMMENT
Fake / Example Data43 hits · 48 pts
SeverityFileLineSnippetContext
LOW…e/tests/conformance/cases/spec-16-effects.case-04.json18 "text": "Email jane@example.com and john@example.org"CODE
LOW…ield/policies/workiq-collaboration-dlp/app/run_demo.py64 await check(control, InterventionPoint.PRE_TOOL_CALL, {"document_sensitivity": "internal", "email_read_this_turn": TCODE
LOWdocs/javascripts/site.js9 input.setAttribute('placeholder', 'Search or filter');CODE
LOW…les/aegis-governance-profile/tests/test_compilation.py674 "resource": 'Resource::"placeholder"',CODE
LOWexamples/adk-governed/adk_governance_demo.py104 tool_args={"to": "user@example.com"},CODE
LOWagent-governance-typescript/tests/mcp.test.ts194 description: 'Lorem ipsum dolor sit amet. '.repeat(30),CODE
LOWagent-governance-typescript/tests/mcp.test.ts194 description: 'Lorem ipsum dolor sit amet. '.repeat(30),CODE
LOW…on/agent-sandbox/tests/test_ring_enforcement_wiring.py369 fake_detector.trip("agent1", "placeholder") # Will be overridden belowCODE
LOW…ernance-python/agent-os/tests/test_mcp_session_auth.py20 token = authenticator.create_session("did:mesh:agent-001", user_id="user@example.com")CODE
LOW…ernance-python/agent-os/tests/test_mcp_session_auth.py24 assert session.user_id == "user@example.com"CODE
LOW…ernance-python/agent-os/tests/test_mcp_session_auth.py37 token = authenticator.create_session("did:mesh:agent-001", user_id="user@example.com")CODE
LOW…ernance-python/agent-os/tests/test_mcp_session_auth.py43 assert session.user_id == "user@example.com"CODE
LOW…ent-governance-python/agent-os/tests/test_stateless.py719 params={"to": "user@example.com"},CODE
LOWagent-governance-python/agent-os/tests/test_server.py26 token = authenticator.create_session("test-agent", user_id="user@example.com")CODE
LOW…on/agent-os/tests/test_mcp_pii_and_response_gateway.py216 decision = gw.intercept_tool_response('a1', 'tool', 'user@example.com')CODE
LOW…nt-governance-python/agent-os/tests/test_mute_agent.py127 result = FakeResult(data={"email": "user@example.com", "count": 5})CODE
LOW…nt-governance-python/agent-os/tests/test_mute_agent.py129 assert "user@example.com" not in str(redacted.data)CODE
LOW…python/agent-os/docs/tutorials/message-bus-adapters.md236 payload={"user_id": "123", "email": "user@example.com"}CODE
LOW…ent-os/extensions/mcp-server/src/tools/deploy-agent.ts111 approvers: ['admin@example.com'], // Would come from configCODE
LOW…nce-python/agent-os/examples/ecommerce-support/main.py358 name="Jane Doe",CODE
LOW…s/self-evaluating/tests/test_constraint_engineering.py203 "recipient": "user@example.com"CODE
LOW…-evaluating/examples/example_constraint_engineering.py233 "recipient": "user@example.com",CODE
LOW…thon/agent-os/modules/caas/tests/test_trust_gateway.py122 allowed_users=["admin@example.com", "user@example.com"]CODE
LOW…thon/agent-os/modules/caas/tests/test_trust_gateway.py122 allowed_users=["admin@example.com", "user@example.com"]CODE
LOW…thon/agent-os/modules/caas/tests/test_trust_gateway.py129 user_id="admin@example.com"CODE
LOW…thon/agent-os/modules/caas/tests/test_trust_gateway.py342 user_id="user@example.com",CODE
LOW…thon/agent-os/modules/caas/tests/test_trust_gateway.py377 user_id="admin@example.com"CODE
LOW…hon/agent-os/modules/iatp/examples/integration_demo.py155 payload={"to": "user@example.com"},CODE
LOW…hon/agent-os/modules/iatp/examples/integration_demo.py171 payload={"to": "user@example.com"},CODE
LOW…e-python/agent-os/modules/iatp/examples/demo_client.py103 "customer_name": "John Doe"CODE
LOW…e-python/agent-os/modules/iatp/examples/demo_client.py122 "customer_name": "Jane Doe"CODE
LOW…nt-os/src/agent_os/integrations/agentshield_adapter.py31 result = kernel.validate_tool_call("send_email", {"to": "user@example.com"})STRING
LOW…/tests/scenarios/test_agentshield_adapter_scenarios.py256 "send_email", {"to": "user@example.com"}CODE
LOW…/tests/scenarios/test_agentshield_adapter_scenarios.py280 "send_email", {"to": "user@example.com"}CODE
LOW…t-governance-python/agent-mesh/tests/test_authority.py262 sponsor="admin@example.com",CODE
LOW…t-governance-python/agent-mesh/tests/test_authority.py277 sponsor="admin@example.com",CODE
LOW…t-governance-python/agent-mesh/tests/test_authority.py287 sponsor="user@example.com",CODE
LOW…governance-python/agent-mesh/tests/test_ca_security.py225 ca.rotate_credentials(reg.agent_did, "fake-token-12345", new_key)CODE
LOW…nt-governance-python/agent-mesh/docs/RFC_AGENT_SBOM.md73 "name": "Acme Corp",CODE
LOWagent-governance-python/agent-mesh/schemas/README.md51 "organization": "Acme Corp",CODE
LOW…python/agent-mesh/examples/03-healthcare-hipaa/main.py117 "patient_name": "John Doe",CODE
LOW…/agent-mesh/src/agentmesh/integrations/mcp/__init__.py22 ... sponsor_id="admin@example.com",STRING
LOW…e-python/agent-mesh/src/agentmesh/governance/govern.py706 safe_send(to="user@example.com", body="Hello") # policy-checkedSTRING
Cross-Language Confusion (JS/TS)6 hits · 35 pts
SeverityFileLineSnippetContext
HIGH…governance-typescript/agent-os-vscode/src/extension.ts380 print(result)CODE
HIGH…src/webviews/workflowDesigner/WorkflowDesignerPanel.ts301 print(result)CODE
HIGH…src/webviews/workflowDesigner/WorkflowDesignerPanel.ts362 print(result)CODE
HIGH…ntmesh-integrations/copilot-governance/src/reviewer.ts247 "unconditionally return True without performing actual checks. " +CODE
HIGH…ntmesh-integrations/copilot-governance/src/reviewer.ts256 " return False\n" +CODE
HIGH…thon/agent-os/extensions/copilot/src/agentGenerator.ts436 print(f"Agent completed: {result}")CODE
AI Structural Patterns26 hits · 22 pts
SeverityFileLineSnippetContext
LOW…k/python/agent_control_specification/_orchestration.py100CODE
LOW…ython/agent_control_specification/_adapters/litellm.py306CODE
LOW…gent-os/examples/self-evaluating/src/agent_metadata.py214CODE
LOW…-python/agent-os/examples/self-evaluating/src/agent.py187CODE
LOW…-python/agent-os/examples/self-evaluating/src/agent.py394CODE
LOW…-os/examples/self-evaluating/src/polymorphic_output.py259CODE
LOW…ython/agent-os/modules/caas/src/caas/vfs/filesystem.py77CODE
LOW…ce-python/agent-os/modules/caas/src/caas/api/server.py415CODE
LOW…ernance-python/agent-os/modules/nexus/tests/helpers.py50CODE
LOW…overnance-python/agent-os/modules/atr/atr/decorator.py210CODE
LOW…governance-python/agent-os/modules/atr/atr/__init__.py265CODE
LOW…thon/agent-os/modules/iatp/examples/untrusted_agent.py66CODE
LOW…control-plane/src/agent_control_plane/control_plane.py116CODE
LOW…les/control-plane/src/agent_control_plane/lifecycle.py2695CODE
LOW…agent-os/services/cloud-board/api/routes/compliance.py95CODE
LOW…governance-python/agent-os/src/agent_os/mcp_gateway.py134CODE
LOW…s/src/agent_os/integrations/semantic_kernel_adapter.py818CODE
LOW…ent-os/src/agent_os/integrations/google_adk_adapter.py1042CODE
LOW…ent-os/src/agent_os/integrations/google_adk_adapter.py1060CODE
LOW…overnance-python/agent-mesh/src/agentmesh/telemetry.py32CODE
LOW…ce-python/agent-mesh/src/agentmesh/core/identity/ca.py428CODE
LOW…ce-python/agent-mesh/src/agentmesh/core/identity/ca.py494CODE
LOW…t-mesh/src/agentmesh/identity/attestation_collector.py61CODE
LOW…nt-mesh/src/agentmesh/identity/attestation_verifier.py42CODE
LOW…e-python/agent-mesh/src/agentmesh/governance/govern.py664CODE
LOW…ce-python/agent-mesh/src/agentmesh/governance/audit.py483CODE
Example Usage Blocks15 hits · 22 pts
SeverityFileLineSnippetContext
LOWpolicy-engine/scripts/demo_end_to_end.sh24# Usage:COMMENT
LOWexamples/policies/sql-safety.yaml13# Usage:COMMENT
LOWexamples/demos/openclaw-governed/docker-compose.yaml9# Usage:COMMENT
LOW.github/pipelines/esrp-publish.yml7# Usage:COMMENT
LOW…thon/agent-os/modules/observability/docker-compose.yml9# Usage:COMMENT
LOW…on/agent-os/modules/control-plane/build_and_publish.sh4# Usage:COMMENT
LOW…ent-os/src/agent_os/integrations/smolagents_adapter.py272# Usage:COMMENT
LOW…s/src/agent_os/integrations/semantic_kernel_adapter.py899# Usage:COMMENT
LOW…/agent-sre/examples/chaos-chatbot/chaos-scenarios.yaml4# Usage:COMMENT
LOW…agent-sre/src/agent_sre/specs/data-pipeline-agent.yaml6# Usage:COMMENT
LOW…thon/agent-sre/src/agent_sre/specs/research-agent.yaml6# Usage:COMMENT
LOW…python/agent-sre/src/agent_sre/specs/coding-agent.yaml6# Usage:COMMENT
LOW…nt-sre/src/agent_sre/specs/customer-support-agent.yaml5# Usage:COMMENT
LOW…-hypervisor/examples/docker-compose/docker-compose.yml9# Usage:COMMENT
LOW…agent-mesh/docker/examples/docker-compose.sidecar.yaml6# Usage:COMMENT
Synthetic Comment Markers3 hits · 18 pts
SeverityFileLineSnippetContext
HIGHdocs/policies/ai-security-guidance.md27### 1. Independent validation of AI-generated testsCOMMENT
HIGH.github/actions/ai-agent-runner/action.yml371 body: `${marker}\n${statusMarker}\n${runMarker}\n## 🤖 AI Agent: ${agentType}\n\n> AI-generated review ouCODE
HIGH.github/actions/ai-agent-runner/action.yml377 const body = `${marker}\n${statusMarker}\n${runMarker}\n## 🤖 AI Agent: ${agentType}\n\n> AI-generated reviewCODE
Overly Generic Function Names16 hits · 13 pts
SeverityFileLineSnippetContext
LOW…vernance-python/agent-os/tests/test_security_skills.py413 def process_data(items):CODE
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts424async def process_data(*data_sources) -> List[Dict]:CODE
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts515async function processData(...dataSources: any[][]): Promise<any[]> {CODE
LOW…thon/agent-os/extensions/copilot/src/agentGenerator.ts626func processData(dataSources ...[]any) ([]any, error) {CODE
LOW…agent-os/examples/crewai-safe-mode/crewai_safe_mode.py255 def execute_task(self, task: str) -> str:CODE
LOW…ent-os/examples/self-evaluating/src/agent_brokerage.py384 def execute_task(self, task: str, task_metadata: Optional[Dict[str, Any]] = None,CODE
LOW…les/observability/src/agent_os_observability/tracer.py87 def my_function(x, y):STRING
LOW…les/observability/src/agent_os_observability/tracer.py223 def my_function():STRING
LOW…governance-python/agent-os/modules/amb/amb_core/bus.py388 async def handle_request(msg: Message):STRING
LOW…gent-os/modules/atr/tests/test_integration_executor.py173 def process_data(numbers: list, multiplier: int = 2, add_value: int = 0) -> list:CODE
LOW…ce-python/agent-os/modules/atr/tests/test_decorator.py86 def my_function(x: str) -> str:CODE
LOW…s/control-plane/src/agent_control_plane/mcp_adapter.py608 def handle_request(self, request: Dict) -> Dict:CODE
LOW…python/agent-os/src/agent_os/integrations/profiling.py82 def my_method(self, ...): ...STRING
LOW…python/agent-os/src/agent_os/integrations/profiling.py85 def my_method(self, ...): ...STRING
LOW…ernance-python/agent-sre/src/agent_sre/api/__init__.py357 def handle_request(self) -> None:CODE
LOW…-python/agent-mesh/examples/01-mcp-tool-server/main.py44 async def handle_request(self, tool_name: str, params: Dict[str, Any]) -> Dict[str, Any]:CODE
Slop Phrases8 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUM…ns/langchain-agentmesh/langchain_agentmesh/identity.py77 for demonstration purposes.STRING
MEDIUM…e-python/agent-os/examples/governed-chatbot/chatbot.py251 response = "I apologize, but I cannot provide that response due to content policy."CODE
MEDIUM…n/agent-os/modules/caas/tests/test_heuristic_router.py128 ("Thanks", "You're welcome! Let me know if you need anything else."),CODE
MEDIUM…ython/agent-os/modules/cmvk/src/cmvk/constitutional.py209 ("I cannot provide instructions for making weapons.", False, "Appropriately refuses"),CODE
MEDIUM…nce-python/agent-os/modules/control-plane/benchmark.py144 response = "I notice this request contains suspicious instructions. I must follow my core safety guideliCODE
MEDIUM…t-os/modules/control-plane/examples/compliance_demo.py136 good_response = "I'd be happy to help you with that task. Let me know if you need clarification."CODE
MEDIUM…gent-os/modules/control-plane/examples/adapter_demo.py24 Mock OpenAI client for demonstration purposes.STRING
MEDIUM…/control-plane/src/agent_control_plane/agent_kernel.py433 Note: This returns simulated execution results for demonstration purposes.STRING
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…nt-governance-python/agent-mesh/services/api/README.md40 -H "x-api-key: <your-api-key>" \CODE
HIGH…nt-governance-python/agent-mesh/services/api/README.md78 -H "x-api-key: <your-api-key>" \CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/ci/test_no_stubs.py56 result = _run_gate_with_added_line(tmp_path, "sample.py", "# TODO: implement this")CODE
LOW…gentmesh-integrations/nostr-wot/tests/test_provider.py13 # TODO: Add tests using respx to mock the WoT APICOMMENT