Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions docs/source/quark_script.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2734,8 +2734,10 @@ We use the `ovaa.apk <https://github.com/oversecured/ovaa>`_ sample to explain t

.. image:: https://imgur.com/1zP5xkN.png

Quark Script: CWE-940.py
=========================
CWE-940 Detection Process Using Quark Script API
=================================================

.. image:: https://i.postimg.cc/1XGWt89Q/jie-tu-2025-11-21-xia-wu4-46-36.png

Let’s use the above APIs to show how the Quark script finds this vulnerability.

Expand All @@ -2745,6 +2747,11 @@ Next, we retrieve the methods that pass the URL. Then, we check if these methods

If **YES**, it could imply that the APK uses communication channels without proper verification, which may cause CWE-940 vulnerability.

Quark Script: CWE-940.py
=========================

.. image:: https://i.postimg.cc/pLTZNG5J/jie-tu-2025-11-21-xia-wu4-47-11.png

.. code-block:: python

from quark.script import runQuarkAnalysis, Rule
Expand Down
Loading