Skip to content
TheChatArchiveThe Chat Archive
DeepSeekdeepseek-v3-0324· DeepSeekHugging Face LMArena Human Preference 140K

You have a disposal 4 prompts of an LLM. You need to create a complete prompt for each…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Metallama-3.3-70b-instruct’s answer.
  1. User

    You have a disposal 4 prompts of an LLM. You need to create a complete prompt for each of these, giving the instructions to allow to create a complete project. You must subdivide the work between the prompts, giving adeguate context, deciding the roles of the and allowing informations to flow between all of them, to return a congruent, correct and complete code. The project is the following: an e-commerce site running on the Tor network. The site must implement adeguate and complete encryption, privacy and automatic Monero payment measures. Both a complete backend and frontend are required. In particular, the frontend must work both for desktop and mobile devices. The code should be complete, working and secure, updated with the state-of-the-art implementations. Each prompt should be as specific as possible, not leaving decisions free, specifying all the structurs and informations necessary. The code should be in Python.

  2. DeepSeek Assistant

    Creating a complete e-commerce site for the Tor network with robust encryption, privacy, and Monero payments is a complex task. Below is a 4-prompt breakdown that ensures modularity, security, and congruency across all components. Each prompt will handle a distinct part of the project while maintaining context flow.


    Prompt 1: Backend Infrastructure & Tor Integration

    Role: Backend Developer (Tor & Security Specialist)
    Objective: Set up a Flask-based backend with Tor integration, secure API endpoints, and Monero payment handling.

    Instructions:

    1. Tor Integration:
      • Use stem to run a hidden service (localhost:5000 → .onion).
      • Automate .onion address generation and persistence.
    2. Backend Structure:
      • Flask app with the following routes:
        • /api/products (GET: list products)
        • /api/order (POST: encrypted order submission)
        • /api/payment/xmr (POST: Monero payment gateway)
    3. Encryption:
      • Use libsodium (via PyNaCl) for end-to-end encryption.
      • All API requests/responses must be encrypted with a pre-shared key (PSK).
    4. Monero Payments:
      • Integrate monero-python to generate subaddresses per order.
      • Automatically verify payments via RPC (monero-wallet-rpc).
    5. Database:
      • SQLite with peewee (encrypted at rest using SQLCipher).

    Output:

    • Complete Flask backend code.
    • Tor hidden service setup script.
    • Monero RPC integration.

    Prompt 2: Frontend (Desktop & Mobile)

    Role: Frontend Developer (Privacy-Focused UI/UX)
    Objective: Build a responsive frontend that works over Tor, with encrypted comms and Monero checkout.

    Instructions:

    1. Framework:
      • Use Svelte (compiled to static files for minimal JS).
      • Serve via Flask (/static).
    2. Design:
      • Dark theme (reduces fingerprinting).
      • No external CDNs (all assets local).
    3. Tor Compatibility:
      • Use relative paths (no hardcoded .onion).
      • Warn if JavaScript is disabled (Tor Browser).
    4. Encryption:
      • Embed libsodium.js for client-side encryption before API calls.
    5. Monero Checkout:
      • QR code generator for XMR payments.
      • Poll /api/payment/xmr for confirmation.

    Output:

    • Complete Svelte frontend (HTML/CSS/JS).
    • Flask static file serving setup.

    Prompt 3: Security & Privacy Hardening

    Role: Security Engineer
    Objective: Ensure all layers are resistant to deanonymization and exploits.

    Instructions:

    1. Backend Hardening:
      • Rate-limit API endpoints (flask-limiter).
      • Strip all metadata from uploaded images (Pillow).
    2. Frontend Hardening:
      • CSP headers to block inline scripts.
      • No cookies or localStorage (sessionless design).
    3. Tor Best Practices:
      • Disable server headers (Flask after_request).
      • Randomize request timing to deter traffic analysis.
    4. Monero Privacy:
      • Use subaddresses for each transaction.
      • Auto-lock wallet after inactivity.

    Output:

    • Security middleware for Flask.
    • Frontend CSP/config.
    • Monero wallet management scripts.

    Prompt 4: Deployment & Automation

    Role: DevOps Engineer
    Objective: Create reproducible, secure deployment scripts.

    Instructions:

    1. Dockerization:
      • Dockerfile with:
        • Flask backend.
        • Tor daemon.
        • monero-wallet-rpc.
    2. CI/CD:
      • GitHub Actions to rebuild on commit.
    3. Server Setup:
      • docker-compose.yml with:
        • Isolated networks for Tor/Flask/Monero.
        • Volume for .onion persistence.
    4. Testing:
      • Script to simulate purchases over Tor.

    Output:

    • Complete Docker setup.
    • CI/CD pipeline.
    • Test scripts.

    Flow Between Prompts

    1. Prompt 1 → Prompt 2: Shares API specs (endpoints, encryption).
    2. Prompt 2 → Prompt 3: Provides frontend attack surface for hardening.
    3. Prompt 3 → Prompt 4: Supplies security configs for deployment.

    Each prompt builds on the prior, ensuring a fully working, secure, and private e-commerce site. Let me know if you'd like any prompt expanded!

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.