Skip to content

Add promot security layer#86

Merged
MikeAlhayek merged 3 commits into
mainfrom
ma/add-promot-security-layer
Jun 2, 2026
Merged

Add promot security layer#86
MikeAlhayek merged 3 commits into
mainfrom
ma/add-promot-security-layer

Conversation

@MikeAlhayek

@MikeAlhayek MikeAlhayek commented Jun 2, 2026

Copy link
Copy Markdown
Member

This pull request introduces a new set of abstractions for AI chat security, including interfaces and context classes for prompt validation, output filtering, rate limiting, and security auditing. It also updates several NuGet package versions in Directory.Packages.props to keep dependencies up to date. The most important changes are grouped below.

AI Chat Security Abstractions

  • Added interfaces for prompt security validation (IPromptSecurityService), output filtering (IOutputSecurityFilter), rate limiting (IChatRateLimiter), rule evaluation (IPromptSecurityRule), and security auditing (IAIChatSecurityAuditService). These interfaces define contracts for detecting, blocking, and auditing potentially malicious or abusive prompts and outputs. [1] [2] [3] [4] [5]
  • Introduced supporting context and result classes, including PromptSecurityContext, OutputSecurityContext, PromptSecurityEvaluationContext, PromptSecurityDetectionTelemetry, PromptRiskLevel, and PromptSecurityDisposition. These provide structured data for security evaluation and telemetry. [1] [2] [3] [4] [5] [6]

Dependency Updates

  • Updated several package versions in Directory.Packages.props, including major and minor updates to Microsoft, Aspire, and other third-party libraries to improve compatibility, security, and feature support. Notable updates include Microsoft.EntityFrameworkCore, Microsoft.Extensions.*, Aspire.Hosting.*, and others. [1] [2] [3]

These changes lay the foundation for robust AI chat security handling and ensure the project is using the latest stable dependencies.

@MikeAlhayek MikeAlhayek merged commit 217f732 into main Jun 2, 2026
11 checks passed
@MikeAlhayek MikeAlhayek deleted the ma/add-promot-security-layer branch June 2, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant