Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Has anybody thought about modelling #activitypub with a tool like https://alloytools.org/book.htmlto find potential exploits?

Has anybody thought about modelling #activitypub with a tool like https://alloytools.org/book.htmlto find potential exploits?

Scheduled Pinned Locked Moved Uncategorized
activitypub
5 Posts 2 Posters 10 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • profpatsch@mastodon.xyzP This user is from outside of this forum
    profpatsch@mastodon.xyzP This user is from outside of this forum
    profpatsch@mastodon.xyz
    wrote last edited by
    #1

    Has anybody thought about modelling #activitypub with a tool like https://alloytools.org/book.html
    to find potential exploits? Thinking about the spec it’s missing any algorithms for authorization, but I already found a couple of edge-cases that make a server DoSssable or give an attacker the ability to spoof messages …

    ? 1 Reply Last reply
    1
    0
    • R relay@relay.an.exchange shared this topic
    • profpatsch@mastodon.xyzP profpatsch@mastodon.xyz

      Has anybody thought about modelling #activitypub with a tool like https://alloytools.org/book.html
      to find potential exploits? Thinking about the spec it’s missing any algorithms for authorization, but I already found a couple of edge-cases that make a server DoSssable or give an attacker the ability to spoof messages …

      ? Offline
      ? Offline
      Guest
      wrote last edited by
      #2

      @Profpatsch I don't know Alloy, but I tried to analyze how authorization should be done in ActivityPub. The result is this document:

      Link Preview Image
      FEP-fe34: Origin-based security model - Fediverse Enhancement Proposals

      Developing a comprehensive ActivityPub] security framework based on the concept of [web origin.

      favicon

      (fediverse.codeberg.page)

      profpatsch@mastodon.xyzP 1 Reply Last reply
      0
      • ? Guest

        @Profpatsch I don't know Alloy, but I tried to analyze how authorization should be done in ActivityPub. The result is this document:

        Link Preview Image
        FEP-fe34: Origin-based security model - Fediverse Enhancement Proposals

        Developing a comprehensive ActivityPub] security framework based on the concept of [web origin.

        favicon

        (fediverse.codeberg.page)

        profpatsch@mastodon.xyzP This user is from outside of this forum
        profpatsch@mastodon.xyzP This user is from outside of this forum
        profpatsch@mastodon.xyz
        wrote last edited by
        #3

        @silverpill does the http signature not contain the domain of the requesting server and if yes, can't it be used to compare origins after the signature check?

        ? 1 Reply Last reply
        1
        0
        • profpatsch@mastodon.xyzP profpatsch@mastodon.xyz

          @silverpill does the http signature not contain the domain of the requesting server and if yes, can't it be used to compare origins after the signature check?

          ? Offline
          ? Offline
          Guest
          wrote last edited by
          #4

          @Profpatsch Yes, the signature contains key ID, from which you can obtain actor ID and perform origin / ownership checks.

          profpatsch@mastodon.xyzP 1 Reply Last reply
          0
          • ? Guest

            @Profpatsch Yes, the signature contains key ID, from which you can obtain actor ID and perform origin / ownership checks.

            profpatsch@mastodon.xyzP This user is from outside of this forum
            profpatsch@mastodon.xyzP This user is from outside of this forum
            profpatsch@mastodon.xyz
            wrote last edited by
            #5

            @silverpill I mean ideally we already have a cache from the corresponding server key to its origin, so we don’t have to do a https resolution on every incoming message

            1 Reply Last reply
            1
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups