// npm 패키지
lint-md-cli
Cli tool to lint your markdown file for Chinese.
버전
3
메인테이너
1
라이선스
MIT
최초 publish
2019-07-26
publisher
atool
tarball
20,772 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2019-12-27
// publisher 캠페인by atool
이 계정에서 catch된 패키지 9건고립된 catch가 아닙니다. 동일 publisher가 8개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @0.1.2· 1 file flagged
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 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
→ 의심 전송지 없음, 원격 실행 형태 없음 — 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(); }
