Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
autosub uses ffmpeg and OpenAI Whisper's nodejs bindings to automatically generate and overlay subtitles on any video.
Before using autosub, you need to have ffmpeg installed. You can install ffmpeg using your package manager:
# On Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg
# On macOS using Homebrew (https://brew.sh/)
brew install ffmpeg
# On Windows using Chocolatey (https://chocolatey.org/)
choco install ffmpeg
Install Package
npm install -g autosub
Generate subtitles for a video:
autosub generate -i <Absolute path to video> -o <output path>
Options:
-i, --input
: Absolute path to the input video file.-o, --output
: (Optional) Output path for the subtitled video. If not provided, the output will be saved in the same directory as the input file.Example:
autosub generate -i User/chetan/Developer/video.mp4 -o User/chetan/Developer/output.mp4
Available AI models to generate subtitles for video (bigger model will give better result)
Model | Disk | Mem |
---|---|---|
tiny | 75 MB | ~390 MB |
tiny.en | 75 MB | ~390 MB |
base | 142 MB | ~500 MB |
base.en | 142 MB | ~500 MB |
small | 466 MB | ~1.0 GB |
small.en | 466 MB | ~1.0 GB |
medium | 1.5 GB | ~2.6 GB |
medium.en | 1.5 GB | ~2.6 GB |
large-v1 | 2.9 GB | ~4.7 GB |
large-v2 | 2.9 GB | ~4.7 GB |
large | 2.9 GB | ~4.7 GB |
FAQs
Automatically generate and overlay subtitles for any video.
The npm package autosub receives a total of 5 weekly downloads. As such, autosub popularity was classified as not popular.
We found that autosub demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.