
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.
@hashmark/parser
Advanced tools
npm install @hashmark/parser
Hashmark is a markup language. It's more structured than Markdown, but less verbose than XML. Here's what this README would look like in Hashmark:
#document Hashmark parser
#section Installation
#code bash
npm install @hashmark/parser
#section What is Hasmark?
Hashmark is a markup language. It's more structured than Markdown, ...
You can read more about the Hashmark language in the docs.
To parse a Hashmark document,
import { parse, ParsedSchema } from "@hashmark/parser";
const file = "#tag example";
const schemaFile = "#block tag"
const schemaSchemaFile = "#block block";
// Parse with a schema:
const schemaSchema = new ParsedSchema(parse(schemaSchemaFile));
const schema = new ParsedSchema(parse(schemaFile, schemaSchema));
const doc = parse(file, schema)
// ... or parse without a schema:
const noSchemaDoc = parse(file)
Parsing with a schema allows you to define syntactic sugar in the schema, like default elements and inline syntactic sugar.
To validate the document using the schema, use the validateBlock method on the schema. This returns an array of validation errors. If there are no errors, it will return an empty array.
const errors = schema.validateBlock(doc);
To export the document to JSON or XML:
import { toXML, toJSON} from "@hashmark/parser";
const xml: string = toXML(doc);
const json: string = toJSON(doc);
See the @hashmark/cli package.
FAQs
Hashmark parser
We found that @hashmark/parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

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.