
Research
/Security News
Compromised npm Packages in the AsyncAPI Namespace Deliver Miasma Botnet Loader
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.
A Node.js package for fetching Mizo song lyrics from www.zohlathu.in.
You can install the package using npm:
npm install zohlathu
Since fetching data is an asynchronous operation, use async/await or .then().
const { get_lyrics } = require('zohlathu');
async function fetchSong() {
const song_name = "C. Sanga - Tawnmang Lasi"; // Replace with the requested song
const lyrics = await get_lyrics(song_name); // Get the lyrics
if (lyrics) {
// Format the response
const response = `${lyrics.title}\n\n${lyrics.lyrics}\n\nSource: ${lyrics.source_url}`;
console.log(response);
} else {
console.log("Lyrics not found.");
}
}
fetchSong();
lyrics.title = The title of the lyricslyrics.lyrics = The lyrics contentlyrics.source_url = The url of the original postThe function handles most errors internally and returns null if it fails. You can add your own try...catch block around the execution.
const { get_lyrics } = require('zohlathu');
async function safeFetch() {
try {
const song_name = "C. Sanga - Tawnmang Lasi";
const lyrics = await get_lyrics(song_name);
if (lyrics) {
console.log(`${lyrics.title}\n\n${lyrics.lyrics}\n\nSource: ${lyrics.source_url}`);
}
} catch (e) {
console.error(`An error occurred: ${e.message}`);
}
}
safeFetch();
Requirements: Node.js 14 or higher.
FAQs
A Node.js package for fetching Mizo song lyrics from www.zohlathu.in
The npm package zohlathu receives a total of 12 weekly downloads. As such, zohlathu popularity was classified as not popular.
We found that zohlathu 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
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.