
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.
@briansalazar06/buffer-test
Advanced tools
library to handle base64 encryption, which allows to encode, decode and know if a value is encoded.
npm run package-setup install @sot/buffer <Page-Path>
npm install @sot/buffer
import { isEncoded, encode, decode } from '@sot/buffer/dist/js';
NOTE: This type of import will enable SOT_Pages WP to perform
tree shaking
, effectively eliminating any unused code.
If you want to use the library on a page that doesn't have a build environment, you can directly copy the index.js in the dist folder (you can change the name to sot-buffer.min.js
) file into the vendors folder on the page to use and import it in the HTML as:
<script src="js/vendors/sot-buffer.min.js"></script>
Please refer to the documentation page for the Buffer on Backstage to see how to use the library or check the next examples:
isEncoded('dGVzdDEyMzQ='); // returns true
encode('test1234'); // return 'dGVzdDEyMzQ='
decode('dGVzdDEyMzQ='); // return 'test1234'
To contribute, follow the instructions in the main sot_components readme at https://github.com/ltvco/sot_components.
FAQs
Snippet to handle base64
The npm package @briansalazar06/buffer-test receives a total of 0 weekly downloads. As such, @briansalazar06/buffer-test popularity was classified as not popular.
We found that @briansalazar06/buffer-test demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.