Remote Code Execution
Remote Code Execution (RCE)
πOne-line summary
The most severe class of vulnerability, letting an attacker run arbitrary code on a server or device over the network.
β¨Example
// RCE
β 곡격μκ° λ€νΈμν¬ λλ¨Έμμ μλ²λ κΈ°κΈ°μ μνλ μ½λλ₯Ό μ€νν μ μκ² λλ κ°μ₯ μ¬κ°ν λ±κΈμ μ·¨μ½μ
β‘Vibe coding prompt examples
Find places in my Next.js API routes and server actions where user input flows into eval, child_process.exec, dynamic import, or template rendering, and mark the RCE risk points.
Fix the code that extracts user-uploaded archives (zip, gz, br) on the server to prevent RCE and zip bombs, adding size limits, path checks, and an up-to-date runtime check.
Make a checklist of what to do within one hour when an RCE advisory drops (check versions, apply the patch, redeploy, review logs).
Try these prompts in your AI coding assistant!