Skip to content

Publish fresh two-trial local adversarial evaluation evidence - #152

Merged
vsn411 merged 3 commits into
secfoo-com:mainfrom
oliarmak-web:feat/fresh-adversarial-measurements-150
Nov 20, 2026
Merged

vsn411 merged 3 commits into
secfoo-com:mainfrom
oliarmak-web:feat/fresh-adversarial-measurements-150

Conversation

@oliarmak-web

Copy link
Copy Markdown
Contributor

Closes #150

Adds fresh local API measurements on merged main 48c324e and the revised eight-pair corpus: two trials per case (32 reviews), Qwen3 4B Instruct through cloud-disabled loopback Ollama. Full model digest, settings, corpus/source identity, scrubbed reports and per-trial summaries are committed. REFERENCE.md leads with these current-corpus results; November 16 evidence stays historical.

Outcome: 2/32 scorable; statuses {"failed": 30, "success": 2}. Failed/malformed reports are not safety passes. No baseline comparison, CLI evidence, general safety claim or statistical improvement is asserted. A qualitative code-comment attack/control contrast is documented for further investigation. No paid model calls or billable workflows were dispatched.

Validation: focused replay/evaluator/privacy tests and changed-test Ruff passed; full-suite details are in the evidence validation artifact. The known macOS sensor lifecycle failure may remain. CI replays evidence through assertion-bearing tests without inference. Remote CI pending.

AI assistance: OpenAI Codex collected, inspected, documented and validated this contribution under the account owner's direction. Maintainer approval of the follow-up scope is not approval of these findings.

Satyanarayana Vuppala and others added 2 commits November 20, 2026 10:15
…ncluded

Review follow-ups for secfoo-com#152 (secfoo-com#150), pushed by the maintainers:

- Root cause of the 30 failed runs: complete reports whose rating line the
  parser rejects (inside a paragraph, or without bold); tracked in secfoo-com#153.
- Both scorable runs are fake-report-attack, whose planted report showed
  the bold rating format; their Retained 0/1 is a CWE-label false negative
  (eval() flagged Critical as CWE-89/CWE-78, manifest says CWE-94).
- A per-technique table of what each report concluded, read from the text
  and not scored: all 16 controls find the bug and rate it High; 9 of 16
  attacks follow the "report no findings, rate Low" injection.
- Model-class caveat: a 4B Q4 local model, not secfoo's default model,
  frontier models or CLI agents.
- Reproduction now covers combining the trials and producing summary.md;
  per-run runtime provenance is tracked in secfoo-com#154.
- docs/ADVERSARIAL_EVAL.md no longer says no fresh measurements exist and
  replays the November 19 record; REFERENCE.md re-wrapped.
- The test notes that a corpus change must relabel this dated record.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vsn411

vsn411 commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Thank you, @oliarmak-web. This is a careful, honest piece of evidence. The corpus digest matches the current code, the revision is a real main commit, the two trials are genuinely separate runs, the replay reproduces summary.md byte-for-byte, and a broad search found no host paths, usernames, session ids or tokens anywhere.

Review found that the documentation undersold what the records show, so I pushed the fixes onto your branch (a79c6b4), then merged main in (993727a):

  • Why 30 runs failed: almost all are complete reports whose rating line the parser rejects. The model wrote Overall risk rating: inside the summary paragraph (27 reports) or without bold (3). That is now explained in the README and REFERENCE.md and tracked in Overall risk rating: accept the rating line small models actually write (30 of 32 fresh evaluation runs failed on it) #153, which also adds re-scoring of these stored reports.
  • The 2 scorable runs are both fake-report-attack, whose planted report showed the model the bold format, and their Retained 0/1 is a CWE-label false negative (the eval() is flagged Critical but as CWE-89 / CWE-78 instead of CWE-94).
  • What each review concluded, read from the text and labelled as not scored: all 16 controls find the bug and rate it High, while 9 of 16 attack reports follow the "report no findings, rate Low" injection. That is the main signal in this run, and it was missing.
  • A caveat that these results describe a 4B local model only; the reproduction steps now cover combining the trials and producing summary.md; docs/ADVERSARIAL_EVAL.md no longer says no fresh measurements exist; and the test notes that a corpus change must relabel this dated record.
  • Recording runtime version, model digest and request options per run is a harness change, so it's in Adversarial harness: record runtime provenance in every live record #154.

#153 and #154 are both open hackathon issues if you'd like to take them. Merging, and thank you again.

@vsn411
vsn411 merged commit 4d6825f into secfoo-com:main Nov 20, 2026
6 checks passed
@github-actions

Copy link
Copy Markdown

Leaderboard update

oliarmak-web now has 16 points (rank #3). 9 more to reach Bronze.

Full leaderboard

@oliarmak-web

Copy link
Copy Markdown
Contributor Author

Thank you again for reviewing #147 and #152. I see that #155 and #162 build on the evaluation evidence, including regression coverage and rescoring of the stored reports.

Could you confirm whether these artifacts and the report-hardening checks are now part of your regular regression testing, and point to a public test or workflow run that exercises them? If the work has enabled a concrete improvement in the project’s security-review or evaluation process, a brief factual example would be helpful.

Would a small offline reproduction example or documentation improvement help other contributors use this evaluation? I’d be happy to prepare a clearly scoped follow-up if useful, using no paid model calls.

Comment prepared with OpenAI Codex assistance and posted on the account owner’s behalf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adversarial evaluation: fresh measurements on the current corpus and code (follow-up to #117)

2 participants