
Security News
OpenCode User Hit with Hostile Backlash After Reporting Free AI Loophole
An OpenCode user faced harassment after reporting a free AI usage loophole, drawing a bitter backlash in a GitHub thread that has since been deleted.
@mintlify/validation
Advanced tools
@mintlify/validation is a small package to validate docs.json files.
npm install @mintlify/validation
import mintValidation from "@mintlify/validation"
const configObject = { name: "Site Name", navigation: [] }
mintValidation.validateMintConfig(configObject)
mintValidation.validateDocsConfig(configObject)
This package assumes you have already loaded a config object into a JavaScript object.
The package returns an object with the properties status, warnings, and errors.
status can be one of: "success", "error".
warnings is a string array with warnings the user should know but are not expected to break the site.
errors is a string array of errors that will likely break the site.
When status === "error" you should stop trying to build mint, your docs.json file is invalid and the site will crash when building.
{
"status": "error",
"warnings": ["Navigation is an empty array, no pages will be shown"],
"errors": ["Mintlify does not support .ico favicons, use .svg or .png instead."]
}
Additional documentation on docs.json is available on Mintlify's website.
Join our Discord community if you have questions or just want to chat:
Built with 💚 by the Mintlify community.
A TypeScript-first library for defining schemas and validating data at runtime. It is more general-purpose and lets you define application-specific rules; Mintlify validation is oriented toward Mintlify documentation inputs.
A high-performance JSON Schema validator. It is a good fit when you already have JSON Schemas or need standards-based validation across many kinds of JSON data, whereas Mintlify validation is tailored to Mintlify workflows.
A command-line tool for linting, validating, and managing OpenAPI descriptions. It focuses on OpenAPI authoring and API governance, while Mintlify validation is aimed at validation in a Mintlify documentation context.
Validates OpenAPI documents against supported OpenAPI schemas. It is narrower and focused on OpenAPI conformance rather than Mintlify documentation configuration.
FAQs
Validates mint.json files
The npm package @mintlify/validation receives a total of 547,835 weekly downloads. As such, @mintlify/validation popularity was classified as popular.
We found that @mintlify/validation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.

Security News
An OpenCode user faced harassment after reporting a free AI usage loophole, drawing a bitter backlash in a GitHub thread that has since been deleted.

Threat Research
/Security News
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.

Threat Research
Malicious Firefox extensions mimic Phantom, Jupiter, and Bitget wallets to steal recovery phrases and private keys, with one fetching its payload remotely.