PocketUniverse browser extension for simulating transactions.

Overview

PocketUniverse

Known Vulnerabilities

Layout

Injected

The injected script proxies requests from the website to PocketUniverse before forwarding it to window.ethereum.

We don't modify the request but rather just wait until the user decides it wants to continue.

We communicate our requests with the content-script through the DOM.

ContentScript

This is responsible for communicating with the webpage. It takes the webpage request and stores it in local storage for the service worker to pick it up.

Background

This service worker handles the requests and popup triggering logic.

It listens to changes in storage and forwards requests if there are new things to simulate.

Popup

This is what the user sees when there is a simulation in progress. This simply uses the storage state to be displayed.

It will write to storage the action the user decides to take.

Contributions

If you'd like to contribute, feel free to pop in the discord or DM us on twitter. I'd be happy to chat :D

Contact Us

Comments
  • Remove Race Condition

    Remove Race Condition

    The below lines introduce a race condition based on the storage of the simulation. The resolution of fetchSimulate relies on the simulation already being added to chrome.storage.sync, so they cannot be run in parallel.

    https://github.com/jqphu/PocketUniverse/blob/ff3cbc0b346e7c6d0217df1efefbcc7ca13d30aa/src/lib/storage.ts#L140-L146

    opened by ghunkins 4
  • Add verified contract UIs

    Add verified contract UIs

    We want to help indicate which contract we're interacting with is verified.

    This task tracking adding a verified UI for the contract you're interacting with. This does not change the UI for approvalforall (since the contract will likely be a legitimate one and we don't want a false sense to security by having a verified checkmark).

    opened by jqphu 2
  • [minor][beta] Fix coloring of the settings bar and make clicking the cog go back

    [minor][beta] Fix coloring of the settings bar and make clicking the cog go back

    Version: v.0.0.8

    Fix the coloring of the settings bar to gray not teal. Teal kind of looks like green is too close to it being enabled.

    Make clicking the settings button go back to the original page.

    enhancement 
    opened by jqphu 1
  • Cannot use nftydash with PocketUniverse

    Cannot use nftydash with PocketUniverse

    When PocketUniverse is enabled the entire website is down. None of the buttons work!

    The issue is there is a local variable being defined const ethereum = window.ethereum; and causes it to conflict as ethereum in the global scope is already declared.

    image

    opened by jqphu 1
  • ✨ keep NFT display consistent

    ✨ keep NFT display consistent

    Stack created with Sapling. Best reviewed with ReviewStack.

    • -> #38
    • #37
    • #36
    • #35
    • #34
    • #33
    • #32
    • #31
    • #30
    • #29
    • #28
    • #27
    • #26
    • #25
    • #24

    ✨ keep NFT display consistent

    Summary: Instead of displaying the collection name, display +1 NFT for the ERC721.

    Test Plan:

    opened by jqphu 0
  • 🔖 bump to v0.0.41.3

    🔖 bump to v0.0.41.3

    Stack created with Sapling. Best reviewed with ReviewStack.

    • #38
    • -> #37
    • #36
    • #35
    • #34
    • #33
    • #32
    • #31
    • #30
    • #29
    • #28
    • #27
    • #26
    • #25
    • #24

    🔖 bump to v0.0.41.3

    Summary:

    Test Plan:

    opened by jqphu 0
  • 🗃️ add dyno.gg to fuzzysearched websites

    🗃️ add dyno.gg to fuzzysearched websites

    Stack created with Sapling. Best reviewed with ReviewStack.

    • #38
    • #37
    • -> #36
    • #35
    • #34
    • #33
    • #32
    • #31
    • #30
    • #29
    • #28
    • #27
    • #26
    • #25
    • #24

    🗃️ add dyno.gg to fuzzysearched websites

    Summary:

    Test Plan:

    opened by jqphu 0
  • 🔖 bump to v0.0.41.2

    🔖 bump to v0.0.41.2

    Stack created with Sapling. Best reviewed with ReviewStack.

    • #38
    • #37
    • #36
    • -> #35
    • #34
    • #33
    • #32
    • #31
    • #30
    • #29
    • #28
    • #27
    • #26
    • #25
    • #24

    🔖 bump to v0.0.41.2

    Summary:

    Test Plan:

    opened by jqphu 0
  • 🐛 reduce sensitivity of hyroglyph checks

    🐛 reduce sensitivity of hyroglyph checks

    Stack created with Sapling. Best reviewed with ReviewStack.

    • #38
    • #37
    • #36
    • #35
    • -> #34
    • #33
    • #32
    • #31
    • #30
    • #29
    • #28
    • #27
    • #26
    • #25
    • #24

    🐛 reduce sensitivity of hyroglyph checks

    Summary: This is blocking too many websites - reduce it and we'll slowly increase it.

    Test Plan:

    opened by jqphu 0
  • 🔖 minor version bump to v0.0.41.1

    🔖 minor version bump to v0.0.41.1

    Stack created with Sapling. Best reviewed with ReviewStack.

    • #38
    • #37
    • #36
    • #35
    • #34
    • -> #33
    • #32
    • #31
    • #30
    • #29
    • #28
    • #27
    • #26
    • #25
    • #24

    🔖 minor version bump to v0.0.41.1

    Summary:

    Test Plan:

    opened by jqphu 0
  • 🔖 update to v0.0.41

    🔖 update to v0.0.41

    Stack created with Sapling. Best reviewed with ReviewStack.

    • #38
    • #37
    • #36
    • #35
    • #34
    • #33
    • -> #32
    • #31
    • #30
    • #29
    • #28
    • #27
    • #26
    • #25
    • #24

    🔖 update to v0.0.41

    Summary:

    Test Plan:

    opened by jqphu 0
  • [Snyk] Upgrade @headlessui/react from 1.6.6 to 1.7.0

    [Snyk] Upgrade @headlessui/react from 1.6.6 to 1.7.0

    Snyk has created this PR to upgrade @headlessui/react from 1.6.6 to 1.7.0.

    merge advice :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


    • The recommended version is 1 version ahead of your current version.
    • The recommended version was released 22 days ago, on 2022-09-06.

    Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

    For more information:

    🧐 View latest project report

    🛠 Adjust upgrade PR settings

    🔕 Ignore this dependency or unsubscribe from future upgrade PRs

    opened by snyk-bot 0
  • [Snyk] Upgrade react-spinners from 0.13.3 to 0.13.4

    [Snyk] Upgrade react-spinners from 0.13.3 to 0.13.4

    Snyk has created this PR to upgrade react-spinners from 0.13.3 to 0.13.4.

    merge advice :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


    • The recommended version is 1 version ahead of your current version.
    • The recommended version was released 24 days ago, on 2022-07-30.

    Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

    For more information:

    🧐 View latest project report

    🛠 Adjust upgrade PR settings

    🔕 Ignore this dependency or unsubscribe from future upgrade PRs

    opened by snyk-bot 0
  • [Snyk] Upgrade @sentry/react from 7.7.0 to 7.8.0

    [Snyk] Upgrade @sentry/react from 7.7.0 to 7.8.0

    Snyk has created this PR to upgrade @sentry/react from 7.7.0 to 7.8.0.

    merge advice :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


    • The recommended version is 1 version ahead of your current version.
    • The recommended version was released 22 days ago, on 2022-07-27.

    Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

    For more information:

    🧐 View latest project report

    🛠 Adjust upgrade PR settings

    🔕 Ignore this dependency or unsubscribe from future upgrade PRs

    opened by snyk-bot 0
  • [Snyk] Upgrade @sentry/browser from 7.7.0 to 7.8.0

    [Snyk] Upgrade @sentry/browser from 7.7.0 to 7.8.0

    Snyk has created this PR to upgrade @sentry/browser from 7.7.0 to 7.8.0.

    merge advice :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


    • The recommended version is 1 version ahead of your current version.
    • The recommended version was released 22 days ago, on 2022-07-27.

    Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

    For more information:

    🧐 View latest project report

    🛠 Adjust upgrade PR settings

    🔕 Ignore this dependency or unsubscribe from future upgrade PRs

    opened by snyk-bot 0
  • [bug] app.mintify.xyz doesn't work with PocketUniverse

    [bug] app.mintify.xyz doesn't work with PocketUniverse

    We have some users reporting that the metamask button is disabled on our site when they use this extension. I managed to get a console screenshot that shows the problem. Once they remove the extension everything works ok.

    Screenshot: https://media.discordapp.net/attachments/923202792838008843/1007649620698071060/Screen_Shot_2022-08-12_at_09.59.31.png

    This is on https://app.mintify.xyz

    opened by kakashigr 3
  • [Snyk] Upgrade pino from 8.1.0 to 8.2.0

    [Snyk] Upgrade pino from 8.1.0 to 8.2.0

    Snyk has created this PR to upgrade pino from 8.1.0 to 8.2.0.

    :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


    • The recommended version is 1 version ahead of your current version.
    • The recommended version was released 22 days ago, on 2022-07-18.

    Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

    For more information:

    🧐 View latest project report

    🛠 Adjust upgrade PR settings

    🔕 Ignore this dependency or unsubscribe from future upgrade PRs

    opened by snyk-bot 0
Releases(v0.0.24)
Owner
Justin Phu
I write code and most of the time it doesn't work.
Justin Phu
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
A 3rd year University physics project for simulating satellites motion in orbit.

Satellite Simulator VI - Deluxe Edition A university physics project for simulating satellites in orbit. Installation instructions Clone the git repos

Rami Sabbagh 8 Jun 26, 2022
Simulating raindrops falling on a window

RainyDay.js A simple script for simulating raindrops falling on a glass surface. Project Page How to use Just add script to page and initilize RainyDa

Muhammad Ubaid Raza 89 Nov 7, 2022
An easy and simple way to manage your financial transactions.

MyWallet An easy and simple way to manage your financial transactions. With MyWallet you can track your incomes and expenses and always keep track of

Caroline Oliveira 7 Nov 16, 2022
Benefit cards API, create and store card data and log transactions

Valex ?? Benefit cards for companies and employees! ?? Tech used Overview An API to store benefit cards from companies to employees and log transactio

Felipe Ventura 2 Apr 25, 2022
Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript and Node.js.

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript and Node.js.

Berry 243 Jan 8, 2023
Get the latest Flashbots blocks and Flashbots transactions using TypeScript in two lines of code !

mev-blocks-js This package can let you query the Flashbots blocks API easily from any JavaScript or TypeScript project. You can access the Flashbots b

Luca G.F. 6 May 14, 2022
E-Commerce solution for security of databases and transactions.

commerce_new_era AMAÇ Amacımız günümüzde E-Ticaret sitelerinde bulunan sahte ürünlerin ve mağduriyetlerin önüne geçmektir. Bunu yapmak için Blockchai

Ayberk ESER 4 May 14, 2022
Ethereum chain sniperbot for tokens. This bot sniffs the mempool for pending transactions for trading enabled and also liquidity add functions.

Ethereum chain sniperbot for tokens. This bot sniffs the mempool for pending transactions for trading enabled and also liquidity add functions.

null 12 Dec 5, 2022
Transform and compose data for HTTP transactions.

Fragments Fragments is a platform to compose and manage custom data objects for HTTP transactions. Simply put, you can write simple jinja templates to

Artem Golub 15 Sep 6, 2022
Basic Implementation of a Contract Wallet in Solidity. The owner can transfer Ether/ERC20 and execute transactions via low-level calls.

Contract Wallet Basic Implementation of a Contract Wallet in Solidity. The owner can transfer Ether/ERC20 and execute transactions via low-level calls

Junho Yeo 3 Jun 18, 2022
Create, sign & decode Solana transactions with minimum deps

micro-sol-signer Create, sign & decode Solana transactions with minimum deps. Tiny: 674 LOC, 3K LOC with all deps bundled No network code in main pack

Paul Miller 32 Nov 23, 2022
CLI utility that broadcasts BTC, ETH, SOL, ZEC & XMR transactions through TOR using public block explorers

tx-tor-broadcaster CLI utility that broadcasts BTC, ETH, SOL, ZEC & XMR transactions through TOR using public block explorers. Provides a great degree

Paul Miller 58 Dec 25, 2022
Create, sign & decode BTC transactions with minimum deps.

micro-btc-signer Create, sign & decode BTC transactions with minimum deps. ?? Small: ~2.2K lines Create transactions, inputs, outputs, sign them No ne

Paul Miller 19 Dec 30, 2022
DFi-App showing compound transactions on Blockchain.

dbank Welcome to your new dbank project and to the internet computer development community. By default, creating a new project adds this README and so

Ayush Pattnaik 6 Sep 18, 2022
A lightweight extension to automatically detect and provide verbose warnings for embedded iframe elements in order to protect against Browser-In-The-Browser (BITB) attacks.

Enhanced iFrame Protection - Browser Extension Enhanced iFrame Protection (EIP) is a lightweight extension to automatically detect and provide verbose

odacavo 16 Dec 24, 2022
Eth-explorers-extension - Chrome extension to open Ethereum addresses & transaction hash from any page on popular explorers + dashboards

eth-explorers-extension(s) This repository contains two folders with two extensions that work for address and transactions respectively. 1. eth-addres

Apoorv Lathey 71 Jan 6, 2023
Nami Wallet is a browser based wallet extension to interact with the Cardano blockchain.

Nami Wallet Nami Wallet is a browser based wallet extension to interact with the Cardano blockchain. It's an open-source project and built by Berry Po

Berry 335 Dec 29, 2022