{"id":13456069,"url":"https://github.com/quark-engine/quark-engine","last_synced_at":"2025-05-13T22:06:16.996Z","repository":{"id":35661050,"uuid":"216696377","full_name":"quark-engine/quark-engine","owner":"quark-engine","description":"Quark Agent - Your AI-powered Android APK Analyst","archived":false,"fork":false,"pushed_at":"2025-05-08T02:40:49.000Z","size":10875,"stargazers_count":1430,"open_issues_count":68,"forks_count":177,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-05-08T03:02:39.814Z","etag":null,"topics":["ai","android","artificial-intelligence","blackbox","blackbox-testing","blackhat","defcon","llm-agent","security-vulnerability-assessment","vulnerability"],"latest_commit_sha":null,"homepage":"https://doc.quark-engine.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quark-engine.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,"zenodo":null}},"created_at":"2019-10-22T01:19:27.000Z","updated_at":"2025-05-07T13:07:44.000Z","dependencies_parsed_at":"2024-02-06T16:27:25.027Z","dependency_job_id":"bfaec3d5-1e1e-404a-9afd-250cb77df741","html_url":"https://github.com/quark-engine/quark-engine","commit_stats":{"total_commits":676,"total_committers":32,"mean_commits":21.125,"dds":0.5103550295857988,"last_synced_commit":"331eb7f5e2067f3d00e4fa1a9ad4e4f8d6bc543f"},"previous_names":[],"tags_count":73,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quark-engine%2Fquark-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quark-engine%2Fquark-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quark-engine%2Fquark-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quark-engine%2Fquark-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quark-engine","download_url":"https://codeload.github.com/quark-engine/quark-engine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036817,"owners_count":22003653,"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":["ai","android","artificial-intelligence","blackbox","blackbox-testing","blackhat","defcon","llm-agent","security-vulnerability-assessment","vulnerability"],"created_at":"2024-07-31T08:01:15.757Z","updated_at":"2025-05-13T22:06:11.986Z","avatar_url":"https://github.com/quark-engine.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.blackhat.com/asia-24/arsenal/schedule/index.html#quark-script---dig-vulnerabilities-in-the-blackbox-37549\"\u003e\n        \u003cimg alt=\"Black Hat Arsenal\" src=\"https://img.shields.io/badge/Black%20Hat%20Arsenal-Asia%202024-blue\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.blackhat.com/asia-21/arsenal/schedule/index.html#quark-engine-storyteller-of-android-malware-22458\"\u003e\n        \u003cimg alt=\"Black Hat Arsenal\" src=\"https://img.shields.io/badge/Black%20Hat%20Arsenal-Asia%202021-blue\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://conference.hitb.org/hitb-lockdown002/sessions/quark-engine-an-obfuscation-neglect-android-malware-scoring-system/\"\u003e\n        \u003cimg alt=\"HITB\" src=\"https://img.shields.io/badge/HITB-Lockdown%20002-red\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.youtube.com/watch?v=XK-yqHPnsvc\u0026ab_channel=DEFCONConference\"\u003e\n        \u003cimg alt=\"defcon\" src=\"https://img.shields.io/badge/DEFCON%2028-BTV-blue\"\u003e\n    \u003c/a\u003e\u003cbr\u003e\n    \u003ca href=\"https://github.com/quark-engine/quark-engine/actions/workflows/pytest.yml\"\u003e\n        \u003cimg alt=\"build status\" src=\"https://github.com/quark-engine/quark-engine/actions/workflows/pytest.yml/badge.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/quark-engine/quark-engine\"\u003e\n        \u003cimg alt=\"codecov\" src=\"https://codecov.io/gh/quark-engine/quark-engine/branch/master/graph/badge.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/18z/quark-rules/blob/master/LICENSE\"\u003e\n        \u003cimg alt=\"license\" src=\"https://img.shields.io/badge/License-GPLv3-blue.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.python.org/downloads/release/python-31015/\"\u003e\n        \u003cimg alt=\"python version\" src=\"https://img.shields.io/badge/python-3.10-blue.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/quark-engine/\"\u003e\n        \u003cimg alt=\"PyPi Download\" src=\"https://pepy.tech/badge/quark-engine\"\u003e\n    \u003c/a\u003e\u003cbr\u003e\n    \u003ca href=\"https://twitter.com/quarkengine\"\u003e\n        \u003cimg alt=\"Twitter\" src=\"https://img.shields.io/twitter/follow/quarkengine?style=social\"\u003e\n    \u003c/a\u003e\u003cbr\u003e\n    \u003cimg src=\"https://i.imgur.com/8GwkWei.png\"/\u003e\n\u003c/p\u003e\n\n# New Features Coming Soon to Quark Agent\n\n\n![Oct-11-2024 17-27-46](https://github.com/user-attachments/assets/6643b80b-bd85-450a-b646-9ef1a8b55bc3)\n\n\n![Screenshot 2024-09-26 at 2 40 55 PM](https://github.com/user-attachments/assets/9a83b256-1b9f-480f-a061-2400e2e868bc)\n\u003cimg width=\"1507\" alt=\"Screenshot 2024-09-26 at 2 41 52 PM\" src=\"https://github.com/user-attachments/assets/b6c3c1bf-aa6a-40e3-aebb-7f1ec375d3d5\"\u003e\n\nWe are currently focused on:\n\n- The next step of the detection process for auto-suggestion.\n- Effortlessly create detection workflows with natural language—no coding required.\n- Easily adjust and refine workflows through an intuitive drag-and-drop interface.\n- Instantly update and integrate changes as Quark Agent understands and adapts to workflow modifications.\n\nWe are committed to providing an intuitive and user-friendly experience, enabling users to design detection workflows seamlessly through both textual and visual methods. \n\nMany features are still under development and fine-tuning, and we will roll them out step by step as they become ready.\n\nIf you have any suggestions, please don’t hesitate to share them with us!\n\nTo stay updated with the latest news, make sure to watch our GitHub repository and follow us on [X (Twitter)](https://twitter.com/quarkengine).\n\n# Quark Agent - Your AI-powered Android APK Analyst\n\n![quark agent demo](https://hackmd.io/_uploads/By6ggTni0.png)\n\nWith Quark Agent, you can perform analyses using only natural language. It creates Quark Script code following your ideas and adjusts the code promptly as you provide feedback.\n\n# Showcase:\n\nHere’s a demonstration of using Quark Agent to detect the CWE-798 vulnerability in the ovaa.apk file.\n\n### Step 1: Environments Requirements\n\n*   Make sure your Python version is 3.10 or above.\n\n### Step 2: Install Quark Agent\n\n*   Install Quark Agent by running:\n\n```bash\ngit clone https://github.com/quark-engine/quark-engine.git \u0026\u0026 cd quark-engine\npip install .[QuarkAgent]\n```\n\n### Step 3: Prepare the Detection Rule and the Sample File\n\n```bash\n.\n├── ...\n├── quark                   \n    ├── ...           \n    ├── agent               # Put rule file and sample file here\n    ├── ...                \n```\n\nYou can download the **rule file** [here](https://github.com/quark-engine/quark-script/blob/main/constructCryptoGraphicKey.json) and the **sample file** [here](https://github.com/oversecured/ovaa).\n\n### Step 4: Add your OpenAI API key\n\nAdd your OpenAI API key in `quarkAgentWeb.py`\n\n```python\nos.environ[\"OPENAI_API_KEY\"] = 'your-api-key-here'\n```\n\n### Step 5: Run Quark Agent\n\n```bash\n$ cd quark/agent\n$ python3 quarkAgentWeb.py\n\n# You can now chat with Quark Agent in your browser. \n# The default URL is http://127.0.0.1:5000\n```\n\nOpen a browser and navigate to `127.0.0.1:5000` to start using Quark Agent\n\nSee more CWE detections using [quark scripts](https://quark-engine.readthedocs.io/en/latest/quark_script.html) and play them with Quark Agent !\n\n# Acknowledgments\n\n### The Honeynet Project\n\n\u003ca href=\"https://www.honeynet.org\"\u003e \u003cimg style=\"border: 0.2px solid black\" width=115 height=150 src=\"https://i.imgur.com/znu7cMJ.png\" alt=\"Honeynet.org logo\"\u003e \u003c/a\u003e\n\n### Google Summer Of Code\n\nQuark-Engine has been participating in the GSoC under the Honeynet Project!\n\n*   2021:\n    *   [YuShiang Dang](https://twitter.com/YushianhD): [New Rule Generation Technique \u0026 Make Quark Everywhere Among Security Open Source Projects](https://quark-engine.github.io/2021/08/17/GSoC-2021-YuShiangDang/)\n    *   [Sheng-Feng Lu](https://twitter.com/haeter525): [Replace the core library of Quark-Engine](https://quark-engine.github.io/2021/08/17/GSoC-2021-ShengFengLu/)\n\nStay tuned for the upcoming GSoC! Join the [Honeynet Slack chat](https://gsoc-slack.honeynet.org/) for more info.\n\n# Core Values of Quark Engine Team\n\n*   We love **battle fields**. We embrace **uncertainties**. We challenge **impossibles**. We **rethink** everything. We change the way people think. And the most important of all, we benefit ourselves by benefit others **first**.\n","funding_links":[],"categories":["Python","Android","Detection and Classification","Endpoint","Tools","Инструменты анализа","Security \u0026 Privacy Agents"],"sub_categories":["General - Blogs, Papers, How To's","Other Resources","Mobile / Android / iOS","Static Analysis Tools","Post-Exploitation Agents"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquark-engine%2Fquark-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquark-engine%2Fquark-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquark-engine%2Fquark-engine/lists"}