Tags

#security
security

49stories
1 d agolatest
.NET 10
Keyless AI chat
DVDEV Community: #dotnet Henrique Mauri 1 d ago

A secure enterprise chat with React, .NET 10 and Microsoft Foundry

The article targets the common mistake of calling the model straight from the front end with the API key in JavaScript, and instead wires React to a .NET 10 Minimal API that talks to Microsoft Foundry without any keys. It walks through Entra ID authentication, a server-owned system prompt, Server-Sent Events streaming and IP-based rate limiting as the protections that separate a demo from a product.

.NET MCP güvenliği
6 attacks on MCP confirmation
DVDEV Community: #dotnet MICHAEL-MAURICE 2 d ago

Faking a Yes: 6 Attacks on the Human Confirmation in a .NET 10 MCP Server

A developer red-teamed the confirmation step of a refund MCP server built on ASP.NET Core with the official C# SDK (ModelContextProtocol 2.3.0). Six attacks — plain-JSON requestState, replaying another user's approval, injected form fields and a pre-checked consent box — each led to a concrete server-side defense, plus a checklist you can apply to your own tools.

Entra ID
Protect APIs with scopes
DVDEV Community: #dotnet Bilal Haidar 3 d ago

Securing APIs with Microsoft Entra ID: scope, client and token validation

A practical guide to protecting an API with Microsoft Entra ID: registering the API, exposing a scope, and registering the client that requests it. It walks through a .NET Core API using Microsoft.Identity.Web, a React client using MSAL, and a .NET web app calling a downstream API. The same token checks apply to any backend stack.

Claude Code
Extension backdoor found

Backdoor found in Claude Code VS Code extension on Cursor Marketplace

Phorion found a persistent SSH backdoor in versions 2.1.312 and 2.1.313 of the official Claude Code VS Code extension on the Cursor Marketplace. Cursor has removed both versions. Developers and teams who installed the extension should check their machines now, since the payload runs as soon as the extension loads.

AI agents
Checks before the model
DVDEV Community: #dotnet MICHAEL-MAURICE 5 d ago

Six checks an AI Telegram assistant needs before the model runs

A developer built a Telegram assistant in n8n that can send email and book meetings, with its decisions guarded by a small ASP.NET Core API on .NET 10. The post lists six checks that run before the model sees a request: chat allowlist, duplicate updates, stale messages, voice length, contact ambiguity and time zones. It is a useful checklist for any bot that triggers side effects.

VS Marketplace
Publish without a PAT

Publish Visual Studio Marketplace extensions securely with Trusted Publishing

Visual Studio Marketplace now offers Trusted Publishing, which lets VS Code and Visual Studio extensions be published from GitHub Actions or Azure Pipelines without a long-lived personal access token. Publishing uses federated identity instead, so there is no secret to store or rotate. Extension authors who automate releases should review the setup and migration steps.

Azure SDK Ekim 2026
Identity and Cosmos DB
AZAzure SDK Blog Sandeep Sen 5 d ago

Azure SDK October 2026: Azure Core, managed identity and Cosmos DB for Rust 1.0.0

The October 2026 Azure SDK release highlights Azure Core 1.63.0 for .NET, Identity updates for Python and Java, and the first stable Cosmos DB for Rust 1.0.0. The authentication changes affect how DefaultAzureCredential behaves in production. Teams on the Cosmos DB Rust preview also get concrete upgrade steps.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message