Skip to content

Asset Graph Models

TestNet categorizes enterprise assets into 8 core models. Each asset is connected through cascading relationships (e.g., Company -> Domain -> Subdomain -> IP -> Port -> Web -> API/Vulnerability) to form a complete attack surface chain.


1. Overview of the 8 Asset Models

The core business fields, automatic linkage rules, and risk indicators for each model are summarized below:

Asset ModelEntity IdentifierCore Business FieldsCascading Relationship RulesKey Risk Indicators
🏢 Company (company)Corporate entity / branch• Unified Social Credit Code
• Legal Representative & Capital
• Contact emails
Upstream: None. Downstream: automatically aggregates primary domains, subdomains & IP rangesUnmonitored subsidiary branches, data leaks
🌐 Domain (domain)Root / primary domain• Whois server & Registrar
• Registration & Expiration dates
• Registrant email
Upstream: Company. Downstream: all subdomainsImpending expiration, DNS hijacking risks
🔗 Subdomain (subdomain)DNS record / hostname• Record type (A / CNAME / MX)
• Target value (recordValue)
• CDN/WAF tags
Upstream: Domain. Downstream: points to IPs or Web applicationsWildcard exposure, takeover of abandoned subdomains
💻 IP Address (ip)Host / network IP• IP address & CIDR netmask
• Geolocation & ISP
• ASN & OS fingerprint
Upstream: Subdomain. Downstream: exposed port servicesPublicly exposed management subnets, abnormal geolocations
🔌 Port Service (port)Network listener• Protocol (TCP / UDP)
• Port & service name (SSH/HTTP)
• Banner & version info
Upstream: IP. Downstream: hosts Web sites or bottom-layer APIsHigh-risk exposed ports (e.g., 22, 3389, 6379, 27017)
🌍 Web App (web)HTTP(S) site / system• URL & page title
• HTTP status code (statusCode)
• CMS / Framework fingerprint
Upstream: Subdomain & Port. Downstream: API endpoints & VulnerabilitiesUnauthenticated admin panels, outdated vulnerable frameworks
⚡ API Endpoint (api)REST / RPC route• Path & HTTP method (GET/POST)
• Auth scheme (authType)
• Parameters (paramsSchema)
Upstream: Web application or port serviceBroken object level authorization (BOLA), plaintext secrets
🛡️ Vulnerability (vulnerability)Security threat / CVE• Name & CVE ID
• Severity (CRITICAL - INFO)
• PoC evidence & Remediation
Attached to any target asset above via targetAssetUnpatched CRITICAL or HIGH severity vulnerabilities

2. Common Core Entity Attributes

All 8 asset models share the following common properties:

json
{
  "id": "Unique identifier (String)",
  "projectId": "Context ID of the parent Project/Department",
  "tags": ["Core Business", "Production", "High-Def CDN"],
  "status": "ACTIVE / ENABLE / DISABLED / PENDING",
  "isDeleted": false,
  "createBy": "System auto-capture or scanner report",
  "createTime": "2026-07-16 10:00:00",
  "updateTime": "2026-07-16 10:15:00"
}

TIP

Multi-dimensional Tagging: Using the tags array, users and automated tasks can freely categorize assets. System tagging rules (see Asset Rules) automatically attach tags such as ThinkPHP, Spring Boot, or High Risk based on fingerprinting results.


3. Automatic Upstream/Downstream Resolution

TestNet supports asset cascading resolution:

  1. When a scanning task takes a Company or Primary Domain as target, the engine automatically expands the graph downwards;
  2. It retrieves all active subdomains, IPs, and open Web URLs under that hierarchy in one pass—no manual page switching or pagination clicks required;
  3. Any node changes can be visualized in real-time within the Asset Topology Graph (/en/assets/graph) as a visual graph, where nodes with CRITICAL/HIGH vulnerabilities glow red for immediate awareness.

Released under the MIT License