
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.
@tryfabric/mack
Advanced tools
Convert Markdown and GitHub Flavoured Markdown to Slack BlockKit Blocks
Mack is a Markdown parser to convert any Markdown content to Slack BlockKit block objects.
Text is truncated to fit within the Slack API's limits.
npm install @tryfabric/mack
import {markdownToBlocks} from '@tryfabric/mack';
const blocks = markdownToBlocks(`
# Hello world
* bulleted item 1
* bulleted item 2
abc _123_

`);
The blocks
object now results in this payload.
function markdownToBlocks(text: string, options: ParsingOptions): KnownBlock[]
text
: the content to parseoptions
: the options to use when parsing.interface ParsingOptions {
// Configure how lists are displayed
lists?: ListOptions;
}
interface ListOptions {
// Configure how checkbox list items are displayed. By default, they are prefixed with '* '
checkboxPrefix?: (checked: boolean) => string;
}
FAQs
Converts Markdown to Slack BlockKit Blocks
The npm package @tryfabric/mack receives a total of 6,492 weekly downloads. As such, @tryfabric/mack popularity was classified as popular.
We found that @tryfabric/mack demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.