Malicious Files
Malicious Files scans the full history of the repositories in your GitHub organization for files planted by known supply chain attack campaigns, and shows you every file that matches, which branches, pull requests and tags still contain it, and the commit that introduced it.
To open it, select Malicious Files in the GitHub section of the left navigation. Use the organization selector at the top of each page to choose which GitHub organization to view.
This section contains three pages:
Rules: the detection rules StepSecurity maintains, and the checks each rule runs.
Scan Status: the most recent scan of each repository in the organization.
Findings: every file that matched a rule, where it is, how it got there, and how to respond.
Why it matters
In several recent supply chain campaigns, attackers who gained write access to a GitHub repository pushed malicious files into it. These files usually land on branches other than the default branch, where maintainers are less likely to notice them. A developer who clones the repository, checks out an affected branch, and opens it in their editor or AI coding agent can run the malware without realizing it, for example through an editor task that runs when a folder opens or an AI agent hook that runs when a session starts.
Because these files can sit on any branch, pull request or tag, reviewing the default branch alone does not find them. Malicious Files checks every version of every file across all of them.
How it works
Rules managed by StepSecurity: StepSecurity writes and maintains a set of detection rules for files dropped by known campaigns. The rules are enabled by default and apply to every repository automatically, so there is nothing to configure.
Full history scan: StepSecurity checks each repository's full history, across every branch, pull request and tag, against the rules. Scans run incrementally after workflow runs are analyzed.
Findings: when a file matches a rule, StepSecurity records a finding. One finding is one file path matched by one rule, across every version of that file.
Rule updates: StepSecurity adds and revises rules as new campaigns are identified. New and revised rules apply to changes scanned after the update, and each finding shows the rule revision that produced it.
Last updated
Was this helpful?