Skills azure-web-pubsub-ts
๐Ÿ“ฆ

azure-web-pubsub-ts

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

Build Azure Web PubSub Apps with TypeScript

Real-time TypeScript applications require secure connection, messaging, and event handling patterns. This skill provides focused Azure Web PubSub examples for clients, servers, groups, and Express handlers.

Supports: Claude Codex Code(CC)
โš ๏ธ 38 Poor

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-web-pubsub-ts" from https://skillstore.io/skills/sickn33-azure-web-pubsub-ts.md and its manifest at https://skillstore.io/api/skills/sickn33-azure-web-pubsub-ts/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.

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

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "azure-web-pubsub-ts". How should a browser connect to Azure Web PubSub?

Expected outcome:

Use an authenticated same-origin negotiation endpoint to issue a short-lived client URL. Register lifecycle and message handlers before starting the client.

Using "azure-web-pubsub-ts". How can the server target messages?

Expected outcome:

  • Broadcast to all connections when every subscriber needs the update.
  • Target a user when all sessions for one identity should receive it.
  • Target a group for room, tenant, or topic delivery.

Using "azure-web-pubsub-ts". What should I review before production?

Expected outcome:

Verify Entra ID usage, token scope and expiration, authenticated negotiation, input validation, reconnection behavior, logging redaction, and integration tests.

Security Audit

High Risk
v5 โ€ข 8/14/2026 Open versioned report

All 47 static alerts are false positives caused by Markdown fences, TypeScript template literals, placeholder URLs, intended SDK networking, or named environment configuration. Semantic review found two high-risk documentation patterns: logging a bearer-token URL and showing a negotiation route without demonstrated authentication.

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

Confirmed security concerns (2)

High
Client Access Token URL Logged
The example logs token.url, whose own comment shows an access_token query parameter. Logs can expose this bearer credential to operators or log systems.
The documented value is a WebSocket URL containing access_token, and the next statement writes it to the console. This is direct credential disclosure.
High
Negotiation Route Does Not Demonstrate Authentication
The Express route issues a client access URL while using an optional user identity and showing no authentication check. Copied code could grant anonymous service access.
The complete route example calls getClientAccessToken without rejecting an absent user. External middleware could exist, but none is shown in this copyable example.
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-web-pubsub-ts/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-web-pubsub-ts/security.svg)](https://skillstore.io/skills/sickn33-azure-web-pubsub-ts?utm_source=security_passport_badge)

HTML badge

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

Embed card

<iframe src="https://skillstore.io/embed/skills/sickn33-azure-web-pubsub-ts.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-web-pubsub-ts security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-azure-web-pubsub-ts/audits/5

BibTeX citation

@techreport{sickn33-sickn33-azure-web-pubsub-ts-2026, author = {sickn33}, title = {azure-web-pubsub-ts security audit report (audit version 5)}, institution = {Skillstore}, year = {2026}, number = {5}, url = {https://skillstore.io/skills/sickn33-azure-web-pubsub-ts/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-web-pubsub-ts security audit report (audit version 5)" version: "unspecified" type: report authors: - name: "sickn33" date-released: "2026-08-14" url: "https://skillstore.io/skills/sickn33-azure-web-pubsub-ts/audits/5" identifiers: - type: other value: "skillstore:sickn33-azure-web-pubsub-ts:audit:5" description: "Skillstore immutable audit report identifier"

Skillstore Score

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

What You Can Build

Prototype a Team Chat

Create group-based messaging, authenticated connections, and browser event handlers for a TypeScript chat prototype.

Add Operational Notifications

Send targeted updates to users, connections, or filtered audiences from an Azure-hosted service.

Review Web PubSub Integration

Compare token, permission, connection, and event-handler patterns before approving an implementation.

Try These Prompts

Create a Basic Client
Show a minimal TypeScript Azure Web PubSub client that obtains a URL from an authenticated negotiate endpoint and handles group messages.
Design Group Messaging
Design TypeScript server and client flows for joining named groups, sending messages, preventing echoes, and handling reconnection failures.
Secure Token Negotiation
Review my Azure Web PubSub negotiate flow. Recommend authentication, least-privilege roles, expiration, error handling, and controls that prevent token exposure.
Plan a Production Integration
Produce an implementation plan for Azure Web PubSub with TypeScript and Express, including identity, authorization, groups, observability, scaling, failure handling, and tests.

Best Practices

  • Prefer DefaultAzureCredential and managed identities instead of long-lived connection strings.
  • Authenticate negotiation requests and issue short-lived tokens with only required roles and groups.
  • Register handlers before connecting, validate event data, and test reconnect and rejoin failures.

Avoid

  • Do not log client access URLs because they contain bearer tokens.
  • Do not expose a negotiation endpoint without authentication and authorization.
  • Do not grant broad send, group, or connection permissions when narrower access is sufficient.

Frequently Asked Questions

Which Azure packages does this skill cover?
It covers the server, browser client, identity, and Express event-handler packages for Azure Web PubSub.
Does it provision an Azure Web PubSub resource?
No. Provisioning, role assignments, networking, and deployment remain environment-specific tasks.
Which authentication method is recommended?
Use DefaultAzureCredential with managed identity for production when your hosting environment supports it.
Can it generate client access tokens?
Yes. It explains user identities, roles, initial groups, and expiration settings for generated tokens.
Does it include authorization middleware?
No. The application must authenticate negotiation requests and enforce its own user and group policies.
Are the examples production ready?
No. Add validation, redacted logging, observability, error handling, rate limits, secure configuration, and tests before production use.

Developer Details

Author

sickn33

License

MIT

Skillstore revision

r2

Version notice

The author did not declare a version.

Ref

5a26d1d61d694db29af9b138c661c1981076d9df

Maintenance freshness

8/15/2026

Usage

6 downloads ยท 86 views

File structure

๐Ÿ“„ SKILL.md

More from sickn33

View all
View all