{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "ablation-tool-ablation--audit-source-repo-entry-points-and-sinks",
 "repo": "Ablation-Tool/ablation",
 "repo_url": "https://github.com/Ablation-Tool/ablation",
 "repo_slug": "ablation-tool-ablation",
 "title": "Map entry points and sinks in a source repository",
 "page_title": "How to map entry points and sinks in a source repository with Ablation",
 "summary": "Rank source files, map entry points, and trace risky sinks for a code audit.",
 "who": "An application security reviewer who has been asked to audit a source repository with limited review time.",
 "problem": "Deciding which files to read first and tracing paths from entry points to sinks takes hours of manual reading.",
 "outcome": "A ranked file list, a map of entry points and sinks, and a coverage record showing which files were reviewed.",
 "steps": [
  "Run `cd ~/ablation && claude` in the repo.",
  "Run `/model claude-sonnet-4-6` in the session.",
  "Ask the agent to run source code auditing on <repo path>, covering file profiling, entry point mapping, and sink tracing.",
  "Ask the agent to write the coverage accounting for the files it did and did not review."
 ],
 "agent_prompt": "Using the Ablation repo at ~/ablation, audit the source repository at <repo path>. Produce a ranked file list, a table of entry points and sinks, and a coverage summary of reviewed versus unreviewed files. Verify that every listed sink has a traced path from an entry point, or is marked as untraced.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README lists source auditing as a supported capability, so treat its output as a prioritized review guide rather than a complete audit.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "python",
 "requirements": [
  "A local clone of the Ablation repository at ~/ablation, as the README's launch step assumes",
  "Claude Code or Codex installed and signed in with model access",
  "A binary, firmware image, or source repository you are authorized to analyze",
  "Familiarity with reverse engineering concepts such as ELF, callgraphs, and taint tracking"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ablation-tool-ablation/audit-source-repo-entry-points-and-sinks/",
 "md": "https://dedupedai.com/use-cases/ablation-tool-ablation/audit-source-repo-entry-points-and-sinks/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/ablation-tool-ablation--audit-source-repo-entry-points-and-sinks.json",
 "api_version": "v1"
}
