
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@coolgk/base64
Advanced tools
a javascript / typescript module
npm install @coolgk/base64
base64 encoded decode functions
Report bugs here: https://github.com/coolgk/node-utils/issues
import { encode, decode, encodeUrl, decodeUrl } from '@coolgk/base64';
// OR
// const { encode, decode, encodeUrl, decodeUrl } = require('@coolgk/base64');
const a = 'https://www.google.co.uk/?a=b'
const hash = encode(a);
const urlHash = encodeUrl(a);
console.log(a); // https://www.google.co.uk/?a=b
console.log(hash); // aHR0cHM6Ly93d3cuZ29vZ2xlLmNvLnVrLz9hPWI=
console.log(decode(hash)); // https://www.google.co.uk/?a=b
console.log(urlHash); // aHR0cHM6Ly93d3cuZ29vZ2xlLmNvLnVrLz9hPWI
console.log(decodeUrl(urlHash)); // https://www.google.co.uk/?a=b
string
string
string
string
string
Kind: global function
Param | Type | Description |
---|---|---|
data | string | string to encode |
string
Kind: global function
Param | Type | Description |
---|---|---|
data | string | encoded hash |
string
Kind: global function
Param | Type | Description |
---|---|---|
data | string | string to encode |
string
Kind: global function
Param | Type | Description |
---|---|---|
data | string | base64 encoded url to decode |
FAQs
base64 encoded decode functions
The npm package @coolgk/base64 receives a total of 2 weekly downloads. As such, @coolgk/base64 popularity was classified as not popular.
We found that @coolgk/base64 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.