Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Findings

The Findings page lists the files in your repositories that matched a malicious file rule. One finding is one file path matched by one rule, across every version of that file.

To open it, select Malicious Files > Findings in the GitHub section of the left navigation.

Findings are grouped into three tabs: Active, Resolved, and Suppressed.

For each finding, StepSecurity shows:

  • File: the file name, with the number of versions of the file and the number of refs (branches, pull requests and tags) it appears in. Select the file name to open the file in GitHub.

  • Repository: the repository that contains the file

  • Campaign: the campaign the matching rule detects

  • Rule: the rule that matched

  • Severity: the severity of the matching rule

  • Status: the status of the finding, for example Active

Use the search box to find findings by file path, commit hash or blob hash, and the severity, Campaign and Rule filters to narrow the list. Select Export CSV to download the findings as a Comma-Separated Values (CSV) file.

A finding becomes vanished once no branch, pull request or tag still contains the file. Vanished findings are kept for 180 days unless they are resolved or suppressed.

Resolving or suppressing a finding

Select the actions menu (⋮) at the end of a finding's row to change its status:

  • Resolve file: resolves the file, including every version of it, and moves the finding to the Resolved tab. You can add an optional comment. Use this after you have removed the file from every branch, pull request and tag that contained it.

  • Suppress file: suppresses the file, including every version of it, and moves the finding to the Suppressed tab. Use this for a file you have reviewed and do not need to act on, such as a test fixture that intentionally contains malicious indicators.

When you suppress a file, select a reason and optionally add a comment:

Reason
Meaning

False positive

The file is not malicious

Not applicable

The file is not relevant

Accepted risk

The risk has been reviewed and accepted

Used in tests

The file is not in production code

Will fix later

The issue will be addressed in the future

The Suppressed tab adds a Reason column showing the reason you selected, followed by your comment if you added one (for example, False positive: Test comment).

To reverse either action, open the Resolved or Suppressed tab and select the actions menu (⋮) on the finding's row to unresolve or unsuppress it. The finding returns to the Active tab.

New versions of a resolved or suppressed file keep that status until you unresolve or unsuppress it. A malicious version pushed later to the same file path does not return the finding to Active, so resolve or suppress a file only after you have confirmed it is safe or fully removed.

Finding details

Select a finding's row to open its details panel.

The panel shows:

  • Repository: the repository that contains the file

  • Rule: the rule that matched, with the revision that produced the finding

  • First seen and Last seen: when StepSecurity first and most recently found the file

  • Versions: the blob hash of each version of the file that matched, with the most recent marked Latest

  • Found in: every ref that currently contains the file, for example heads/main for a branch or pull/1/head for a pull request. Use this list to find every branch, pull request and tag you need to clean up.

  • Rule checks: each check in the rule, whether it matched, and the pattern it used

  • Occurrences: each place the file was introduced, with a link to the commit, its author, and the commit date. Select the commit link to open the commit in GitHub.

Responding to a finding

When a file is flagged:

  1. Open the finding and use Rule checks to confirm which indicators matched.

  2. Use Occurrences to identify the commit that introduced the file and the account that pushed it. Treat that account's credentials as potentially compromised.

  3. Use Found in to remove the file from every branch, pull request and tag that contains it.

  4. Identify developers who may have cloned the repository or checked out an affected ref, and check their machines. If you use Dev Machine Guard, review Malicious Files Findings in Dev Machine Guard for the same campaign.

  5. Rotate any credentials that were accessible from affected machines or workflows.

  6. Once the file is removed and credentials are rotated, select Resolve file from the finding's actions menu.

Last updated

Was this helpful?