Quickly connect to Agent Security Center

Updated at:
Copy as MD

Agent Security Center discovers AI agent assets on the cloud, detects agent-specific risks such as prompt injection, and intercepts attacks in real time while an agent runs. This topic uses the OpenClaw platform as an example to walk you through the shortest path to activate the service, connect assets and enable protection, and view and handle risks. It also describes the optional Skills supply chain detection process.

Connection process

  1. Purchase Agent Security Center: Activate Agent Security Center with pay-as-you-go billing to obtain agent asset discovery and risk detection capabilities.

  2. Connect OpenClaw and enable protection: Install the defense plugin in the OpenClaw runtime environment to report agent assets and enable real-time protection at the same time, which intercepts prompt injection attacks and malicious URL access.

  3. View and handle agent risks: Review the risk detection results and handle risk events such as prompt injection and data leakage.

  4. Skills detection (optional): Upload skill files through the Skills CLI or an SDK to detect security risks and handle them.

Step 1: Purchase Agent Security Center

For more information, see Purchase and unsubscribe from Agent Security Center.

  1. Access the Agent Security Center - Agent Overview page. In the upper-left corner of the page, select the region where the assets to be protected are located: Chinese Mainland or Outside Chinese Mainland.

  2. In the Protection Status area in the upper-right corner of the page, click Buy Now.

  3. In the Enable Agent Security Center dialog box, read the Security Center (Pay-as-you-go) Terms of Service and Authorization for Security Center Service-linked Role descriptions carefully, and select the checkbox to confirm your agreement.

  4. Click Activate Now. After activation, the indicator in the protection status area changes from Basic to Pay-as-you-go.

Step 2: Connect OpenClaw and enable protection

After you install the Agent Security Center defense plugin in the OpenClaw runtime environment, the plugin reports the agent asset information of OpenClaw and monitors the agent runtime in real time. It automatically detects and intercepts security threats such as prompt injection attacks and malicious URL access, so that asset connection and protection enablement are completed in one go. For more information, see Connect to Agent Security Center.

Important

Manual installation restarts the OpenClaw Gateway. Pause OpenClaw operations before you run the installation command. For more information, see Enable protection.

  1. Access the Agent Security Center - Agent Overview page. In the upper-left corner of the page, select the region where the assets to be protected are located: Chinese Mainland or Outside Chinese Mainland.

  2. In the Integrated Product section, click Added to go to the Access Management page.

  3. In the All Supported Products section, search for the target product and click Add in the upper-right corner of the product panel.

  4. Role authorization (first time): On the Service Authorization page, click Authorize.

    Note

    The system automatically creates the service-linked role AliyunServiceRoleForSasAI for Agent Security Center and attaches the AliyunServiceRolePolicyForSasAI permission policy to the role. The role allows Agent Security Center to access resources in other cloud services.

  5. On the page for enabling real-time protection, select Manual Installation and copy the installation command.

    • The installation command is time-limited. Pay attention to the Expiration Time displayed in the Execute Installation Command section. After the command expires, you must obtain a new one.

    • The installation command contains a key that is used for access. Keep the command secure and do not disclose or share the complete command.

  6. Run the command in the runtime environment of the product and complete the defense plugin installation as prompted.

    Important

    For some products, components such as the Agent gateway must be restarted during installation. Evaluate the impact on your business in advance and follow the instructions on the page.

  7. After the installation is complete, refresh the page. You can view the connected products in the Integrated Products section of the Access Management page.

Note

For information about how to check the installation status, which products support the defense plugin, how to install, uninstall, or disable the defense plugin for a single agent, and how to troubleshoot plugin installation issues, see Enable protection.

Step 3: View and handle agent risks

After the connection is complete, the system automatically runs one risk detection per day on the connected OpenClaw assets. The detection is a read-only analysis and does not affect running workloads. The time it takes depends on the complexity of your assets. Detection results reflect the risk status at the time of detection, so we recommend that you run a new detection after you change an agent configuration. For more information, see Detect and Remediate Risks.

  1. Access the Agent Security Center - Risk Events page. In the upper-left corner of the page, select the region where the assets to be protected are located: Chinese Mainland or Outside Chinese Mainland.

  2. On the Risk Events page, in the Actions column for the target event, click Handle.

  3. On the risk event details page, review the details. Follow the Recommended Solution, Remediation or Suggestions on the details page to fix the issue in the Agent application's code or configuration.

Step 4: Skills detection (optional)

Skill files can contain injected malicious scripts, risky configurations, or malicious prompts. Skills detection focuses on the supply chain security of agent skills and covers risks such as dangerous commands, data exfiltration, prompt injection, privilege escalation, insecure configurations, and sensitive information leaks, so that you can intercept problematic files before a skill is deployed. The main process is as follows:

  1. Choose an upload method:

    • Skills CLI: Use the alibabacloud-aisc-skill-inspection skill provided by the Agent Skills portal to start a detection through the Skills CLI. No integration code is required, which makes this method suitable for quickly validating the detection capability.

    • Multi-language SDK: Integrate a multi-language SDK such as Java, Python, or Go, and call the operation that creates a skill detection task to upload skill files. Integration code is required.

  2. Configure Alibaba Cloud access credentials: The Skills CLI obtains credentials from the Alibaba Cloud default credential chain. Write the AccessKey pair or role information to environment variables or the ~/.aliyun/config.json configuration file.

  3. After you start the detection, complete the following operations on the SkillsCheck tab of the Agent Risks page:

    • View the results: View the number of detected files, the number of unhandled files, and the risk severity distribution.

    • Handle risks: Click Details in the Actions column of the target file. Then, fix the issue manually based on the remediation suggestions, or ignore risks that are acceptable.

    • Add trusted files to the allowlist: Files confirmed as trusted by a security assessment can be excluded from detection through SHA256 allowlist rules.

Note

For SDK installation and invocation examples, API parameters, CI/CD integration methods, and the risk severity criteria, see Skills detection.

Billing

  • Defense plugin: Starting August 25, 2026, the defense plugin that Agent Security Center provides for OpenClaw and Hermes enters official commercial billing. The defense fee consists of a defense seat fee and an excess Credits fee. For the billing start time, prices, and the free trial extension rules for users who have already installed the plugin, see Real-time defense capability billing announcement.

  • Skills detection (optional): Skills detection is billed based on the number of detected skill files and requires an activated paid instance. Each detected skill file counts as one detection. If a single API call contains multiple files, detections are accumulated by the total number of files. Fees are incurred only when a detection task completes successfully. The price is ¥10 per detection.

Note

For the complete rules of each billing item, see Pay-as-you-go. For the unsubscription entry and the data retention rules after unsubscription, see Purchase and unsubscribe from Agent Security Center.

Learn more

  • Connect to Agent Security Center: Bring AI assets from platforms such as Model Studio, Platform for AI (PAI), Dify, VolcEngine Agent Kit, and Agent Run under unified management.

  • Detect and Remediate Risks: Learn about all detection items, recommendations for choosing a detection method, and the available risk handling methods.

  • Enable protection: Install the defense plugin for the Hermes platform, or disable or uninstall an installed plugin.

  • Skills detection: Automatically scan skill files for supply chain risks in a CI/CD pipeline.

  • Pay-as-you-go: Learn about the metering logic of each billing item, overdue payment handling, and data deletion rules.