Skip to content

feat: Add NTI Security Wrapper for post-quantum agent governance - #8897

Closed
abisheakp197 wants to merge 4 commits into
microsoft:mainfrom
abisheakp197:main
Closed

abisheakp197 wants to merge 4 commits into
microsoft:mainfrom
abisheakp197:main

Conversation

@abisheakp197

Copy link
Copy Markdown

Closes #8896

Description

This PR introduces NTI (Neutral Trust Infrastructure) as an optional security wrapper for Microsoft Agent Framework.

This integration adds NTISecurityWrapper which uses the ube-foundation Python SDK to enforce:

  • Post-Quantum Cryptographic (PQC) signatures (Dilithium5/Kyber1024)
  • Zero-Trust capability bounds (via TrustEngine.evaluate)
  • BFT multi-agent consensus boundaries
  • Immutable Merkle-chained audit logging

Installation

pip install ube-foundation

@abisheakp197

Copy link
Copy Markdown
Author

@microsoft-github-policy-service

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The documented import path is unusable, inbound messages are not authenticated, and the security-critical behavior lacks tests.

Review effort: Balanced
Findings: 2 High severity · 6 Medium severity

Open (8)
What changed in this PR

Adds an optional NTI-based security wrapper intended to provide post-quantum agent authorization.

Changes:

  • Generates PQC keys and grants agent capabilities.
  • Signs and evaluates message authorization requests through TrustEngine.
File Description
python/​packages/​core/​agent_framework/​security/​nti_security.py Introduces NTISecurityWrapper.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread python/packages/core/agent_framework/security/nti_security.py
Comment thread python/packages/core/agent_framework/security/nti_security.py Outdated
Comment thread python/packages/core/agent_framework/security/nti_security.py
Comment thread python/packages/core/agent_framework/security/nti_security.py
Comment thread python/packages/core/agent_framework/security/nti_security.py Outdated
Comment thread python/packages/core/agent_framework/security/nti_security.py Outdated
Comment thread python/packages/core/agent_framework/security/nti_security.py Outdated
Comment thread python/packages/core/agent_framework/security/nti_security.py Outdated
@abisheakp197

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Add unit tests for NTISecurityWrapper methods including initialization and message verification.
@github-code-quality

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: C#

C# / code-coverage/dotnet

The overall line coverage in commit 2f5713f in the main branch is 85%. Line coverage data for the main branch is not yet available.

Show a line coverage summary of the most covered files.
File main main 2f5713f +/-
/home/runner/wo...valConverter.cs — 100% —
/home/runner/wo...entsProvider.cs — 99% —
/home/runner/wo...egatingAgent.cs — 99% —
/home/runner/wo...nticAnalyzer.cs — 94% —
/home/runner/wo...putConverter.cs — 90% —
/home/runner/wo...kflowBuilder.cs — 90% —
/home/runner/wo...SkillsSource.cs — 89% —
/home/runner/wo...onExtensions.cs — 81% —
/home/runner/wo...CopilotAgent.cs — 76% —
/home/runner/wo...ctionVisitor.cs — 75% —

@eavanvalkenburg

Copy link
Copy Markdown
Member

see my comment on the issue, closing.

This branch was previously deployed

1 inactive deployment
github-app-auth — a230b665 Deployed Sep 30, 2026 by abisheakp197 via add_label #24114
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add NTI Security Wrapper for Post-Quantum Agent Governance

3 participants