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/exploit-triggers.ts
TypeScript · 2,833 bytes// Exploit Step - Stakeholder Level Trigger Configuration
// Trigger phrases matched to stakeholder narration script (hotel/rulebook analogy)
import { findPhraseTime, type WhisperOutput } from '../../whisper-types';
import type { ExploitKeyframeTriggers } from '../types';
// Stakeholder-level trigger phrases from approved script
// Key timestamps from whisper:
// - "An attacker crafts" at 2.04s
// - "looks like normal app data" at 5.08s
// - "prototype pollution" at 8.58s
// - "magic key named" at 22.52s
// - "server receives" at 27.32s
// - "this is where things go wrong" at 28.86s
// - "doesn't validate" at 32.22s
// - "shared blueprint" at 34.34s
// - "blueprint is poisoned" at 39.3s
// - "chain reaction starts" at 41.68s
// - "built-in way" at 48.42s
// - "execute malicious code" at 52.48s
// - "server runs the attack" at 55.92s
// - "admin level control" at 59.04s
// - "complete control" at 62.06s
// - "steal customer data" at 64.04s
const TRIGGER_CONFIG = {
craftsRequest: { phrase: "attacker crafts a single", fallback: 2.0 },
normalPayload: { phrase: "looks like normal app data", fallback: 5.1 },
prototypePollution: { phrase: "prototype pollution", fallback: 8.6 },
protoKey: { phrase: "magic key named", fallback: 22.5 },
serverReceives: { phrase: "server receives that request", fallback: 27.3 },
goesWrong: { phrase: "this is where things go wrong", fallback: 28.9 },
noValidation: { phrase: "doesn't validate", fallback: 32.2 },
modifiesPrototype: { phrase: "shared blueprint", fallback: 34.3 },
poisoned: { phrase: "blueprint is poisoned", fallback: 39.3 },
gadgetChain: { phrase: "chain reaction starts", fallback: 41.7 },
constructorAccess: { phrase: "back door", fallback: 44.9 },
functionConstructor: { phrase: "built-in way", fallback: 48.4 },
executeCode: { phrase: "execute malicious code", fallback: 52.5 },
serverRuns: { phrase: "server runs the attack", fallback: 55.9 },
whoamiRoot: { phrase: "admin level control", fallback: 59.0 },
completeControl: { phrase: "complete control", fallback: 62.1 },
consequences: { phrase: "steal customer data", fallback: 64.0 }
} as const;
export function extractExploitKeyframeTriggers(whisper: WhisperOutput): ExploitKeyframeTriggers {
const triggers = {} as ExploitKeyframeTriggers;
for (const [key, config] of Object.entries(TRIGGER_CONFIG)) {
triggers[key as keyof ExploitKeyframeTriggers] =
findPhraseTime(whisper, config.phrase) ?? config.fallback;
}
return triggers;
}