mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-05 03:08:19 +00:00
28 lines
1.6 KiB
Markdown
28 lines
1.6 KiB
Markdown
# Requirements Document
|
|||
|
|
|
||
|
|
## Project Description (Input)
|
||
|
|
**Who has the problem.** The maintainer, and after them a developer who pushes AI-written web application
|
||
|
|
code (Express/TypeScript, FastAPI/Python) and wants to be told about the access-control and path-traversal
|
||
|
|
bugs in a change before it ships.
|
||
|
|
|
||
|
|
**Current situation.** The driver, the model-driven hunter, is a DSPy program (`src/openultrasast/hunt/`).
|
||
|
|
It was measured in October 2026 on inputs that describe the shape of code and cannot decide unsafety. The
|
||
|
|
abstract interpretation the project has, the access-control prover's ordered trace and Joern's taint and
|
||
|
|
dominance results, is not connected to it: no module under `hunt/` imports `cpg`, and the trace is not among
|
||
|
|
the driver's inputs. The choices of the DSPy strategy (one call or a tool loop, how many samples, which
|
||
|
|
optimiser, which examples) were never settled by measurement.
|
||
|
|
|
||
|
|
**What should change.** The driver becomes the mapped-out core of the engine: it reads a change together
|
||
|
|
with what abstract interpretation establishes about it, is sampled several times and scored by agreement,
|
||
|
|
and is compiled on training repositories only. Every choice in that strategy is made by one experiment on
|
||
|
|
named examples, and a small example book lets the maintainer read, per example, what the driver was given,
|
||
|
|
what it answered and why it missed. Admission populations are never read by this work.
|
||
|
|
|
||
|
|
The map of the driving, the method, the ordered experiments E0 to E6 and the carried work D1 to D10 are in
|
||
|
|
`brief.md`.
|
||
|
|
|
||
|
|
## Requirements
|
||
|
|
<!-- Will be generated in /kiro-spec-requirements phase -->
|
||
|
|
|
||
|
|
|