Exploit databaseDownload repository ZIP
GH-f1ca9c11b8ef6a486ff865162bf281b2
volksrat71/react2shellexploitvisualized
Sources for CVE-2025-55182
257 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files6
volksrat71/react2shellexploitvisualizedRevision e780d6fc4556
- ↑..Parent directory
- exploit-triggers.ts
- fix-triggers.ts
- index.ts
- lessons-triggers.ts
- rsc-triggers.ts
- ssr-triggers.ts
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/lib/utils/triggers/stakeholder/fix-triggers.ts
TypeScript · 1,942 bytes// Fix Step - Stakeholder Level Trigger Configuration
// Trigger phrases matched to stakeholder narration script (hotel/guardrail analogy)
import { findPhraseTime, type WhisperOutput } from '../../whisper-types';
import type { FixKeyframeTriggers } from '../types';
// Stakeholder-level trigger phrases from approved script
// Key timestamps from whisper:
// - "vulnerable version" at 8.1s
// - "bracket notation" at 13.72s
// - "fix adds" at 31.68s
// - "property guardrail" at 35.9s
// - "attack gets blocked" at 48.28s
// - "how do you patch" at 54.34s
// - "Next.js" at 55.92s
// - "React server components more directly" at 64.82s
// - "verify the fix" at 71.34s
// - "millions of apps" at 82.78s
const TRIGGER_CONFIG = {
vulnerableCode: { phrase: "In the vulnerable version", fallback: 8.1 },
bracketNotation: { phrase: "bracket notation", fallback: 13.7 },
fixAdds: { phrase: "The fix adds a quick safety", fallback: 31.7 },
hasOwnProperty: { phrase: "property guardrail", fallback: 35.9 },
blocked: { phrase: "attack gets blocked", fallback: 48.3 },
patchApplication: { phrase: "how do you patch", fallback: 54.3 },
nextJs: { phrase: "on Next", fallback: 55.9 },
reactDirect: { phrase: "using React server components", fallback: 64.8 },
verify: { phrase: "verify the fix", fallback: 71.3 },
millions: { phrase: "millions of apps", fallback: 82.8 }
} as const;
export function extractFixKeyframeTriggers(whisper: WhisperOutput): FixKeyframeTriggers {
const triggers = {} as FixKeyframeTriggers;
for (const [key, config] of Object.entries(TRIGGER_CONFIG)) {
triggers[key as keyof FixKeyframeTriggers] =
findPhraseTime(whisper, config.phrase) ?? config.fallback;
}
return triggers;
}