{"id":18470463,"url":"https://github.com/ds2-lab/aca-dlis","last_synced_at":"2025-09-04T04:20:24.805Z","repository":{"id":211817840,"uuid":"729941290","full_name":"ds2-lab/aca-dlis","owner":"ds2-lab","description":"Algorithmic complexity attacks for dynamic learned indexes (VLDB'24)","archived":false,"fork":false,"pushed_at":"2023-12-11T02:30:42.000Z","size":954,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-16T01:49:15.567Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ds2-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-12-10T20:18:12.000Z","updated_at":"2024-06-08T21:01:40.000Z","dependencies_parsed_at":"2023-12-11T03:38:34.526Z","dependency_job_id":null,"html_url":"https://github.com/ds2-lab/aca-dlis","commit_stats":null,"previous_names":["ds2-lab/aca-dlis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ds2-lab/aca-dlis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ds2-lab%2Faca-dlis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ds2-lab%2Faca-dlis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ds2-lab%2Faca-dlis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ds2-lab%2Faca-dlis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ds2-lab","download_url":"https://codeload.github.com/ds2-lab/aca-dlis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ds2-lab%2Faca-dlis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273549661,"owners_count":25125343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T10:14:04.414Z","updated_at":"2025-09-04T04:20:24.783Z","avatar_url":"https://github.com/ds2-lab.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 1. Introduction\n\nThis repository contains the source code of our space ACA on data nodes, space ACA on internal nodes and time ACAs.\n\n# 2. Contents\n\n- Space ACA on data nodes\n  - [MCK implementation](https://github.com/ruiyang00/aca_dlis_review/blob/master/attack/attack.h): This file contains main logic of the attack (MCK implementation)\n  - [Source code](https://github.com/ruiyang00/aca_dlis_review/blob/master/src/benchmark/space_aca_dn.cpp)\n    - White-box: setting=1\n    - Gray-box: setting=2\n      - python [script](https://github.com/ruiyang00/aca_dlis_review/blob/master/scripts/populate_graybox_dataset.py) to generate dataset to \n constrcut a \"substitude\" tree (described in paper).\n  - Scripts to regenerate the result in Figure 2\n    - [White-box](https://github.com/ruiyang00/aca_dlis_review/blob/master/scripts/run_space_aca_dn_whitebox.sh)\n    - [Gray-box](https://github.com/ruiyang00/aca_dlis_review/blob/master/scripts/run_space_aca_dn_graybox.sh)\n- Space ACA on internal nodes\n  - Source code\n    - [Our attack](https://github.com/ruiyang00/aca_dlis_review/tree/master/src/benchmark/space_aca_in.cpp)\n    - [SZEGP Attack](https://github.com/ruiyang00/aca_dlis_review/tree/master/src/benchmark/lis.cpp)\n  - Script to regenerate the result in Table 2\n    - [Black-box](https://github.com/ruiyang00/aca_dlis_review/tree/master/scripts/run_space_aca_in_blackbox.sh) \n- Time ACA on ALEX\n  - Source code\n    - [White-box](https://github.com/ruiyang00/aca_dlis_review/tree/master/src/benchmark/time_aca_whitebox.cpp)\n    - [Gray-box](https://github.com/ruiyang00/aca_dlis_review/tree/master/src/benchmark/time_aca_graybox.cpp)\n      - python [script](https://github.com/ruiyang00/aca_dlis_review/blob/master/scripts/populate_graybox_dataset.py) to generate dataset to constrcut a \"substitude\" tree. \n    - [Black-box](https://github.com/ruiyang00/aca_dlis_review/tree/master/src/benchmark/time_aca_blackbox.cpp)\n  - Scripts to regenerate the results in Figure 5 ( Note: Before mounting any time ACA attacks to modified ALEX (forcing catastrohpic expansion instead of catastrohpic split) or vanilla ALEX, we need to comment/uncomment line 1316 to 1321 in [alex.h](https://github.com/ruiyang00/aca_dlis_review/blob/master/src/core/alex.h), as described in paper)\n    - [White-box](https://github.com/ruiyang00/aca_dlis_review/tree/master/scripts/run_time_aca_whitebox.sh)\n    - [Gray-box](https://github.com/ruiyang00/aca_dlis_review/tree/master/scripts/run_time_aca_graybox.sh)\n    - [Black-box](https://github.com/ruiyang00/aca_dlis_review/tree/master/scripts/run_time_aca_blackbox.sh)\n    - [Legitmate workload](https://github.com/ruiyang00/aca_dlis_review/tree/master/scripts/run_time_aca_legit.sh)\n\n- [ALEX](https://github.com/ruiyang00/aca_dlis_review/tree/master/src/core): ALEX's source code.\n\n# 3. Dependencies for Attacks\n- Space ACA on data nodes: [OR-Tools](https://github.com/google/or-tools) and [KDE](https://scikit-learn.org/stable/install.html)\n- Space ACA on internal nodes: No dependencies\n- Time ACA on ALEX: [KDE](https://scikit-learn.org/stable/install.html)\n\n# 4. Datasets\nDatasets (Longitudes, Longlat, Lognormal, YCSB) used in this paper could be found in [ALEX](https://github.com/microsoft/ALEX) repo.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fds2-lab%2Faca-dlis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fds2-lab%2Faca-dlis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fds2-lab%2Faca-dlis/lists"}