Repository navigation
Description
Summary
#1676 ("fix: simplify security skill instructions", merged 2026-10-23, first released in 0.7.0) rewrote the bundled deep-scan instructions. Among other changes, the baseline auditor prompt in references/core-scan.md no longer includes the earlier detailed vulnerability-class checklist:
- 0.1.28: "Check applicable SQL and NoSQL injection, cross-site scripting, missing authentication or authorization, broken access control and IDOR, path traversal, command or code injection, open redirects, SSRF, insecure deserialization, ... and resource exhaustion."
- 0.8.2: "investigate relevant vulnerability classes rather than relying on keyword matches", naming broad areas (authentication, authorization, parsing, execution, data exposure, resource or memory safety).
The same change removed the "Investigator Perspectives" section, which gave forward, backward and open-ended starting points. The focused investigator prompt now has one sentence on forward dataflow, backward tracing and authorization or state-transition analysis.
The simplification may well be the right call. Our concern is that changes like this may affect what a deep scan reports, and users had little signal that it happened:
- The 0.7.0 release notes list fix: simplify security skill instructions #1676 only as a one-line pull request entry. The highlights and upgrade notes do not mention a change to discovery instructions.
- The bundled plugin reports version 0.1.95 in both 0.1.28 and 0.8.2, so the plugin version cannot tell the two instruction sets apart.
We noticed the change after upgrading, and we now pass our own class checklist through --scan-prompt-file. Our internal runs before and after differed, but prompt content, effort, budget and completion were not controlled. We therefore cannot estimate the direction or size of any effect, and we are not reporting results.
Asks
- When a release changes discovery, validation or severity instructions, say so in the highlights or upgrade notes, naming the affected behaviour or finding categories, and the expected direction where it has been benchmarked.
- Give the bundled instructions their own version or digest, change it whenever they change, and record it in scan output, so results from different instruction sets can be told apart.
- Consider a maintained, optional detailed-checklist (compatibility) profile for deep scans, so users who want explicit class coverage do not each maintain their own prompt file.
- Consider optional per-class statuses in reports, linked to evidence (for example examined, not applicable or unresolved), and clearly described as non-exhaustive. That would make coverage gaps visible without implying assurance.
The versioned discovery benchmarks proposed in #763 would be a natural way to evaluate changes like #1676 across vulnerability categories.
Activity
mldangelo-oai commentedon Nov 2, 2026
We restored three parts of the discovery guidance on
mainin #2246. They apply to both Standard and Deep scans.Separately, #2245 restored a threat-model instruction for library APIs. It asks which protections the library enforces by default and which the caller must enable or implement.
We ran two matched Deep scans on the same synthetic cases, one with the previous instructions and one with the restored instructions. Both found the same two bugs. A statement download kept the file inside the selected directory but let the requester choose another tenant’s directory. An invoice report verified one signed grant but used a different grant’s tenant. Neither scan flagged a safe control. The original grader scored both reports 0/2 because it missed role labels in the code evidence. Regrading the same saved reports gave 2/2 for each, matching manual review. This pair showed no difference in recall and is too small to estimate a broader effect.
What remains open
The two regression cases add coverage for these specific behaviors. #763 remains open for the broader versioned discovery benchmark across vulnerability categories.
mldangelo-oai commentedon Nov 15, 2026
#2287 added the release-note guidance requested here. When bundled instructions change discovery, validation, or severity, the release guide asks for the affected modes and behaviors, plus the result and scope of any benchmark. The 0.8.3 highlight naming #2246 preceded that policy.
#2263 tracks the digest request. Two synthetic Standard scans differing by one newline in the bundled instructions sealed with the same plugin version on main. On the PR, each seal contained a distinct instruction digest that matched an independent hash. The recorded digest identifies the selected bundle. Caller prompts and settings need to be compared separately.
Two product decisions remain open:
The broader versioned discovery benchmark remains tracked in #763.