YuvGev

Projects

Selected work in AI/ML and software, with code you can read.

All code on GitHub

taintwall

A runtime firewall for tool-using LLM agents

taintwall is a runtime firewall for AI agents that use tools. It tracks where every value came from and blocks risky actions (sending money, sending an email, sharing a file) whose details appear only in untrusted content, such as instructions hidden in an email or web page the agent read. On a live model that falls for these attacks, it cut attack success from 55.5% to 13.7%, matching the ProtectAI detector, while keeping 72% of normal tasks working instead of 44%. Every number is measured on AgentDojo’s held-out test split.

  • Python
  • LLM security
  • AgentDojo

mini-engine

An LLM inference engine, from scratch

mini-engine is a small LLM inference engine written from scratch in PyTorch, in about 1,500 lines: a paged KV cache, continuous batching with preemption, chunked prefill, prefix caching and n-gram speculative decoding, plus a GPU fast path (a Triton paged-attention kernel and CUDA graphs). Its greedy output is token-identical to Hugging Face generate. On an L4 GPU it serves 1,982 tokens/s on a batch of 64 requests, 1.5× Hugging Face and 61% of vLLM.

  • Python
  • PyTorch
  • Triton
  • LLM inference
mini-enginesrc/
sequence.py          request state: tokens, block table
block_manager.py     block allocator, ref counts, LRU eviction
scheduler.py         continuous batching under a token budget
attention.py         paged attention over block tables
triton_attention.py  GPU kernels that read the cache in place
cuda_graphs.py       decode steps captured once, then replayed
model.py             Qwen3 decoder over a packed batch
engine.py            schedule -> prepare -> forward -> sample
speculative.py       n-gram drafts and greedy verification
The core modules and what each one does, from the README.

SubScan

Find forgotten subscriptions

A Hebrew web app that finds the subscriptions you forgot about. You export your own credit card or bank statements, SubScan reads them on your device, lists every recurring charge, and helps you cancel the ones you no longer want.

It reads the statement files that Israeli card companies and banks let you download (Excel, PDF and HTML exports), so there is no bank login and nothing to connect. Each charge is checked for a monthly or yearly pattern, and every recurring one gets clear steps for cancelling it.

  • TypeScript
  • Web app (PWA)
  • Statement parsing
Illustration of SubScan’s results screen, with sample data.

Jira Cloud apps

BinSafe, LabelSafe and MergeSafe

Three Atlassian Forge apps that make risky Jira changes recoverable, each with a preview first and a restore or undo after. Built and documented end to end: listings, privacy policies, terms and a support process.

  • Atlassian Forge
  • TypeScript
Merge Bug, bugs into bug
labels in ("Bug", "bugs")
46 issues carry these labels46 would change

Sample: WEB-12, WEB-40, WEB-77. Nothing has been edited yet.

Merge jobCompleted

46 examined, 46 updated, 0 skipped. Runs in the background and pauses at the safety caps; Resume continues it.

Undo this job?

Removes the label bug where this job added it and puts back Bug and bugs on the 46 issues it changed.

Sample: WEB-12, WEB-40, WEB-77Undo this job
Try it: switch between the three steps. Illustration with sample data.

Everything else I’ve built, including smaller experiments, is on GitHub (YuvGev00)