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

Conversation

Psingle20
Copy link

@Psingle20 Psingle20 commented Nov 28, 2024

This PR can be considered as a submission for the FinOS CitiHackathon.
Team members:


This PR solves issue #745 #788 #796 #797 #765

GITPROXY PLUGINS

We have worked on the following features :

  • Sensitive Data Detection ( in files like .json, .xlsx, .csv )
  • Check EXIF Metadata from Images ( .jpg, .jpeg, .tiff )
  • Detection of AI/ML usage (incl. weights, models etc.)
  • Vulnerability Detection using GitLeaks
  • Detection of Non-Standard Cryptography Usage

Some Modifications Non-Standard Cryptography Usage are required.

"authorisedList": [
    {
      "project": "finos",
      "name": "git-proxy",
      "url": "https://github.com/finos/git-proxy.git"
    },
    {
      "project": "project name",
      "name": "repo name",
      "url": "repo github url",
      "LocalRepoRoot": "specify you local repository path"
    }
  ],

Add the path to your local repository or working directory in the localRepoRoot in the authorisedList to give git-proxy access to your files.

Sensitive Data Detection ( in files like .json, .xlsx, .csv )

Features:
This solves issue #745

    "diff": {
      "block": {
        "literals": [],
        "patterns": [],
        "providers": {},
        "proxyFileTypes": [".csv", ".xlsx", ".log", ".json"]
      }
    },

Check EXIF Metadata from Images ( .jpg, .jpeg, .tiff )

Features:
This solves issue #796

    "diff": {
      "block": {
        "literals": [],
        "patterns": [],
        "providers": {},
        "proxyFileTypes": [".jpg", ".jpeg", ".tiff"]
      }
    },

Detection of AI/ML usage (incl. weights, models etc.)

Features:
This solves issue #788

    "aiMlUsage": {
          "enabled": true,
          "blockPatterns": ["modelWeights", "largeDatasets", "aiLibraries", "configKeys", "aiFunctions"]
    }

Vulnerability Detection using GitLeaks

Features:
This solves issue #797

    "checkForSecrets": {
      "enabled": false
    },
  • A detailed report will be generated gitleaks_reports.json
  • Some modifications / minor changes might be required for this to be merged.

Detection of Non-Standard Cryptography Usage

This solves issue #765

Features:

Psingle20 and others added 30 commits October 26, 2024 20:12
Signed-off-by: ChaitanyaD48 <[email protected]>
Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for endearing-brigadeiros-63f9d0 canceled.

Name Link
🔨 Latest commit cca6713
🔍 Latest deploy log https://app.netlify.com/sites/endearing-brigadeiros-63f9d0/deploys/67480028921c3c0008ee0d93

@Psingle20 Psingle20 changed the title feat:Citi code submission feat: Citi code submission Nov 28, 2024
@Psingle20
Copy link
Author

Psingle20 commented Nov 28, 2024

@JamieSlome @coopernetes we were working on some refactor on #798 PR and due to some merge conflicts we had to rollback and the PR got closed this PR contains all the commits we have done till 14-11-2024 please consider this as our submission . We will demonstrate it during our presentation.

you can check the commit history for the dates of hackathon period.

@Psingle20
Copy link
Author

@rgmz I have updated the gitleaks rules can you review it and suggest any other changes if needed?

@Psingle20 Psingle20 changed the title feat: Citi code submission feat: Citi Hackathon code submission Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants