Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Hardwaretor (HAW) Token #716

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

Hardwaretor
Copy link

Added Hardwaretor (HAW) Token

Copy link

socket-security bot commented Aug 27, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/ajv@8.17.1 eval Transitive: unsafe +4 1.18 MB esp
npm/node-fetch@3.3.2 network +5 9.24 MB node-fetch-bot
npm/tslib@2.7.0 None 0 86.2 kB typescript-bot
npm/typescript@4.9.5 None 0 66.8 MB typescript-bot
npm/yarn@1.22.22 environment, filesystem, shell 0 5.34 MB arcanis

🚮 Removed packages: npm/@babel/compat-data@7.15.0), npm/@babel/core@7.15.8), npm/@babel/generator@7.15.8), npm/@babel/helper-annotate-as-pure@7.15.4), npm/@babel/helper-builder-binary-assignment-operator-visitor@7.15.4), npm/@babel/helper-compilation-targets@7.15.4), npm/@babel/helper-create-class-features-plugin@7.15.4), npm/@babel/helper-create-regexp-features-plugin@7.14.5), npm/@babel/helper-define-polyfill-provider@0.2.3), npm/@babel/helper-explode-assignable-expression@7.15.4), npm/@babel/helper-function-name@7.15.4), npm/@babel/helper-get-function-arity@7.15.4), npm/@babel/helper-hoist-variables@7.15.4), npm/@babel/helper-member-expression-to-functions@7.15.4), npm/@babel/helper-module-imports@7.15.4), npm/@babel/helper-module-transforms@7.15.8), npm/@babel/helper-optimise-call-expression@7.15.4), npm/@babel/helper-plugin-utils@7.14.5), npm/@babel/helper-remap-async-to-generator@7.15.4), npm/@babel/helper-replace-supers@7.15.4), npm/@babel/helper-simple-access@7.15.4), npm/@babel/helper-skip-transparent-expression-wrappers@7.15.4), npm/@babel/helper-split-export-declaration@7.15.4), npm/@babel/helper-validator-identifier@7.15.7), npm/@babel/helper-validator-option@7.14.5), npm/@babel/helper-wrap-function@7.15.4), npm/@babel/helpers@7.15.4), npm/@babel/highlight@7.14.5), npm/@babel/parser@7.15.8), npm/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.15.4), npm/@babel/plugin-proposal-async-generator-functions@7.15.8), npm/@babel/plugin-proposal-class-properties@7.14.5), npm/@babel/plugin-proposal-class-static-block@7.15.4), npm/@babel/plugin-proposal-dynamic-import@7.14.5), npm/@babel/plugin-proposal-export-namespace-from@7.14.5), npm/@babel/plugin-proposal-json-strings@7.14.5), npm/@babel/plugin-proposal-logical-assignment-operators@7.14.5), npm/@babel/plugin-proposal-nullish-coalescing-operator@7.14.5), npm/@babel/plugin-proposal-numeric-separator@7.14.5), npm/@babel/plugin-proposal-object-rest-spread@7.15.6), npm/@babel/plugin-proposal-optional-catch-binding@7.14.5), npm/@babel/plugin-proposal-optional-chaining@7.14.5), npm/@babel/plugin-proposal-private-methods@7.14.5), npm/@babel/plugin-proposal-private-property-in-object@7.15.4), npm/@babel/plugin-proposal-unicode-property-regex@7.14.5), npm/@babel/plugin-transform-arrow-functions@7.14.5), npm/@babel/plugin-transform-async-to-generator@7.14.5), npm/@babel/plugin-transform-block-scoped-functions@7.14.5), npm/@babel/plugin-transform-block-scoping@7.15.3), npm/@babel/plugin-transform-classes@7.15.4), npm/@babel/plugin-transform-computed-properties@7.14.5), npm/@babel/plugin-transform-destructuring@7.14.7), npm/@babel/plugin-transform-dotall-regex@7.14.5), npm/@babel/plugin-transform-duplicate-keys@7.14.5), npm/@babel/plugin-transform-exponentiation-operator@7.14.5), npm/@babel/plugin-transform-for-of@7.15.4), npm/@babel/plugin-transform-function-name@7.14.5), npm/@babel/plugin-transform-literals@7.14.5), npm/@babel/plugin-transform-member-expression-literals@7.14.5), npm/@babel/plugin-transform-modules-amd@7.14.5), npm/@babel/plugin-transform-modules-commonjs@7.15.4), npm/@babel/plugin-transform-modules-systemjs@7.15.4), npm/@babel/plugin-transform-modules-umd@7.14.5), npm/@babel/plugin-transform-named-capturing-groups-regex@7.14.9), npm/@babel/plugin-transform-new-target@7.14.5), npm/@babel/plugin-transform-object-super@7.14.5), npm/@babel/plugin-transform-parameters@7.15.4), npm/@babel/plugin-transform-property-literals@7.14.5), npm/@babel/plugin-transform-regenerator@7.14.5), npm/@babel/plugin-transform-reserved-words@7.14.5), npm/@babel/plugin-transform-shorthand-properties@7.14.5), npm/@babel/plugin-transform-spread@7.15.8), npm/@babel/plugin-transform-sticky-regex@7.14.5), npm/@babel/plugin-transform-template-literals@7.14.5), npm/@babel/plugin-transform-typeof-symbol@7.14.5), npm/@babel/plugin-transform-unicode-escapes@7.14.5), npm/@babel/plugin-transform-unicode-regex@7.14.5), npm/@babel/preset-env@7.15.8), npm/@babel/preset-modules@0.1.5), npm/@babel/runtime-corejs3@7.15.4), npm/@babel/runtime@7.15.4), npm/@babel/template@7.15.4), npm/@babel/traverse@7.15.4), npm/@babel/types@7.15.6), npm/@rollup/plugin-babel@5.3.0), npm/@sinonjs/commons@1.8.3), npm/@types/babel__core@7.1.16), npm/@types/babel__generator@7.6.3), npm/@types/babel__template@7.4.1), npm/@types/babel__traverse@7.14.2), npm/@types/graceful-fs@4.1.5), npm/@types/istanbul-lib-coverage@2.0.3), npm/@types/istanbul-lib-report@3.0.0), npm/@types/json-schema@7.0.9), npm/@types/node@16.11.6), npm/@types/normalize-package-data@2.4.1), npm/@types/parse-json@4.0.0), npm/@types/yargs-parser@20.2.1), npm/@types/yargs@15.0.14), npm/abab@2.0.5), npm/ajv@8.6.3), npm/ansi-colors@4.1.1), npm/anymatch@3.1.2), npm/aria-query@4.2.2), npm/array-equal@1.0.0), npm/array-includes@3.1.4), npm/array.prototype.flat@1.2.5), npm/array.prototype.flatmap@1.2.5), npm/asn1@0.2.4), npm/ast-types-flow@0.0.7), npm/aws4@1.11.0), npm/axe-core@4.3.4), npm/axobject-query@2.2.0), npm/babel-plugin-dynamic-import-node@2.3.3), npm/babel-plugin-polyfill-corejs2@0.2.2), npm/babel-plugin-polyfill-corejs3@0.2.5), npm/babel-plugin-polyfill-regenerator@0.2.2), npm/braces@3.0.2), npm/browserslist@4.17.5), npm/builtin-modules@3.2.0), npm/call-bind@1.0.2), npm/camelcase@6.2.0), npm/caniuse-lite@1.0.30001271), npm/collect-v8-coverage@1.0.1), npm/confusing-browser-globals@1.0.10), npm/convert-source-map@1.8.0), npm/core-js-compat@3.19.0), npm/core-js-pure@3.19.0), npm/cosmiconfig@7.0.1), npm/damerau-levenshtein@1.0.7), npm/debug@4.3.2), npm/decode-uri-component@0.2.0), npm/deepmerge@4.2.2), npm/defaults@1.0.3), npm/define-properties@1.1.3), npm/electron-to-chromium@1.3.879), npm/enquirer@2.3.6), npm/es-abstract@1.19.1), npm/escalade@3.1.1), npm/eslint-import-resolver-node@0.3.6), npm/eslint-module-utils@2.7.1), npm/eslint-plugin-import@2.25.2), npm/eslint-plugin-jsx-a11y@6.4.1), npm/eslint-plugin-react@7.26.1), npm/esquery@1.4.0), npm/fast-diff@1.2.0), npm/fb-watchman@2.0.1), npm/fill-range@7.0.1), npm/fsevents@2.3.2), npm/function-bind@1.1.1), npm/get-intrinsic@1.1.1), npm/get-symbol-description@1.0.0), npm/glob@7.2.0), npm/graceful-fs@4.2.8), npm/has-bigints@1.0.1), npm/has-symbols@1.0.2), npm/has-tostringtag@1.0.0), npm/has@1.0.3), npm/humanize-duration@3.27.0), npm/import-local@3.0.3), npm/internal-slot@1.0.3), npm/is-callable@1.2.4), npm/is-core-module@2.8.0), npm/is-negative-zero@2.0.1), npm/is-number-object@1.0.6), npm/is-shared-array-buffer@1.0.1), npm/is-weakref@1.0.1), npm/istanbul-lib-coverage@3.2.0), npm/istanbul-lib-report@3.0.0), npm/istanbul-reports@3.0.5), npm/jest-pnp-resolver@1.2.2), npm/json-schema@0.2.3), npm/json5@2.2.0), npm/jsprim@1.4.1), npm/jsx-ast-utils@3.2.1), npm/language-subtag-registry@0.3.21), npm/language-tags@1.0.5), npm/lines-and-columns@1.1.6), npm/lru-cache@6.0.0), npm/magic-string@0.25.7), npm/micromatch@4.0.4), npm/mime-db@1.50.0), npm/mime-types@2.1.33), npm/minimatch@3.0.4), npm/minimist@1.2.5), npm/mkdirp@0.5.5), npm/node-modules-regexp@1.0.0), npm/node-releases@2.0.1), npm/nwsapi@2.2.0), npm/object-inspect@1.11.0), npm/object.assign@4.1.2), npm/object.entries@1.1.5), npm/object.fromentries@2.0.5), npm/object.hasown@1.1.0), npm/object.values@1.1.5), npm/picocolors@1.0.0), npm/picomatch@2.3.0), npm/pirates@4.0.1), npm/prop-types@15.7.2), npm/psl@1.8.0), npm/punycode@2.1.1), npm/qs@6.5.2), npm/regenerate-unicode-properties@9.0.0), npm/regenerator-runtime@0.13.9), npm/regenerator-transform@0.14.5), npm/regexp.prototype.flags@1.3.1), npm/regexpu-core@4.8.0), npm/regjsgen@0.5.2), npm/regjsparser@0.7.0), npm/sade@1.7.4), npm/safe-buffer@5.1.2), npm/semver-regex@3.1.3), npm/semver@6.3.0), npm/shelljs@0.8.4), npm/side-channel@1.0.4), npm/signal-exit@3.0.5), npm/source-map-support@0.5.20), npm/spdx-correct@3.1.1), npm/spdx-exceptions@2.3.0), npm/spdx-license-ids@3.0.10), npm/sshpk@1.16.1), npm/string.prototype.matchall@4.0.6), npm/string.prototype.trimend@1.0.4), npm/string.prototype.trimstart@1.0.4), npm/supports-hyperlinks@2.2.0), npm/terser@4.8.0), npm/tsconfig-paths@3.11.0), npm/tslib@2.3.1), npm/typescript@4.4.4), npm/unbox-primitive@1.0.1), npm/unicode-match-property-value-ecmascript@2.0.0), npm/unicode-property-aliases-ecmascript@2.0.0), npm/universalify@2.0.0), npm/v8-compile-cache@2.3.0), npm/which-module@2.0.0), npm/which-pm-runs@1.0.0), npm/word-wrap@1.2.3), npm/ws@7.5.5), npm/yallist@4.0.0)

View full report↗︎

Copy link

socket-security bot commented Aug 27, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Install scripts npm/yarn@1.22.22
  • Install script: preinstall
  • Source: :; (node ./preinstall.js > /dev/null 2>&1 || true)
⚠︎
AI warning npm/import-local@3.2.0
  • Notes: The code poses a potential security risk due to the comparison with the 'path.parse' function and the use of 'require' with dynamically constructed paths. The unnecessary whitespace and line breaks raise concerns about potential obfuscation. Further review and hardening of input validation and path manipulation logic are recommended.
  • Confidence: 1.00
  • Severity: 0.60
⚠︎

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

What is an AI-detected potential code anomaly?

AI has identified unusual behaviors that may pose a security risk.

An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/yarn@1.22.22
  • @SocketSecurity ignore npm/import-local@3.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants