T03 · Remote Payload Retrieval and Execution
- Location
scripts/ensure_package.py:131- Finding
Automatic Installation of Mutable and Unverified Third-Party Dependencies
- Content
View full analysis
=1.12.0") ensure_package.pip( "git+https://github.com/qiuqiangkong/torchlibrosa.git", fallback_zip="torchlibrosa-master.zip" ) ensure_package.pip("matplotlib") ensure_package.pip("ffmpeg-downloader") ensure_package.pip("pydub", "pydub", "AudioSegment") ensure_package.pip("transformers") ``` ```python # scripts/voice_enhance.py:21-26 ensure_package.pip("packaging", "packaging", "version") ensure_package.pip("audio-separator==0.30.2", force=True) ensure_package.pip("numpy==1.26.4", force=True) ensure_package.pip("librosa==0.10.2", force=True) ensure_package.pip( "git+https://github.com/haoheliu/voicefixer.git", fallback_zip="voicefixer-main.zip" ) ensure_package.pip("hf_transfer") ``` ```python # scripts/hifi_audio_enhance.py:25-31 ensure_package.pip("torch") ensure_package.pip("torchaudio") ensure_package.pip("torchvision") ensure_package.pip( "git+https://github.com/haoheliu/versatile_audio_super_resolution.git", fallback_zip="versatile_audio_super_resolution-main.zip" ) ensure_package.pip("huggingface_hub") ensure_package.pip("torchcodec") ``` ```python # scripts/run_resemble_enhance.py:20-36 ensure_package.pip("torch") ensure_package.pip("soundfile") ensure_package.pip("numpy==1.26.4") ensure_package.pip("librosa==0.10.2") ens ...[truncated 4066 chars]- Remediation
View remediation
