The vulnerability is an OS command injection (CWE-78) in the convertToWavType() function in src/utils.ts. In the vulnerable version (0.3.1), this function built an ffmpeg command string by directly interpolating the caller-supplied inputFilePath (and the derived tempFile/outputFilePath) into a shell command string, then executed it via shelljs's shell.exec(). Because the path was placed inside double quotes but never escaped, an attacker-controlled file name containing a double quote ("), a semicolon (;), or $() command substitution could break out of the quoting and inject arbitrary OS commands, which would then run with the Node.js process's privileges.
The fix (commit d93780c9164be5f7e0b2f4094005378923659ce5) replaced the shell-based execution with execFileSync('ffmpeg', [...argv]), passing the file path as a discrete argument with no shell, so shell metacharacters are treated strictly as data. The vulnerable function that would appear in a runtime profile during exploitation is convertToWavType (exported from src/utils.ts). The runFfmpegConversion helper was added by the patch and does not exist in the vulnerable version, so it is not a vulnerable function.