add_subs_to_videos

v0.1.1 suspicious
6.0
Medium Risk

Add missing subtitles. Recursive video-to-SRT transcription using whisper.cpp

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package exhibits moderate risk due to network and metadata concerns, suggesting potential issues with accessing protected resources and low maintainer effort.

  • Network risk: Potential unauthorized access attempts.
  • Metadata risk: Low maintainer effort and lack of community support.
Per-check LLM notes
  • Network: A 403 error suggests restricted access to the URL, which might indicate unexpected behavior or an attempt to access protected resources.
  • Shell: No shell execution patterns detected.
  • Obfuscation: No obfuscation patterns detected, indicating low risk.
  • Credentials: No credential harvesting patterns detected, indicating low risk.
  • Metadata: The package shows signs of low maintainer effort and lack of community backing, which could indicate potential risk.

🔬 Heuristic Checks

Outbound Network Calls score 3.0

Found 2 network call pattern(s)

  • urllib gets a 403. req = urllib.request.Request( AUDIO_URL, headers={"User-Agent": "
  • on-test/1.0"}, ) with urllib.request.urlopen(req) as response: dest.write_bytes(response.
Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution

No shell execution patterns detected

Credential Harvesting

No credential harvesting patterns detected

Typosquatting

No typosquatting candidates detected

Registered Email Domain

No author email provided

Suspicious Page Links

All external links appear legitimate

Git Repository History

No GitHub repository linked

  • No GitHub repository link found
Maintainer History score 6.0

3 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with add_subs_to_videos
Create a command-line utility named 'SubtitleMaven' using Python that leverages the 'add_subs_to_videos' package to automatically generate and add subtitles to videos. This utility should support both local files and remote URLs. Users should be able to specify the input directory containing videos, choose between generating new subtitles or adding existing ones, select a language for the subtitles, and specify the output directory where the subtitled videos will be saved.

The application should have the following features:
1. Accept command-line arguments for specifying input and output directories, as well as options for generating new subtitles or adding existing ones.
2. Support multiple video formats (e.g., MP4, AVI, MKV).
3. Allow users to select the language for subtitle generation.
4. Provide an option to transcribe audio from remote URLs directly into subtitled videos.
5. Include a progress bar to show the status of the transcription and subtitle addition process.
6. Handle exceptions gracefully and provide meaningful error messages.
7. Use the 'add_subs_to_videos' package to perform the recursive transcription of video content into SRT files and then merge these subtitles back into the original video files.
8. Implement logging to track the actions performed and any errors encountered during the process.

Your task is to design and implement this utility, ensuring it is user-friendly, efficient, and robust.