{"id":20172961,"url":"https://github.com/marcono1234/codeql-java-queries","last_synced_at":"2025-03-03T04:41:27.506Z","repository":{"id":51854713,"uuid":"240529572","full_name":"Marcono1234/codeql-java-queries","owner":"Marcono1234","description":"Personal CodeQL queries","archived":false,"fork":false,"pushed_at":"2024-10-29T22:05:28.000Z","size":973,"stargazers_count":59,"open_issues_count":1,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-30T00:39:08.447Z","etag":null,"topics":["codeql","semmle-ql"],"latest_commit_sha":null,"homepage":"","language":"CodeQL","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/Marcono1234.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-14T14:43:09.000Z","updated_at":"2024-10-29T22:05:31.000Z","dependencies_parsed_at":"2023-02-16T05:31:55.437Z","dependency_job_id":"f9b4dd6c-8e4a-4749-b12c-ba35c6dc28d2","html_url":"https://github.com/Marcono1234/codeql-java-queries","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcono1234%2Fcodeql-java-queries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcono1234%2Fcodeql-java-queries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcono1234%2Fcodeql-java-queries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcono1234%2Fcodeql-java-queries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Marcono1234","download_url":"https://codeload.github.com/Marcono1234/codeql-java-queries/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241610977,"owners_count":19990505,"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":["codeql","semmle-ql"],"created_at":"2024-11-14T01:32:58.125Z","updated_at":"2025-03-03T04:41:27.487Z","avatar_url":"https://github.com/Marcono1234.png","language":"CodeQL","readme":"# codeql-java-queries\nPersonal [CodeQL](https://securitylab.github.com/tools/codeql) queries for Java source code.\nUnlike the [standard CodeQL queries](https://codeql.github.com/codeql-query-help/java/) which\nmostly focus on security, the queries of this repository are mostly for general bug patterns\nand code style recommendations which are not necessarily security related.\n\n:warning: This repository currently mainly acts as scratchpad; query implementations might not\nfollow best practices, might be ineffecient, might yield a lot of false positives and are not\nproperly documented and tested.  \nThis repository is therefore not recommended if you want to learn CodeQL; instead have a look\nat the [CodeQL documentation](https://codeql.github.com/docs/) and the [CodeQL repository](https://github.com/github/codeql).\n\n## Running the queries\nThe queries of this repository are inside the [`codeql-custom-queries-java/queries` folder](./codeql-custom-queries-java/queries).\nMost of them can be copied to clipboard and directly be run in the [LGTM Query Console](https://lgtm.com/query/lang:java/).\nPlease ignore the `codeql` folder, it is a Git submodule representing the upstream [CodeQL repository](https://github.com/github/codeql)\nwhich contains the language libraries needed for these queries.\n\nAlternatively this repository can be opened in [Visual Studio Code](https://code.visualstudio.com/)\nand the queries can then be run using the [CodeQL Visual Studio Code extension](https://codeql.github.com/docs/codeql-for-visual-studio-code/).\n\nPlease be aware that, as with all code scanning tools, results might be false positives.\nCarefully examine all findings and don't blindly follow the given advice.\n\n## License\nThe code in this project is licensed under the [MIT License](./LICENSE.txt). Some queries\nare based on bug patterns detected by other code scanning applications, or described by\nadvisories such as the Common Weakness Enumeration. Please let me know if you think\nany of the code infringes your rights.\n\nPlease note however, that usage of CodeQL itself has to adhere to the [GitHub CodeQL Terms and Conditions](https://securitylab.github.com/tools/codeql/license).\n\nFeel free to port queries contained in this repository to other code scanning application\n(with the disclaimer in mind that some of the queries are based on bug patterns detected\nby other applications). In case a query covers a bug pattern not yet detected by any\nother application or mentioned in any advisory, I would be pleased about any credits.\n\n## Contributing\nThe direction in which this repository is heading is currently not clear, I might\ntherefore be reluctant to accepting any new query submissions. Though improvements\nof existing queries (except for complete rewrites) are welcome.\n\nAll contributions are implicitly made under the [license of this project](./LICENSE.txt).\n\nIn general please prefer directly contributing to the [CodeQL repository](https://github.com/github/codeql).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcono1234%2Fcodeql-java-queries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcono1234%2Fcodeql-java-queries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcono1234%2Fcodeql-java-queries/lists"}