Skip to content

Secondary languages add noise to sinks output #43

Description

@andrew

Running `brief sinks` on zizmor (a Rust project) returns Python stdlib sinks alongside Rust ones because the repo has `.py` files for docs/testing. Not technically wrong but noisy when Python is incidental to the project.

Could address this by:

  • A `--language` filter flag on the sinks command (and threat-model)
  • Tagging detections with primary vs secondary based on file count (the engine already sorts languages by file count)
  • Doing nothing, since someone writing Python in a Rust repo should still know about `eval` and `pickle.loads`

Low priority since the findings are valid, just diluted by secondary languages.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions