Skills azure-messaging-webpubsubservice-py
๐Ÿ“ฆ

azure-messaging-webpubsubservice-py

Content revision r2 Medium Risk โš™๏ธ External commands๐ŸŒ Network access๐Ÿ”‘ Env variables

Build Real-Time Apps with Azure Web PubSub

Real-time Python messaging requires careful token, group, connection, and permission handling. This skill provides focused Azure Web PubSub SDK patterns for common service and client workflows.

Supports: Claude Codex Code(CC)
๐Ÿ“Š 69 Adequate

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "azure-messaging-webpubsubservice-py" from https://skillstore.io/skills/sickn33-azure-messaging-webpubsubservice-py.md and its manifest at https://skillstore.io/api/skills/sickn33-azure-messaging-webpubsubservice-py/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Test it

Using "azure-messaging-webpubsubservice-py". Explain how to send a private update to one signed-in user.

Expected outcome:

Use the service client's user-targeted send operation with the authenticated application user ID. Select a content type and handle delivery failures.

Using "azure-messaging-webpubsubservice-py". Plan secure access for a collaborative group.

Expected outcome:

Generate a short-lived user token with only required roles, add the user to the intended group, and revoke permissions when access ends.

Security Audit

Medium Risk
v5 โ€ข 7/23/2026 Open versioned report

All 38 static findings are false positives caused by Markdown fences, inline method names, placeholder Azure endpoints, and a standard environment-variable credential lookup. The examples contain no executable backtick expressions, suspicious destinations, or environment-variable exfiltration. One separate medium-risk issue remains because the token-generation example prints a client access URL that can expose its bearer credential.

1
Files scanned
254
Lines analyzed
0
Review items
0
False positives ignored

Confirmed security concerns (1)

Medium
Client Access Token URL Printed
The token-generation example prints token['url']. Azure Web PubSub client access URLs can contain bearer credentials, so terminal or CI log capture could expose client access.
The print statement directly outputs the generated access URL. The surrounding code identifies the value as a client access token URL.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/sickn33-azure-messaging-webpubsubservice-py/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/sickn33-azure-messaging-webpubsubservice-py/security.svg)](https://skillstore.io/skills/sickn33-azure-messaging-webpubsubservice-py?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/sickn33-azure-messaging-webpubsubservice-py?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-azure-messaging-webpubsubservice-py/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/sickn33-azure-messaging-webpubsubservice-py.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

sickn33. (2026). azure-messaging-webpubsubservice-py security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-azure-messaging-webpubsubservice-py/audits/5

BibTeX citation

@techreport{sickn33-sickn33-azure-messaging-webpubsubservice-py-2026, author = {sickn33}, title = {azure-messaging-webpubsubservice-py security audit report (audit version 5)}, institution = {Skillstore}, year = {2026}, number = {5}, url = {https://skillstore.io/skills/sickn33-azure-messaging-webpubsubservice-py/audits/5}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "azure-messaging-webpubsubservice-py security audit report (audit version 5)" version: "unspecified" type: report authors: - name: "sickn33" date-released: "2026-07-23" url: "https://skillstore.io/skills/sickn33-azure-messaging-webpubsubservice-py/audits/5" identifiers: - type: other value: "skillstore:sickn33-azure-messaging-webpubsubservice-py:audit:5" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
68
Community
83
Spec Compliance

What You Can Build

Add Application Notifications

Create server-side Python flows that broadcast updates or target specific users and connections.

Build Group Messaging

Implement group membership and targeted messages for rooms, teams, or collaborative sessions.

Review Access Controls

Compare token roles and connection permissions before integrating Web PubSub into an Azure architecture.

Try These Prompts

Create a Service Client
Show how to initialize an Azure Web PubSub service client in Python using DefaultAzureCredential for endpoint [endpoint] and hub [hub].
Send Targeted Messages
Design Python examples that send [message] to all clients, user [user_id], group [group], and connection [connection_id]. Explain content types.
Manage Groups and Permissions
Create a secure workflow for adding user [user_id] to group [group], granting [permission], checking access, revoking access, and removing membership.
Design an Async Messaging Service
Design an asynchronous Python Web PubSub service for [application]. Include credential lifecycle, token handling, group delivery, failure handling, cleanup, and testing considerations.

Best Practices

  • Prefer DefaultAzureCredential and managed identities when the deployment environment supports them.
  • Grant only required client roles and issue short-lived access tokens.
  • Close asynchronous clients and credentials, and validate reconnection behavior under failure.

Avoid

  • Do not print, persist, or expose generated client access URLs.
  • Do not grant broad send or group permissions when a narrower role is sufficient.
  • Do not use placeholder identifiers or endpoints without environment-specific validation.

Frequently Asked Questions

Does this skill deploy an Azure Web PubSub resource?
No. It explains Python SDK usage and assumes the resource, endpoint, hub, and credentials already exist.
Which authentication methods are covered?
The examples cover connection strings and DefaultAzureCredential with Microsoft Entra ID.
Can it send messages to individual recipients?
Yes. The documented service client can target a user, group, connection, or every connected client.
Does it include asynchronous Python usage?
Yes. It shows the asynchronous service client, DefaultAzureCredential, message sending, and resource cleanup.
Are generated client access URLs safe to log?
No. Treat them as secrets because they can contain bearer credentials that grant Web PubSub access.
Does it provide complete production guidance?
No. Add retry policies, observability, authorization checks, reconnection logic, load testing, and environment-specific validation.

Developer Details

Author

sickn33

License

MIT

Skillstore revision

r2

Version notice

The author did not declare a version.

Ref

f9e2c34b4f19c7f3e6b0a1e93227b5f77cc12526

Maintenance freshness

7/26/2026

Usage

8 downloads ยท 90 views

File structure

๐Ÿ“„ SKILL.md

More from sickn33

View all
View all