Git Product home page Git Product logo

xpoc-framework's Introduction

Cross-Platform Origin of Content (XPOC) Framework

This is a pre-release preview of the framework, currently at version 0.3 (see the changes history). The specification and sample implementations might change as we continue its development and receive feedback.

This project introduces the Cross-Platform Origin of Content (XPOC) framework, along with a sample implementation. See the project web page.

The aim of the XPOC framework is to allow a person or organization (content owner) to create a authoritative list of:

  1. the various accounts they control over hosting web platforms (such as YouTube, X/Twitter, Facebook, etc.), and
  2. the various pieces of content (videos, posts, etc.) they created or approved on these platforms.

Using this framework, content creators protect themselves against falsely attributed accounts or content, by providing signals that can be used by automated validation tools.

A content owner creates a XPOC manifest that contains references to the accounts they control and the content items they created, participated in, or authorized across various platforms, and hosts it on its well-known website. The owner then adds a XPOC URI referencing its own manifest to their platform account pages (bio or profile) and content items. Verifiers can validate the origin of an account or content item by inspecting the content owner's manifest (if known) or by using a XPOC URI, dereferencing it to retrieve the owner's manifest, and verifying that the account or content item is listed within it. For details, see the framework's specification and the FAQ. You can also participate in the project discussions to give feedback about the framework.

The repository contains sample implementations to create XPOC manifests and to verify XPOC content.

System overview

This section describes the life cycle for data protected using the Cross-Platform Origin of Content framework. The following diagram illustrates the example from the specification.

  1. A content owner (Alex Example) creates a XPOC manifest on their website (alexexample.com) listing the accounts they control and the content they've created or approved across different platforms (e.g., YouTube, Facebook, X/Twitter).

  2. The content owner adds a XPOC URI (xpoc://alexexample.com!) to each referenced content item (e.g., in the YouTube video description, in the Facebook post).

XPOC manifest

  1. A verifier can discover a content owner's associated accounts and content by inspecting their manifest.

XPOC discovery

  1. A verifier looking at the content item parses the XPOC URI, fetches the corresponding XPOC manifest, and verifies that the content item is indeed listed therein.

XPOC validation

The following technology overview video and demo video further illustrate the XPOC framework.

XPOC library

This project contains a reference implementation in the form of a TypeScript library that can be used to interact with XPOC artifacts. See the README for more details.

Sample implementations

The project contains the following sample implementations for the framework (refer to their respective README.md for details on how to use them):

  • A client-side HTML portal to create XPOC manifests and verify XPOC resources (README)
  • A backend server using the reference implementation library and a HTML frontend to create XPOC manifests and verify XPOC resources (README)
  • A Chrome/Edge browser extension to verify XPOC URIs (README)

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

To contribute a new platform implementation, follow the guidelines in the wiki.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

xpoc-framework's People

Contributors

christianpaquin avatar dependabot[bot] avatar ljoy913 avatar microsoft-github-operations[bot] avatar microsoftopensource avatar shreyjain13 avatar ssffnet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xpoc-framework's Issues

Update spec to v0.3

  • Better support platforms with no web-access (e.g., Line/Snapchat); make the account URL field optional
  • Add a lastupdated field

Add roles to manifest content items

Add a role property to describe the owner's relationship with accounts (e.g., owner, maintainer) and content (creator, participant, etc.)

Action required: migrate or opt-out of migration to GitHub inside Microsoft

Migrate non-Open Source or non-External Collaboration repositories to GitHub inside Microsoft

In order to protect and secure Microsoft, private or internal repositories in GitHub for Open Source which are not related to open source projects or require collaboration with 3rd parties (customer, partners, etc.) must be migrated to GitHub inside Microsoft a.k.a GitHub Enterprise Cloud with Enterprise Managed User (GHEC EMU).

Action

✍️ Please RSVP to opt-in or opt-out of the migration to GitHub inside Microsoft.

❗Only users with admin permission in the repository are allowed to respond. Failure to provide a response will result to your repository getting automatically archived.🔒

Instructions

Reply with a comment on this issue containing one of the following optin or optout command options below.

✅ Opt-in to migrate

@gimsvc optin --date <target_migration_date in mm-dd-yyyy format>

Example: @gimsvc optin --date 03-15-2023

OR

❌ Opt-out of migration

@gimsvc optout --reason <staging|collaboration|delete|other>

Example: @gimsvc optout --reason staging

Options:

  • staging : This repository will ship as Open Source or go public
  • collaboration : Used for external or 3rd party collaboration with customers, partners, suppliers, etc.
  • delete : This repository will be deleted because it is no longer needed.
  • other : Other reasons not specified

Need more help? 🖐️

Better report CORS errors in client-side samples

Sample client-side verifier and viewer pages will not work if fetching data from servers not configured to allow CORS. Errors reported to the user should surface this, and point to the server sample.

Extension validation results storage issue

In the browser extension, right-clicking and validating a XPOC URI will store a result in local storage indexed by the URI. When auto-scanning the page, however, the URI strings are all empty. Why is that?

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.