
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.
@am-77/svelte-pdf
Advanced tools
 
A svelte PDF viewer.
npm i @am-77/svelte-pdf
<script lang="ts">
import PDFViewer from '@am-77/svelte-pdf';
let url =
'https://raw.githubusercontent.com/huyubing/books-pdf/4628830db115e552b08763bd4fa70398233efa64/slime.pdf';
let nextPage: () => void;
let prevPage: () => void;
let gotoPage: (nbr: number) => void;
let pageNumber: number;
let pagesCount: number;
let seekPage: number;
</script>
<div>
<PDFViewer bind:nextPage bind:prevPage bind:gotoPage bind:pageNumber bind:pagesCount {url}>
<div slot="top-actions">
<button on:click={prevPage}>Prev</button>
<span>{pageNumber} / {pagesCount}</span>
<button on:click={nextPage}>Next</button>
<input type="number" bind:value={seekPage} />
<button on:click={() => gotoPage(seekPage)}>go</button>
</div>
<div slot="bottom-actions">
<button on:click={prevPage}>Prev</button>
<span>{pageNumber} / {pagesCount}</span>
<button on:click={nextPage}>Next</button>
<input type="number" bind:value={seekPage} />
<button on:click={() => gotoPage(seekPage)}>go</button>
</div>
</PDFViewer>
</div>
FAQs
 
The npm package @am-77/svelte-pdf receives a total of 21 weekly downloads. As such, @am-77/svelte-pdf popularity was classified as not popular.
We found that @am-77/svelte-pdf 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.
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.