> For the complete documentation index, see [llms.txt](https://docs.xygeni.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xygeni.io/xygeni-products/code-security-cs/cs-user-interface-guide/risks-sast/malicious-code.md).

# Malicious SAST Issues

The **SAST Risk page** also displays SAST issues that have been marked as specificaly malicious.

<figure><img src="https://4096647782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTz59rJLkJBjiRWAMknU%2Fuploads%2Fgit-blob-a6b7dcc43ab3207884146b5f28819aa975863772%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To only view malicious SAST issues in the table, enter the CWE-506 filter pattern
{% endhint %}

In the issues table, by clicking on the ![](https://4096647782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTz59rJLkJBjiRWAMknU%2Fuploads%2FN8NV7dxsmTLoSudVD83P%2Fimage.png?alt=media\&token=e66de179-8022-4fb4-ac30-c66d365cd605) icon of any issue, you will see the details of the issue.

<figure><img src="https://4096647782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTz59rJLkJBjiRWAMknU%2Fuploads%2FBPhfYKAFrttzTOFB0mfl%2Fimage.png?alt=media&amp;token=c844f547-50f5-4cec-9334-ff6131675c6d" alt=""><figcaption></figcaption></figure>

You can view all the evidence of malicious activity under the Malware evidence tab of the detail.

<figure><img src="https://4096647782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTz59rJLkJBjiRWAMknU%2Fuploads%2FeSUV2mTU25s9oVQTBLJz%2Fimage.png?alt=media&amp;token=f3185576-0280-4f10-ae90-350fa97e244c" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.xygeni.io/xygeni-products/code-security-cs/cs-user-interface-guide/risks-sast/malicious-code.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
