> For the complete documentation index, see [llms.txt](https://docs.cyberscope.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cyberscope.io/cyberscan-ai/scan-contracts.md).

# Scan Contracts

### Cyberscan AI – Contract Scanning Overview

On the Cyberscan AI page, users can scan blockchain contracts by entering a contract URL or token address in the input field. If the provided token or contract is invalid, the system will display an error message. If the validation is successful, users are redirected to the project details page where all detected vulnerabilities are shown.

<figure><img src="/files/noQpC1seLS4yNCyw2lVk" alt=""><figcaption></figcaption></figure>

### **Steps to Scan a Contract on** Cyberscan AI

{% stepper %}
{% step %}

#### **Go to the** Cyberscan AI **page from the dashboard or Home Page.**

{% endstep %}

{% step %}

#### In the input box, enter your contract using one of the following methods:

* Contract URL
* Token address
* Upload a Solidity (.sol) file
* Import from **GitHub** repository
* Import from **GitLab** repository
  {% endstep %}

{% step %}

### **Click Scan to start the validation process.**

{% endstep %}

{% step %}

### The system will check and validate the contract.

If the input is invalid, an error message will be shown
{% endstep %}

{% step %}

### **Contract Details page.**

If validation is successful, you will be redirected to the Contract Details page.
{% endstep %}

{% step %}

### Analysis vulnerabilities

View the full analysis including vulnerabilities, security score, and detailed findings.
{% endstep %}

{% step %}

### **AI chat feature**

Use the **AI chat feature** to explore issues and get suggestions for fixing vulnerabilities.
{% endstep %}
{% endstepper %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cyberscope.io/cyberscan-ai/scan-contracts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
