
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
lezer-html
Advanced tools
This is an HTML grammar for the lezer parser system.
The code is licensed under an MIT license.
This package exports two bindings:
parser
: Parser
The parser instance for the basic HTML grammar.
configureNesting
(tags: {
tag: string,
attrs?: (attrs: {[attr: string]: string}) => boolean,
parser: {startParse: (input: Input, startPos: number, context: ParseContext) => PartialParse},
}[]): {[name: string]: NestedParser}
Create a nested parser config object which overrides the way the
content of some tags is parsed. Each override is an object with a
tag
property holding the (lower case) tag name to override, and an
optional attrs
predicate that, if given, has to return true for the
tag's attributes for this override to apply.
The parser
property describes the way the tag's content is parsed.
0.13.6 (2021-06-16)
Add a rule for invalid &
syntax to avoid error-recovery around stray ampersands.
FAQs
lezer-based HTML grammar
The npm package lezer-html receives a total of 1,003 weekly downloads. As such, lezer-html popularity was classified as popular.
We found that lezer-html 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 researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.