
Security News
Open VSX Unblocks Extension IDs Used in Malware Campaign
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.
@martini-kit/transport-iframe-bridge
Advanced tools
Iframe-based transport for sandboxed multiplayer testing
Iframe-based transport for sandboxed multiplayer testing. Enables local two-player testing in sandboxed iframes, perfect for IDE dual-view mode.
┌─────────────────────────────────────┐
│ Parent Window (IDE Component) │
│ │
│ ┌─────────────────────────────┐ │
│ │ IframeBridgeRelay │ │
│ │ (message hub) │ │
│ └──────────┬──────────────┬───┘ │
│ │ │ │
│ postMessage postMessage │
│ │ │ │
│ ┌──────────▼──────┐ ┌─────▼──────┐│
│ │ Host Iframe │ │Client Iframe││
│ │ IframeBridge │ │IframeBridge ││
│ │ Transport │ │Transport ││
│ └─────────────────┘ └────────────┘│
└─────────────────────────────────────┘
import { IframeBridgeRelay } from '@martini-kit/transport-iframe-bridge';
// Create relay (message hub)
const relay = new IframeBridgeRelay();
// Iframes will auto-register when they create transport instances
import { IframeBridgeTransport } from '@martini-kit/transport-iframe-bridge';
import { GameRuntime } from '@martini-kit/core';
import { myGame } from './game';
// Create transport (auto-registers with parent relay)
const transport = new IframeBridgeTransport({
roomId: 'my-room',
isHost: true
});
// Create runtime
const runtime = new GameRuntime(myGame, transport, { isHost: true });
| Feature | LocalTransport | IframeBridgeTransport |
|---|---|---|
| Use Case | Same JS context | Sandboxed iframes |
| Speed | Instant (direct calls) | Near-instant (postMessage) |
| Isolation | No sandbox | Full sandbox isolation |
| Testing | Unit tests, DualViewDemo | IDE dual-view, sandboxed tests |
TrysteroTransport for P2PLocalTransport (faster, simpler)LocalTransportclass IframeBridgeTransport implements Transport {
constructor(config: IframeBridgeConfig);
send(message: WireMessage, targetId?: string): void;
onMessage(handler: (msg: WireMessage, senderId: string) => void): () => void;
onPeerJoin(handler: (peerId: string) => void): () => void;
onPeerLeave(handler: (peerId: string) => void): () => void;
onHostDisconnect(handler: () => void): () => void;
getPlayerId(): string;
getPeerIds(): string[];
isHost(): boolean;
disconnect(): void;
}
class IframeBridgeRelay {
constructor();
// Auto-registers iframes via postMessage
// No manual registration needed in most cases
getPeers(): PeerInfo[];
getPeersInRoomById(roomId: string): PeerInfo[];
destroy(): void;
}
MIT
FAQs
Iframe-based transport for sandboxed multiplayer testing
We found that @martini-kit/transport-iframe-bridge demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.