Exploit database

GH-f1ca9c11b8ef6a486ff865162bf281b2

volksrat71/react2shellexploitvisualized

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-55182

257 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files6

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/lib/utils/triggers/stakeholder/ssr-triggers.ts

TypeScript · 3,761 bytes
// SSR Step - Stakeholder Level Trigger Configuration
// Trigger phrases matched to stakeholder narration script (restaurant analogy)

import { findPhraseTime, type WhisperOutput } from '../../whisper-types';
import type { SSRKeyframeTriggers } from '../types';

// Stakeholder-level trigger phrases from approved script
// TIMING NOTES:
// - Request starts at ~3s, arrives at server by ~5s (2s travel time in animation)
// - "kitchen receives it" is at 4.56s in whisper, so we need requestArrives AFTER request lands
// - Fast components (header/sidebar/welcome) must complete BEFORE "painfully slow" at 9.74s
// - The 1-second spacing between substeps means fetchingFast must be early enough
const TRIGGER_CONFIG = {
	// Request: "phone sends the order" (3.06s) → travel → arrive before server processes
	requestStart:     { phrase: "phone sends the order",                          fallback: 3.0 },

	// Server starts: trigger AFTER request would have landed (requestStart + 2s travel time)
	// We use "starts pulling" (5.36s) which is after 3.06 + 2 = 5.06
	requestArrives:   { phrase: "starts pulling",                                 fallback: 5.5 },
	serverProcessing: { phrase: "pulling ingredients",                            fallback: 5.8 },

	// Fast data fetches: must start early enough so header→sidebar→welcome complete
	// BEFORE hitProblem. With 1s spacing: fetchingFast+3 = heavy starts.
	// "one station is painfully slow" is at 9.74s
	// Need fetchingFast + 3 < 9.74, so fetchingFast < 6.74
	// Use "different stations" at 6.62s: 6.62 + 3 = 9.62 < 9.74 ✓
	fetchingFast:     { phrase: "from different stations",                        fallback: 6.6 },

	// The blocking problem - Analytics is slow
	// "one station is painfully slow" at 9.74s
	hitProblem:       { phrase: "one station is painfully slow",                  fallback: 10.0 },

	// Slow API mentioned - "third party supplier" at 12.86s
	slowAPI:          { phrase: "third party supplier",                           fallback: 12.9 },

	// Critical issue - "here's the problem" at 15.82s
	criticalIssue:    { phrase: "here's the problem",                             fallback: 15.8 },

	// Everything blocked - "whole order is blocked" at 21.04s
	blocked:          { phrase: "whole order is blocked",                         fallback: 21.0 },

	// Data finally arrives after long wait - "slow item finally arrives" (29.5s)
	dataArrives:      { phrase: "slow item finally arrives",                      fallback: 29.5 },

	// Server can now render - "kitchen plate the meal" (32.22s)
	renderHTML:       { phrase: "kitchen plate the meal",                         fallback: 32.0 },

	// Serialize and send - "send the full tray out all at once" (33.34s)
	serialize:        { phrase: "send the full tray out all at once",             fallback: 33.5 },
	responseSent:     { phrase: "all at once",                                    fallback: 34.5 },

	// Browser renders - "that delay feels like staring" (37.1s)
	browserRenders:   { phrase: "that delay feels like",                          fallback: 37.0 },

	// User waited / bottleneck conclusion - "That's the bottleneck" (44.98s)
	userWaited:       { phrase: "That's the bottleneck",                          fallback: 45.0 },

	// Conclusion - "One slow dependency" at 46.62s
	conclusion:       { phrase: "One slow dependency",                            fallback: 46.6 }
} as const;

export function extractSSRKeyframeTriggers(whisper: WhisperOutput): SSRKeyframeTriggers {
	const triggers = {} as SSRKeyframeTriggers;

	for (const [key, config] of Object.entries(TRIGGER_CONFIG)) {
		triggers[key as keyof SSRKeyframeTriggers] =
			findPhraseTime(whisper, config.phrase) ?? config.fallback;
	}

	return triggers;
}