mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 08:06:47 +00:00
23 lines
1.4 KiB
Markdown
23 lines
1.4 KiB
Markdown
## Inputs
|
|
- `.security-review/commits.txt` — commits since the last scan
|
|
- `.security-review/diffstat.txt`, `.security-review/diff.patch` — the change set (generated code, translations, package-lock.json and Podfile.lock excluded)
|
|
- `.security-review/findings.json` — scanner findings, error/warning only (gitleaks, trivy, osv, semgrep, mobsfscan)
|
|
- The full repository, for context around changed code
|
|
|
|
## Tasks
|
|
A. Review `diff.patch`. For each changed hunk touching a category above, read the surrounding code and decide if it adds or keeps a real, exploitable issue. Ignore style. A pubspec.lock change to a git dependency's resolved-ref (sanitize_html, html-editor-enhanced forks) moves the HTML sanitizing boundary: name the ref change and what it touches.
|
|
B. Triage the entries in `findings.json` (max 40, highest severity first). For each: TRUE POSITIVE or FALSE POSITIVE, with a one-line reason based on the code you read.
|
|
|
|
## Output (markdown only, nothing else)
|
|
### New issues in this change set
|
|
| Severity | Category | file:line | Issue | Fix direction |
|
|
Print the table header first, then print each row the moment you confirm the issue; never hold rows back for a final answer.
|
|
If you confirm nothing, print "None found." under the header.
|
|
|
|
### Scanner triage
|
|
| Tool | Rule | file:line | Verdict | Reason |
|
|
Print each row as soon as you decide it.
|
|
|
|
### Notes
|
|
- Max 5 bullets: anything you could not verify.
|