max-bridge

Community

Validate MAX mini-app identity safely.

AuthorVKirill
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents forged or stale identity claims in MAX mini-apps by validating launch data server-side using the MAX Bridge rules for HMAC-SHA256, including correct hashing inputs and TTL enforcement.

Core Features & Use Cases

  • MAX WebApp bridge integration: Understand and use window.WebApp capabilities (e.g., DeviceStorage, SecureStorage, BiometricManager, HapticFeedback, NfcManager, BackButton, and share/open deep-link flows) with platform-aware guards.
  • Server-side initData validation: Implements the upstream 10-step MAX algorithm to verify window.WebApp.initData against the bot token, excluding hash from the signed payload and enforcing auth_date TTL.
  • Production hardening & debugging: Provides troubleshooting for common bridge/validation failures and “wrong vs right” patterns that block the highest-stakes identity mistakes.

Quick Start

Ask: “Validate MAX initData for my endpoint using HMAC-SHA256 with a 1-hour TTL, and show the correct error handling for signature mismatch or expired auth_date.”

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: max-bridge
Download link: https://github.com/VKirill/antigravity-for-claude-code/archive/main.zip#max-bridge

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.