-
Notifications
You must be signed in to change notification settings - Fork 164
chore: rename class to be more mew wallet specific #73
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> /* eslint-disable */ import Web3 from 'web3'; import Web3Modal from 'web3modal'; // @ts-ignore import MewConnect from '@myetherwallet/mewconnect-web-client'; export default { name: 'web3Modal', title: 'web3 Modal Example', data () { return { web3: {} }; }, mounted () { }, methods: { async setup () { const providerOptions = { mewconnect: { package: MewConnect, options: { infuraId: process.env.REACT_APP_INFURA_ID || '859569f6decc4446a5da1bb680e7e9cf' } }, }; const web3Modal = new Web3Modal({ network: 'mainnet', // optional cacheProvider: true, // optional providerOptions // required }); const provider = await web3Modal.connect(); this.web3 = new Web3(provider); } } }; </script> <style lang="scss"> #app { font-family: 'Avenir', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: center; color: #2c3e50; margin-top: 60px; } ul { list-style-type: none; li { text-align: center; } } </style> |
Tell more
…On Wednesday, August 30, 2023, joeleonjr ***@***.***> wrote:
Hi! I'm a security researcher @trufflesecurity
<https://github.com/trufflesecurity>. I found a valid API key leaked in a
comment in this Issue. I highly recommend rotating the API key immediately
(not just deleting the comment). Here's a blog post I wrote on remediating
these types of vulnerabilities: https://trufflesecurity.com/
blog/remediate-leaked-api-keys-with-key-rotation.
If you can't find the leaked API key, you can use the following TruffleHog
<https://github.com/trufflesecurity/trufflehog> command to automatically
scan for it:
trufflehog github --repo https://github.com/<your_username>/<your_reponame>
--issue-comments --only-verified
If it's not clear where/what the security issue is, please let me know.
I'd be happy to help. Please note that the API key might be in the past
edit of a comment.
(cc @bdhaccess94 <https://github.com/bdhaccess94>)
—
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ74DUMKPSRWJYQOVUUIM4LXX6KXJANCNFSM5DZQKVMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Do you mean private key
…On Thursday, August 31, 2023, joeleonjr ***@***.***> wrote:
@bdhaccess94 <https://github.com/bdhaccess94> 's infura token is in the
comment from Sept 25, 2021. They should rotate that key to ensure no one
uses it.
—
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ74DULMRY7JM2DJ7K3ZMKTXYAEUJANCNFSM5DZQKVMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Ok I get muun app get me API key
…On Thursday, August 31, 2023, ZADO JAY UG ***@***.***> wrote:
Do you mean private key
On Thursday, August 31, 2023, joeleonjr ***@***.***> wrote:
> @bdhaccess94 <https://github.com/bdhaccess94> 's infura token is in the
> comment from Sept 25, 2021. They should rotate that key to ensure no one
> uses it.
>
> —
> Reply to this email directly, view it on GitHub
> <#73 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJ74DULMRY7JM2DJ7K3ZMKTXYAEUJANCNFSM5DZQKVMA>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.