cloudforge v1.4.0 AWS public S3 · seed 29

brief

# Lab: `public_data_exposure`

b2b_saas / medium / `customer-data-lake` · prod

## Your job

Some data in this account may be reachable from the internet. Find the exposure. Not every public-looking bucket is a true positive.

For each path, name where it starts, what opens the way, and what the attacker reaches. That is not always data: it can be a role, a key, a secret, an image, a queue, a snapshot or a database.

## Resources

- `n32_9510/acct-main`: **Account** prod-account-9510
- `n20_9510/vpc-prod`: **VPC** prod-vpc-9510
- `n38_9510/s3-public-data`: **S3Bucket** customer-pii-9510
- `n04_9510/s3-locked-backups`: **S3Bucket** public-looking-backups-9510
- `n16_9510/app-data-lake`: **Application** customer-data-lake-9510
- `n19_9510/data-customer-pii`: **DataSet** customer-pii-records-9510
- `n27_9510/trail-main`: **LogTrail** main-trail-9510
- `n35_9510/role-ingest-service`: **IAMRole** IngestServiceRole-9510
- `n21_9510/pol-ingest-service`: **IAMPolicy** IngestServicePolicy-9510
- `n22_9510/role-legacy-support`: **IAMRole** LegacySupportRole-9510
- `n07_9510/pol-legacy-support-read`: **IAMPolicy** LegacySupportReadPolicy-9510
- `n40_9510/role-migration-helper`: **IAMRole** MigrationHelperRole-9510
- `n30_9510/pol-migration-helper-read`: **IAMPolicy** MigrationHelperReadPolicy-9510
- `n14_9510/role-migration-helper`: **IAMRole** MigrationHelperRole-2-9510
- `n03_9510/pol-migration-helper-read`: **IAMPolicy** MigrationHelperReadPolicy-2-9510
- `n25_9510/s3-marketing-downloads`: **S3Bucket** marketing-downloads-9510
- `n08_9510/s3-marketing-downloads`: **S3Bucket** marketing-downloads-2-9510
- `n06_9510/s3-ops-runbooks`: **S3Bucket** ops-runbooks-9510
- `n33_9510/trail-ops-runbooks`: **LogTrail** trail-ops-runbooks-9510
- `n36_9510/data-ops-runbooks`: **DataSet** runbook-library-9510
- `n05_9510/data-reporting-store`: **DataSet** data-reporting-store-9510
- `n37_9510/kms-internal-telemetry`: **KmsKey** kms-internal-telemetry-9510
- `n18_9510/role-cloud-watch-agent`: **IAMRole** CloudWatchAgentRole-9510
- `n26_9510/role-cloud-watch-agent`: **IAMRole** CloudWatchAgentRole-2-9510
- `n15_9510/s3-media-cache`: **S3Bucket** media-cache-9510
- `n28_9510/s3-backup-vault`: **S3Bucket** backup-vault-9510
- `n13_9510/s3-telemetry-logs`: **S3Bucket** telemetry-logs-9510
- `n24_9510/trail-audit-operations`: **LogTrail** trail-audit-operations-9510
- `n02_9510/role-metrics-collector`: **IAMRole** MetricsCollectorRole-9510
- `n10_9510/data-telemetry-sink`: **DataSet** data-telemetry-sink-9510
- `n17_9510/sqs-ingest-pipeline`: **SqsQueue** ingest-pipeline-9510
- `n31_9510/trail-audit-operations`: **LogTrail** trail-audit-operations-2-9510
- `n01_9510/kms-storage-general`: **KmsKey** kms-storage-general-9510
- `n29_9510/s3-assets-archive`: **S3Bucket** assets-archive-9510
- `n11_9510/role-cloud-watch-agent`: **IAMRole** CloudWatchAgentRole-3-9510
- `n23_9510/kms-internal-telemetry`: **KmsKey** kms-internal-telemetry-2-9510
- `n39_9510/ecr-base-runner`: **EcrRepository** repo-base-runner-9510
- `n09_9510/ecr-utility-image`: **EcrRepository** repo-utility-image-9510
- `n12_9510/role-datadog-monitoring`: **IAMRole** DatadogMonitoringRole-9510
- `n34_9510/trail-security-secondary`: **LogTrail** trail-security-secondary-9510
- `n00_9510/data-operational-metrics`: **DataSet** data-operational-metrics-9510

## Relationships

- `n32_9510/acct-main` --exposed_to_internet--> `n38_9510/s3-public-data`
- `n38_9510/s3-public-data` --stores_sensitive_data--> `n19_9510/data-customer-pii`
- `n38_9510/s3-public-data` --belongs_to_app--> `n16_9510/app-data-lake`
- `n04_9510/s3-locked-backups` --belongs_to_app--> `n16_9510/app-data-lake`
- `n32_9510/acct-main` --exposed_to_internet--> `n04_9510/s3-locked-backups`
- `n35_9510/role-ingest-service` --attached_policy--> `n21_9510/pol-ingest-service`
- `n35_9510/role-ingest-service` --can_read--> `n38_9510/s3-public-data`
- `n22_9510/role-legacy-support` --attached_policy--> `n07_9510/pol-legacy-support-read`
- `n40_9510/role-migration-helper` --attached_policy--> `n30_9510/pol-migration-helper-read`
- `n14_9510/role-migration-helper` --attached_policy--> `n03_9510/pol-migration-helper-read`
- `n06_9510/s3-ops-runbooks` --logs_to--> `n33_9510/trail-ops-runbooks`
- `n06_9510/s3-ops-runbooks` --stores_sensitive_data--> `n36_9510/data-ops-runbooks`

how this works

This estate was prebaked. A unique copy composes on the server in about 20 ms from a scenario spec: 10,000 seeds per family, 15 families. No cloud account was touched; the graph is the source of truth.

The grade is one call to TypeSafe Jev: three yes/no questions (entry, hop, sink) and one depth score (0 to 3, fewer rungs on a short path), typed probabilities back. No grade yet on this page.