
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
acyort-util-md
Advanced tools
acyort-util-mdremark and prismjscodetoc::: syntax to div.container, like vuepress/markdown-containerconst { toc, parseMd, frontMatter } = require('acyort-util-md');
const md = '#heading'
const tocHTML = toc(md)
const contentHTML = parseMd(md, {
// see https://www.gatsbyjs.org/packages/gatsby-remark-prismjs/#how-to-use
highlightOpt: {}
})
// format yaml front-matter
const data = frontMatter(md)
interface parseMdOption {
highlightOpt?: {
classPrefix?: string,
aliases?: {
[key: string]: string
},
showLineNumbers?: boolean,
noInlineHighlight?: boolean,
}
}
declare module 'acyort-util-md' {
export function parseMd(content: string, opt?: parseMdOption): string
export function toc(md: string): string
export function frontMatter(
md: string
): {
[k: string]: any
}
}
use the same slug to parse html and generate toc
input
# hefd A b c
## heading2
output
<!-- toc -->
<ul>
<li>
<a href="#hefd-a-b-c">hefd A b c</a>
<ul>
<li><a href="#heading2">heading2</a></li>
</ul>
</li>
</ul>
<!-- body -->
<h1 id="hefd-a-b-c" class="heading">
<a href="#hefd-a-b-c" aria-hidden="true">
<span class="icon icon-link"></span>
</a>hefd A b c
</h1>
<h2 id="heading2" class="heading">
<a href="#heading2" aria-hidden="true">
<span class="icon icon-link"></span>
</a>
heading2
</h2>
input
::: tip
This is content
:::
output
<div class="remark-container tip">
<p class="remark-container-title">TIP</p>
<p>this is content</p>
</div>
use gray-matter to format yaml
---
data1: some text
data2:
- listItem1
- listItem2
---
FAQs
markdown for acyort use remark + prismjs
We found that acyort-util-md 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.