Coder Social home page Coder Social logo

jeytuan / webtrey Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 601.11 MB

Netsoul Web3 Cybersecurity Auditing Intelligence

C 0.48% Python 92.03% Cython 2.42% HTML 0.06% CSS 1.15% Mako 0.01% C++ 3.40% TeX 0.12% JavaScript 0.24% Solidity 0.03% Vyper 0.01% Makefile 0.01% Batchfile 0.01% Assembly 0.01% Ruby 0.01% SCSS 0.01% Shell 0.01% Meson 0.01% Fortran 0.01% Forth 0.01%

webtrey's Introduction

Netsoul WebTrey - Giza OSINT Security Action

Overview

This project uses the Giza SDK to perform an OSINT security action. The action fetches repositories from the Giza GitHub organization, scans them for vulnerabilities, analyzes documentation, retrieves WHOIS information for a domain, and searches Shodan for information on an IP address.

Setup

  1. Clone the repository:

    git clone https://github.com/jeytuan/WebTrey.git
    cd WebTrey
  2. Install the required dependencies:

    cd webtrey-dashboard/backend
    python -m venv myenv
    myenv\Scripts\activate  # On Windows
    source myenv/bin/activate  # On macOS/Linux
    pip install -r requirements.txt
    
  3. Frontend (Next.js App)

    cd ../../frontend
    npm install
  4. Set up environment variables in .env.local:

    GITHUB_TOKEN=<your_github_token>
    SHODAN_API_KEY=<your_shodan_api_key>
    SSH_KEY=<your_ssh_key>
    

Usage & Running the Applications

  1. Start the Backend OSINT Scan
    cd webtrey-dashboard/backend/webtrey/giza
    myenv\Scripts\activate  # On Windows
    source myenv/bin/activate  # On macOS/Linux
    python giza_run.py
  2. Start the Frontend Web App
    cd ../../../../frontend
    npm run dev

Docker Installation

This project provides a Docker container for the WebTrey dashboard application, which is a comprehensive solution for managing and analyzing security vulnerabilities. The container includes a suite of tools designed to integrate seamlessly with Giza AI, enabling advanced security automation and intelligence.

Prerequisites

Docker installed on your local machine. Download Docker

Pulling the Docker Image

To pull the Docker image from Docker Hub, use the following command:

```sh
 docker pull jeytuan/webtrey_vm:latest
```

Running the Docker Container

To run the Docker container, use the following command:

```sh
docker run -d --name webtrey_vm -p 3001:3000 jeytuan/webtrey_vm:latest
```

Accessing the Application

Once the container is running, the application can be accessed in your web browser at: http://localhost:3001

Stopping the Docker Container

To stop the running container, use the following command:

```sh
docker stop webtrey_vm
```

Removing the Docker Container

To remove the container, use the following command:

```sh
docker rm webtrey_vm
```

Updating the Docker Image

To update the Docker image to the latest version, use the following commands:

```sh
docker pull jeytuan/webtrey_vm:latest
docker stop webtrey_vm
docker rm webtrey_vm
docker run -d --name webtrey_vm -p 3001:3000 jeytuan/webtrey_vm:latest
```

Included Tools

The WebTrey Docker container includes the following tools:

- Giza SDK: Enables the integration of AI models and the execution of verifiable machine learning tasks.
- Slither: A static analysis tool to find vulnerabilities in Solidity smart contracts.
- Mythril: A security analysis tool for Ethereum smart contracts.
- Echidna: A smart contract fuzzer for finding vulnerabilities in Ethereum smart contracts.
- Foundry: A blazing fast, portable and modular toolkit for Ethereum application development.
- Hardhat: A development environment to compile, deploy, test, and debug Ethereum software.
- Python 3.10: Includes various security libraries and tools for automation and analysis.

Web App Dashboard

The Web App dashboard, built with Next.js, provides a user-friendly interface for managing bug bounties, viewing threat intelligence, and handling vulnerability disclosures.

Results

The results will include:

Repository vulnerabilities Documentation analysis WHOIS information Shodan information

Vulnerability Disclosure Program (VDP) Investigation

As part of this project, we have also investigated what an in-scope Vulnerability Disclosure Program (VDP) for Giza AI would look like. Our proposed VDP includes a clear scope of assets, a structured reward system based on the severity of vulnerabilities, and a detailed process for reporting and handling vulnerabilities. This VDP aims to enhance the security posture of Giza AI by encouraging the identification and responsible disclosure of potential vulnerabilities.

Potential Attack Vectors

  1. Smart Contract Vulnerabilities:

    • Reentrancy attacks
    • Integer overflows/underflows
    • Access control issues
    • Insecure storage
  2. Machine Learning Model Risks:

    • Model poisoning
    • Adversarial inputs
    • Data leakage
    • Model inversion
  3. Zero-Knowledge Proofs (ZK Proofs):

    • Incorrect implementation of ZK proofs
    • Verification bypass
    • Cryptographic weaknesses
  4. Protocol-Level Attacks:

    • Sybil attacks
    • Front-running
    • Oracle manipulation

Integration with Giza AI

Value Statement

The integration with Giza AI empowers the WebTrey Dashboard with advanced AI capabilities, providing the following benefits:

  1. Automated Vulnerability Detection: Leverage Giza's AI models to automatically detect vulnerabilities in smart contracts and applications.

  2. OSINT (Open Source Intelligence) Capabilities: Use Giza AI to perform comprehensive OSINT scans, identifying potential attack vectors and security risks across Giza's GitHub repositories and documentation.

  3. Continuous Monitoring: Utilize Giza AI agents to continuously monitor and analyze security logs, providing real-time threat intelligence and automated responses to security incidents.

  4. Verifiable Inferences: Ensure the integrity and authenticity of AI predictions with Giza's verifiable machine learning models, providing a higher level of trust and security in automated decision-making processes.

  5. Seamless Integration: Easily integrate Giza AI's powerful features into your existing workflows, enhancing your security operations with minimal effort.

Conclusion

The Netsoul WebTrey - Giza OSINT Security Action project provides a powerful and comprehensive solution for enhancing the security of decentralized protocols and applications. By leveraging the Giza SDK, this project demonstrates advanced capabilities in automated vulnerability detection, OSINT (Open Source Intelligence) scanning, and continuous monitoring. The integration with Giza AI ensures that the analysis and actions taken are backed by verifiable machine learning models, enhancing trust and reliability.

This project includes a suite of robust tools within a Docker container, making it easy to deploy and use. The WebTrey dashboard, built with Next.js, provides a user-friendly interface for managing bug bounties, viewing threat intelligence, and handling vulnerability disclosures. The included tools like Slither, Mythril, Echidna, Foundry, and Hardhat ensure that the platform is well-equipped to handle a wide range of security tasks.

In addition to providing a functional prototype for OSINT tasks, this project also proposes a structured Vulnerability Disclosure Program (VDP) for Giza AI. This VDP outlines the potential attack vectors, a clear scope of assets, and a reward system based on the severity of vulnerabilities. The VDP aims to encourage responsible disclosure and enhance the overall security posture of Giza AI.

By integrating Giza AI, the WebTrey Dashboard can continuously monitor and analyze security logs, provide real-time threat intelligence, and automate responses to security incidents. This seamless integration ensures that security operations are efficient and effective, with minimal effort required to incorporate these advanced features into existing workflows.

Overall, the Netsoul WebTrey - Giza OSINT Security Action project sets a strong foundation for future development and integration of AI-powered security solutions. It demonstrates the potential for leveraging advanced AI models and tools to enhance the security and reliability of decentralized protocols and applications.

Contributing

If you wish to contribute to this project, please fork the repository and submit a pull request.

Contact

For any inquiries, contributions, or further information, please reach out to:

webtrey's People

Contributors

jeytuan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.