{"id":46062142,"url":"https://github.com/vusec/phantom-trails","last_synced_at":"2026-03-01T11:35:15.532Z","repository":{"id":274903533,"uuid":"600541493","full_name":"vusec/phantom-trails","owner":"vusec","description":"Fuzzing processor simulations with taint tracking.","archived":false,"fork":false,"pushed_at":"2025-08-24T19:39:15.000Z","size":106,"stargazers_count":12,"open_issues_count":3,"forks_count":0,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-08-24T23:27:05.814Z","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/vusec.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-11T20:09:17.000Z","updated_at":"2025-08-24T19:39:19.000Z","dependencies_parsed_at":"2025-03-09T00:18:20.393Z","dependency_job_id":"4094ac15-0bb6-483b-8934-4e025232f8b6","html_url":"https://github.com/vusec/phantom-trails","commit_stats":null,"previous_names":["vusec/phantom-trails"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/vusec/phantom-trails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vusec%2Fphantom-trails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vusec%2Fphantom-trails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vusec%2Fphantom-trails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vusec%2Fphantom-trails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vusec","download_url":"https://codeload.github.com/vusec/phantom-trails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vusec%2Fphantom-trails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29968572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T10:55:55.490Z","status":"ssl_error","status_checked_at":"2026-03-01T10:55:55.175Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-03-01T11:35:14.867Z","updated_at":"2026-03-01T11:35:15.523Z","avatar_url":"https://github.com/vusec.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phantom Trails\n\nFuzzing processor simulations with (software) taint tracking.\n\nMore information in the [paper](https://download.vusec.net/papers/phantom-trails_sec25.pdf) (USENIX Security '25).\n\n## Quick Start\n\nFirst, clone the repository and all its submodules.\n\n```sh\ngit clone git@github.com:vusec/phantom-trails.git\ncd phantom-trails\ngit submodule update --init --recursive\n```\n\nNext, build the container (takes ~40min on a 48 cores/128GB RAM machine)\nand start a `fish` shell inside it:\n\n```sh\ncd BOOM\n./start.py shell\n```\n\n\u003e Note: this is equivalent to the `start.sh` script mentioned in the paper's\n\u003e Artifact Appendix.\n\n## Evaluation and Usage\n\nTo run fuzzing campaigns and reproduce the results reported in our paper, you can check the [evaluation doc page](docs/eval.md).\n\nFor more advanced usage of the tool, you can check the [dedicated doc page](docs/usage.md).\n\n## Troubleshooting\n\n\u003cdetails\u003e\n\n\u003csummary\u003e\nMemorySanitizer can not mmap the shadow memory\n\u003c/summary\u003e\n\nIf you get a runtime error like:\n\n```\nFATAL: Code XXXX is out of application range. Non-PIE build?\nFATAL: MemorySanitizer can not mmap the shadow memory.\n[...]\n```\nThis is caused by a known [MSAN issue with ASLR](https://github.com/google/sanitizers/issues/1614), which should be fixed by our implementation. If this still happens on your machine, you can either:\n  1) reduce `vm.mmap_rnd_bits` (e.g. `sudo sysctl vm.mmap_rnd_bits=28` instead of `32`)\n  2) or disable ASLR completely (e.g. `echo 0 | sudo tee /proc/sys/kernel/randomize_va_space`)\n\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n\n\u003csummary\u003e\nRISCV toolchain is not found inside of the container\n\u003c/summary\u003e\n\nIf you get errors like this:\n\n```\n*** RISCV is unset. Did you source the Chipyard auto-generated env file?\n```\n\nYou need to make sure `/chipyard/env.sh` is sourced (from a bash shell).\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\n\u003csummary\u003e\nDocker build exits prematurely\n\u003c/summary\u003e\n\nIt is highly likely that building LLVM saturated the available memory. Try reducing the number of building and linking jobs: replace `nproc` in `BOOM/start.sh` with a lower number.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\n\u003csummary\u003e\nHow do I kill the fuzzer?\n\u003c/summary\u003e\n\nWhen running inside of the TUI, Ctrl^C might not work. You can kill the fuzzer with `killall sim-fuzzer \u0026\u0026 killall run-FuzzConfig`\n\u003c/details\u003e\n\n## Repo Structure\n\n```sh\n.\n├── AFL      # Our AFL++ fork with coverage metrics.\n├── ArchSim/ # Spike (ISA simulator) + wrapper.\n├── BOOM/    # Our target.\n│   ├── boom-wrapper/  # C++ harness, init code, ...\n│   ├── results/       # Fuzzing results are saved here.\n│   ├── scripts/       # Contains `phantom-trails` script.\n│   ├── shared/        # Shared with the container.\n│   └── start.py       # Entrypoint script\n├── docs     # Documentation.\n├── Fuzzer   # libAFL fuzzer.\n├── llvm     # Our LLVM fork with BFSAN.\n└── Samples  # PoCs and Spectre-LP docs.\n\n```\n\nMore details can be found in the [components doc page](docs/components.md).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvusec%2Fphantom-trails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvusec%2Fphantom-trails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvusec%2Fphantom-trails/lists"}