Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Citi Hackathon code submission #810

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2e77117
feat(csv): add sensitive data check for .csv and .xlsx files
Psingle20 Oct 26, 2024
079dfc1
feat(logging): add checks for .log and .json files
Psingle20 Oct 26, 2024
5f66f08
fix: revert previous changes
Psingle20 Oct 26, 2024
c449a9c
feat: add support for .log and .json files
Psingle20 Oct 26, 2024
8b257a2
test: add test for edge cases
ChaitanyaD48 Oct 27, 2024
027a459
refactor: corrected the way filepaths are geting extracted from diff
Psingle20 Oct 28, 2024
df82548
refactor: modified the test to provide exact action and diff content
Psingle20 Oct 28, 2024
fd26523
refactor: modified proxy.config to support the feature
Psingle20 Nov 10, 2024
77809a3
feat: added logic for EXIF metadata retrieval
shabbirflow Nov 10, 2024
2cb09c0
feat: added logic for EXIF metadata retrieval
shabbirflow Nov 10, 2024
7f60205
feat: create checkCryptoImplementation file for detecting non-standar…
ChaitanyaD48 Nov 10, 2024
d6510e8
test: add test cases for checkCryptoImplementation
ChaitanyaD48 Nov 10, 2024
57add83
feat: integrate checkCryptoImplementation into the main processing chain
ChaitanyaD48 Nov 10, 2024
f258864
feat: added test cases for exif data retrieval & push - blocking
shabbirflow Nov 10, 2024
36e07d9
feat(CheckExif): modified the CheckExif file and integrated it with t…
Psingle20 Nov 11, 2024
d2314ac
Merge branch 'finos:main' into CheckFilesData
Psingle20 Nov 11, 2024
c03d3fe
Merge branch 'finos:main' into GetEXIFData
Psingle20 Nov 11, 2024
2c2441a
feat: integrate checkEXIFJpeg validation in push action chain
Psingle20 Nov 11, 2024
bba8ff1
feat: added logic for ai/ml usage detection
shabbirflow Nov 11, 2024
f8d6ad0
Merge branch 'main' of https://github.com/Psingle20/git-proxy
Psingle20 Nov 14, 2024
f07aacb
feat: add Gitleaks vulnerability detection feature
Psingle20 Nov 14, 2024
193dbf6
refactor: integrated with the workflow
Psingle20 Nov 14, 2024
ddc4e98
Merge branch 'finos:main' into CheckFilesData
Psingle20 Nov 14, 2024
7ef0dcf
Merge branch 'finos:main' into DetectAiMlUsage
Psingle20 Nov 14, 2024
7e8cb6b
Merge branch 'finos:main' into GetEXIFData
Psingle20 Nov 14, 2024
45b5024
Merge branch 'finos:main' into detect-cryptography
Psingle20 Nov 14, 2024
c72bbaa
Merge branch 'finos:main' into DetectAiMlUsage
shabbirflow Nov 15, 2024
4e01fa1
Merge branch 'finos:main' into main
Psingle20 Nov 23, 2024
fee5329
Merge branch 'finos:main' into detect-cryptography
ChaitanyaD48 Nov 25, 2024
994d080
Merge branch 'CheckFilesData' into CitiCodeSubmission
Psingle20 Nov 28, 2024
ddd9901
feat: exif data check merged
Psingle20 Nov 28, 2024
c8ea591
feat: merge Aiml usage detection feat
Psingle20 Nov 28, 2024
0be5039
feat: Gitleaks check merged
Psingle20 Nov 28, 2024
518234f
feat: crypto check feature merged
Psingle20 Nov 28, 2024
cca6713
reafactor: gitleaks rules update and general code clean up
Psingle20 Nov 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*
package-lock.json
/git-proxy-test


# Diagnostic reports (https://nodejs.org/api/report.html)
Expand Down
2 changes: 0 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1} && npm run lint
3,017 changes: 3,017 additions & 0 deletions gitleaks.toml

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions gitleaks_report.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"Description": "AWS Access Key",
"StartLine": 2,
"EndLine": 2,
"StartColumn": 18,
"EndColumn": 37,
"Match": "AKIAIOSFODNN8EXAMPLE",
"Secret": "AKIAIOSFODNN8EXAMPLE",
"File": "C:/Users/ingle/Desktop/CitiHackthon/git-proxy/test/test_data/sensitive_data.js",
"SymlinkFile": "",
"Commit": "",
"Entropy": 3.6841838,
"Author": "",
"Email": "",
"Date": "",
"Message": "",
"Tags": [
"aws",
"access_key"
],
"RuleID": "aws-access-key",
"Fingerprint": "C:/Users/ingle/Desktop/CitiHackthon/git-proxy/test/test_data/sensitive_data.js:aws-access-key:2"
}
]
191 changes: 189 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading