Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
EZTV API module for Node.js
npm install eztv
import eztv from 'eztv';
const [firstShow, ...shows] = await eztv.getShows();
console.log(firstShow, shows);
const show = await eztv.getShows({ query: 'big bang' });
console.log(show);
const [firstEpisode] = await eztv.getShowEpisodes(376, 'sherlock');
console.log(firstEpisode);
getShow(options)
Returns a promise containing a list of shows from eztv
options
: An optional options object. Currently supports:
query
: Show title to search for. If this option is ommited, all shows are returned.showId
: The show ID.
error
: Error object or null.results
: Array of episodes.Each result is an object:
{
"id": 23,
"slug": "the-big-bang-theory",
"status": "break",
"title": "The Big Bang Theory",
"url": "/shows/23/the-big-bang-theory/"
}
getShowEpisodes(showId)
Returns a promise containing a list of episodes for a given show.
showId
: The show ID, which is a number. an example show id is 376
showName
: The show name, which is a string. an example show name is 'sherlock'
error
: Error object or null.results
: Array of episodes.Returns:
{
"episodes": [...],
"id": 23,
"title": "The Big Bang Theory"
}
Each episode is an object:
{
"episodeNumber": 17,
"episodeNumber2": null,
"extra": "HDTV x264-LOL",
"id": 52823,
"magnet": "magnet:?xt=urn:btih:64DZYZWMUAVLIWJUXGDI...",
"proper": false,
"repack": false,
"seasonNumber": 7,
"show": "The Big Bang Theory",
"title": "The Big Bang Theory S07E17 HDTV x264-LOL",
"torrentURL": "http://piratebaytorrents.info/9715961...",
"url": "/ep/52823/the-big-bang-theory-s07e17-hdtv-x264-lol/"
}
FAQs
EZTV API
The npm package eztv receives a total of 3 weekly downloads. As such, eztv popularity was classified as not popular.
We found that eztv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.