Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pulorsok authored Jul 27, 2024
1 parent e5ef717 commit 1a8f776
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ Here are two prompts, each for executing different analysis processes.
```
1st Prompt: Initialize the rule instance with the rule path set to "rule.json"
```
Used Quark Script APIs/Tools that LLM used: `Rule()`
Used Quark Script APIs/Tools that LLM used: `Rule`

```
2nd Prompt: Run Quark Analysis using the rule instance on the apk sample "ovaa.apk",
and Check if the parameters are hard-coded. If yes, display the hard-coded values.
```
Used Quark Script APIs/Tools that LLM used: `runQuarkAnalysis()`, `getParameterValues()` and `isHardCoded()`
Used Quark Script APIs/Tools that LLM used: `runQuarkAnalysis`, `behaviorOccurList`, `getParameterValues` and `isHardCoded`

The `Rule()`, `runQuarkAnalysis()`, `getParameterValues()`, and `isHardCoded()` functions are treated as **tools** within LangChain, enabling them to be invoked through the `gpt-4o` model to analyze and identify [CWE-798](https://cwe.mitre.org/data/definitions/798.html) vulnerabilities in the [ovaa.apk](https://github.com/oversecured/ovaa) sample.
The `Rule`, `runQuarkAnalysis`, `behaviorOccurList`, `getParameterValues`, and `isHardCoded` functions are treated as **tools** within LangChain, enabling them to be invoked through the `gpt-4o` model to analyze and identify [CWE-798](https://cwe.mitre.org/data/definitions/798.html) vulnerabilities in the [ovaa.apk](https://github.com/oversecured/ovaa) sample.

<img width="829" alt="截圖 2024-07-26 下午9 25 23" src="https://github.com/user-attachments/assets/14de8563-e52e-4bdc-9960-ec73cbd10ada">
<img width="820" alt="截圖 2024-07-27 下午5 16 55" src="https://github.com/user-attachments/assets/4962a740-3df3-4e5e-9365-4ad0ff51f5a5">


* Notes:
Expand Down

0 comments on commit 1a8f776

Please sign in to comment.