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

y2B-Wdio automation #1224

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

y2B-Wdio automation #1224

wants to merge 17 commits into from

Conversation

yalan2ny
Copy link

@yalan2ny yalan2ny commented Feb 27, 2025

Explanation

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@yalan2ny yalan2ny requested a review from a team as a code owner February 27, 2025 23:38
Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/code-frame@7.18.6 None 0 6.98 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.19.1 None 0 51.7 kB nicolo-ribaudo
npm/@babel/runtime@7.20.7 None 0 220 kB nicolo-ribaudo
npm/@cucumber/ci-environment@9.1.0 filesystem 0 103 kB cukebot
npm/@cucumber/cucumber-expressions@16.0.0 None 0 535 kB cukebot
npm/@cucumber/cucumber@8.6.0 environment, filesystem, network, shell, unsafe +6 2.19 MB cukebot
npm/@cucumber/gherkin-utils@8.0.0 Transitive: environment, filesystem, shell +1 432 kB cukebot
npm/@cucumber/gherkin@26.0.2 None +1 1.05 MB cukebot
npm/@cucumber/html-formatter@20.0.0 filesystem 0 1.64 MB cukebot
npm/@cucumber/message-streams@4.0.1 None 0 91.7 kB cukebot
npm/@cucumber/tag-expressions@4.1.0 None 0 67.6 kB cukebot
npm/@jest/expect-utils@28.1.3 None 0 25.7 kB simenb
npm/@teppeis/multimaps@2.0.0 None 0 21.7 kB teppeis
npm/@tsconfig/node16@1.0.3 None 0 2.39 kB typescript-deploys
npm/@types/diff@5.0.2 None 0 15.3 kB types
npm/@types/easy-table@1.2.0 None +1 25.9 kB types
npm/@types/ejs@3.1.1 None 0 17.3 kB types
npm/@types/fs-extra@9.0.13 None 0 27.9 kB types
npm/@types/inquirer@8.2.5 None 0 72.5 kB types
npm/@types/is-glob@4.0.2 None 0 4.01 kB types
npm/@types/lodash.flattendeep@4.4.7 None 0 3.86 kB types
npm/@types/lodash.pickby@4.6.7 None 0 3.79 kB types
npm/@types/lodash.union@4.6.7 None 0 3.77 kB types
npm/@types/lodash@4.14.191 None 0 1.72 MB types
npm/@types/mockery@1.4.30 None 0 5.04 kB types
npm/@types/node@18.11.18 None 0 3.58 MB types
npm/@types/object-inspect@1.8.1 None 0 6 kB types
npm/@types/recursive-readdir@2.2.1 None 0 4.34 kB types
npm/@types/sinonjs__fake-timers@8.1.2 None 0 15.6 kB types
npm/@types/stream-buffers@3.0.4 None 0 5.47 kB types
npm/@types/supports-color@8.1.1 None 0 5.55 kB types
npm/@types/through@0.0.30 None 0 3.09 kB types
npm/@types/tmp@0.2.3 None 0 10.9 kB types
npm/@types/ua-parser-js@0.7.36 None 0 9.28 kB types
npm/@types/which@1.3.2 None 0 6.52 kB types
npm/@types/ws@8.5.4 None 0 21.5 kB types
npm/@types/yargs@17.0.19 None 0 59.3 kB types
npm/@wdio/allure-reporter@7.29.1 None 0 60.3 kB wdio-user
npm/@wdio/appium-service@7.29.1 filesystem, shell 0 19 kB wdio-user
npm/@wdio/browserstack-service@7.29.1 environment, filesystem, network, unsafe +2 307 kB wdio-user
npm/@wdio/cli@7.29.1 environment, filesystem, shell 0 191 kB wdio-user
npm/@wdio/config@7.26.0 environment, filesystem 0 39.7 kB wdio-user
npm/@wdio/cucumber-framework@7.29.0 eval 0 87.5 kB wdio-user
npm/@wdio/globals@8.3.2 Transitive: environment +2 666 kB wdio-user
npm/@wdio/local-runner@7.29.1 environment, shell 0 29.4 kB wdio-user
npm/@wdio/logger@7.26.0 environment, filesystem 0 12.1 kB wdio-user
npm/@wdio/protocols@7.27.0 None 0 347 kB wdio-user
npm/@wdio/repl@7.26.0 unsafe 0 10.9 kB wdio-user
npm/@wdio/reporter@7.29.1 filesystem 0 52.9 kB wdio-user
npm/@wdio/runner@7.29.1 filesystem 0 38.1 kB wdio-user
npm/@wdio/spec-reporter@7.29.1 None 0 38.2 kB wdio-user
npm/@wdio/types@7.26.0 None 0 129 kB wdio-user
npm/@wdio/utils@7.26.0 environment, filesystem 0 101 kB wdio-user
npm/acorn@8.8.1 None 0 467 kB marijn
npm/allure-js-commons@1.3.2 filesystem +1 175 kB just-boris
npm/archiver@5.3.1 filesystem 0 52.9 kB ctalkington
npm/assertion-error-formatter@3.0.0 None 0 24.6 kB charlierudolph
npm/browserstack-local@1.5.1 environment, filesystem, network, shell 0 44.8 kB browserstack
npm/cac@3.0.4 None 0 12.2 kB rem
npm/cacheable-request@7.0.2 network 0 16.8 kB szmarczak
npm/camelcase-keys@3.0.0 None +1 5.84 kB sindresorhus
npm/capital-case@1.0.4 None 0 11.6 kB blakeembrey
npm/chrome-launcher@0.15.1 environment, filesystem, network, shell 0 184 kB paulirish
npm/ci-info@3.7.1 environment 0 25.1 kB sibiraj-s
npm/class-transformer@0.5.1 None 0 776 kB typestack-release-bot
npm/cli-spinners@2.7.0 None 0 28.1 kB sindresorhus
npm/cli-table3@0.6.2 None 0 51.5 kB speedytwenty
npm/cli-width@3.0.0 environment 0 11.5 kB knownasilya
npm/commander@9.4.1 environment, filesystem, shell 0 170 kB abetomo
npm/compress-commons@4.1.1 None 0 38.2 kB ctalkington
npm/cross-fetch@3.1.5 network 0 73.8 kB lquixada
npm/cross-spawn@4.0.2 environment, filesystem, shell 0 13.7 kB satazor
npm/csv-stringify@6.2.3 None 0 873 kB david
npm/deep-equal@2.1.0 None 0 76.6 kB ljharb
npm/deepmerge-ts@4.2.2 None 0 110 kB rebeccastevens
npm/devtools-protocol@0.0.1085790 None 0 2.52 MB google-wombot
npm/devtools@7.28.1 environment, filesystem, shell 0 235 kB wdio-user
npm/diff-sequences@28.1.1 None 0 46 kB simenb
npm/duration@0.2.2 None 0 45 kB medikoo
npm/durations@3.4.2 None 0 15.8 kB buzuli
npm/edge-paths@2.2.1 environment, filesystem 0 21.1 kB shirshak
npm/ejs@3.1.8 eval, filesystem 0 140 kB mde
npm/es-get-iterator@1.1.2 None 0 28.5 kB ljharb
npm/expect-webdriverio@3.5.3 None 0 85.1 kB wdio-user
npm/expect@28.1.3 None +1 170 kB simenb
npm/extsprintf@1.4.1 None 0 30.3 kB bahamat
npm/figures@3.2.0 None 0 12.1 kB sindresorhus
npm/file-type@7.7.1 None 0 24.6 kB sindresorhus
npm/glob@8.0.3 filesystem 0 54.9 kB isaacs
npm/global-dirs@3.0.1 environment, filesystem +1 17.8 kB sindresorhus
npm/http-cache-semantics@4.1.0 None 0 36.2 kB kornel
npm/import-meta-resolve@2.2.0 None 0 69.6 kB wooorm
npm/indent-string@3.2.0 None 0 3.79 kB sindresorhus
npm/inquirer@8.2.4 None 0 87.6 kB sboudrias
npm/is-core-module@2.11.0 None 0 28.1 kB ljharb
npm/is-installed-globally@0.4.0 filesystem 0 3.61 kB sindresorhus
npm/is-typed-array@1.1.10 None 0 18.4 kB ljharb
npm/jake@10.8.5 environment, filesystem, shell 0 173 kB mde
npm/jest-diff@28.1.3 None +1 146 kB simenb
npm/jest-get-type@28.0.2 None 0 3.85 kB simenb
npm/js2xmlparser@3.0.0 None 0 55.6 kB michaelkourlas
npm/keyv@4.5.2 None 0 27.5 kB jaredwray
npm/knuth-shuffle-seeded@1.0.6 None 0 29.2 kB timothygu
npm/ky@0.30.0 None 0 125 kB sindresorhus
npm/lighthouse-logger@1.3.0 None 0 17.7 kB patrickhulce
npm/lodash.isobject@3.0.2 None 0 3.84 kB jdalton
npm/minimatch@5.1.2 None 0 37.6 kB isaacs
npm/minimist@1.2.7 None 0 50.7 kB ljharb
npm/mockery@2.1.0 unsafe 0 49.2 kB davglass
npm/mute-stream@0.0.8 None 0 6.51 kB isaacs
npm/nanoclone@0.2.1 None 0 6.12 kB kelin2025
npm/p-iteration@1.1.8 None 0 36.6 kB antonvs
npm/pad-right@0.2.2 None 0 5.32 kB jonschlinkert
npm/property-expr@2.0.5 None 0 10.6 kB monastic.panic
npm/puppeteer-core@13.7.0 environment, eval, filesystem, network, shell +1 5.37 MB google-wombot
npm/readdir-glob@1.1.2 filesystem 0 23.4 kB yqnn
npm/reflect-metadata@0.1.13 None 0 293 kB rbuckton
npm/regexp-match-indices@1.0.2 None 0 91.6 kB rbuckton
npm/regexp-tree@0.1.24 None 0 314 kB dmitrysoshnikov
npm/resolve-pkg@2.0.0 None 0 5.61 kB sindresorhus
npm/resolve@1.22.1 environment, filesystem 0 146 kB ljharb
npm/resq@1.10.2 None 0 23 kB baruchvlz
npm/rxjs@7.8.0 None +1 4.57 MB blesh
npm/seed-random@2.2.0 None 0 10.9 kB forbeslindesay
npm/serialize-error@8.1.0 None 0 10.3 kB sindresorhus
npm/spdx-license-ids@3.0.12 None 0 10 kB kemitchell
npm/split2@4.1.0 None 0 17.1 kB matteo.collina
npm/stack-chain@2.0.0 None 0 34.5 kB andreasmadsen
npm/string-argv@0.3.1 None 0 6.12 kB cellule
npm/suffix@0.1.1 None 0 2.59 kB rem
npm/toposort@2.0.2 None 0 16.7 kB marcelklehr
npm/typescript@4.9.4 None 0 66.8 MB typescript-bot
npm/ua-parser-js@1.0.32 None 0 103 kB faisalman
npm/upper-case-first@2.0.2 None 0 8.86 kB blakeembrey
npm/util-arity@1.1.0 None 0 4.44 kB blakeembrey
npm/verror@1.10.1 None 0 35.6 kB bahamat
npm/webdriver@7.27.0 environment, network, unsafe 0 67.3 kB wdio-user
npm/webdriverio@7.29.1 filesystem, network 0 581 kB wdio-user
npm/which-typed-array@1.1.9 None 0 32 kB ljharb
npm/ws@8.5.0 network 0 131 kB lpinca
npm/xmlcreate@1.0.2 None 0 241 kB michaelkourlas
npm/yargs@17.6.2 environment, filesystem 0 290 kB oss-bot
npm/yarn-install@1.0.0 environment 0 8.59 kB rem
npm/yup@0.32.11 None 0 320 kB monastic.panic

View full report↗︎

Have feedback? Participate in our User Experience Survey 📊

Copy link

🚨 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
AI-detected potential code anomaly npm/browserstack-local@1.5.1
  • Notes: The code is a module that provides functionality for starting and managing a local binary process. It interacts with child processes, reads system information, and handles the execution of the binary process. The code contains several security risks, including the use of hard-coded secrets, command execution with user-provided arguments, lack of validation/sanitization of user-provided options, and improper handling of file deletion and variable deletion. These issues pose potential vulnerabilities and should be addressed to improve the security of the module.
  • Confidence: 1.00
  • Severity: 0.60
⚠︎
New author npm/verror@1.10.1 🚫
Critical CVE npm/mockery@2.1.0 🚫
High CVE npm/http-cache-semantics@4.1.0 🚫
New author npm/extsprintf@1.4.1 🚫
New author npm/minimist@1.2.7 🚫
New author npm/cacheable-request@7.0.2 🚫
New author npm/cli-table3@0.6.2 🚫
New author npm/lighthouse-logger@1.3.0 🚫
New author npm/suffix@0.1.1
  • New Author: rem
  • Previous Author: kchan
🚫
High CVE npm/ua-parser-js@1.0.32 🚫
Deprecated npm/@types/easy-table@1.2.0
  • Reason: This is a stub types definition. easy-table provides its own type definitions, so you do not need this installed.
⚠︎
Network access npm/puppeteer-core@13.7.0 🚫
Network access npm/puppeteer-core@13.7.0 🚫
Network access npm/puppeteer-core@13.7.0 🚫
Shell access npm/devtools@7.28.1 🚫
Network access npm/webdriver@7.27.0 🚫
Network access npm/webdriver@7.27.0 🚫
Network access npm/@cucumber/cucumber@8.6.0 🚫
Network access npm/@cucumber/cucumber@8.6.0 🚫
Shell access npm/@cucumber/cucumber@8.6.0 🚫
Shell access npm/@wdio/cli@7.29.1 🚫
Network access npm/webdriverio@7.29.1 🚫
Shell access npm/@wdio/local-runner@7.29.1 🚫
Network access npm/@wdio/browserstack-service@7.29.1 🚫
Network access npm/@wdio/browserstack-service@7.29.1 🚫
Shell access npm/@wdio/appium-service@7.29.1 🚫

View full report↗︎

Next steps

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.

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

What is a CVE?

Contains a high severity Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

What is a deprecated package?

The maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.

Research the state of the package and determine if there are non-deprecated versions that can be used, or if it should be replaced with a new, supported solution.

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

What is shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

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/browserstack-local@1.5.1
  • @SocketSecurity ignore npm/verror@1.10.1
  • @SocketSecurity ignore npm/mockery@2.1.0
  • @SocketSecurity ignore npm/http-cache-semantics@4.1.0
  • @SocketSecurity ignore npm/extsprintf@1.4.1
  • @SocketSecurity ignore npm/minimist@1.2.7
  • @SocketSecurity ignore npm/cacheable-request@7.0.2
  • @SocketSecurity ignore npm/cli-table3@0.6.2
  • @SocketSecurity ignore npm/lighthouse-logger@1.3.0
  • @SocketSecurity ignore npm/suffix@0.1.1
  • @SocketSecurity ignore npm/ua-parser-js@1.0.32
  • @SocketSecurity ignore npm/@types/easy-table@1.2.0
  • @SocketSecurity ignore npm/puppeteer-core@13.7.0
  • @SocketSecurity ignore npm/devtools@7.28.1
  • @SocketSecurity ignore npm/webdriver@7.27.0
  • @SocketSecurity ignore npm/@cucumber/cucumber@8.6.0
  • @SocketSecurity ignore npm/@wdio/cli@7.29.1
  • @SocketSecurity ignore npm/webdriverio@7.29.1
  • @SocketSecurity ignore npm/@wdio/local-runner@7.29.1
  • @SocketSecurity ignore npm/@wdio/browserstack-service@7.29.1
  • @SocketSecurity ignore npm/@wdio/appium-service@7.29.1

Copy link
Author

@yalan2ny yalan2ny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, the set of SDK tests and the import and export of all file features to solve the problems of the Android system, especially in the intelligent chain, will improve and develop our work, the integration of these plugins will make the implementation of Metamask wallet fruitful and rich.

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