Solutions

Company

Resources

Blog

Contact

Login

    • Assurance

      Smart Contract Assessment

      Securing code integrity, protecting digital assets

      Blockchain Layer 1 Assessment

      Assessing protocols, securing blockchain foundations

      Code Security Audit

      Uncovering flaws, strengthening software integrity

      Web Application Penetration Testing

      Exposing weaknesses, fortifying digital defenses

      Cloud Infrastructure Penetration Testing

      Securing configurations, protecting critical environments

      Red Team Exercise

      Simulating real-world attacks, strengthening defenses

      AI Red Teaming

      Testing AI systems against real threats

      AI Security Assessment

      Securing AI models, data, and pipelines

    • Advisory

      AI Advisory

      Guiding secure, strategic AI adoption forward

      Risk Assessment

      From unknown threats to actionable insights

      Blockchain Architecture Assessment

      Optimizing architecture for tomorrow’s networks

      Compliance Readiness

      Stay ready as regulations evolve

      Custody and Key Management Assessment

      Securing the heart of digital custody

      Technical Due Diligence

      See the risks before you invest

      Technical Training

      Empower your teams to secure what matters

    • Who We Are

      The best security engineers in the world

      Careers

      Work with the elite

      Who Trusts Us

      The trusted security advisor for blockchain and financial services industries

      Brand

      Access official logos, fonts, and guidelines

      Service Commitments

      Committed to Protecting Your Data

    • Audits

      In-depth evaluations of smart contracts and blockchain infrastructures

      BVSS

      Blockchain Vulnerability Scoring System

      Disclosures

      All the latest vulnerabilities discovered by Halborn

      Case Studies

      How Halborn’s solutions have empowered clients to overcome security issues

      Reports

      Comprehensive reports and data

  • Blog

  • Contact

  • Login

THIS WEBSITE USES COOKIES

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you've provided to them or that they've collected from your use of their services. You consent to our cookies if you continue to use our website. Learn More.

STAY CURRENT WITH HALBORN

Subscribe to the monthly Halborn Digest for our top blogs and videos, major company announcements, new whitepapers, webinar and event invites, and one exclusive interview.

ADVISORY SERVICES

AI AdvisoryRisk AssessmentBlockchain Architecture AssessmentCompliance ReadinessCustody and Key Management AssessmentTechnical Due DiligenceTechnical Training

ASSURANCE SERVICES

AI Security AssessmentAI Red TeamingSmart Contract AssessmentBlockchain Layer 1 AssessmentCode Security AuditWeb Application Penetration TestingCloud Infrastructure Penetration TestingRed Team Exercise

COMPANY

Who We AreWho Trusts UsService CommitmentsCareersBrandBlogContact

RESOURCES

AuditsDisclosuresReportsBVSSCase Studies
Halborn Logo
Privacy PolicyTerms of UseVulnerability Disclosure Policy

© Halborn 2025. All rights reserved.

Background

// Security Assessment

08.27.2024 - 09.10.2024

Chromium Browser Extension

ZKPass

Halborn logotext
← Back to Audits

Chromium Browser Extension - ZKPass


Prepared by:

Halborn Logo

HALBORN

Last Updated Unknown date

Date of Engagement: August 27th, 2024 - September 10th, 2024

Summary

100% of all REPORTED Findings have been addressed

All findings

9

Critical

0

High

0

Medium

0

Low

0

Informational

9


Table of Contents

  • 1. Introduction
  • 2. Assessment summary
  • 3. Risk methodology
  • 4. Scope
  • 5. Assessment summary & findings overview
  • 6. Findings & Tech Details
    1. 6.1 Improper input handling and parsing
    2. 6.2 Excessive logging of sensitive data
    3. 6.3 Potential weakness in key management
    4. 6.4 Lack of encryption for stored session data
    5. 6.5 Lack of validation in event listeners
    6. 6.6 Lack of validation when parsing json
    7. 6.7 Unvalidated url manipulation
    8. 6.8 Outdated packages
    9. 6.9 Use of tls1.2

1. Introduction

zkPass engaged Halborn to conduct a security assessment on their Transgate extension, beginning on 2024-08-27 and ending on 2024-09-10. The security assessment was scoped to the assets provided to the Halborn team.

2. Assessment Summary

The team at Halborn was provided two weeks for the engagement and assigned a full-time security engineer to verify the security of all the applications. The security engineer is a penetration testing expert with advanced knowledge in web, recon, discovery & infrastructure penetration testing and blockchain protocols.

- Improve the security of the implementation

- Identify potential security issues that could be affecting the implementation

During the security assessment of the extension, several vulnerabilities were identified, posing significant risks to the application’s security posture. However, these vulnerabilities have been mostly remediated through specific actions taken, such as patching, code refactoring, or security best practices from the zkPass team.

Key issues included improper input validation, excessive logging of sensitive data, and the use of outdated cryptographic practices. Input handling functions were found to inadequately sanitize user inputs, which could allow attackers to exploit injection vulnerabilities, leading to data compromise or unauthorized access. Sensitive information, including requests and responses, was logged without redaction, exposing the extension to potential data leaks.

Additionally, the use of outdated dependencies presents a major security concern, as these packages may contain known vulnerabilities that have been publicly disclosed. Furthermore, the application relies on TLS 1.2 for secure communication, which, while still supported, lacks the security enhancements provided by TLS 1.3, such as forward secrecy and reduced handshake latency. The absence of encryption for stored session data and the presence of hardcoded sensitive information further exacerbate the risks.

Addressing these vulnerabilities through package updates, implementation of secure coding practices, and adopting modern security protocols will significantly improve the extension's overall security, reducing the likelihood of exploitation and ensuring better protection of user data.

The browser extension is designed with stringent encryption standards, ensuring that all functions and transmitted data are securely protected. No risks to client data privacy were identified in our assessment, confirming that the extension maintains robust safeguards without compromising client information.


3. RISK METHODOLOGY

Every vulnerability and issue observed by Halborn is ranked based on two sets of Metrics and a Severity Coefficient. This system is inspired by the industry standard Common Vulnerability Scoring System.
The two Metric sets are: Exploitability and Impact. Exploitability captures the ease and technical means by which vulnerabilities can be exploited and Impact describes the consequences of a successful exploit.
The Severity Coefficients is designed to further refine the accuracy of the ranking with two factors: Reversibility and Scope. These capture the impact of the vulnerability on the environment as well as the number of users and smart contracts affected.
The final score is a value between 0-10 rounded up to 1 decimal place and 10 corresponding to the highest security risk. This provides an objective and accurate rating of the severity of security vulnerabilities in smart contracts.
The system is designed to assist in identifying and prioritizing vulnerabilities based on their level of risk to address the most critical issues in a timely manner.

3.1 EXPLOITABILITY

Attack Origin (AO):
Captures whether the attack requires compromising a specific account.
Attack Cost (AC):
Captures the cost of exploiting the vulnerability incurred by the attacker relative to sending a single transaction on the relevant blockchain. Includes but is not limited to financial and computational cost.
Attack Complexity (AX):
Describes the conditions beyond the attacker’s control that must exist in order to exploit the vulnerability. Includes but is not limited to macro situation, available third-party liquidity and regulatory challenges.
Metrics:
EXPLOITABILITY METRIC (mem_eme​)METRIC VALUENUMERICAL VALUE
Attack Origin (AO)Arbitrary (AO:A)
Specific (AO:S)
1
0.2
Attack Cost (AC)Low (AC:L)
Medium (AC:M)
High (AC:H)
1
0.67
0.33
Attack Complexity (AX)Low (AX:L)
Medium (AX:M)
High (AX:H)
1
0.67
0.33
Exploitability EEE is calculated using the following formula:

E=∏meE = \prod m_eE=∏me​

3.2 IMPACT

Confidentiality (C):
Measures the impact to the confidentiality of the information resources managed by the contract due to a successfully exploited vulnerability. Confidentiality refers to limiting access to authorized users only.
Integrity (I):
Measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of data stored and/or processed on-chain. Integrity impact directly affecting Deposit or Yield records is excluded.
Availability (A):
Measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability. This metric refers to smart contract features and functionality, not state. Availability impact directly affecting Deposit or Yield is excluded.
Deposit (D):
Measures the impact to the deposits made to the contract by either users or owners.
Yield (Y):
Measures the impact to the yield generated by the contract for either users or owners.
Metrics:
IMPACT METRIC (mIm_ImI​)METRIC VALUENUMERICAL VALUE
Confidentiality (C)None (C:N)
Low (C:L)
Medium (C:M)
High (C:H)
Critical (C:C)
0
0.25
0.5
0.75
1
Integrity (I)None (I:N)
Low (I:L)
Medium (I:M)
High (I:H)
Critical (I:C)
0
0.25
0.5
0.75
1
Availability (A)None (A:N)
Low (A:L)
Medium (A:M)
High (A:H)
Critical (A:C)
0
0.25
0.5
0.75
1
Deposit (D)None (D:N)
Low (D:L)
Medium (D:M)
High (D:H)
Critical (D:C)
0
0.25
0.5
0.75
1
Yield (Y)None (Y:N)
Low (Y:L)
Medium (Y:M)
High (Y:H)
Critical (Y:C)
0
0.25
0.5
0.75
1
Impact III is calculated using the following formula:

I=max(mI)+∑mI−max(mI)4I = max(m_I) + \frac{\sum{m_I} - max(m_I)}{4}I=max(mI​)+4∑mI​−max(mI​)​

3.3 SEVERITY COEFFICIENT

Reversibility (R):
Describes the share of the exploited vulnerability effects that can be reversed. For upgradeable contracts, assume the contract private key is available.
Scope (S):
Captures whether a vulnerability in one vulnerable contract impacts resources in other contracts.
Metrics:
SEVERITY COEFFICIENT (CCC)COEFFICIENT VALUENUMERICAL VALUE
Reversibility (rrr)None (R:N)
Partial (R:P)
Full (R:F)
1
0.5
0.25
Scope (sss)Changed (S:C)
Unchanged (S:U)
1.25
1
Severity Coefficient CCC is obtained by the following product:

C=rsC = rsC=rs

The Vulnerability Severity Score SSS is obtained by:

S=min(10,EIC∗10)S = min(10, EIC * 10)S=min(10,EIC∗10)

The score is rounded up to 1 decimal places.
SeverityScore Value Range
Critical9 - 10
High7 - 8.9
Medium4.5 - 6.9
Low2 - 4.4
Informational0 - 1.9

4. SCOPE

REPOSITORY
(a) Repository: Transgate-extension
(b) Assessed Commit ID: -
(c) Items in scope:
  • Transgate-extension-main/TransGate/asset-manifest.json
  • Transgate-extension-main/TransGate/ba20a8bed0ccb80b0fe4.wasm
  • Transgate-extension-main/TransGate/index.html
  • Transgate-extension-main/TransGate/manifest.json
  • Transgate-extension-main/TransGate/message.js
  • Transgate-extension-main/TransGate/offScreen.html
  • Transgate-extension-main/TransGate/robots.txt
  • Transgate-extension-main/TransGate/sandbox.html
  • Transgate-extension-main/TransGate/service.js
  • Transgate-extension-main/TransGate/snarkjs.min.js
  • Transgate-extension-main/TransGate/static/js/content.js
  • Transgate-extension-main/TransGate/static/js/main.js
  • Transgate-extension-main/TransGate/static/js/offScreen.js
  • Transgate-extension-main/babel.config.js
  • Transgate-extension-main/package-lock.json
  • Transgate-extension-main/package.json
  • Transgate-extension-main/packages/protobuf/bench/data/bench.json
  • Transgate-extension-main/packages/protobuf/bench/data/bench.proto
  • Transgate-extension-main/packages/protobuf/bench/data/static_jspb.js
  • Transgate-extension-main/packages/protobuf/bench/data/static_pbjs.js
  • Transgate-extension-main/packages/protobuf/bench/index.js
  • Transgate-extension-main/packages/protobuf/bench/prof.js
  • Transgate-extension-main/packages/protobuf/bench/suite.js
  • Transgate-extension-main/packages/protobuf/cli/bin/pbjs
  • Transgate-extension-main/packages/protobuf/cli/bin/pbts
  • Transgate-extension-main/packages/protobuf/cli/index.d.ts
  • Transgate-extension-main/packages/protobuf/cli/index.js
  • Transgate-extension-main/packages/protobuf/cli/lib/tsd-jsdoc.json
  • Transgate-extension-main/packages/protobuf/cli/lib/tsd-jsdoc/plugin.js
  • Transgate-extension-main/packages/protobuf/cli/lib/tsd-jsdoc/publish.js
  • Transgate-extension-main/packages/protobuf/cli/package.json
  • Transgate-extension-main/packages/protobuf/cli/pbjs.d.ts
  • Transgate-extension-main/packages/protobuf/cli/pbjs.js
  • Transgate-extension-main/packages/protobuf/cli/pbts.d.ts
  • Transgate-extension-main/packages/protobuf/cli/pbts.js
  • Transgate-extension-main/packages/protobuf/cli/scripts/prepublish.js
  • Transgate-extension-main/packages/protobuf/cli/targets/json-module.js
  • Transgate-extension-main/packages/protobuf/cli/targets/json.js
  • Transgate-extension-main/packages/protobuf/cli/targets/proto.js
  • Transgate-extension-main/packages/protobuf/cli/targets/proto2.js
  • Transgate-extension-main/packages/protobuf/cli/targets/proto3.js
  • Transgate-extension-main/packages/protobuf/cli/targets/static-module.js
  • Transgate-extension-main/packages/protobuf/cli/targets/static.js
  • Transgate-extension-main/packages/protobuf/cli/util.js
  • Transgate-extension-main/packages/protobuf/cli/wrappers/amd.js
  • Transgate-extension-main/packages/protobuf/cli/wrappers/closure.js
  • Transgate-extension-main/packages/protobuf/cli/wrappers/commonjs.js
  • Transgate-extension-main/packages/protobuf/cli/wrappers/default.js
  • Transgate-extension-main/packages/protobuf/cli/wrappers/es6.js
  • Transgate-extension-main/packages/protobuf/config/eslint.json
  • Transgate-extension-main/packages/protobuf/config/jsdoc.json
  • Transgate-extension-main/packages/protobuf/config/tslint.json
  • Transgate-extension-main/packages/protobuf/examples/custom-get-set.js
  • Transgate-extension-main/packages/protobuf/examples/js-decorators.js
  • Transgate-extension-main/packages/protobuf/examples/reader-writer.js
  • Transgate-extension-main/packages/protobuf/examples/streaming-rpc.js
  • Transgate-extension-main/packages/protobuf/examples/traverse-types.js
  • Transgate-extension-main/packages/protobuf/ext/debug/index.js
  • Transgate-extension-main/packages/protobuf/ext/descriptor/index.d.ts
  • Transgate-extension-main/packages/protobuf/ext/descriptor/index.js
  • Transgate-extension-main/packages/protobuf/ext/descriptor/test.js
  • Transgate-extension-main/packages/protobuf/google/api/annotations.json
  • Transgate-extension-main/packages/protobuf/google/api/annotations.proto
  • Transgate-extension-main/packages/protobuf/google/api/http.json
  • Transgate-extension-main/packages/protobuf/google/api/http.proto
  • Transgate-extension-main/packages/protobuf/google/protobuf/api.json
  • Transgate-extension-main/packages/protobuf/google/protobuf/api.proto
  • Transgate-extension-main/packages/protobuf/google/protobuf/descriptor.json
  • Transgate-extension-main/packages/protobuf/google/protobuf/descriptor.proto
  • Transgate-extension-main/packages/protobuf/google/protobuf/source_context.json
  • Transgate-extension-main/packages/protobuf/google/protobuf/source_context.proto
  • Transgate-extension-main/packages/protobuf/google/protobuf/type.json
  • Transgate-extension-main/packages/protobuf/google/protobuf/type.proto
  • Transgate-extension-main/packages/protobuf/index.d.ts
  • Transgate-extension-main/packages/protobuf/index.js
  • Transgate-extension-main/packages/protobuf/lib/aspromise/index.d.ts
  • Transgate-extension-main/packages/protobuf/lib/aspromise/index.js
  • Transgate-extension-main/packages/protobuf/lib/aspromise/package.json
  • Transgate-extension-main/packages/protobuf/lib/base64/index.d.ts
  • Transgate-extension-main/packages/protobuf/lib/base64/index.js
  • Transgate-extension-main/packages/protobuf/lib/base64/package.json
  • Transgate-extension-main/packages/protobuf/lib/codegen/index.d.ts
  • Transgate-extension-main/packages/protobuf/lib/codegen/index.js
  • Transgate-extension-main/packages/protobuf/lib/codegen/package.json
  • Transgate-extension-main/packages/protobuf/lib/deep-equal/index.js
  • Transgate-extension-main/packages/protobuf/lib/deep-equal/lib/is_arguments.js
  • Transgate-extension-main/packages/protobuf/lib/deep-equal/lib/keys.js
  • Transgate-extension-main/packages/protobuf/lib/eventemitter/index.d.ts
  • Transgate-extension-main/packages/protobuf/lib/eventemitter/index.js
  • Transgate-extension-main/packages/protobuf/lib/eventemitter/package.json
  • Transgate-extension-main/packages/protobuf/lib/fetch/index.d.ts
  • Transgate-extension-main/packages/protobuf/lib/fetch/index.js
  • Transgate-extension-main/packages/protobuf/lib/fetch/package.json
  • Transgate-extension-main/packages/protobuf/lib/float/bench/index.js
  • Transgate-extension-main/packages/protobuf/lib/float/bench/suite.js
  • Transgate-extension-main/packages/protobuf/lib/float/index.d.ts
  • Transgate-extension-main/packages/protobuf/lib/float/index.js
  • Transgate-extension-main/packages/protobuf/lib/float/package.json
  • Transgate-extension-main/packages/protobuf/lib/inquire/index.d.ts
  • Transgate-extension-main/packages/protobuf/lib/inquire/index.js
  • Transgate-extension-main/packages/protobuf/lib/inquire/package.json
  • Transgate-extension-main/packages/protobuf/lib/path/index.d.ts
  • Transgate-extension-main/packages/protobuf/lib/path/index.js
  • Transgate-extension-main/packages/protobuf/lib/path/package.json
  • Transgate-extension-main/packages/protobuf/lib/polyfill.js
  • Transgate-extension-main/packages/protobuf/lib/pool/index.d.ts
  • Transgate-extension-main/packages/protobuf/lib/pool/index.js
  • Transgate-extension-main/packages/protobuf/lib/pool/package.json
  • Transgate-extension-main/packages/protobuf/lib/prelude.js
  • Transgate-extension-main/packages/protobuf/lib/tape-adapter.js
  • Transgate-extension-main/packages/protobuf/lib/utf8/index.d.ts
  • Transgate-extension-main/packages/protobuf/lib/utf8/index.js
  • Transgate-extension-main/packages/protobuf/lib/utf8/package.json
  • Transgate-extension-main/packages/protobuf/light.d.ts
  • Transgate-extension-main/packages/protobuf/light.js
  • Transgate-extension-main/packages/protobuf/minimal.d.ts
  • Transgate-extension-main/packages/protobuf/minimal.js
  • Transgate-extension-main/packages/protobuf/package-lock.json
  • Transgate-extension-main/packages/protobuf/package.json
  • Transgate-extension-main/packages/protobuf/pbjs.svg
  • Transgate-extension-main/packages/protobuf/release-please-config.json
  • Transgate-extension-main/packages/protobuf/renovate.json
  • Transgate-extension-main/packages/protobuf/scripts/bundle.js
  • Transgate-extension-main/packages/protobuf/scripts/gencommons.js
  • Transgate-extension-main/packages/protobuf/scripts/gentests.js
  • Transgate-extension-main/packages/protobuf/scripts/gulpfile.js
  • Transgate-extension-main/packages/protobuf/scripts/pages.js
  • Transgate-extension-main/packages/protobuf/scripts/postinstall.js
  • Transgate-extension-main/packages/protobuf/src/common.js
  • Transgate-extension-main/packages/protobuf/src/converter.js
  • Transgate-extension-main/packages/protobuf/src/decoder.js
  • Transgate-extension-main/packages/protobuf/src/encoder.js
  • Transgate-extension-main/packages/protobuf/src/enum.js
  • Transgate-extension-main/packages/protobuf/src/field.js
  • Transgate-extension-main/packages/protobuf/src/index-light.js
  • Transgate-extension-main/packages/protobuf/src/index-minimal.js
  • Transgate-extension-main/packages/protobuf/src/index.js
  • Transgate-extension-main/packages/protobuf/src/mapfield.js
  • Transgate-extension-main/packages/protobuf/src/message.js
  • Transgate-extension-main/packages/protobuf/src/method.js
  • Transgate-extension-main/packages/protobuf/src/namespace.js
  • Transgate-extension-main/packages/protobuf/src/object.js
  • Transgate-extension-main/packages/protobuf/src/oneof.js
  • Transgate-extension-main/packages/protobuf/src/parse.js
  • Transgate-extension-main/packages/protobuf/src/reader.js
  • Transgate-extension-main/packages/protobuf/src/reader_buffer.js
  • Transgate-extension-main/packages/protobuf/src/root.js
  • Transgate-extension-main/packages/protobuf/src/roots.js
  • Transgate-extension-main/packages/protobuf/src/rpc.js
  • Transgate-extension-main/packages/protobuf/src/rpc/service.js
  • Transgate-extension-main/packages/protobuf/src/service.js
  • Transgate-extension-main/packages/protobuf/src/tokenize.js
  • Transgate-extension-main/packages/protobuf/src/type.js
  • Transgate-extension-main/packages/protobuf/src/types.js
  • Transgate-extension-main/packages/protobuf/src/typescript.jsdoc
  • Transgate-extension-main/packages/protobuf/src/util.js
  • Transgate-extension-main/packages/protobuf/src/util/longbits.js
  • Transgate-extension-main/packages/protobuf/src/util/minimal.js
  • Transgate-extension-main/packages/protobuf/src/verifier.js
  • Transgate-extension-main/packages/protobuf/src/wrappers.js
  • Transgate-extension-main/packages/protobuf/src/writer.js
  • Transgate-extension-main/packages/protobuf/src/writer_buffer.js
  • Transgate-extension-main/packages/protobuf/tsconfig.json
  • Transgate-extension-main/packages/types/index.ts
  • Transgate-extension-main/packages/types/package.json
  • Transgate-extension-main/packages/wasm-lib/Cargo.lock
  • Transgate-extension-main/packages/wasm-lib/Cargo.toml
  • Transgate-extension-main/packages/wasm-lib/build.rs
  • Transgate-extension-main/packages/wasm-lib/circuits/bin/adder64.bin
  • Transgate-extension-main/packages/wasm-lib/circuits/bin/adder64_zk.bin
  • Transgate-extension-main/packages/wasm-lib/circuits/bin/aes.bin
  • Transgate-extension-main/packages/wasm-lib/circuits/bin/aes_128_reverse.bin
  • Transgate-extension-main/packages/wasm-lib/circuits/bin/msHashState.bin
  • Transgate-extension-main/packages/wasm-lib/circuits/bin/pmsHashState.bin
  • Transgate-extension-main/packages/wasm-lib/circuits/bin/serverMacKey.bin
  • Transgate-extension-main/packages/wasm-lib/circuits/bin/sha256.bin
  • Transgate-extension-main/packages/wasm-lib/circuits/bin/sha256_zk.bin
  • Transgate-extension-main/packages/wasm-lib/circuits/bristol/adder64.bristol
  • Transgate-extension-main/packages/wasm-lib/circuits/bristol/adder64.txt
  • Transgate-extension-main/packages/wasm-lib/circuits/bristol/aes_128_reverse.txt
  • Transgate-extension-main/packages/wasm-lib/circuits/bristol/and8.bristol
  • Transgate-extension-main/packages/wasm-lib/circuits/bristol/xor8.bristol
  • Transgate-extension-main/packages/wasm-lib/circuits/specs/adder64.yml
  • Transgate-extension-main/packages/wasm-lib/circuits/specs/aes_128_reverse.yml
  • Transgate-extension-main/packages/wasm-lib/circuits/specs/sha256.yml
  • Transgate-extension-main/packages/wasm-lib/garble/bin/fip.bin
  • Transgate-extension-main/packages/wasm-lib/garble/bin/gc.bin
  • Transgate-extension-main/packages/wasm-lib/proto/circuits.proto
  • Transgate-extension-main/packages/wasm-lib/proto/core.proto
  • Transgate-extension-main/packages/wasm-lib/proto/garble.proto
  • Transgate-extension-main/packages/wasm-lib/proto/zk.proto
  • Transgate-extension-main/packages/wasm-lib/src/block.rs
  • Transgate-extension-main/packages/wasm-lib/src/circuit.rs
  • Transgate-extension-main/packages/wasm-lib/src/error.rs
  • Transgate-extension-main/packages/wasm-lib/src/garble/evaluator.rs
  • Transgate-extension-main/packages/wasm-lib/src/garble/garble_circuit.rs
  • Transgate-extension-main/packages/wasm-lib/src/garble/label.rs
  • Transgate-extension-main/packages/wasm-lib/src/garble/mod.rs
  • Transgate-extension-main/packages/wasm-lib/src/lib.rs
  • Transgate-extension-main/packages/wasm-lib/src/proto/circuit.rs
  • Transgate-extension-main/packages/wasm-lib/src/proto/core.rs
  • Transgate-extension-main/packages/wasm-lib/src/proto/garble.rs
  • Transgate-extension-main/packages/wasm-lib/src/proto/mod.rs
  • Transgate-extension-main/packages/wasm-lib/src/proto/zk.rs
  • Transgate-extension-main/packages/wasm-lib/src/utils.rs
  • Transgate-extension-main/packages/wasm-lib/src/value.rs
  • Transgate-extension-main/pages/build/asset-manifest.json
  • Transgate-extension-main/pages/build/index.html
  • Transgate-extension-main/pages/build/manifest.json
  • Transgate-extension-main/pages/build/offScreen.html
  • Transgate-extension-main/pages/build/robots.txt
  • Transgate-extension-main/pages/build/static/js/content.js
  • Transgate-extension-main/pages/build/static/js/main.js
  • Transgate-extension-main/pages/build/static/js/offScreen.js
  • Transgate-extension-main/pages/config-overrides.js
  • Transgate-extension-main/pages/package.json
  • Transgate-extension-main/pages/public/index.html
  • Transgate-extension-main/pages/public/manifest.json
  • Transgate-extension-main/pages/public/offScreen.html
  • Transgate-extension-main/pages/public/robots.txt
  • Transgate-extension-main/pages/src/App.tsx
  • Transgate-extension-main/pages/src/ContentApp.tsx
  • Transgate-extension-main/pages/src/ProofFactory.js
  • Transgate-extension-main/pages/src/components/Input.tsx
  • Transgate-extension-main/pages/src/components/button.tsx
  • Transgate-extension-main/pages/src/components/customAlert.tsx
  • Transgate-extension-main/pages/src/components/extensionContent.tsx
  • Transgate-extension-main/pages/src/components/mpcCondition.tsx
  • Transgate-extension-main/pages/src/components/navigator.tsx
  • Transgate-extension-main/pages/src/components/reportModal.tsx
  • Transgate-extension-main/pages/src/content.tsx
  • Transgate-extension-main/pages/src/hooks/useMPCbase.ts
  • Transgate-extension-main/pages/src/index.tsx
  • Transgate-extension-main/pages/src/lib/sha256.ts
  • Transgate-extension-main/pages/src/offScreen.tsx
  • Transgate-extension-main/pages/src/pages/Account/CreateSBT.tsx
  • Transgate-extension-main/pages/src/pages/Account/ImportSBT.tsx
  • Transgate-extension-main/pages/src/pages/Account/Layout.tsx
  • Transgate-extension-main/pages/src/pages/Account/List.tsx
  • Transgate-extension-main/pages/src/pages/Account/index.tsx
  • Transgate-extension-main/pages/src/pages/CalculateState.tsx
  • Transgate-extension-main/pages/src/pages/CodeModal.tsx
  • Transgate-extension-main/pages/src/pages/CodeWindow.tsx
  • Transgate-extension-main/pages/src/pages/Introduction.tsx
  • Transgate-extension-main/pages/src/pages/SBTLayout.tsx
  • Transgate-extension-main/pages/src/pages/Settings.tsx
  • Transgate-extension-main/pages/src/progressMessage.ts
  • Transgate-extension-main/pages/src/react-app-env.d.ts
  • Transgate-extension-main/pages/src/reportWebVitals.js
  • Transgate-extension-main/pages/src/setupTests.js
  • Transgate-extension-main/pages/src/state/global/actions.ts
  • Transgate-extension-main/pages/src/state/global/index.ts
  • Transgate-extension-main/pages/src/state/global/type.d.ts
  • Transgate-extension-main/pages/src/state/index.ts
  • Transgate-extension-main/pages/src/state/types.d.ts
  • Transgate-extension-main/pages/src/type/index.ts
  • Transgate-extension-main/pages/src/utils/index.ts
  • Transgate-extension-main/pages/yarn.lock
  • Transgate-extension-main/public/manifest.json
  • Transgate-extension-main/public/message.js
  • Transgate-extension-main/public/sandbox.html
  • Transgate-extension-main/public/snarkjs.min.js
  • Transgate-extension-main/service/package.json
  • Transgate-extension-main/service/src/apiHelper.ts
  • Transgate-extension-main/service/src/casm/CasmHelper.ts
  • Transgate-extension-main/service/src/casm/circuit.ts
  • Transgate-extension-main/service/src/casm/combine.ts
  • Transgate-extension-main/service/src/casm/index.ts
  • Transgate-extension-main/service/src/casm/parser.ts
  • Transgate-extension-main/service/src/config.ts
  • Transgate-extension-main/service/src/constant.ts
  • Transgate-extension-main/service/src/crypto/salsa.js
  • Transgate-extension-main/service/src/crypto/sha256.ts
  • Transgate-extension-main/service/src/helper/domParse.ts
  • Transgate-extension-main/service/src/helper/index.ts
  • Transgate-extension-main/service/src/helper/jsonParse.ts
  • Transgate-extension-main/service/src/helper/request.ts
  • Transgate-extension-main/service/src/helper/response.ts
  • Transgate-extension-main/service/src/httpSession.ts
  • Transgate-extension-main/service/src/https/Config.js
  • Transgate-extension-main/service/src/https/index.js
  • Transgate-extension-main/service/src/https/net/Server.js
  • Transgate-extension-main/service/src/https/tls/Certificate.js
  • Transgate-extension-main/service/src/https/tls/ClientChangeCipherSpecRecord.js
  • Transgate-extension-main/service/src/https/tls/ClientFinishedRecord.js
  • Transgate-extension-main/service/src/https/tls/ClientHelloRecord.js
  • Transgate-extension-main/service/src/https/tls/ClientKeyExchangeRecord.js
  • Transgate-extension-main/service/src/https/tls/Common.js
  • Transgate-extension-main/service/src/https/tls/HandshakeParameters.js
  • Transgate-extension-main/service/src/https/tls/KeyManager.js
  • Transgate-extension-main/service/src/https/tls/Record.js
  • Transgate-extension-main/service/src/https/tls/ServerCertificateRecord.js
  • Transgate-extension-main/service/src/https/tls/ServerChangeCipherSpecRecord.js
  • Transgate-extension-main/service/src/https/tls/ServerFinishedRecord.js
  • Transgate-extension-main/service/src/https/tls/ServerHelloDoneRecord.js
  • Transgate-extension-main/service/src/https/tls/ServerHelloRecord.js
  • Transgate-extension-main/service/src/https/tls/ServerKeyExchangeRecord.js
  • Transgate-extension-main/service/src/https/tls/TlsClient.js
  • Transgate-extension-main/service/src/https/util/Buffer.js
  • Transgate-extension-main/service/src/https/util/Bytes.js
  • Transgate-extension-main/service/src/https/util/Crypto.js
  • Transgate-extension-main/service/src/index.ts
  • Transgate-extension-main/service/src/listeners.ts
  • Transgate-extension-main/service/src/local-sbt/helper.ts
  • Transgate-extension-main/service/src/local-sbt/index.js
  • Transgate-extension-main/service/src/local-sbt/storage.ts
  • Transgate-extension-main/service/src/local-sbt/type.ts
  • Transgate-extension-main/service/src/mpc/Helper.ts
  • Transgate-extension-main/service/src/mpc/index.ts
  • Transgate-extension-main/service/src/progressMessage.ts
  • Transgate-extension-main/service/src/proof/index.ts
  • Transgate-extension-main/service/src/proto/bundle.d.ts
  • Transgate-extension-main/service/src/proto/bundle.js
  • Transgate-extension-main/service/src/proto/circuits.proto
  • Transgate-extension-main/service/src/proto/core.proto
  • Transgate-extension-main/service/src/proto/garble.proto
  • Transgate-extension-main/service/src/proto/readme.md
  • Transgate-extension-main/service/src/proto/zk.proto
  • Transgate-extension-main/service/src/storage.ts
  • Transgate-extension-main/service/src/types/index.ts
  • Transgate-extension-main/service/src/types/template.d.ts
  • Transgate-extension-main/service/src/utils/buffer.ts
  • Transgate-extension-main/service/src/utils/index.ts
  • Transgate-extension-main/service/src/utils/indexDB.ts
  • Transgate-extension-main/service/src/utils/jsdom.js
  • Transgate-extension-main/service/src/utils/json.ts
  • Transgate-extension-main/service/src/utils/jsonGrammarTree.ts
  • Transgate-extension-main/service/src/wasm-circuit/package.json
  • Transgate-extension-main/service/src/wasm-circuit/wasm_lib.d.ts
  • Transgate-extension-main/service/src/wasm-circuit/wasm_lib.js
  • Transgate-extension-main/service/src/wasm-circuit/wasm_lib_bg.wasm
  • Transgate-extension-main/service/src/wasm-circuit/wasm_lib_bg.wasm.d.ts
  • Transgate-extension-main/service/webpack.config.js
  • Transgate-extension-main/service/yarn.lock
  • Transgate-extension-main/tsconfig.json
  • Transgate-extension-main/yarn.lock
  • Transgate-extension-main/TransGate/asset-manifest.json
  • Transgate-extension-main/TransGate/ba20a8bed0ccb80b0fe4.wasm
  • Transgate-extension-main/TransGate/index.html
↓ Expand ↓
Out-of-Scope: New features/implementations after the remediation commit IDs.

5. Assessment Summary & Findings Overview

Critical

0

High

0

Medium

0

Low

0

Informational

9

Security analysisRisk levelRemediation Date
Improper Input Handling and ParsingInformationalSolved - 10/01/2024
Excessive Logging of Sensitive DataInformationalSolved - 10/01/2024
Potential Weakness in Key ManagementInformationalSolved - 10/01/2024
Lack of Encryption for Stored Session DataInformationalRisk Accepted - 10/01/2024
Lack of Validation in Event ListenersInformationalSolved - 10/01/2024
Lack of Validation When Parsing JSONInformationalRisk Accepted - 10/01/2024
Unvalidated URL ManipulationInformationalSolved - 10/01/2024
Outdated packagesInformationalRisk Accepted - 10/01/2024
Use of TLS1.2InformationalFuture Release - 10/01/2024

6. Findings & Tech Details

6.1 Improper Input Handling and Parsing

//

Informational

Description
Proof of Concept
Score
(0.0)
Recommendation
Remediation Comment

6.2 Excessive Logging of Sensitive Data

//

Informational

Description
Proof of Concept
Score
(0.0)
Recommendation
Remediation Comment

6.3 Potential Weakness in Key Management

//

Informational

Description
Proof of Concept
Score
(0.0)
Recommendation
Remediation Comment

6.4 Lack of Encryption for Stored Session Data

//

Informational

Description
Proof of Concept
Score
(0.0)
Recommendation
Remediation Comment

6.5 Lack of Validation in Event Listeners

//

Informational

Description
Proof of Concept
Score
(0.0)
Recommendation
Remediation Comment

6.6 Lack of Validation When Parsing JSON

//

Informational

Description
Proof of Concept
Score
(0.0)
Recommendation
Remediation Comment

6.7 Unvalidated URL Manipulation

//

Informational

Description
Proof of Concept
Score
(0.0)
Recommendation
Remediation Comment

6.8 Outdated packages

//

Informational

Description
Proof of Concept
Score
(0.0)
Recommendation
Remediation Comment

6.9 Use of TLS1.2

//

Informational

Description
Proof of Concept
Score
(0.0)
Recommendation
Remediation Comment

Halborn strongly recommends conducting a follow-up assessment of the project either within six months or immediately following any material changes to the codebase, whichever comes first. This approach is crucial for maintaining the project’s integrity and addressing potential vulnerabilities introduced by code modifications.

Table of Contents

  • 1. Introduction
  • 2. Assessment summary
  • 3. Risk methodology
  • 4. Scope
  • 5. Assessment summary & findings overview
  • 6. Findings & Tech Details
    1. 6.1 Improper input handling and parsing
    2. 6.2 Excessive logging of sensitive data
    3. 6.3 Potential weakness in key management
    4. 6.4 Lack of encryption for stored session data
    5. 6.5 Lack of validation in event listeners
    6. 6.6 Lack of validation when parsing json
    7. 6.7 Unvalidated url manipulation
    8. 6.8 Outdated packages
    9. 6.9 Use of tls1.2

// Download the full report

Chromium Browser Extension

* Use Google Chrome for best results

** Check "Background Graphics" in the print settings if needed