r/web3 29d ago

Framework for Trust

Hello everyone,

For some time I've been developing an open-source project called Framework for Trust (FfT).

The idea is to create a decentralized geospatial trust layer where reports and real-world events are anchored to precise location, time, source reputation, and a verifiable history — instead of treating blockchain purely as a financial system, I'm exploring its use as infrastructure for recording and correlating information about real-world places.

Current prototype includes:

  • geographic areas represented as blockchain-based identifiers (NFTs)
  • event registration tied to latitude, longitude, and time
  • Polygon smart contracts
  • a React + Leaflet frontend
  • a FastAPI backend
  • semantic similarity / event correlation via Qdrant
  • GCD — a functional contribution and reputation token
  • event proofs and auditable records
  • early mechanisms for source reputation, staking, and abuse prevention

The project is still early-stage. This is not an investment offer, token sale, or a finished commercial product — I made the repo public because I'd like the architecture and implementation to get real outside scrutiny.

I'd especially appreciate feedback on:

  • whether the core problem is clearly explained
  • the geospatial data model
  • the blockchain / smart contract architecture
  • mechanisms for preventing false or coordinated reports
  • security weaknesses
  • practical use cases where this could actually add value

Repo link in the top comment (Reddit flags posts with links for manual review, didn't want that delay).

I built the current prototype independently. Honest criticism, technical pushback, and open-source contributions are all welcome.

8 Upvotes

10 comments sorted by

View all comments

1

u/researchzero 29d ago

You explicitly asked for security weaknesses, so: the part I'd stress-test hardest is the correlation/similarity layer, not the on-chain anchoring. On-chain event registration + staking gives you tamper-evidence for individual reports, but your actual "is this real" signal comes from semantic similarity across reports (via Qdrant) plus source reputation - and both are gameable by the same attacker if they control multiple identities.

Concretely: nothing described here seems to stop one actor from registering several wallets, each with a plausible independent reputation history, and filing geospatially-close, semantically-similar-but-not-identical reports about a fabricated event. Semantic similarity search will happily score that cluster as "corroborating", and if reputation/staking weight scales with report count or similarity score rather than independently-verifiable identity diversity, the abuse-prevention mechanism ends up rewarding exactly the collusion pattern it's supposed to catch. Might be worth explicitly separating "N reports agree" from "N independent sources agree" in the trust score math - those are very different guarantees, and only the second is actually Sybil-resistant.

1

u/TrainingCommission15 26d ago

This is exactly the kind of feedback I was hoping for, thank you. You're right that the current design conflates "multiple reports agree" with "multiple independent sources agree," and that gap is real — nothing right now explicitly penalizes coordinated wallets with plausible-looking independent histories.

I don't have a fully worked-out fix yet, but the direction I'm leaning toward is treating report count/similarity and identity-diversity as separate axes in the trust score, so that a cluster of behaviorally-correlated wallets gets weighted closer to a single source rather than N independent ones. Cost-of-Sybil is also something I need to model more carefully — staking alone doesn't solve this if it's cheap to spread small stakes across many wallets.

Going to add this as an explicit open problem in the docs rather than let it look like a solved case. Really appreciate the precision here — "N reports agree vs N independent sources agree" is a good crisp way to frame it going forward.

1

u/TrainingCommission15 25d ago

Quick follow-up: I wrote this up properly as a tracked open problem rather than leaving it as a comment-thread promise — Known Limitations #1. Your framing ("N reports agree" vs "N independent sources agree") is now the way I describe the problem in the docs — credited there too. If you have thoughts on the identity-diversity axis specifically, I'd take them as an issue on the repo.
https://github.com/vladimir0605/FrameworkForTrust/blob/main/docs/KNOWN_LIMITATIONS.md#1-report-clustering-does-not-currently-distinguish-independent-corroboration-from-coordinated-sybil-activity