{"id":18609585,"url":"https://github.com/secure-software-engineering/cognicrypt-intellij","last_synced_at":"2025-10-30T20:18:06.012Z","repository":{"id":138641816,"uuid":"311990043","full_name":"secure-software-engineering/CogniCrypt-IntelliJ","owner":"secure-software-engineering","description":"Static Code Analysis for Crypto-API misuse detection. IDE Plugin for IntelliJ and Android Studio","archived":false,"fork":false,"pushed_at":"2021-02-19T13:48:57.000Z","size":15199,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2025-05-16T22:35:12.275Z","etag":null,"topics":["android-studio-plugin","api-misuse","intellij-plugin","security-scanner","static-code-analysis"],"latest_commit_sha":null,"homepage":"","language":"Java","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/secure-software-engineering.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-11T14:10:34.000Z","updated_at":"2021-02-19T13:49:01.000Z","dependencies_parsed_at":"2023-05-28T17:00:21.849Z","dependency_job_id":null,"html_url":"https://github.com/secure-software-engineering/CogniCrypt-IntelliJ","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/secure-software-engineering/CogniCrypt-IntelliJ","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secure-software-engineering%2FCogniCrypt-IntelliJ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secure-software-engineering%2FCogniCrypt-IntelliJ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secure-software-engineering%2FCogniCrypt-IntelliJ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secure-software-engineering%2FCogniCrypt-IntelliJ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secure-software-engineering","download_url":"https://codeload.github.com/secure-software-engineering/CogniCrypt-IntelliJ/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secure-software-engineering%2FCogniCrypt-IntelliJ/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281874340,"owners_count":26576421,"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","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["android-studio-plugin","api-misuse","intellij-plugin","security-scanner","static-code-analysis"],"created_at":"2024-11-07T03:06:31.263Z","updated_at":"2025-10-30T20:18:05.974Z","avatar_url":"https://github.com/secure-software-engineering.png","language":"Java","readme":"# CogniCrypt for Android Studio\n\nThis repository contains an Android Studio Plugin for CogniCrypt.\n\n**Launch Requirements**:\n- Android Studio (tested with version 2018.3.6)\n\n---\n\n# Build \n\n##### Build Requirements\n- IntelliJ  2019.1.3\n- Java Development Kit 8 (either Oracle or OpenJDK will do)\n\nUsing JDK 8 currently is a hard requirement. Any version lower or higher will cause a build error. There are two places to make sure the project is built with a specific JDK version:\n\n1. Open the module settings for ***icognicrypt*** (F4) and check if the Project SDK under `Project Settings -\u003e Project` refers to a JDK 8 version.\n2. Gradle settings:\n    a) Gradle utilized in the IDE's terminal gets its JDK reference through the `JAVA_HOME` environment variable of the operating system. Change the value of that variable if required and reboot the system for the changes to take effect. You can check the used JDK/JVM by typing `gradlew -v`.\n    b) When using the IDE's built-in run and debug commands (the buttons in the top toolbar), Gradle uses a JDK version that is specified in the settings of IntelliJ. Open the settings and go to `Build, Execution, Deployment -\u003e Build Tools -\u003e Gradle`. Edit the `Gradle JVM` setting as required (suggestion: choose the option: *Use Project JDK*).\n\nRun `gradlew assemble`  or `gradlew build` in root directory.\n\n---\n\n# Debug\n\nTo enable the debug functionality you need to add a run configuration in IntelliJ.\n1. Click `Add Configuration` in the top toolbar.\n2. Press the `+` symbol and add a Gradle build.\n3. As Gradle Project choose ***icognicrypt*** from the drop down menu.\n4. Enter `:runIde` as Task and optionally `--info` as Argument.\n5. Press **Apply** and **OK**\n\n---\n\n# Installation\n\n1. Open Android Studio installation and go to `File \u003e Settings \u003e Plugins` and Select the gear icon and `Install Plugin from Disk...`\n2. Select file `build\\distributions\\icognicrypt-\u003cVERSION\u003e.zip`\n3. Restart Android Studio\n4. Download https://github.com/CROSSINGTUD/CryptoAnalysis/releases/download/2.3/CrySL-rulesets.zip and extract it to some folder \u003cCRYSL-RULES\u003e\n5. Go to `File \u003e Settings \u003e Other Settings \u003e CogniCrypt` and set the CrySL Rules Directory to \u003cCRYSL-RULES\u003e/JavaCryptographicArchitecture\n6. To assure you don't recieve any Stackoverflow exceptions while the analysis is processing make sure the available stack size and allocated memory for Android Studio is sufficent.  \n Go to `Help \u003e Edit custom VM options...` and enter the lines `-Xmx4g -Xss100m`.\n\n---\n\n# Usage\n\n1. Build your `.apk` and make sure it successfully produces an `.apk` file within your project folder.\n2. Go to `Analyze \u003e Run CogniCrypt`\n3. Wait till analysis process terminates.\n\n\n## Credits\n\n \n\nThis work is part of the research project \"AppSecure.nrw - Security-by-Design of Java-based Applications\". The project is funded by the European Regional Development Fund (ERDF-0801379). \n\u003cbr/\u003e\n  \u003cbr/\u003e\u003cimg src=\"https://github.com/AppSecure-nrw/funding-notice/blob/main/Logo_48_lang_Zeichenfl%C3%A4che%201.png\" alt=\"AppSecure.nrw Logo\" height=\"50\"/\u003e\n  \n\u003cimg src=\"https://github.com/AppSecure-nrw/funding-notice/blob/main/EFRE_Foerderhinweis_englisch_farbig.jpg\" alt=\"EFRE Logo\" height=\"50\"/\u003e \u003cimg src=\"https://github.com/AppSecure-nrw/funding-notice/blob/main/Ziel2NRW_RGB_1809_jpg.jpg\" alt=\"Ziel2NRW Logo\" height=\"50\"/\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecure-software-engineering%2Fcognicrypt-intellij","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecure-software-engineering%2Fcognicrypt-intellij","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecure-software-engineering%2Fcognicrypt-intellij/lists"}