{
  "id": "sekaictf-2025-law-and-order",
  "title": "Challenge archive: SekaiCTF 2025 - Law and Order",
  "challenge_name": "Law and Order",
  "year": 2025,
  "category": "Cryptography",
  "authors": [
    "deuterium"
  ],
  "mode": "interactive",
  "event": {
    "id": "sekaictf-2025",
    "series": "SekaiCTF",
    "label": "2025",
    "starts_at": "2025-08-16T01:00:00+00:00",
    "date_source": "https://ctftime.org/event/2683",
    "year": 2025
  },
  "article_url": "https://deut-erium.github.io/challenges/sekaictf-2025/law-and-order/",
  "article_path": "/challenges/sekaictf-2025/law-and-order/",
  "text_url": "https://deut-erium.github.io/challenges/sekaictf-2025/law-and-order/challenge.txt",
  "text_path": "/challenges/sekaictf-2025/law-and-order/challenge.txt",
  "json_url": "https://deut-erium.github.io/challenges/sekaictf-2025/law-and-order/challenge.json",
  "json_path": "/challenges/sekaictf-2025/law-and-order/challenge.json",
  "statement": {
    "label": "Description excerpt",
    "text": "My friends were the FROST to implement sharing signatures for flag and ensured to always include me but somehow it's still not working?"
  },
  "notes": [
    "The organizers report that the released handout was an incorrect version. The archived server source and solution are for the corrected version; they do not match the released handout.",
    "The original remote service is retired. Browser practice offers corrected (default) and released variants with a public dummy reward.",
    "The original remote service is retired. Browser practice runs locally with the public dummy reward practice{local_dummy_reward}, not an event flag or authoritative score. No TCP endpoint is provided."
  ],
  "files": [
    {
      "name": "released-chall.py",
      "label": "chall.py (released handout, incorrect version)",
      "kind": "handout",
      "url": "https://deut-erium.github.io/assets/challenges/sekaictf-2025-law-and-order/released-chall.py",
      "path": "/assets/challenges/sekaictf-2025-law-and-order/released-chall.py",
      "bytes": 9209,
      "sha256": "76f203c72a553a10ee134c0b03094e9b0ab6a709d0f4c0bc2ec55ea25fcd13f2",
      "upstream_url": "https://raw.githubusercontent.com/project-sekai-ctf/sekaictf-2025/683dd81ae520581add40ec21c4819866e28cbde4/crypto/law-and-order/dist/chall.py"
    },
    {
      "name": "corrected-chall.py",
      "label": "chall.py (corrected server source)",
      "kind": "server-source",
      "url": "https://deut-erium.github.io/assets/challenges/sekaictf-2025-law-and-order/corrected-chall.py",
      "path": "/assets/challenges/sekaictf-2025-law-and-order/corrected-chall.py",
      "bytes": 9407,
      "sha256": "2bdeeeaf9326a11a26e56bb6a35ffb25907385d649c426492e2e6645ccf19b37",
      "upstream_url": "https://raw.githubusercontent.com/project-sekai-ctf/sekaictf-2025/683dd81ae520581add40ec21c4819866e28cbde4/crypto/law-and-order/challenge/app/chall.py"
    }
  ],
  "spoilers": {
    "warning": "Spoilers: organizer files and upstream source, archive, or solution links may reveal answers. Modified downloads are identified below.",
    "files": [

    ],
    "source_url": "https://github.com/project-sekai-ctf/sekaictf-2025/blob/683dd81ae520581add40ec21c4819866e28cbde4/crypto/law-and-order/README.md",
    "archive_url": "https://github.com/project-sekai-ctf/sekaictf-2025/tree/683dd81ae520581add40ec21c4819866e28cbde4/crypto/law-and-order",
    "solution_url": "https://github.com/project-sekai-ctf/sekaictf-2025/tree/683dd81ae520581add40ec21c4819866e28cbde4/crypto/law-and-order/solution"
  },
  "licenses": [
    {
      "url": "https://deut-erium.github.io/assets/challenges/licenses/AGPL-3.0.txt",
      "path": "/assets/challenges/licenses/AGPL-3.0.txt",
      "name": "AGPL-3.0",
      "bytes": 34523,
      "sha256": "8486a10c4393cee1c25392769ddd3b2d6c242d6ec7928e1414efff7dfb2f07ef",
      "upstream_url": "https://raw.githubusercontent.com/project-sekai-ctf/sekaictf-2022/383b16da68c438c5d516e6f00b2716210141f7a4/LICENSE"
    },
    {
      "url": "https://deut-erium.github.io/assets/challenges/licenses/CC-BY-NC-SA-4.0.txt",
      "path": "/assets/challenges/licenses/CC-BY-NC-SA-4.0.txt",
      "name": "CC BY-NC-SA 4.0",
      "bytes": 19119,
      "sha256": "14d2138e3a8bd9448254f171b8e17130bf7104d2fd843ab0b924bd105fd00d5a",
      "upstream_url": "https://raw.githubusercontent.com/project-sekai-ctf/sekaictf-2022/383b16da68c438c5d516e6f00b2716210141f7a4/LICENSE.content.md"
    }
  ],
  "browser_practice": {
    "runtime": "law-and-order",
    "variants": [
      "corrected",
      "released"
    ],
    "launch_url": "https://deut-erium.github.io/challenges/sekaictf-2025/law-and-order/#browser-practice",
    "launch_path": "/challenges/sekaictf-2025/law-and-order/#browser-practice"
  }
}
