
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@servicensw/accordion
Advanced tools
Service NSW package documentation and examples
(Login credentials required)
npm install @servicensw/accordion --save-dev
CSS
@import '@servicensw/accordion';
@import 'servicensw-accordion';
@import url('dist/accordion.css');
<link href="dist/accordion.css" rel="stylesheet" type="text/css">
Vanilla JS
The recommended usage is of ES modules, to take advantage of code-splitting.
import Accordion from "@servicensw/accordion"
new Accordion(".accordion:not(.is-excluded)")
Legacy usage;
<script src="dist/accordion.js" type="text/javascript"></script>
(initialized for all .accordion
elements)const Accordion = require("@servicensw/accordion")
(initialize yourself)HTML
<div class="accordion__group">
<section class="accordion">
<h2 class="accordion__title"><span>Title</span></h2>
<div class="accordion__body">
<p>Body content</p>
</div>
</section>
</div>
or for a group of accordions...
<div class="accordion__group">
<section class="accordion">
<h2 class="accordion__title"><span>Title</span></h2>
<div class="accordion__body">
<p>Body content</p>
</div>
</section>
<section class="accordion">
<h2 class="accordion__title"><span>Title</span></h2>
<div class="accordion__body">
<p>Body content</p>
</div>
</section>
<section class="accordion">
<h2 class="accordion__title"><span>Title</span></h2>
<div class="accordion__body">
<p>Body content</p>
</div>
</section>
</div>
FAQs
accordion component
The npm package @servicensw/accordion receives a total of 33 weekly downloads. As such, @servicensw/accordion popularity was classified as not popular.
We found that @servicensw/accordion demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.