Files
activitypub-security-poc/TABLE_OF_CONTENTS.md
2025-11-16 17:20:37 +01:00

6.8 KiB

ActivityPub Security PoC - Table of Contents

📖 Documentation Index

Getting Started

  1. README.md - Project overview, features, and installation
  2. QUICKSTART.md - Quick reference for common commands
  3. PROJECT_SUMMARY.md - Complete project summary and capabilities

Detailed Guides

  1. examples/USAGE.md - Comprehensive usage examples and workflows
  2. docs/SECURITY_TESTING.md - Security testing methodology and best practices
  3. docs/ARCHITECTURE.md - Technical architecture and design

📁 Source Code

Main Components

🧪 Examples & Tests

Sample Payloads

Test Scripts

🎯 Quick Navigation

I want to...

Learn about the project

→ Start with README.md
→ Read PROJECT_SUMMARY.md for complete overview

Get started quickly

→ Follow QUICKSTART.md
→ Run ./test.sh to see it in action

Understand how to use it

→ Read examples/USAGE.md
→ Try the example commands

Learn security testing

→ Read docs/SECURITY_TESTING.md
→ Review the test payloads in examples/

Understand the code

→ Read docs/ARCHITECTURE.md
→ Review source code in src/

Extend the toolkit

→ Read extension points in docs/ARCHITECTURE.md
→ Look at existing implementations in src/

📋 Common Tasks

Installation

cd activitypub-security-poc
npm install

See: README.md

Run Mock Server

npm run mock-server

See: QUICKSTART.md

Run Security Scan

node src/cli.js security-scan --target http://localhost:3000/users/alice/inbox

See: examples/USAGE.md

Test Inbox

node src/cli.js test-inbox --target URL --content "message"

See: QUICKSTART.md

Craft Activity

node src/cli.js craft --type Create --object Note --content "text"

See: examples/USAGE.md

🔍 Find Information About...

ActivityPub Protocol

Security Testing

Command-Line Usage

Mock Server

📚 Documentation by Audience

For Security Testers

  1. docs/SECURITY_TESTING.md - Testing methodology
  2. examples/USAGE.md - Practical examples
  3. QUICKSTART.md - Command reference

For Developers

  1. docs/ARCHITECTURE.md - Code architecture
  2. src/ - Source code
  3. README.md - Setup and usage

For Learners

  1. README.md - Overview
  2. PROJECT_SUMMARY.md - What it does
  3. examples/USAGE.md - How to use it
  4. docs/SECURITY_TESTING.md - Security concepts

🗂️ Complete File Structure

activitypub-security-poc/
├── README.md                          # Project overview
├── QUICKSTART.md                      # Quick reference
├── PROJECT_SUMMARY.md                 # Complete summary
├── TABLE_OF_CONTENTS.md              # This file
├── package.json                       # Dependencies
├── .gitignore                         # Git ignore rules
├── test.sh                            # Test script
│
├── src/                               # Source code
│   ├── cli.js                         # CLI interface
│   ├── activitypub-client.js          # AP client
│   ├── security-tester.js             # Security tests
│   └── mock-server.js                 # Mock server
│
├── docs/                              # Documentation
│   ├── ARCHITECTURE.md                # Technical docs
│   └── SECURITY_TESTING.md            # Testing guide
│
└── examples/                          # Examples & payloads
    ├── USAGE.md                       # Usage guide
    ├── create-note.json               # Sample Create
    ├── follow.json                    # Sample Follow
    ├── xss-payload.json               # XSS tests
    └── ssrf-payload.json              # SSRF tests

🚀 Getting Started Path

Complete Beginner:

  1. Read README.md
  2. Run npm install
  3. Run ./test.sh
  4. Read QUICKSTART.md
  5. Experiment with commands

Security Tester:

  1. Read README.md
  2. Read docs/SECURITY_TESTING.md
  3. Review examples/USAGE.md
  4. Start testing with mock server

Developer:

  1. Read README.md
  2. Read docs/ARCHITECTURE.md
  3. Review source code in src/
  4. Extend as needed

💡 Tips

  • Use --help with any command for detailed options
  • Start with mock server before testing real instances
  • Always get permission before testing third-party systems
  • Check the example payloads for testing ideas
  • Review mock server logs to see what it detects

📞 Support


Happy Testing! 🛡️