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.
Fluent api for reading javascript documents/xml objects
var fluent = new XFluent(doc)
fluent
.get('Linear')
.get('MediaFile')
.filterByAttribute('type', 'bitrate', (type, bitrate) => {
bitrate = Number(bitrate)
// options is a variable that I already have
return (options.supportedMediaTypes.indexOf(type) !== -1 &&
(bitrate >= options.mediaBitrateMim && bitrate <= options.mediaBitrateMax))
})
.each((el) => {
videoUrl = el.childNodes[0].nodeValue
})
.up()
.get('ClickThrough')
.each((el) => {
videoClickThrough = el.childNodes[0].nodeValue
})
.end()
FAQs
Fluent api for reading xml in javascript
The npm package xfluent receives a total of 1 weekly downloads. As such, xfluent popularity was classified as not popular.
We found that xfluent demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.