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.
@web-lite/content-rating
Advanced tools
// version @next compatible with react 17 and Mui version 5.0.0-rc.1
// size ~= 7.7kb
import { openContentRating } from '@web-lite/content-rating/@next'
// or
import openContentRating from '@web-lite/content-rating/@next'
// or
import openContentRating from '@web-lite/content-rating'
// version v4 compatible with react >=16.8 and no material needed
// size ~= 150kb
import { openContentRating } from '@web-lite/content-rating/@bundled'
// or
import openContentRating from '@web-lite/content-rating/@bundled'
const t = {
title: 'این محتوا را چگونه ارزیابی میکنید؟',
submitText: 'ثبت',
ratingFeedback: {
1: 'ارزیابی شما ثبت شد، با تشکر',
2: 'ارزیابی شما ثبت شد، با تشکر',
3: 'ارزیابی شما ثبت شد، با تشکر',
4: 'ارزیابی شما ثبت شد، با تشکر',
5: 'ارزیابی شما ثبت شد، با تشکر',
},
}
type Rate = 1 | 2 | 3 | 4 | 5
type SideEffectFunction = () => void
export interface ContentRateConfig {
analyticsPrefix: string // as analytics event title in CONSTANT_CASE
title?: typeof t['title']
submitText?: typeof t['submitText']
destroyDelay?: number
onClose?: SideEffectFunction
onSubmit?: (rate: Rate) => Promise<void>
onDestroy: SideEffectFunction
ratingFeedback?: typeof t['ratingFeedback']
}
type openContentRating = async (
instance: string,
config: ContentRateConfig) => Promise<void>
FAQs
[![Screenshots of design][1]][1]
We found that @web-lite/content-rating demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.