Install
openclaw skills install hs-tiHillstone Threat Intelligence Skill. Query IP addresses, domains, URLs, and file hashes in Hillstone threat intelligence database.
openclaw skills install hs-tiFeatures: Query IP addresses, domains, URLs, and file hashes in the Hillstone threat intelligence database.
You need to create a config.json file and configure a valid API Key:
Copy config.example.json to config.json
Fill in your API Key in config.json:
{
"api_key": "your-api-key-here",
"api_url": "https://ti.hillstonenet.com.cn",
"timeout": 30,
"max_retries": 3,
"retry_delay": 1,
"cache_enabled": true,
"cache_ttl": 3600
}
Configuration Parameters:
api_key: Hillstone Threat Intelligence API Key (required)api_url: API URL (optional, default: https://ti.hillstonenet.com.cn)timeout: Request timeout in seconds (optional, default: 30)max_retries: Maximum retry attempts (optional, default: 3)retry_delay: Retry delay in seconds (optional, default: 1)cache_enabled: Enable cache (optional, default: true)cache_ttl: Cache time-to-live in seconds (optional, default: 3600)/threat-check 45.74.17.165
/threat-check deli.ydns.eu
/threat-check 45.74.17.165,deli.ydns.eu,www.blazingelectricz.com
/threat-check -a 45.74.17.165
/threat-check -a deli.ydns.eu
Use -a parameter to call the advanced API and get more detailed threat intelligence:
/threat-check -a 45.74.17.165
Advanced API provides:
/api/ip/reputation/api/domain/reputation/api/url/reputation/api/file/reputationEach query displays detailed performance statistics:
/api/ip/reputation?key={ip}/api/domain/reputation?key={domain}/api/url/reputation?key={url}/api/file/reputation?key={hash}/api/ip/detail?key={ip}/api/domain/detail?key={domain}/api/url/detail?key={url}/api/file/detail?key={hash}https://ti.hillstonenet.com.cn~/.openclaw/logs/hs_ti.logRecommended Approach:
export HILLSTONE_API_KEY="your-api-key-here"
# In bash
export HISTCONTROL=ignorespace
export HILLSTONE_API_KEY="your-api-key-here"
# In PowerShell
$env:HILLSTONE_API_KEY="your-api-key-here"
Configuration File Approach:
chmod 600 config.json.gitignoreConfiguration File:
# Set configuration file permissions
chmod 600 ~/.openclaw/skills/hs-ti/config.json
# Ensure directory permissions are correct
chmod 700 ~/.openclaw/skills/hs-ti/
Log File:
# Set log file permissions
chmod 600 ~/.openclaw/logs/hs_ti.log
# Ensure log directory permissions are correct
chmod 700 ~/.openclaw/logs/
MIT License