Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
This repository contains the code for a Machine Translation (MTL) agent that can perform automatic translation, subtitle extraction, video encoding, and thumbnail generation. Contrary to its name, it does not contain formal code for MTL (yet), it only interacts with API services to perform the translation.
To get a feel for it, run mtl_agent --help
Currently a hobby project that combines most of my post-translation workflow into a single tool that automates away encode and upload!
To install the package, run:
pip install mtl_agent
Additionally, if the upload functionality is to be used, you must install the playwright browser:
playwright install
The agent is configurable and may need credentials.
Those are stored by default under the user's home directory at ~/.config/mtl_agent
, but can be adjusted using the --root
flag before all options.
If you opt to use DeepL's API, you must provide an API key, which can be obtained from their website. The key can be provided as a field inside the secrets.json
file located at the project settings/root directory. The file should look like this:
{
"deepl_api_key": "YOUR_API_KEY"
}
If Google's translation service is used, your secrets.json
file should include the project_id
field.
[!TIP] The file can contain both.
For automatic upload to the available websites, Playwright is used to orchestrate the uploading functionality.
The program will look for a profile_default.json
file at the configuration root. You must manually copy the cookies from your browser into the file. The cookies are used to authenticate the user and allow the program to upload videos to the services.
The file (currently) should look like the following:
{
"vbox7remember": "VBOX7REMEMBER_COOKIE,
"larabox_session": "LARABOX_SESSION_COOKIE",
"ukey": "ANIMES_PORTAL_UKEY",
}
[!NOTE] The available websites to upload to are currently limited, but more eager contributors are welcome to add more!
[!CAUTION] Be very careful if you are storing your credentials in a public repository/dotfiles store.
As a hobby project, this is not actively maintained, and extensive instructions might not be available. If you have any questions on how to get started or how to contribute, feel free to open a PR, or simply reach out.
FAQs
MTL agent for media processing
We found that mtl-agent 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.