Skip to content

Navigation Menu

Sign in
Sign up
CIPRIAN STEFAN PLESCA edited this page Sep 2, 2026 · 2 revisions

Welcome to the professional wiki for TradeGuard Shield, a real-time API and browser extension for checking the legitimacy and risk level of trading websites.

🛡️ TradeGuard Shield Documentation

TradeGuard Shield is an automated threat intelligence API and browser extension designed to evaluate, verify, and score the legitimacy and risk level of online trading platforms in real time.


Architecture & Monorepo Structure

The project is structured as a high-performance TypeScript monorepo managed via pnpm:

  • apps/api: Fastify REST API serving risk assessment requests, report persistence, and browser extension endpoints.
  • packages/security: URL validation engine, SSRF protection filters, host sanitization, and security headers.
  • packages/logger: Structured JSON logging utility with automatic sensitive data redaction (redactSensitive).
  • packages/testing: Vitest test suites, fixtures, and execution harnesses.
  • services/collector: Service responsible for gathering OSINT, domain heuristics, and SSL/TLS validation metadata.
  • services/worker: Asynchronous task runner processing background risk updates.

Security & Hardening Standards

  • Input Validation: All target URLs pass through validatePublicHttpUrl() to block internal IPs, private TLDs, and non-HTTP protocols before analysis.
  • Automated CI/CD: Strict GitHub Actions workflows enforce TypeScript compilation, unit testing via Vitest, and dependency vulnerability auditing.
  • Dependency Monitoring: Dependabot rules automatically patch known CVE vulnerabilities across dependencies.

Developer Quickstart

  1. Clone and Install:
    git clone [https://github.com/Ciprian-LocalPulse/tradeguard-shield.git](https://github.com/Ciprian-LocalPulse/tradeguard-shield.git)
    cd tradeguard-shield
    pnpm install
    

Wiki Index

Mission

TradeGuard Shield helps users identify suspicious trading websites before they deposit money, submit identity documents, or connect wallets.

flowchart LR
 User[Retail trader] --> Browser[Browser Extension]
 Browser --> API[TradeGuard API]
 API --> Score[Explainable Risk Score]
 Score --> Badge[Green, Yellow, or Red Badge]
 Badge --> User
Loading

Repository

  • Author: Ciprian Ștefan Pleșca
  • License: MIT
  • Primary stack: TypeScript, Fastify, React, Manifest V3, Docker

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /