
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.
mcp-swagger-parser
Advanced tools
Enterprise-grade OpenAPI/Swagger specification parser for Model Context Protocol (MCP) projects
OpenAPI/Swagger specification parser for MCP projects
A TypeScript library for parsing, validating, and extracting information from OpenAPI/Swagger specifications. This library is designed to be the foundation for the MCP Swagger Server ecosystem.
npm install mcp-swagger-parser
import { OpenApiParser } from 'mcp-swagger-parser';
const parser = new OpenApiParser();
// Parse from URL
const spec = await parser.parseFromUrl('https://petstore.swagger.io/v2/swagger.json');
// Parse from file
const spec = await parser.parseFromFile('./api.yaml');
// Parse from text
const spec = await parser.parseFromText(yamlContent, 'yaml');
// Extract information
console.log('API Info:', spec.info);
console.log('Endpoints:', spec.metadata.endpointCount);
This package is part of the MCP Swagger Server monorepo. Please see the main repository for contribution guidelines.
MIT License - see LICENSE for details.
Status: 🚧 In Development | Part of MCP Swagger Server v1.0.0
FAQs
Enterprise-grade OpenAPI/Swagger specification parser for Model Context Protocol (MCP) projects
We found that mcp-swagger-parser demonstrated a healthy version release cadence and project activity because the last version was released less than 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.