Security attack paths
Latest stable Based on Graph release 0.5.1
Problem and backend
Section titled “Problem and backend”This example makes exploit, trust, privilege, and blocking transitions visible along an attack path. It uses TinkerGraph to isolate modeling from container and network variance. Read core model and TinkerPop first; use the selection guide before production.
- Nodes: EntryAsset/Host/Principal/Credential/Vulnerability/Permission
- Edges: CAN_REACH/EXPLOITS/COMPROMISES/RUNS_AS/HAS_CREDENTIAL/GRANTS_ACCESS/HAS_PERMISSION/CONTROLS_ASSET
- Key properties: assetId, hostId, principalId, vulnerabilityId, severity, privilege, status
Prerequisites and release boundary
Section titled “Prerequisites and release boundary”Use JDK 21, commit 3e0fa7cb9e3bc70c2743aeebda2487f3e45e4907, and the checked-in wrapper. Examples are not published; run this release fixture as a Gradle project from the release source checkout. In a consumer application, select only bluetape4k-dependencies:<ecosystem-version> and add the required graph module without an individual version.
Run and observe
Section titled “Run and observe”./gradlew :security-attack-path-examples:test --tests "io.bluetape4k.graph.examples.securityattack.TinkerGraphSecurityAttackPathTest"The test asserts that the escalation path includes web-service, ci-admin-token, and domain-admin, while customer-db remains blocked. A failure means an exploit or trust edge, privilege transition, or blocking rule changed.
Reading order
Section titled “Reading order”Continue from fraud-detection, then read network-topology. Also see paired APIs, testing, and operations.
Exercises and production gaps
Section titled “Exercises and production gaps”Add one result-changing edge and assertion; repeat through the suspend API; then run a persistent-backend concrete test serially. Add disconnected and malformed inputs as diagnostics. This fixture does not prove throughput, clustering, authorization, tenant isolation, migration, backup, remote-driver timeout, or index quality.