// npm package
lint-md-cli
Cli tool to lint your markdown file for Chinese.
versions
3
maintainers
1
license
MIT
first publish
2019-07-26
publisher
atool
tarball
20,772 B
AUTO-PUBLISHED·1 version indexed·latest published 2019-12-27
// publisher campaignby atool
9 caught packages from this accountThis is not an isolated catch. The same publisher has shipped 8 other packages that our pipeline flagged — the shape of a coordinated campaign, not a one-off. Each link below opens that sibling's analysis.
// offending code· @0.1.2· 1 file flagged
llm: benign · 0.85→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s).
- @0.1.2··AUTO-PUBLISHED·publisher: atoolheuristic 75/100static flags 1llm benign (0.85) via ollamapublisher-multi-name-burst:5osv-flagged:MAL-2026-4145public-github-push
→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s).
// offending code· 1 file flaggedpatterns: 1
--- package/package.json (excerpt) --- { "name": "lint-md-cli", "version": "0.1.2", "description": "Cli tool to lint your markdown file for Chinese.", "bin": { "lint-md": "bin/index.js" }, "scripts": { "test": "node ./bin/index.js tests README.md -c tests/.lintmdrc", "build": "rimraf ./bin && babel src -d bin" }, "keywords": [ "lint", "markdown", "lint-md", "cli" ], "dependencies": { "babel-polyfill": "^6.26.0", "chalk": "^2.4.2", "commander": "^2.19.0", "glob": "^7.1.3", "lint-md": "^0.2.0", "lodash": "^4.17.11" }, "devDependencies": { "@babel/cli": "^7.2.0", "@babel/core": "^7.2.0", "@babel/preset-env": "^7.2.0", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^23.6.0", "babel-plugin-version": "^0.2.3", "coveralls": "^3.0.2", "jest": "^23.6.0", "rimraf": "^2.7.0" }, "author": "hustcc", "license": "MIT", "bugs": { "url": "https://github.com/hustcc/lint-md/issues" }, "repository": { "type": "git", "url": "git+https://github.com/hustcc/lint-md.git" }, "homepage": "https://github.com/hustcc/lint-md#readme" } --- package.json (entry) --- { "name": "lint-md-cli", "version": "0.1.2", "description": "Cli tool to lint your markdown file for Chinese.", "bin": { "lint-md": "bin/index.js" }, "scripts": { "test": "node ./bin/index.js tests README.md -c tests/.lintmdrc", "build": "rimraf ./bin && babel src -d bin" }, "keywords": [ "lint", "markdown", "lint-md", "cli" ], "dependencies": { "babel-polyfill": "^6.26.0", "chalk": "^2.4.2", "commander": "^2.19.0", "glob": "^7.1.3", "lint-md": "^0.2.0", "lodash": "^4.17.11" }, "devDependencies": { "@babel/cli": "^7.2.0", "@babel/core": "^7.2.0", "@babel/preset-env": "^7.2.0", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^23.6.0", "babel-plugin-version": "^0.2.3", "coveralls": "^3.0.2", "jest": "^23.6.0", "rimraf": "^2.7.0" }, "author": "hustcc", "license": "MIT", "bugs": { "url": "https://github.com/hustcc/lint-md/issues" }, "repository": { "type": "git", "url": "git+https://github.com/hustcc/lint-md.git" }, "homepage": "https://github.com/hustcc/lint-md#readme" } --- index.js (entry) --- #!/usr/bin/env node "use strict"; require('babel-polyfill'); var program = require('commander'); var Lint = require('./Lint'); var Fix = require('./Fix'); var configure = require('./helper/configure'); program.version("0.1.2", '-v, --version').usage('<lint-md> <files...> [options]').description('lint your markdown files').option('-c, --config [configure-file]', 'use the configure file, default .lintmdrc').option('-f, --fix', 'fix the errors automatically').arguments('<files...>').action(function (files, cmd) { var config = configure(cmd.config); var fix = cmd.fix; if (fix) { new Fix(files, config); } else { new Lint(files, config); } }); program.parse(process.argv); if (!program.args.length) { program.help(); }
