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.
And Etherpad Lite Plugin. Set element tag name and attributes through classes.
An Etherpad Lite plugin which adds the ability to set the output tag and attributes.
Use:
On an element, (say a span
), add the class elem
to enable the plugin on that element. Then, to set the output element (optional, defaults to span
), add the class elem:elemname
(eg. elem:a
). For each attribute, add a class in the format attr-attrname:attrvalue
, eg. attr-contentedtiable:true
, attr-data-code:x%20y
. Encode any attr values with encodeURIComponent
.
Example:
<span class="elem elem:a attr-href:http%3A%2F%2Fgithub.com">github</span>
will produce:
<a href="http://github.com">github</a>
To set classes on an element, simply use attr-class:cls
. You can set the style property by either creating a class as described previously, or setting the style property as per normal html development (it will be preserved).
Development:
npm run prepublish
to compile JS and package.json
FAQs
And Etherpad Lite Plugin. Set element tag name and attributes through classes.
The npm package ep_element receives a total of 8 weekly downloads. As such, ep_element popularity was classified as not popular.
We found that ep_element 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.