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.
bootstrap-without-jquery
Advanced tools
Lightweight script to replace jQuery for simple interactions when using Twitter Bootstrap.
#Bootstrap without jQuery
A lightweight script to replace jQuery for simple interactions when using Twitter Bootstrap.
Bootstrap requires jQuery for some components such as dropdowns, alerts and the little "hamburger" icon that triggers a collapsible menu. While jQuery is an excellent cross-browser framework, it can be overkill if it's only used for displaying and hiding things. Of course, if a project already uses jQuery then there's no problem, but if not here's a script to replace jQuery and some of the Bootstrap plugin scripts. Using this should reduce download size and speed up loading time for your users.
You can see the script in action in these simple demos:
Bootstrap 2 version so far tested in the following browsers. (Bootstrap 3 testing is on the todo list)
onblur
doesn't fire when attached to button
elements. This affects the dropdown menus so please use a
elements instead for these.I'd really appreciate a quick comment on whether it works in your browser or not.
Licensed under the MIT license.
FAQs
This package is a proof of concept used by Doyensec LLC to conduct a research. It has been uploaded for test purposes only. Its only function is to confirm the installation of the package on victim's machines. The code is not malicious in any way and will
The npm package bootstrap-without-jquery receives a total of 0 weekly downloads. As such, bootstrap-without-jquery popularity was classified as not popular.
We found that bootstrap-without-jquery 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.