scripty-bot / scripty

Hardcoded temporary file or directory detected RS-S1003
Security
Major
6 months ago7 months old
Probable insecure usage of temporary file or directory: /tmp
456		let waveform = file.download().await?;
457		// save it to disk
458		let mut tmp_file = async_tempfile::TempFile::new_in(
459			PathBuf::from_str("/tmp").expect("parsing /tmp path should always succeed"),460		)
461		.await?;
462		tmp_file.write_all(&waveform).await?;