npx-ray 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +365 -0
  3. package/data/popular-packages.json +619 -0
  4. package/dist/cli.d.ts +9 -0
  5. package/dist/cli.d.ts.map +1 -0
  6. package/dist/cli.js +261 -0
  7. package/dist/cli.js.map +1 -0
  8. package/dist/diff.d.ts +21 -0
  9. package/dist/diff.d.ts.map +1 -0
  10. package/dist/diff.js +301 -0
  11. package/dist/diff.js.map +1 -0
  12. package/dist/extract.d.ts +18 -0
  13. package/dist/extract.d.ts.map +1 -0
  14. package/dist/extract.js +80 -0
  15. package/dist/extract.js.map +1 -0
  16. package/dist/github.d.ts +38 -0
  17. package/dist/github.d.ts.map +1 -0
  18. package/dist/github.js +132 -0
  19. package/dist/github.js.map +1 -0
  20. package/dist/mcp.d.ts +19 -0
  21. package/dist/mcp.d.ts.map +1 -0
  22. package/dist/mcp.js +219 -0
  23. package/dist/mcp.js.map +1 -0
  24. package/dist/registry.d.ts +19 -0
  25. package/dist/registry.d.ts.map +1 -0
  26. package/dist/registry.js +229 -0
  27. package/dist/registry.js.map +1 -0
  28. package/dist/reporter.d.ts +23 -0
  29. package/dist/reporter.d.ts.map +1 -0
  30. package/dist/reporter.js +208 -0
  31. package/dist/reporter.js.map +1 -0
  32. package/dist/scanners/binaries.d.ts +12 -0
  33. package/dist/scanners/binaries.d.ts.map +1 -0
  34. package/dist/scanners/binaries.js +80 -0
  35. package/dist/scanners/binaries.js.map +1 -0
  36. package/dist/scanners/dependencies.d.ts +14 -0
  37. package/dist/scanners/dependencies.d.ts.map +1 -0
  38. package/dist/scanners/dependencies.js +114 -0
  39. package/dist/scanners/dependencies.js.map +1 -0
  40. package/dist/scanners/hooks.d.ts +12 -0
  41. package/dist/scanners/hooks.d.ts.map +1 -0
  42. package/dist/scanners/hooks.js +126 -0
  43. package/dist/scanners/hooks.js.map +1 -0
  44. package/dist/scanners/ioc.d.ts +17 -0
  45. package/dist/scanners/ioc.d.ts.map +1 -0
  46. package/dist/scanners/ioc.js +414 -0
  47. package/dist/scanners/ioc.js.map +1 -0
  48. package/dist/scanners/obfuscation.d.ts +12 -0
  49. package/dist/scanners/obfuscation.d.ts.map +1 -0
  50. package/dist/scanners/obfuscation.js +227 -0
  51. package/dist/scanners/obfuscation.js.map +1 -0
  52. package/dist/scanners/secrets.d.ts +12 -0
  53. package/dist/scanners/secrets.d.ts.map +1 -0
  54. package/dist/scanners/secrets.js +173 -0
  55. package/dist/scanners/secrets.js.map +1 -0
  56. package/dist/scanners/static.d.ts +13 -0
  57. package/dist/scanners/static.d.ts.map +1 -0
  58. package/dist/scanners/static.js +138 -0
  59. package/dist/scanners/static.js.map +1 -0
  60. package/dist/scanners/typosquatting.d.ts +13 -0
  61. package/dist/scanners/typosquatting.d.ts.map +1 -0
  62. package/dist/scanners/typosquatting.js +102 -0
  63. package/dist/scanners/typosquatting.js.map +1 -0
  64. package/dist/scorer.d.ts +28 -0
  65. package/dist/scorer.d.ts.map +1 -0
  66. package/dist/scorer.js +139 -0
  67. package/dist/scorer.js.map +1 -0
  68. package/dist/types.d.ts +155 -0
  69. package/dist/types.d.ts.map +1 -0
  70. package/dist/types.js +5 -0
  71. package/dist/types.js.map +1 -0
  72. package/package.json +61 -0
@@ -0,0 +1,619 @@
1
+ [
2
+ "lodash",
3
+ "express",
4
+ "react",
5
+ "react-dom",
6
+ "axios",
7
+ "chalk",
8
+ "moment",
9
+ "debug",
10
+ "uuid",
11
+ "commander",
12
+ "typescript",
13
+ "webpack",
14
+ "babel-core",
15
+ "eslint",
16
+ "prettier",
17
+ "jest",
18
+ "mocha",
19
+ "chai",
20
+ "underscore",
21
+ "async",
22
+ "bluebird",
23
+ "request",
24
+ "body-parser",
25
+ "dotenv",
26
+ "cors",
27
+ "mongoose",
28
+ "sequelize",
29
+ "pg",
30
+ "mysql",
31
+ "redis",
32
+ "socket.io",
33
+ "fs-extra",
34
+ "glob",
35
+ "minimist",
36
+ "yargs",
37
+ "semver",
38
+ "rimraf",
39
+ "mkdirp",
40
+ "cross-env",
41
+ "path",
42
+ "inquirer",
43
+ "ora",
44
+ "rxjs",
45
+ "tslib",
46
+ "zone.js",
47
+ "core-js",
48
+ "regenerator-runtime",
49
+ "prop-types",
50
+ "classnames",
51
+ "immutable",
52
+ "ramda",
53
+ "date-fns",
54
+ "dayjs",
55
+ "luxon",
56
+ "next",
57
+ "nuxt",
58
+ "vue",
59
+ "svelte",
60
+ "angular",
61
+ "ember-cli",
62
+ "gatsby",
63
+ "vite",
64
+ "rollup",
65
+ "esbuild",
66
+ "parcel",
67
+ "turbo",
68
+ "lerna",
69
+ "nx",
70
+ "pnpm",
71
+ "yarn",
72
+ "npm",
73
+ "node-fetch",
74
+ "got",
75
+ "superagent",
76
+ "undici",
77
+ "http-proxy",
78
+ "express-session",
79
+ "passport",
80
+ "jsonwebtoken",
81
+ "bcrypt",
82
+ "bcryptjs",
83
+ "argon2",
84
+ "helmet",
85
+ "morgan",
86
+ "winston",
87
+ "pino",
88
+ "bunyan",
89
+ "log4js",
90
+ "colors",
91
+ "strip-ansi",
92
+ "ansi-regex",
93
+ "supports-color",
94
+ "has-flag",
95
+ "color-convert",
96
+ "color-name",
97
+ "escape-string-regexp",
98
+ "p-limit",
99
+ "p-map",
100
+ "p-queue",
101
+ "p-retry",
102
+ "execa",
103
+ "cross-spawn",
104
+ "which",
105
+ "find-up",
106
+ "locate-path",
107
+ "path-exists",
108
+ "resolve",
109
+ "resolve-from",
110
+ "import-fresh",
111
+ "cosmiconfig",
112
+ "rc",
113
+ "ini",
114
+ "toml",
115
+ "yaml",
116
+ "js-yaml",
117
+ "json5",
118
+ "hjson",
119
+ "ajv",
120
+ "joi",
121
+ "yup",
122
+ "zod",
123
+ "superstruct",
124
+ "io-ts",
125
+ "class-validator",
126
+ "typeorm",
127
+ "prisma",
128
+ "drizzle-orm",
129
+ "knex",
130
+ "bookshelf",
131
+ "objection",
132
+ "mikro-orm",
133
+ "graphql",
134
+ "apollo-server",
135
+ "apollo-client",
136
+ "urql",
137
+ "relay-runtime",
138
+ "aws-sdk",
139
+ "@aws-sdk/client-s3",
140
+ "firebase",
141
+ "firebase-admin",
142
+ "google-cloud",
143
+ "azure-storage",
144
+ "stripe",
145
+ "paypal-rest-sdk",
146
+ "twilio",
147
+ "sendgrid",
148
+ "nodemailer",
149
+ "mailgun-js",
150
+ "handlebars",
151
+ "ejs",
152
+ "pug",
153
+ "nunjucks",
154
+ "mustache",
155
+ "marked",
156
+ "markdown-it",
157
+ "remark",
158
+ "rehype",
159
+ "unified",
160
+ "highlight.js",
161
+ "prismjs",
162
+ "sharp",
163
+ "jimp",
164
+ "canvas",
165
+ "pdf-lib",
166
+ "puppeteer",
167
+ "playwright",
168
+ "selenium-webdriver",
169
+ "cheerio",
170
+ "jsdom",
171
+ "xmldom",
172
+ "xml2js",
173
+ "fast-xml-parser",
174
+ "htmlparser2",
175
+ "csv-parse",
176
+ "csv-stringify",
177
+ "papaparse",
178
+ "xlsx",
179
+ "exceljs",
180
+ "socket.io-client",
181
+ "ws",
182
+ "mqtt",
183
+ "amqplib",
184
+ "bull",
185
+ "bullmq",
186
+ "agenda",
187
+ "bee-queue",
188
+ "ioredis",
189
+ "memcached",
190
+ "lru-cache",
191
+ "node-cache",
192
+ "keyv",
193
+ "multer",
194
+ "formidable",
195
+ "busboy",
196
+ "multiparty",
197
+ "connect-multiparty",
198
+ "compression",
199
+ "serve-static",
200
+ "cookie-parser",
201
+ "express-validator",
202
+ "csurf",
203
+ "hpp",
204
+ "express-rate-limit",
205
+ "method-override",
206
+ "http-errors",
207
+ "statuses",
208
+ "content-type",
209
+ "content-disposition",
210
+ "mime",
211
+ "mime-types",
212
+ "accepts",
213
+ "negotiator",
214
+ "type-is",
215
+ "media-typer",
216
+ "on-finished",
217
+ "destroy",
218
+ "ee-first",
219
+ "raw-body",
220
+ "bytes",
221
+ "depd",
222
+ "fresh",
223
+ "etag",
224
+ "proxy-addr",
225
+ "forwarded",
226
+ "ipaddr.js",
227
+ "range-parser",
228
+ "vary",
229
+ "send",
230
+ "finalhandler",
231
+ "encodeurl",
232
+ "escape-html",
233
+ "parseurl",
234
+ "path-to-regexp",
235
+ "cookie",
236
+ "cookie-signature",
237
+ "safe-buffer",
238
+ "safer-buffer",
239
+ "buffer-from",
240
+ "string_decoder",
241
+ "readable-stream",
242
+ "through2",
243
+ "concat-stream",
244
+ "pump",
245
+ "pipeline",
246
+ "split2",
247
+ "from2",
248
+ "duplexer2",
249
+ "merge-stream",
250
+ "multistream",
251
+ "stream-shift",
252
+ "events",
253
+ "eventemitter3",
254
+ "mitt",
255
+ "tiny-emitter",
256
+ "nanoevents",
257
+ "inherits",
258
+ "util-deprecate",
259
+ "setprototypeof",
260
+ "ms",
261
+ "humanize-ms",
262
+ "pretty-ms",
263
+ "fecha",
264
+ "timeago.js",
265
+ "cron",
266
+ "node-cron",
267
+ "node-schedule",
268
+ "later",
269
+ "chokidar",
270
+ "watchpack",
271
+ "nsfw",
272
+ "fb-watchman",
273
+ "sane",
274
+ "fast-glob",
275
+ "globby",
276
+ "picomatch",
277
+ "micromatch",
278
+ "minimatch",
279
+ "braces",
280
+ "fill-range",
281
+ "to-regex-range",
282
+ "is-number",
283
+ "is-glob",
284
+ "graceful-fs",
285
+ "jsonfile",
286
+ "write-file-atomic",
287
+ "proper-lockfile",
288
+ "tmp",
289
+ "temp",
290
+ "del",
291
+ "trash",
292
+ "move-file",
293
+ "cpy",
294
+ "ncp",
295
+ "cpx",
296
+ "archiver",
297
+ "adm-zip",
298
+ "unzipper",
299
+ "decompress",
300
+ "tar",
301
+ "tar-stream",
302
+ "form-data",
303
+ "combined-stream",
304
+ "delayed-stream",
305
+ "asynckit",
306
+ "follow-redirects",
307
+ "http-proxy-agent",
308
+ "https-proxy-agent",
309
+ "socks-proxy-agent",
310
+ "proxy-agent",
311
+ "agent-base",
312
+ "agentkeepalive",
313
+ "tough-cookie",
314
+ "set-cookie-parser",
315
+ "cookie-jar",
316
+ "iconv-lite",
317
+ "encoding",
318
+ "chardet",
319
+ "jschardet",
320
+ "qs",
321
+ "querystring",
322
+ "query-string",
323
+ "url-parse",
324
+ "normalize-url",
325
+ "punycode",
326
+ "psl",
327
+ "tr46",
328
+ "whatwg-url",
329
+ "data-urls",
330
+ "nanoid",
331
+ "cuid",
332
+ "ulid",
333
+ "shortid",
334
+ "object-id",
335
+ "lodash.merge",
336
+ "lodash.get",
337
+ "lodash.set",
338
+ "lodash.clonedeep",
339
+ "lodash.debounce",
340
+ "lodash.throttle",
341
+ "lodash.isequal",
342
+ "lodash.uniq",
343
+ "deepmerge",
344
+ "deep-equal",
345
+ "fast-deep-equal",
346
+ "dequal",
347
+ "object-assign",
348
+ "object.assign",
349
+ "object-keys",
350
+ "object.entries",
351
+ "object.values",
352
+ "object.fromentries",
353
+ "define-properties",
354
+ "has",
355
+ "has-symbols",
356
+ "has-property-descriptors",
357
+ "get-intrinsic",
358
+ "call-bind",
359
+ "function-bind",
360
+ "es-abstract",
361
+ "es-to-primitive",
362
+ "is-callable",
363
+ "is-regex",
364
+ "is-date-object",
365
+ "is-symbol",
366
+ "is-string",
367
+ "is-boolean-object",
368
+ "is-number-object",
369
+ "is-bigint",
370
+ "is-typed-array",
371
+ "is-array-buffer",
372
+ "is-shared-array-buffer",
373
+ "is-weakref",
374
+ "is-map",
375
+ "is-set",
376
+ "is-weakmap",
377
+ "is-weakset",
378
+ "is-generator-function",
379
+ "is-async-function",
380
+ "is-core-module",
381
+ "side-channel",
382
+ "internal-slot",
383
+ "unbox-primitive",
384
+ "string.prototype.trimstart",
385
+ "string.prototype.trimend",
386
+ "string.prototype.matchall",
387
+ "string.prototype.replaceall",
388
+ "array-includes",
389
+ "array.prototype.flat",
390
+ "array.prototype.flatmap",
391
+ "array.prototype.find",
392
+ "array.prototype.findlast",
393
+ "regexp.prototype.flags",
394
+ "es-shim-unscopables",
395
+ "globalthis",
396
+ "available-typed-arrays",
397
+ "which-typed-array",
398
+ "typed-array-length",
399
+ "typed-array-byte-offset",
400
+ "env-cmd",
401
+ "dotenv-expand",
402
+ "config",
403
+ "convict",
404
+ "nconf",
405
+ "node-config",
406
+ "diagnostics-channel",
407
+ "trace-events",
408
+ "source-map",
409
+ "source-map-support",
410
+ "source-map-js",
411
+ "stack-utils",
412
+ "stacktrace-parser",
413
+ "error-stack-parser",
414
+ "serialize-error",
415
+ "clean-stack",
416
+ "extract-stack",
417
+ "@babel/core",
418
+ "@babel/parser",
419
+ "@babel/traverse",
420
+ "@babel/generator",
421
+ "@babel/types",
422
+ "@babel/template",
423
+ "@babel/helpers",
424
+ "@babel/runtime",
425
+ "@babel/preset-env",
426
+ "@babel/preset-react",
427
+ "@babel/preset-typescript",
428
+ "@babel/plugin-transform-runtime",
429
+ "babel-loader",
430
+ "babel-jest",
431
+ "@typescript-eslint/parser",
432
+ "@typescript-eslint/eslint-plugin",
433
+ "eslint-config-prettier",
434
+ "eslint-plugin-import",
435
+ "eslint-plugin-react",
436
+ "eslint-plugin-react-hooks",
437
+ "eslint-plugin-jsx-a11y",
438
+ "stylelint",
439
+ "postcss",
440
+ "autoprefixer",
441
+ "tailwindcss",
442
+ "sass",
443
+ "less",
444
+ "stylus",
445
+ "css-loader",
446
+ "style-loader",
447
+ "postcss-loader",
448
+ "mini-css-extract-plugin",
449
+ "css-minimizer-webpack-plugin",
450
+ "terser",
451
+ "terser-webpack-plugin",
452
+ "uglify-js",
453
+ "cssnano",
454
+ "html-webpack-plugin",
455
+ "copy-webpack-plugin",
456
+ "webpack-merge",
457
+ "webpack-dev-server",
458
+ "webpack-bundle-analyzer",
459
+ "speed-measure-webpack-plugin",
460
+ "ts-loader",
461
+ "ts-node",
462
+ "tsx",
463
+ "swc",
464
+ "@swc/core",
465
+ "@swc/cli",
466
+ "nodemon",
467
+ "pm2",
468
+ "forever",
469
+ "concurrently",
470
+ "npm-run-all",
471
+ "husky",
472
+ "lint-staged",
473
+ "commitlint",
474
+ "semantic-release",
475
+ "conventional-changelog",
476
+ "standard-version",
477
+ "release-it",
478
+ "@testing-library/react",
479
+ "@testing-library/jest-dom",
480
+ "@testing-library/user-event",
481
+ "@testing-library/dom",
482
+ "enzyme",
483
+ "react-test-renderer",
484
+ "cypress",
485
+ "nightwatch",
486
+ "supertest",
487
+ "nock",
488
+ "msw",
489
+ "sinon",
490
+ "proxyquire",
491
+ "rewire",
492
+ "nyc",
493
+ "istanbul",
494
+ "c8",
495
+ "jest-coverage",
496
+ "coveralls",
497
+ "codecov",
498
+ "benchmark",
499
+ "autocannon",
500
+ "clinic",
501
+ "0x",
502
+ "artillery",
503
+ "faker",
504
+ "@faker-js/faker",
505
+ "chance",
506
+ "casual",
507
+ "lorem-ipsum",
508
+ "assert",
509
+ "power-assert",
510
+ "unexpected",
511
+ "should",
512
+ "expect",
513
+ "tap",
514
+ "ava",
515
+ "vitest",
516
+ "uvu",
517
+ "tape",
518
+ "qunit",
519
+ "jasmine",
520
+ "storybook",
521
+ "@storybook/react",
522
+ "chromatic",
523
+ "percy",
524
+ "backstopjs",
525
+ "react-router",
526
+ "react-router-dom",
527
+ "@reach/router",
528
+ "wouter",
529
+ "redux",
530
+ "react-redux",
531
+ "@reduxjs/toolkit",
532
+ "recoil",
533
+ "zustand",
534
+ "jotai",
535
+ "valtio",
536
+ "mobx",
537
+ "mobx-react",
538
+ "mobx-state-tree",
539
+ "formik",
540
+ "react-hook-form",
541
+ "final-form",
542
+ "react-final-form",
543
+ "swr",
544
+ "react-query",
545
+ "@tanstack/react-query",
546
+ "styled-components",
547
+ "emotion",
548
+ "@emotion/react",
549
+ "@emotion/styled",
550
+ "@mui/material",
551
+ "@chakra-ui/react",
552
+ "antd",
553
+ "semantic-ui-react",
554
+ "bootstrap",
555
+ "react-bootstrap",
556
+ "reactstrap",
557
+ "framer-motion",
558
+ "react-spring",
559
+ "react-transition-group",
560
+ "react-dnd",
561
+ "react-beautiful-dnd",
562
+ "@dnd-kit/core",
563
+ "react-select",
564
+ "downshift",
565
+ "react-autosuggest",
566
+ "react-table",
567
+ "@tanstack/react-table",
568
+ "ag-grid-react",
569
+ "react-virtualized",
570
+ "react-window",
571
+ "react-virtuoso",
572
+ "react-datepicker",
573
+ "react-day-picker",
574
+ "flatpickr",
575
+ "chart.js",
576
+ "recharts",
577
+ "victory",
578
+ "nivo",
579
+ "visx",
580
+ "d3",
581
+ "three",
582
+ "@react-three/fiber",
583
+ "babylon.js",
584
+ "pixi.js",
585
+ "leaflet",
586
+ "react-leaflet",
587
+ "mapbox-gl",
588
+ "google-maps",
589
+ "i18next",
590
+ "react-i18next",
591
+ "intl-messageformat",
592
+ "formatjs",
593
+ "react-helmet",
594
+ "react-meta-tags",
595
+ "next-seo",
596
+ "react-icons",
597
+ "heroicons",
598
+ "lucide-react",
599
+ "phosphor-react",
600
+ "@headlessui/react",
601
+ "@radix-ui/react-dialog",
602
+ "cmdk",
603
+ "clsx",
604
+ "cva",
605
+ "tailwind-merge",
606
+ "class-variance-authority",
607
+ "openai",
608
+ "anthropic",
609
+ "@google/generative-ai",
610
+ "cohere-ai",
611
+ "langchain",
612
+ "llamaindex",
613
+ "chromadb",
614
+ "pinecone",
615
+ "weaviate",
616
+ "@modelcontextprotocol/sdk",
617
+ "ai",
618
+ "vercel"
619
+ ]
package/dist/cli.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * npx-ray CLI — Main entry point.
4
+ *
5
+ * Orchestrates the full scan pipeline: fetch metadata, download tarball,
6
+ * run all security scanners, calculate score, and output the report.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;GAKG"}