{"id":18694069,"url":"https://github.com/kitabisa/gokart-action","last_synced_at":"2025-04-12T06:54:18.233Z","repository":{"id":45413859,"uuid":"401069032","full_name":"kitabisa/gokart-action","owner":"kitabisa","description":"Integrate GoKart security static analysis to GitHub Actions","archived":false,"fork":false,"pushed_at":"2023-01-11T10:29:59.000Z","size":3,"stargazers_count":9,"open_issues_count":5,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-12T06:54:13.362Z","etag":null,"topics":["actions","advanced-security","ci","code-review","gokart","golang","security","static-analysis","static-code-analysis","static-code-analyzer"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kitabisa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2021-08-29T14:56:27.000Z","updated_at":"2021-12-17T06:57:46.000Z","dependencies_parsed_at":"2023-02-09T02:46:10.325Z","dependency_job_id":null,"html_url":"https://github.com/kitabisa/gokart-action","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"8d472498357736283b747f5460fbf9e39bc134ab"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitabisa%2Fgokart-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitabisa%2Fgokart-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitabisa%2Fgokart-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitabisa%2Fgokart-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitabisa","download_url":"https://codeload.github.com/kitabisa/gokart-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530588,"owners_count":21119595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","advanced-security","ci","code-review","gokart","golang","security","static-analysis","static-code-analysis","static-code-analyzer"],"created_at":"2024-11-07T11:07:58.771Z","updated_at":"2025-04-12T06:54:18.208Z","avatar_url":"https://github.com/kitabisa.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoKart Action\n\nUsing this GitHub Action, scan your code with GoKart to finds vulnerabilities using the SSA (single static assignment) form of Go source code¹.\n\n![GoKart Action Proof-of-Concept](https://user-images.githubusercontent.com/25837540/131348481-b57e230b-7472-4fe6-9599-aee2d09dd3e4.png)\n\n## Usage\n\nThe workflow, usually declared in `.github/workflows/gokart.yaml` under your Go project repository, looks like:\n\n```yaml\nname: GoKart\n\non:\n  push:\n    branches: [ master, main ]\n  pull_request:\n    branches: [ master, main ]\n  schedule:\n    - cron: 0 0 * * *\n\njobs:\n  gokart:\n    name: GoKart scanner\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      security-events: write\n\n    steps:\n    - name: Checkout the code\n      uses: actions/checkout@v2\n\n    - name: Run GoKart\n      uses: kitabisa/gokart-action@v1.0.0\n      with:\n        globalsTainted: true\n\n    - name: Upload GoKart results\n      uses: github/codeql-action/upload-sarif@v1\n```\n\nYou can change the analysis base directory and/or analyzer config by using optional input like this:\n\n```yaml\nuses: kitabisa/gokart-action@v1\nwith:\n  directory: \"./path/to/go-project\"\n  input: \"./.github/gokart-analyzers.yaml\"\n```\n\n## Inputs\n\n- `directory` - scan on a Go module in the directory **(default: `.`)**.\n- `input` - input path to custom yml _(analyzer config)_ file.\n- `output` - _**(Required)**_ file path to write findings output **(default: `results`)**.\n- `globalsTainted` - marks global variables as dangerous.\n\u003c!-- - `remoteModule` - remote go module to scan.\n- `debug` - outputs debug logs.\n- `verbose` - outputs full trace of taint analysis. --\u003e\n\n## References\n\n- [1] https://github.com/praetorian-inc/gokart#gokart---go-security-static-analysis\n- https://www.praetorian.com/blog/introducing-gokart/\n\n## License\n\nThe Dockerfile and associated scripts and documentation in this project are released under the MIT.\n\nContainer images built with this project include third party materials.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitabisa%2Fgokart-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitabisa%2Fgokart-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitabisa%2Fgokart-action/lists"}