{
  "id": "2025/499",
  "url": "https://opencryptology.org/2025/499",
  "original_url": "https://eprint.iacr.org/2025/499",
  "title": "SCAPEgoat: Side-channel Analysis Library",
  "authors": [
    "Dev Mehta",
    "Trey Marcantino",
    "Mohammad Hashemi",
    "Sam Karkache",
    "Dillibabu Shanmugam",
    "Patrick Schaumont",
    "Fatemeh Ganji"
  ],
  "affiliations": null,
  "abstract": "Side-channel analysis (SCA) is a growing field in\nhardware security where adversaries extract secret information\nfrom embedded devices by measuring physical observables like\npower consumption and electromagnetic emanation. SCA is a\nsecurity assessment method used by governmental labs, standardization\nbodies, and researchers, where testing is not just\nlimited to standardized cryptographic circuits, but it is expanded\nto AI accelerators, Post Quantum circuits, systems, etc. Despite\nits importance, SCA is performed on an ad hoc basis in the\nsense that its flow is not systematically optimized and unified\namong labs. As a result, the current solutions do not account\nfor fair comparisons between analyses. Furthermore, neglecting\nthe need for interoperability between datasets and SCA metric\ncomputation increases students’ barriers to entry. To address\nthis, we introduce SCAPEgoat, a Python-based SCA library\nwith three key modules devoted to defining file format, capturing\ninterfaces, and metric calculation. The custom file framework\norganizes side-channel traces using JSON for metadata, offering\na hierarchical structure similar to HDF5 commonly applied in\nSCA, but more flexible and human-readable. The metadata can\nbe queried with regular expressions, a feature unavailable in\nHDF5. Secondly, we incorporate memory-efficient SCA metric\ncomputations, which allow using our functions on resource-restricted\nmachines. This is accomplished by partitioning datasets\nand leveraging statistics-based optimizations on the metrics. In\ndoing so, SCAPEgoat makes the SCA more accessible to newcomers\nso that they can learn techniques and conduct experiments\nfaster and with the possibility to expand on in the future.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“SCAPEgoat: Side-channel Analysis Library” by Dev Mehta, Trey Marcantino, Mohammad Hashemi, Sam Karkache, Dillibabu Shanmugam, Patrick Schaumont, Fatemeh Ganji, Cryptology ePrint Archive, Paper 2025/499, https://eprint.iacr.org/2025/499. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-03-16T17:43:10Z",
    "updated": "2025-03-16T17:43:10Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/499.pdf",
    "sha256": "665d21aa3497e02fa04f8b39bb9ab4cfc945556a56afcee1eb13a02c09286b4a",
    "size": 787667,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/499/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/499.pdf",
      "size": 787667,
      "sha256": "665d21aa3497e02fa04f8b39bb9ab4cfc945556a56afcee1eb13a02c09286b4a",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/499.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 787667
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250615204422id_/https://eprint.iacr.org/2025/499.pdf",
      "captured_at": "2025-06-15T20:44:22Z",
      "size": 679784
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/499,\n      author = {Dev Mehta and Trey Marcantino and Mohammad Hashemi and Sam Karkache and Dillibabu Shanmugam and Patrick Schaumont and Fatemeh Ganji},\n      title = {SCAPEgoat: Side-channel Analysis Library},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/499},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/499}\n}"
}
