Skip to main content
02 · CLOUD, CONTAINERS & K8SRead-Only Federation · 16-Asset Graph

Trace cloud toxic paths back to the pull request that shipped them.

RookPhase unifies read-only AWS, GCP, and Azure Go+OPA CSPM with pull-once CycloneDX container scanning, PostgreSQL recursive toxic-combination graphs (TC-01–TC-05), <80 MiB Kubernetes informers, and zero-attach VM snapshots—all inside one 16-asset graph.

Explore Hybrid VPC BYOC
Isometric Code-to-Cloud security graph linking repositories, container image digests, IAM roles, and cloud storage in RookPhase
Unified Code-to-Cloud Graph · PostgreSQL 17/18 + FORCE RLS (Zero Neo4j)
Registry Re-Pull Egress
0 bytes

Pull-once sha256 CycloneDX 1.6 in R2

Toxic-Combo CTE (p95)
< 150 ms

Incremental TC-01..TC-05 traversal

K8s Agent RAM Footprint
< 80 MiB

0 DaemonSets · 0 secrets RBAC

IaC Drift Attribution
4-Tier

yor_trace -> state -> AST -> CloudTrail

CLOUD, CONTAINER & WORKLOAD POSTURE

Code-to-cloud correlation without a second graph database or data-plane risk.

Every cloud account, container digest, Kubernetes cluster, and VM volume maps cleanly onto PostgreSQL assets and asset_edges alongside Phase 1 source repositories.

01 · READ-ONLY CSPMApache-2.0 Stack

AWS, GCP & Azure Go+OPA CSPM + Scoped Prowler v5

0data-plane blob or secret reads permitted

Single-pass Go collectors and offline OPA/Rego evaluate infrastructure and IAM policies, paired with scoped Apache-2.0 Prowler v5 OCSF checks and real-time EventBridge, CAI Pub/Sub, and Event Grid deltas.

  • AWS SecurityAudit + 32-byte ExternalId + explicit data-plane Deny guardrail
  • GCP WIF + Cloud Asset Inventory (400 req/min); Azure Entra FIC + ARG KQL (15 req/5s)
  • Rejects AGPL-3.0 Steampipe, commercial CloudQuery plugins & GPLv3 Neo4j sprawl
Go SDKs + OPA v1.0Scoped Prowler v5EventBridge / CAI / ARG
02 · CONTAINERS0 Bytes Re-Pull

Pull-Once Container Digest SBOM & Layer Dedup

< 200 mszero-egress daily CVE feed rescan

Unpacks each new immutable sha256 image digest once across ECR, GAR, ACR, GHCR, and Docker Hub inside zero-egress microVMs—separating Base-OS CVEs from App-Layer CVEs.

  • Digest-pinned Trivy (post-CVE-2026-33634) + Syft/Grype emit layer-tagged CycloneDX 1.6
  • App-layer CVEs merge into Phase 1 source repo findings with L1/L2/L3 reachability
  • Shared base-OS CVEs roll up across 200+ microservices into one Dockerfile FROM patch
Trivy + Syft + GrypeCycloneDX 1.6 in R2SLSA Provenance
03 · GRAPH ENGINENo Neo4j Sprawl

PostgreSQL Recursive Toxic Combinations (TC-01–05)

< 150 msp95 incremental path query (<10 ms read)

Runs bounded 5-hop WITH RECURSIVE CTE traversals directly inside composite-keyed PostgreSQL assets and asset_edges tables whenever topology or findings mutate.

  • Detects internet ingress -> reachable workload CVE -> IAM role -> sensitive S3/RDS
  • Materializes attack paths cleanly into toxic_paths under FORCE ROW LEVEL SECURITY
  • Hands verified exposed paths directly to RookPhase Attack for reproducible PoCs
PostgreSQL 17/18WITH RECURSIVE CTE16-Asset / 15-Edge Graph
04 · IAC DRIFT

4-Tier Code-to-Cloud IaC Drift Attribution

4 Tiers0.99 provenance down to CloudTrail actor

Resolves live cloud misconfigurations and console mutations back to exact Terraform, CloudFormation, and Helm files so fixes ship as reviewed Git AutoFix PRs.

  • Tier 1 (0.99): yor_trace UUIDs, CloudFormation stacks, Helm & ArgoCD GitOps tags
  • Tier 2 (0.92): Opt-in Terraform state ARN matching; Tier 3 (0.78): HCL AST fingerprint
  • Tier 4: Unmanaged Shadow ClickOps attributed via CloudTrail/Audit Log userIdentity
yor_traceTerraform State/ASTCloudTrail Attribution
05 · K8S AGENT

Stateless <80 MiB Read-Only K8s Helm Agent

< 80 MiBRAM at 2,500 pods per cluster

Single non-root Deployment using client-go SharedInformers with protobuf transport and managedFields stripping—zero DaemonSets, zero eBPF dependency, and zero secrets RBAC.

  • Explicitly omits get/list/watch on secrets, pods/exec, pods/portforward & writes
  • Extracts running imageID sha256 digests off-cluster with zero node CPU spikes
  • Emits K8sCluster, K8sWorkload, runs_in, and Ingress/Gateway exposed_via edges
client-go InformerreadOnlyRootFilesystemGOMEMLIMIT=100MiB
06 · VM SNAPSHOTS

Agentless EBS Direct, Azure SAS & GCP Clones

512 KiBsparse block reads via user-space io.ReaderAt

Scans OS packages, language lockfiles, EOL runtimes, and persistence surfaces from incremental snapshots in-region—with zero SSH keys, zero guest agents, and zero kernel mounts.

  • AWS EBS Direct ListChangedBlocks + Azure incremental GetPageRangesDiff SAS reads
  • Pure user-space MBR/GPT -> LVM2 -> ext4/XFS/NTFS traversal via OSV-SCALIBR
  • Halts immediately on LUKS/BitLocker encryption + Temporal defer snapshot cleanup
EBS Direct APIAzure SAS RangeUser-Space io.ReaderAt

TECHNICAL PROOF & LEAST-PRIVILEGE CONTRACTS

PostgreSQL toxic paths, explicit data-plane denies, and <80 MiB cluster safety.

Instead of billing enterprise markups for Neo4j graph clusters or requesting broad ReadOnlyAccess roles that allow reading customer S3 objects, RookPhase enforces verifiable SQL, IAM, and Kubernetes RBAC boundaries.

ZERO GRAPH DB SPRAWL

Incremental WITH RECURSIVE over composite RLS tables

When an edge or critical finding mutates, Temporal triggers a bounded 5-hop CTE on affected subgraphs—materializing paths for <10 ms UI reads and RookPhase Attack verification.

EXPLICIT DATA-PLANE DENY

Read posture metadata, never customer data

AWS policies explicitly deny s3:GetObject, kms:Decrypt, and secretsmanager:GetSecretValue; GCP omits roles/storage.objectViewer; Azure excludes Blob & Key Vault secret readers.

VM CLEANUP GUARANTEE

User-space io.ReaderAt + Temporal defer reaper

AWS EBS Direct and Azure SAS reads inspect 512 KiB chunks in user-space Go without mounting untrusted disks, deleting snapshots even after worker SIGKILL.

Read-only collectors run in RookPhase SaaS or customer-hosted Hybrid VPC BYOC workers (unlocked at Growth $599/mo) for private ECR/GAR/ACR registries.

sql
1WITH RECURSIVE attack_paths AS (2  SELECT a.org_id, e.workspace_id, a.id AS entry_asset_id,3         e.target_asset_id AS current_asset_id,4         ARRAY[a.id, e.target_asset_id] AS path_nodes, 1 AS hop_depth5  FROM assets a6  JOIN asset_edges e7    ON e.org_id = a.org_id AND e.workspace_id = a.workspace_id8   AND e.source_asset_id = a.id9  WHERE a.org_id = $1 AND a.workspace_id = $210    AND a.is_internet_exposed = true AND NOT a.is_archived11    AND e.edge_type IN ('routes_to', 'exposed_via')12  UNION ALL13  SELECT ap.org_id, ap.workspace_id, ap.entry_asset_id, e.target_asset_id,14         ap.path_nodes || e.target_asset_id, ap.hop_depth + 115  FROM attack_paths ap16  JOIN asset_edges e17    ON e.org_id = ap.org_id AND e.workspace_id = ap.workspace_id18   AND e.source_asset_id = ap.current_asset_id19  WHERE ap.hop_depth < 520    AND e.edge_type IN ('routes_to', 'assumes_role', 'can_access')21    AND NOT (e.target_asset_id = ANY(ap.path_nodes))22)23SELECT ap.entry_asset_id, ap.path_nodes, target.canonical_key, f.id24FROM attack_paths ap25JOIN assets target26  ON target.org_id = ap.org_id AND target.id = ap.current_asset_id27JOIN asset_edges img28  ON img.org_id = ap.org_id AND img.target_asset_id = ANY(ap.path_nodes)29 AND img.edge_type = 'runs_in'30JOIN findings f31  ON f.org_id = ap.org_id AND f.primary_asset_id = img.source_asset_id32WHERE target.metadata->>'data_classification' IN ('pii','secrets','financial')33  AND f.status = 'open' AND (f.severity_score >= 80 OR f.is_kev = true);

TOXIC COMBINATION CATALOG

Five multi-hop attack paths prioritized above isolated alerts.

An unencrypted S3 bucket in a sandbox or an unreachable CVE in an internal tool is noise. RookPhase elevates findings when exposure, reachability, identity privilege, and sensitive data align.

IDPatternRequired Graph Path ConditionsScore Floor
TC-01Internet-Exposed Reachable RCE + Sensitive Data AccessDomain / 0.0.0.0/0 -> exposed_via/routes_to -> Workload (Critical/KEV/EPSS>=0.5 reachable CVE) -> assumes_role -> can_access -> PII / Secrets Store95–100 (Critical)
TC-02Public Storage Bucket or Direct Database ExposureCloudResource (S3 / GCS / Azure Blob / RDS 5432,3306,27017) with is_internet_exposed = true AND sensitive/unencrypted backup payload92–98 (Critical)
TC-03Cross-Account or Over-Privileged Identity EscalationExternal/wildcard assumes_role (missing ExternalId) -> IAMRole with iam:PassRole + sts:AssumeRole or *:* admin rights -> Production boundary90–97 (Critical)
TC-04Leaked Secret Inside Internet-Exposed Container ImageContainerImage with Tier-1 verified secret in OCI layer -> runs_in -> internet-exposed K8sWorkload / ECS / Cloud Run service94–100 (Critical)
TC-05Shadow ClickOps Production Drift + Open IngressCloudResource with iac_attribution.tier = unmanaged (manual console creation/mutation) AND is_internet_exposed = true in production75–85 (High)

Does RookPhase require read access to S3 objects, KMS keys, or database rows?

Never. AWS onboarding uses the managed SecurityAudit role + a 32-byte ExternalId paired with an explicit Deny policy on s3:GetObject, kms:Decrypt, secretsmanager:GetSecretValue, and dynamodb:GetItem. GCP uses Workload Identity Federation + Cloud Asset Inventory Viewer, and Azure uses Entra FIC + Reader and Security Reader.

How does Pull-Once Container SBOM rescanning avoid cloud registry egress bills?

Every new sha256 image digest is unpacked once inside a zero-egress Firecracker microVM and persisted as a layer-attributed CycloneDX 1.6 SBOM in Cloudflare R2 or customer BYOC S3. When new CVEs publish, RookPhase evaluates the cached SBOM in <200 ms with zero registry re-pulls.

Can RookPhase run inside private VPCs, private registries, and air-gapped clusters?

Yes. Hybrid VPC BYOC workers unlock at Growth ($599/mo) for Zero-Code-Upload scanning and private ECR/GAR/ACR pulls via outbound-only SPIFFE mTLS, while Scale ($1,299/mo) and Enterprise add full Kubernetes BYOC, custom S3/R2 buckets, and Cosign-verified air-gapped Helm/Terraform bundles.

Want automated PoC verification proving whether cloud toxic paths are truly exploitable?Explore RookPhase Attack & Infinite

Connect AWS, GCP, Azure & Kubernetes with zero data-plane risk

1 cloud account included free on Developer. Hybrid VPC BYOC workers for private registries unlock at Growth ($599/mo); K8s agent & agentless VM snapshots unlock at Scale ($1,299/mo).

Primary security priorities (optional)
Zero spam. Aux committers, bots & viewers cost $0.