{"id":104870,"date":"2022-12-06T08:10:00","date_gmt":"2022-12-06T06:10:00","guid":{"rendered":"https:\/\/jfrog.com\/?p=104870"},"modified":"2022-12-06T08:10:00","modified_gmt":"2022-12-06T06:10:00","slug":"invisible-npm-malware-evading-security-checks-with-crafted-versions","status":"publish","type":"post","link":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/","title":{"rendered":"\u76ee\u306b\u898b\u3048\u306a\u3044npm\u30de\u30eb\u30a6\u30a7\u30a2\uff1a\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-104693\" src=\"https:\/\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125335\/Invisible-npm-Malware_863x300.png\" alt=\"Invisible npm Malware\" width=\"863\" height=\"300\" \/><\/p>\n<p><a href=\"https:\/\/docs.npmjs.com\/cli\/v9\/\" target=\"_blank\" rel=\"noopener\">npm CLI<\/a>\u306b\u306f\u3001\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3088\u304f\u77e5\u3089\u308c\u305f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002npm \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u3001CLI \u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u305d\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u3059\u3079\u3066\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3001\u65e2\u77e5\u306e\u8106\u5f31\u6027\u304c\u306a\u3044\u304b\u8abf\u3079\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-104689\" src=\"https:\/\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29123702\/1_Checking-dependencies-for-well-known-vulnerabilities.png\" alt=\"Checking dependencies for well known vulnerabilities\" width=\"404\" height=\"206\" \/><\/p>\n<p>\u3053\u306e\u30c1\u30a7\u30c3\u30af\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\uff08<code>npm install<\/code>\u5b9f\u884c\u6642\uff09\u306b\u81ea\u52d5\u3067\u884c\u308f\u308c\u307e\u3059\u304c\u3001<a href=\"https:\/\/docs.npmjs.com\/cli\/v9\/commands\/npm-audit\" target=\"_blank\" rel=\"noopener\">npm audit<\/a>\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u624b\u52d5\u3067\u884c\u3046\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u65e2\u77e5\u306e\u8106\u5f31\u6027\u3092\u6301\u3064\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u7528\u3057\u306a\u3044\u3088\u3046\u3001\u958b\u767a\u8005\u306b\u8b66\u544a\u3092\u767a\u3059\u308b\u91cd\u8981\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u8fd1\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u306e\u3042\u308bnpm \u30c4\u30fc\u30eb\u306b\u3088\u308b\u4e88\u671f\u305b\u306c\u52d5\u4f5c\u3092\u691c\u77e5\u3057\u307e\u3057\u305f\u3002\u305d\u308c\u306f\u3001<code>npm install<\/code> \u3068 <code>npm audit<\/code> \u306e\u4e21\u65b9\u306b\u304a\u3044\u3066\u3001\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u5f62\u5f0f\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5bfe\u3059\u308b\u8106\u5f31\u6027\u306b\u95a2\u3059\u308b\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3068\u3044\u3046\u3082\u306e\u3067\u3001\u3053\u308c\u3089\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u958b\u767a\u8005\u306f\u91cd\u5927\u306a\u8106\u5f31\u6027\u3084\u30de\u30eb\u30a6\u30a7\u30a2\u3092\u81ea\u5206\u306e\u30b7\u30b9\u30c6\u30e0\u3084npm\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u9593\u63a5\u7684\u306a\u4f9d\u5b58\u95a2\u4fc2\u3068\u3057\u3066\u6301\u3061\u8fbc\u3093\u3067\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u3053\u306e\u554f\u984c\u306e\u8a73\u7d30\u3001\u305d\u3057\u3066\u653b\u6483\u8005\u304c\u516c\u958b\u3057\u305f\u60aa\u610f\u306e\u3042\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f\u3059\u308b\u305f\u3081\u306b\u3053\u306e\u554f\u984c\u3092\u3069\u306e\u3088\u3046\u306b\u5229\u7528\u3059\u308b\u306e\u304b\u3001\u307e\u305f\u958b\u767a\u8005\u304c\u3053\u306e\u554f\u984c\u306b\u6df7\u4e71\u3055\u305b\u3089\u308c\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u306e\u304b\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u601d\u3044\u304c\u3051\u306a\u3044\u7d50\u679c<\/h2>\n<p>\u3044\u304f\u3064\u304b\u306e npm \u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u4f5c\u696d\u3057\u3066\u3044\u308b\u969b\u3001npm CLI \u3068 JFrog Xray \u3067\u5831\u544a\u3055\u308c\u305f\u8106\u5f31\u6027\u306e\u9593\u306b\u8208\u5473\u6df1\u3044\u4e0d\u4e00\u81f4\u304c\u3042\u308b\u3053\u3068\u306b\u6c17\u304c\u4ed8\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u7279\u5b9a\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u300c<code>cruddl 2.0.0-update.2<\/code>\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001npm \u3068 Xray \u304b\u3089\u7570\u306a\u308b\u8106\u5f31\u6027\u306e\u5831\u544a\u3092\u53d7\u3051\u53d6\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-104690\" src=\"https:\/\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29123736\/2_Unexpected-0-vulnerabilities-resul-from-npm-CLI.png\" alt=\"Unexpected 0 vulnerabilities resul from npm CLI\" width=\"745\" height=\"292\" \/> <img decoding=\"async\" class=\"aligncenter size-full wp-image-104691\" src=\"https:\/\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29123739\/3_Xray-identifies-Xray-CVE-2022-36084-vulnerability.png\" alt=\"Xray identifies Xray CVE-2022-36084 vulnerability\" width=\"1140\" height=\"309\" \/><\/p>\n<p>\u540c\u3058\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5bfe\u3057\u3066\u3001npm\u306e\u767a\u898b\u3057\u305f\u8106\u5f31\u6027\u306f0\u4ef6\u3067\u3057\u305f\u304c\u3001Xray\u306f\u8106\u5f31\u6027\u30921\u4ef6\uff08CVE-2022-36084\uff09\u767a\u898b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u304c\u30d0\u30b0\u306e\u53ef\u80fd\u6027\u304c\u3042\u308b\u3082\u306e\u306a\u306e\u304b\u3001\u305d\u308c\u3068\u3082\u5225\u306e\u3082\u306e\u306a\u306e\u304b\u3001\u8abf\u3079\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u8ab2\u984c\u306b\u95a2\u3059\u308b\u8a73\u7d30\u8abf\u67fb<\/h2>\n<p>\u3044\u304f\u3064\u304b\u306e\u8a66\u884c\u932f\u8aa4\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3063\u305f\u3068\u3053\u308d\u3001\u3053\u306e\u4e0d\u4e00\u81f4\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b<strong>\u30c0\u30c3\u30b7\u30e5\uff0f\u30cf\u30a4\u30d5\u30f3\u6587\u5b57<\/strong>\uff08\u4f8b\uff1a<code>1.2.3-a<\/code>\uff09\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306e\u307f\u767a\u751f\u3059\u308b\u3053\u3068\u306b\u6c17\u3065\u304d\u307e\u3057\u305f\u3002\u3067\u306f\u306a\u305c\u3053\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u8d77\u3053\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3068\u304d\u3001npm\u306f\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af \u30d0\u30fc\u30b8\u30e7\u30cb\u30f3\u30b0\uff08<a href=\"https:\/\/semver.org\/lang\/ja\/\" target=\"_blank\" rel=\"noopener\">Semantic Versioning<\/a>\uff09\u306b\u6e96\u62e0\u3057\u305f\u53b3\u5bc6\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u5f62\u5f0f\u3092\u63a8\u5968\u3057\u3066\u304a\u308a\u3001<a href=\"https:\/\/github.com\/npm\/node-semver\" target=\"_blank\" rel=\"noopener\">node-semver<\/a>\u3067\u89e3\u6790\u53ef\u80fd\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001\u3053\u308c\u30892\u3064\u306f\u6709\u52b9\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u3067\u3059\uff1a <code>5.6.7<\/code>, <code>5.6.7-a<\/code>\u3002<\/p>\n<p>npm-install\/audit\u30c4\u30fc\u30eb\u306f\u3001\u4f9d\u5b58\u3059\u308b\u3059\u3079\u3066\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u305d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092json\uff08\u8f9e\u66f8\u5f62\u5f0f\uff09\u306b\u53ce\u96c6\u3057\u3001<a href=\"https:\/\/docs.npmjs.com\/cli\/v9\/commands\/npm-audit\/#bulk-advisory-endpoint\" target=\"_blank\" rel=\"noopener\">Bulk Advisory endpoint<\/a>\u3068\u3044\u3046\u540d\u524d\u306enpm API\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306b\u9001\u308a\u307e\u3059\u3002\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u5404\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8abf\u3079\u3001 \u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a2\u30c9\u30d0\u30a4\u30b6\u30ea\u306e\u5f71\u97ff\u7bc4\u56f2\u3068\u4e00\u81f4\u3055\u305b\u308b\u3053\u3068\u3067\u95a2\u9023\u3059\u308b\u30a2\u30c9\u30d0\u30a4\u30b6\u30ea\u3092\u898b\u3064\u3051\u3088\u3046\u3068\u3057\u307e\u3059\u3002\u305d\u3057\u3066\u3001API\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304b\u3089\u8fd4\u3055\u308c\u308b\u30ea\u30b9\u30c8\u306b\u3001\u3053\u308c\u3089\u3059\u3079\u3066\u306e\u95a2\u9023\u3059\u308b\u30a2\u30c9\u30d0\u30a4\u30b6\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u78ba\u8a8d\u3057\u305f\u306e\u306f\u3001Bulk advisory endpoint\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u30cf\u30a4\u30d5\u30f3\uff08-\uff09\u306e\u5f8c\u306b\u8ffd\u52a0\u6587\u5b57\u3092\u542b\u3080\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a2\u30c9\u30d0\u30a4\u30b6\u30ea\u306e\u53d6\u5f97\u306b\u5931\u6557\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<h2>\u300c\u30cf\u30a4\u30d5\u30f3\u4ed8\u304d\u30d0\u30fc\u30b8\u30e7\u30f3\u300d\u3063\u3066\u4f55\u306e\u3053\u3068\uff1f\uff1f<\/h2>\n<p>\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af \u30d0\u30fc\u30b8\u30e7\u30cb\u30f3\u30b0\uff08Semantic Versioning\uff09\u306e<a href=\"https:\/\/semver.org\/lang\/ja\/\" target=\"_blank\" rel=\"noopener\">\u4ed5\u69d8<\/a>\u306b\u3088\u308b\u3068\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5f62\u5f0f\u306fMAJOR.MINOR.PATCH\u3067\u3059\uff08\u4f8b\uff1a5.6.7\uff09\u3002 \u305f\u3060\u3057\u3001<a href=\"https:\/\/semver.org\/lang\/ja\/#spec-item-9\" target=\"_blank\" rel=\"noopener\">\u7b2c9\u9805<\/a>\u306b\u3042\u308b\u3088\u3046\u306b\u3001<span style=\"text-decoration: underline\"><strong>\u30d7\u30ec\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3<\/strong><\/span>\u306f\u300c\u30d1\u30c3\u30c1\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u76f4\u5f8c\u306b\u30cf\u30a4\u30d5\u30f3\u3068\u30c9\u30c3\u30c8\u533a\u5207\u308a\u306e\u4e00\u9023\u306e\u8b58\u5225\u5b50\u3092\u4ed8\u52a0\u3059\u308b\u300d\u3053\u3068\u3067\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff08\u4f8b\uff1a<code>5.6.7-a<\/code>\uff09\u3002<\/p>\n<h2>\u52d5\u4f5c\u306e\u539f\u56e0\u3092\u63a8\u6e2c<\/h2>\n<p>npm\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u30b3\u30fc\u30c9\u306f\u30af\u30ed\u30fc\u30ba\u30c9\u30bd\u30fc\u30b9\u3067\u3042\u308b\u305f\u3081\u3001\u554f\u984c\u304c\u3069\u3053\u306b\u8d77\u56e0\u3057\u3066\u3044\u308b\u304b\u306f\u63a8\u6e2c\u3059\u308b\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u5404\u30a2\u30c9\u30d0\u30a4\u30b6\u30ea\u306b\u306f\uff08\u30b5\u30f3\u30d7\u30eb\u306f<a href=\"https:\/\/github.com\/advisories\/GHSA-97xg-phpr-rg8q\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089\u304b\u3089<\/a>\uff09\u3001\u5f71\u97ff\u3092\u53d7\u3051\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u7bc4\u56f2\u3092\u8868\u3059\u8ad6\u7406\u5f0f\uff08\u4f8b\uff1a <code>&gt; 6.6.0<\/code>\uff09\u3092\u683c\u7d0d\u3059\u308b\u300c\u5f71\u97ff\u3092\u53d7\u3051\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u3042\u308a\u307e\u3059\u3002\u3042\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8ad6\u7406\u5f0f\u306e\u3044\u305a\u308c\u304b\u3092\u6e80\u305f\u3057\u305f\u5834\u5408\u3001\u305d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u8106\u5f31\u3067\u3042\u308b\u3068\u307f\u306a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><code>node-semver<\/code>\u306e\u8a18\u9332\u306b\u3088\u308b\u3068\uff08\u305d\u3057\u3066\u304a\u305d\u3089\u304f\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u306e<code>semver<\/code>\u306e\u5b9f\u88c5\u3082\uff09\u3001\u30d7\u30ec\u30ea\u30ea\u30fc\u30b9\u30bf\u30b0\u3092\u6301\u3064\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u6bd4\u8f03\u306b\u306f\u7279\u5225\u306a\u30eb\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\uff08<a href=\"https:\/\/www.npmjs.com\/package\/semver\" target=\"_blank\" rel=\"noopener\">npmjp\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306e\u300cPrerelease Tags\u300d\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u53c2\u7167\uff09\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001<\/p>\n<pre class=\"language-javascript\"><code>semver.satisfies(\"1.2.3-a\", \"&gt; 0\")<\/code><\/pre>\n<p><code>false<\/code>\u3068\u623b\u3063\u3066\u304d\u307e\u3059\u3002\u30a2\u30c9\u30d0\u30a4\u30b6\u30ea\u306e\u4f5c\u6210\u8005\u306e\u610f\u56f3\u3068\u3057\u3066\u306f\u5168\u3066\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30ab\u30d0\u30fc\u3059\u308b\u3053\u3068\u3060\u3063\u305f\u306e\u3067\u3001 \u3053\u308c\u306f\u975e\u5e38\u306b\u4e88\u60f3\u5916\u306a\u3053\u3068\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff08\u4f8b\u3048\u3070\u60aa\u610f\u306e\u3042\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5bfe\u3059\u308b\u30a2\u30c9\u30d0\u30a4\u30b6\u30ea\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u306a\u3069\uff09 \u3002<\/p>\n<p>\u307e\u305f\u3001npmjp\u4e0a\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u306f\u3001\u300coptions object\u300d\u306b<code>includePrerelease<\/code>\u306e\u30d5\u30e9\u30b0\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u52d5\u4f5c\u3092\u6291\u5236\u3067\u304d\u308b\u3053\u3068\u3082\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\uff08\u30ec\u30f3\u30b8\u30de\u30c3\u30c1\u30f3\u30b0\u306e\u76ee\u7684\u3067\u3001\u3059\u3079\u3066\u306e\u30d7\u30ec\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u901a\u5e38\u7248\u3068\u540c\u3058\u3088\u3046\u306b\u6271\u3046\uff09\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u30d5\u30e9\u30b0\u3092\u8a2d\u5b9a\u3057\u305f\u72b6\u614b\u3067\u540c\u3058\u30c1\u30a7\u30c3\u30af\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001<\/p>\n<pre class=\"language-javascript\"><code>semver.satisfies(\"1.2.3-a\", \"&gt; 0\", {\"includePrerelease\":1})<\/code><\/pre>\n<p><code>true<\/code>\u3068\u623b\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>Bulk Advisory endpoint\u3067\u3053\u306e\u30d5\u30e9\u30b0\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u3001\u901a\u5e38\u306enpm\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u30d7\u30ec\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u9593\u306e\u4e0d\u6574\u5408\u304c\u89e3\u6d88\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>JFrog\u306e\u516c\u958b\u3057\u305f\u60c5\u5831\u3092\u53d7\u3051\u3066\u3001\u3053\u306e\u6a5f\u80fd\u304c\u671f\u5f85\u3055\u308c\u308b\u52d5\u4f5c\u3067\u3042\u308b\u3053\u3068\u3092npm\u306e\u30e1\u30f3\u30c6\u30ca\u30fc\uff08\u7ba1\u7406\u8005\uff09\u304b\u3089\u5b66\u3093\u3060\u306e\u3067\u3001\u3053\u306e\u52d5\u4f5c\u304c\u5909\u66f4\u3055\u308c\u308b\u3053\u3068\u306f\u306a\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u5b9f\u8a3c\u5b9f\u9a13\uff08Proof of Concept\uff09<\/h2>\n<p>\u5b9f\u969b\u306b\u81f4\u547d\u7684\u306a\u8106\u5f31\u6027\u3092\u6301\u3063\u3066\u3044\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3042\u308b<code>cruddl<\/code>\u3092\u4f8b\u306b\u3068\u3063\u3066\u307f\u307e\u3057\u3087\u3046(<a href=\"https:\/\/github.com\/advisories\/GHSA-qm4w-4995-vg7f\" target=\"_blank\" rel=\"noopener\">CVE-2022-36084<\/a>)\u3002<\/p>\n<p><code>cruddl<\/code>\u306e\u30d0\u30fc\u30b8\u30e7\u30f3 2.0.0 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001\u60f3\u5b9a\u901a\u308a\u91cd\u5927\u306a\u8106\u5f31\u6027\u304c\u767a\u898b\u3055\u308c\u305f\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-104692\" src=\"https:\/\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29123917\/4_Critical-sercurity-vulnerability-found.png\" alt=\"Critical sercurity vulnerability found\" width=\"754\" height=\"289\" \/><\/p>\n<p>\u4e0a\u8a18\u306e\u4ee3\u308f\u308a\u306b\u3001\u540c\u3058\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d7\u30ec\u30ea\u30ea\u30fc\u30b9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3092\u9078\u629e\u3057\u305f\u5834\u5408\u3001<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-104690\" src=\"https:\/\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29123736\/2_Unexpected-0-vulnerabilities-resul-from-npm-CLI.png\" alt=\"Unexpected 0 vulnerabilities resul from npm CLI\" width=\"745\" height=\"292\" \/><\/p>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3 <code>2.0.0-update.2<\/code> \u306f\u3001 CVE-2022-36084 \u306e\u5f71\u97ff\u3092\u53d7\u3051\u3066\u3044\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u8aa4\u3063\u3066\u300c\u8106\u5f31\u6027\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\uff08\u4fee\u6b63\u7248\u306f <code>2.7.0<\/code>\uff09\u3002<\/p>\n<h2>\u653b\u6483\u8005\u306f\u3069\u306e\u3088\u3046\u306b\u3053\u306e\u52d5\u4f5c\u3092\u60aa\u7528\u3059\u308b\u306e\u304b<\/h2>\n<p>\u653b\u6483\u8005\u306f\u3001\u7121\u5bb3\u306b\u898b\u3048\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u8106\u5f31\u6027\u3084\u60aa\u610f\u306e\u3042\u308b\u30b3\u30fc\u30c9\u3092\u610f\u56f3\u7684\u306b\u4ed5\u8fbc\u307f\u3001\u4ed6\u306e\u958b\u767a\u8005\u304c\u4fa1\u5024\u306e\u3042\u308b\u6a5f\u80fd\u3001\u3042\u308b\u3044\u306ftypoSquatting\u3084\u4f9d\u5b58\u95a2\u4fc2\u306e\u6df7\u4e71\u306a\u3069\u306e\u611f\u67d3\u6280\u8853\u306b\u3088\u308b\u30df\u30b9\u3068\u3057\u3066\u53d6\u308a\u8fbc\u307e\u308c\u308b\u306a\u3069\u306e\u65b9\u6cd5\u3067\u3053\u306e\u52d5\u4f5c\u3092\u60aa\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff08\u4f8b\u306f\u3001<a href=\"https:\/\/jfrog.com\/ja\/blog\/five-examples-of-infection-methods-attackers-use-to-spread-malicious-packages\/\">\u904e\u53bb\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306b\u3001\u653b\u6483\u8005\u304c\u30d7\u30ec\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u5f62\u5f0f\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001<span style=\"text-decoration: underline\">\u305d\u306e\u30b3\u30fc\u30c9\u304c\u60aa\u610f\u306e\u3042\u308b\u30b3\u30fc\u30c9\u30fb\u8106\u5f31\u6027\u3068\u3057\u3066\u5831\u544a\u3055\u308c\u3001\u30a2\u30c9\u30d0\u30a4\u30b6\u30ea\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u305f\u3068\u3057\u3066\u3082<\/span>\u3001npm CLI\u306f\u305d\u306e\u3088\u3046\u306a\u52e7\u544a\u306e\u5b58\u5728\u306b\u3064\u3044\u3066\u306f\u5831\u544a\u3057\u306a\u3044\u305f\u3081\u3001\u60aa\u610f\u306e\u3042\u308b\u30b3\u30fc\u30c9\u30fb\u8106\u5f31\u6027\u306e\u542b\u307e\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u958b\u767a\u8005\u306f\u4f55\u3082\u77e5\u3089\u3055\u308c\u306a\u3044\u307e\u307e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u554f\u984c\u3092\u56de\u907f\u3059\u308b\u305f\u3081\u306b\u958b\u767a\u8005\u304c\u3067\u304d\u308b\u3053\u3068\u306f\uff1f<\/h2>\n<p>\u958b\u767a\u8005\u3084DevOps\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u63a8\u5968\u3059\u308b\u306e\u306f\u3001\u305d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u6975\u3081\u3066\u4fe1\u983c\u3067\u304d\u308b\u30bd\u30fc\u30b9\u304b\u3089\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3068100\uff05\u78ba\u4fe1\u3057\u3066\u3044\u308b\u5834\u5408\u3092\u9664\u304d\u3001<strong>\u30d7\u30ec\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u306enpm\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u3044\u3053\u3068<\/strong>\u3067\u3059\u3002\u305d\u306e\u5834\u5408\u3067\u3082\u3001\u3067\u304d\u308b\u3060\u3051\u65e9\u304f\u30d7\u30ec\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u623b\u3059\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u30d7\u30ec\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u306enpm\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u4ee5\u4e0b\u306e\u65b9\u6cd5\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Linux\u7528\uff1a<\/p>\n<pre class=\"language-javascript\"><code>npm list -a | grep -E @[0-9]+\\.[0-9]+\\.[0-9]+-<\/code><\/pre>\n<p>Windows\u7528:<\/p>\n<pre class=\"language-javascript\"><code>npm list -a | findstr -r @[0-9]*\\.[0-9]*\\.[0-9]*-<\/code><\/pre>\n<h2>JFrog\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fb\u30ea\u30b5\u30fc\u30c1\u306e\u6700\u65b0\u60c5\u5831<\/h2>\n<p>JFrog\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fb\u30ea\u30b5\u30fc\u30c1\u30c1\u30fc\u30e0\u304b\u3089\u306e\u6700\u65b0\u306e\u60c5\u5831\u306f\u3001<a href=\"https:\/\/jfrog.com\/blog\/tag\/security-research\/\">\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fb\u30ea\u30b5\u30fc\u30c1\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b<\/a>\u3084Twitter <a href=\"https:\/\/twitter.com\/JFrogSecurity\">@JFrogSecurity<\/a>\u304b\u3089\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>npm CLI\u306b\u306f\u3001\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3088\u304f\u77e5\u3089\u308c\u305f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002npm \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b &hellip;<\/p>\n","protected":false},"author":448,"featured_media":104694,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[9833,9395],"tags":[10122,9803,9415,9416],"class_list":["post-104870","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security-and-devsecops-ja","category-xray-ja-2","tag-npm-tools-2","tag-npm-ja","tag-9415","tag-9416"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.6 (Yoast SEO v22.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>npm\u4e0a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u306b\u3088\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u306e\u8ab2\u984c | JFrog Japan<\/title>\n<meta name=\"description\" content=\"npm CLI\u306b\u3088\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5bfe\u3059\u308b\u65e2\u77e5\u306e\u8106\u5f31\u6027\u304c\u306a\u3044\u304b\u3092\u8abf\u3079\u308b\u6a5f\u80fd\u306b\u304a\u3044\u3066\u3001\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f\u3059\u308b\u8ab2\u984c\u304c\u3042\u308b\u3053\u3068\u3092\u691c\u77e5\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u8a73\u7d30\u3068\u5bfe\u5fdc\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/posts\/104870\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u76ee\u306b\u898b\u3048\u306a\u3044npm\u30de\u30eb\u30a6\u30a7\u30a2\uff1a\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f\" \/>\n<meta property=\"og:description\" content=\"npm CLI\u306b\u3088\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5bfe\u3059\u308b\u65e2\u77e5\u306e\u8106\u5f31\u6027\u304c\u306a\u3044\u304b\u3092\u8abf\u3079\u308b\u6a5f\u80fd\u306b\u304a\u3044\u3066\u3001\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f\u3059\u308b\u8ab2\u984c\u304c\u3042\u308b\u3053\u3068\u3092\u691c\u77e5\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u8a73\u7d30\u3068\u5bfe\u5fdc\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/\" \/>\n<meta property=\"og:site_name\" content=\"JFrog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/artifrog\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-06T06:10:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/speedmedia.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/http:\/\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125355\/Invisible-npm-Malware_203x148.png\" \/>\n\t<meta property=\"og:image:width\" content=\"203\" \/>\n\t<meta property=\"og:image:height\" content=\"148\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"satoy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@jfrog\" \/>\n<meta name=\"twitter:site\" content=\"@jfrog\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"satoy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/\"},\"author\":{\"name\":\"satoy\",\"@id\":\"https:\/\/jfrog.com\/ja\/#\/schema\/person\/43b1ce9ab6149ce238061dd78a60d89c\"},\"headline\":\"\u76ee\u306b\u898b\u3048\u306a\u3044npm\u30de\u30eb\u30a6\u30a7\u30a2\uff1a\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f\",\"datePublished\":\"2022-12-06T06:10:00+00:00\",\"dateModified\":\"2022-12-06T06:10:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/\"},\"wordCount\":74,\"publisher\":{\"@id\":\"https:\/\/jfrog.com\/ja\/#organization\"},\"image\":{\"@id\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125355\/Invisible-npm-Malware_203x148.png\",\"keywords\":[\"npm-tools\",\"npm\",\"\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\",\"\u8106\u5f31\u6027\"],\"articleSection\":[\"Security and DevSecOps\",\"Xray\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/\",\"url\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/\",\"name\":\"npm\u4e0a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u306b\u3088\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u306e\u8ab2\u984c | JFrog Japan\",\"isPartOf\":{\"@id\":\"https:\/\/jfrog.com\/ja\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125355\/Invisible-npm-Malware_203x148.png\",\"datePublished\":\"2022-12-06T06:10:00+00:00\",\"dateModified\":\"2022-12-06T06:10:00+00:00\",\"description\":\"npm CLI\u306b\u3088\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5bfe\u3059\u308b\u65e2\u77e5\u306e\u8106\u5f31\u6027\u304c\u306a\u3044\u304b\u3092\u8abf\u3079\u308b\u6a5f\u80fd\u306b\u304a\u3044\u3066\u3001\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f\u3059\u308b\u8ab2\u984c\u304c\u3042\u308b\u3053\u3068\u3092\u691c\u77e5\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u8a73\u7d30\u3068\u5bfe\u5fdc\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#primaryimage\",\"url\":\"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125355\/Invisible-npm-Malware_203x148.png\",\"contentUrl\":\"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125355\/Invisible-npm-Malware_203x148.png\",\"width\":203,\"height\":148},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jfrog.com\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u76ee\u306b\u898b\u3048\u306a\u3044npm\u30de\u30eb\u30a6\u30a7\u30a2\uff1a\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jfrog.com\/ja\/#website\",\"url\":\"https:\/\/jfrog.com\/ja\/\",\"name\":\"JFrog\",\"description\":\"Deliver Trusted Software Releases at Speed and Scale\",\"publisher\":{\"@id\":\"https:\/\/jfrog.com\/ja\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jfrog.com\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jfrog.com\/ja\/#organization\",\"name\":\"JFrog\",\"url\":\"https:\/\/jfrog.com\/ja\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/jfrog.com\/ja\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2025\/05\/27095207\/Logo.svg\",\"contentUrl\":\"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2025\/05\/27095207\/Logo.svg\",\"width\":74,\"height\":73,\"caption\":\"JFrog\"},\"image\":{\"@id\":\"https:\/\/jfrog.com\/ja\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/artifrog\",\"https:\/\/x.com\/jfrog\",\"https:\/\/www.linkedin.com\/company\/455737\",\"https:\/\/www.youtube.com\/channel\/UCh2hNg76zo3d1qQqTWIQxDg\",\"https:\/\/www.wikidata.org\/wiki\/Q98608948\"],\"description\":\"We set out on our Liquid Software journey in 2008, with the mission to transform the way enterprises manage and release software updates. The world expects software to update continuously, securely, non-intrusively and without user intervention. This hyper-connected experience can only be enabled by automation with an end-to-end DevOps platform and a binary-centric focus. With this in mind, we\u2019ve developed the JFrog Platform, ushering in a new era of DevOps and DevSecOps standards that power continuous updates. More than a decade after our founding, with thousands of customers and millions of users globally, JFrog has become the \u201cDatabase of DevOps\u201d and the de-facto standard in release and update management.\",\"legalName\":\"Jfrog, Inc.\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jfrog.com\/ja\/#\/schema\/person\/43b1ce9ab6149ce238061dd78a60d89c\",\"name\":\"satoy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/jfrog.com\/ja\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/53906f0995a35ce4ad703fc2eb1cdb130381259c17de328cca48e12c814c445a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/53906f0995a35ce4ad703fc2eb1cdb130381259c17de328cca48e12c814c445a?s=96&d=mm&r=g\",\"caption\":\"satoy\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"npm\u4e0a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u306b\u3088\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u306e\u8ab2\u984c | JFrog Japan","description":"npm CLI\u306b\u3088\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5bfe\u3059\u308b\u65e2\u77e5\u306e\u8106\u5f31\u6027\u304c\u306a\u3044\u304b\u3092\u8abf\u3079\u308b\u6a5f\u80fd\u306b\u304a\u3044\u3066\u3001\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f\u3059\u308b\u8ab2\u984c\u304c\u3042\u308b\u3053\u3068\u3092\u691c\u77e5\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u8a73\u7d30\u3068\u5bfe\u5fdc\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/posts\/104870","og_locale":"ja_JP","og_type":"article","og_title":"\u76ee\u306b\u898b\u3048\u306a\u3044npm\u30de\u30eb\u30a6\u30a7\u30a2\uff1a\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f","og_description":"npm CLI\u306b\u3088\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5bfe\u3059\u308b\u65e2\u77e5\u306e\u8106\u5f31\u6027\u304c\u306a\u3044\u304b\u3092\u8abf\u3079\u308b\u6a5f\u80fd\u306b\u304a\u3044\u3066\u3001\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f\u3059\u308b\u8ab2\u984c\u304c\u3042\u308b\u3053\u3068\u3092\u691c\u77e5\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u8a73\u7d30\u3068\u5bfe\u5fdc\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/","og_site_name":"JFrog","article_publisher":"https:\/\/www.facebook.com\/artifrog","article_published_time":"2022-12-06T06:10:00+00:00","og_image":[{"width":203,"height":148,"url":"https:\/\/speedmedia.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/http:\/\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125355\/Invisible-npm-Malware_203x148.png","type":"image\/png"}],"author":"satoy","twitter_card":"summary_large_image","twitter_creator":"@jfrog","twitter_site":"@jfrog","twitter_misc":{"Written by":"satoy","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#article","isPartOf":{"@id":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/"},"author":{"name":"satoy","@id":"https:\/\/jfrog.com\/ja\/#\/schema\/person\/43b1ce9ab6149ce238061dd78a60d89c"},"headline":"\u76ee\u306b\u898b\u3048\u306a\u3044npm\u30de\u30eb\u30a6\u30a7\u30a2\uff1a\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f","datePublished":"2022-12-06T06:10:00+00:00","dateModified":"2022-12-06T06:10:00+00:00","mainEntityOfPage":{"@id":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/"},"wordCount":74,"publisher":{"@id":"https:\/\/jfrog.com\/ja\/#organization"},"image":{"@id":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#primaryimage"},"thumbnailUrl":"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125355\/Invisible-npm-Malware_203x148.png","keywords":["npm-tools","npm","\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3","\u8106\u5f31\u6027"],"articleSection":["Security and DevSecOps","Xray"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/","url":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/","name":"npm\u4e0a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u306b\u3088\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u306e\u8ab2\u984c | JFrog Japan","isPartOf":{"@id":"https:\/\/jfrog.com\/ja\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#primaryimage"},"image":{"@id":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#primaryimage"},"thumbnailUrl":"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125355\/Invisible-npm-Malware_203x148.png","datePublished":"2022-12-06T06:10:00+00:00","dateModified":"2022-12-06T06:10:00+00:00","description":"npm CLI\u306b\u3088\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5bfe\u3059\u308b\u65e2\u77e5\u306e\u8106\u5f31\u6027\u304c\u306a\u3044\u304b\u3092\u8abf\u3079\u308b\u6a5f\u80fd\u306b\u304a\u3044\u3066\u3001\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f\u3059\u308b\u8ab2\u984c\u304c\u3042\u308b\u3053\u3068\u3092\u691c\u77e5\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u8a73\u7d30\u3068\u5bfe\u5fdc\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#primaryimage","url":"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125355\/Invisible-npm-Malware_203x148.png","contentUrl":"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2022\/11\/29125355\/Invisible-npm-Malware_203x148.png","width":203,"height":148},{"@type":"BreadcrumbList","@id":"https:\/\/jfrog.com\/ja\/blog\/invisible-npm-malware-evading-security-checks-with-crafted-versions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jfrog.com\/ja\/"},{"@type":"ListItem","position":2,"name":"\u76ee\u306b\u898b\u3048\u306a\u3044npm\u30de\u30eb\u30a6\u30a7\u30a2\uff1a\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u73fe\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3092\u56de\u907f"}]},{"@type":"WebSite","@id":"https:\/\/jfrog.com\/ja\/#website","url":"https:\/\/jfrog.com\/ja\/","name":"JFrog","description":"Deliver Trusted Software Releases at Speed and Scale","publisher":{"@id":"https:\/\/jfrog.com\/ja\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jfrog.com\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/jfrog.com\/ja\/#organization","name":"JFrog","url":"https:\/\/jfrog.com\/ja\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/jfrog.com\/ja\/#\/schema\/logo\/image\/","url":"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2025\/05\/27095207\/Logo.svg","contentUrl":"https:\/\/speedmedia2.jfrog.com\/08612fe1-9391-4cf3-ac1a-6dd49c36b276\/media.jfrog.com\/wp-content\/uploads\/2025\/05\/27095207\/Logo.svg","width":74,"height":73,"caption":"JFrog"},"image":{"@id":"https:\/\/jfrog.com\/ja\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/artifrog","https:\/\/x.com\/jfrog","https:\/\/www.linkedin.com\/company\/455737","https:\/\/www.youtube.com\/channel\/UCh2hNg76zo3d1qQqTWIQxDg","https:\/\/www.wikidata.org\/wiki\/Q98608948"],"description":"We set out on our Liquid Software journey in 2008, with the mission to transform the way enterprises manage and release software updates. The world expects software to update continuously, securely, non-intrusively and without user intervention. This hyper-connected experience can only be enabled by automation with an end-to-end DevOps platform and a binary-centric focus. With this in mind, we\u2019ve developed the JFrog Platform, ushering in a new era of DevOps and DevSecOps standards that power continuous updates. More than a decade after our founding, with thousands of customers and millions of users globally, JFrog has become the \u201cDatabase of DevOps\u201d and the de-facto standard in release and update management.","legalName":"Jfrog, Inc.","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/jfrog.com\/ja\/#\/schema\/person\/43b1ce9ab6149ce238061dd78a60d89c","name":"satoy","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/jfrog.com\/ja\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/53906f0995a35ce4ad703fc2eb1cdb130381259c17de328cca48e12c814c445a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/53906f0995a35ce4ad703fc2eb1cdb130381259c17de328cca48e12c814c445a?s=96&d=mm&r=g","caption":"satoy"}}]}},"_links":{"self":[{"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/posts\/104870","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/users\/448"}],"replies":[{"embeddable":true,"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/comments?post=104870"}],"version-history":[{"count":2,"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/posts\/104870\/revisions"}],"predecessor-version":[{"id":104872,"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/posts\/104870\/revisions\/104872"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/media\/104694"}],"wp:attachment":[{"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/media?parent=104870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/categories?post=104870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jfrog.com\/ja\/wp-json\/wp\/v2\/tags?post=104870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}