Skip to content

Commit 4dc7d8a

Browse files
committed
New commit time analysis and timezone inference features.
1 parent 15d37f2 commit 4dc7d8a

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

docs/features.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,26 @@ An outformat of type `text` can help in this specific use-case more than the def
6060

6161
`gitxray` provides a summary of contributor commit hours, allowing you to profile contributor activity and detect potential anomalies. This feature helps you understand typical patterns and flag unusual behavior for further investigation.
6262

63+
## Commit Pattern Analysis & Timezone Inference 🌐
64+
65+
`gitxray` performs an analysis of commit patterns to detect anomalies and infer contributor behavior such as:
66+
67+
* **Bot & Automated Activity Detection**: Identifies potential automated or bot activity by analyzing commit distribution across hours of the day. If commits are spread across 22+ different hours (nearly 24/7 activity), this unusual pattern is flagged for review.
68+
69+
* **Work Hours vs. Outside Work Hours Patterns**: Analyzes whether commits primarily occur during weekdays (Mon-Fri) or weekends, helping identify different contributor work patterns and potential coordination across accounts.
70+
71+
* **Timezone Inference**: `gitxray` can infer timezones from contributor profile locations (if they were announced by the GitHub account), supporting 190+ countries and cities worldwide. When a timezone is successfully inferred:
72+
73+
> **Location Mismatch Detection**: Flags suspicious patterns such as commits occurring primarily during night-time hours in the inferred timezone, which may indicate that the profile location doesn't match the actual timezone or that the contributor works unusual hours.
74+
75+
> **Coordinated Timing Patterns**: Cross-references inferred timezones and primary active hours across accounts to identify coordinated activity.
76+
77+
All temporal analysis findings appear under the `commits` category for individual contributors and the `association` category when patterns are shared across accounts. Focus on these findings with:
78+
79+
```
80+
gitxray -r https://github.com/SampleOrg/SampleRepo -f commits,association
81+
```
82+
6383
## Untrustworthy Repositories and Activity 🏴
6484

6585
`gitxray` can be used to protect yourself, your team and your customers from fake Repositories and suspicious activity. For example, by analyzing commit dates and comparing them to the account creation timestamp of contributors, `gitxray` can flag inconsistencies that may indicate:

0 commit comments

Comments
 (0)