Skip to content

Investigate whether untrusted artifact text can steer threat-detector verdicts #80790

Backlog

Description

@davidslater

The GHAS review on #80582 raised a question: can instruction-like text in staged artifacts cause the detector to return an incorrect verdict even when the text is presented as labeled JSON evidence? Structural eligibility checks constrain which categories can be reported, but do not establish whether the model interprets the evidence correctly.

This is an investigation, not a confirmed vulnerability or a request to implement redaction. The detector needs to see instruction-like content to recognize prompt injection. Removing or summarizing it could hide the very evidence being assessed.

Compare the JavaScript detector with the pinned Go v0.5.3 baseline using representative synthetic artifacts with known expected verdicts. Record the engine and model, compare outcomes against matched controls, and distinguish repeatable false positives or false negatives from normal model variability.

Close with the evidence, limitations, and a conclusion: risk supported, not observed under the tested conditions, or inconclusive. If a mitigation is warranted, propose it separately and explain how its effect on detection accuracy would be measured before changing framework behavior.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlog:securitysecuritytestingthreat-detection

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions