Skip to content

anyshift-io/sre-skills / skills/sg-deceptive-reachability-auditor

sg-deceptive-reachability-auditor

Unverified

FileKindSize
FAILURE_MODES.mdmarkdown3.4 KB
SKILL.mdskill md14.5 KB
fixtures/01-orphaned-front-internal-cidr/instances.jsonconfig1.2 KB
fixtures/01-orphaned-front-internal-cidr/meta.jsonconfig378 B
fixtures/01-orphaned-front-internal-cidr/security-groups.jsonconfig6.8 KB
fixtures/02-public-alb-no-sg-ref/instances.jsonconfig1.2 KB
fixtures/02-public-alb-no-sg-ref/meta.jsonconfig477 B
fixtures/02-public-alb-no-sg-ref/security-groups.jsonconfig7.1 KB
fixtures/03-disjoint-public-vpn-islands/instances.jsonconfig1.4 KB
fixtures/03-disjoint-public-vpn-islands/meta.jsonconfig569 B
fixtures/03-disjoint-public-vpn-islands/security-groups.jsonconfig6.8 KB
fixtures/04-broken-segment-midchain/instances.jsonconfig1.2 KB
fixtures/04-broken-segment-midchain/meta.jsonconfig541 B
fixtures/04-broken-segment-midchain/security-groups.jsonconfig6.3 KB
fixtures/05-six-hop-cdn-waf-gw-app-svc-db/instances.jsonconfig1.4 KB
fixtures/05-six-hop-cdn-waf-gw-app-svc-db/meta.jsonconfig394 B
fixtures/05-six-hop-cdn-waf-gw-app-svc-db/security-groups.jsonconfig8.0 KB
fixtures/06-compromised-ci-runner-deep/instances.jsonconfig1.6 KB
fixtures/06-compromised-ci-runner-deep/meta.jsonconfig466 B
fixtures/06-compromised-ci-runner-deep/security-groups.jsonconfig7.5 KB
fixtures/07-five-hop-ingress-mesh-broker-db/instances.jsonconfig1.2 KB
fixtures/07-five-hop-ingress-mesh-broker-db/meta.jsonconfig394 B
fixtures/07-five-hop-ingress-mesh-broker-db/security-groups.jsonconfig7.4 KB
tests/README.mdmarkdown3.1 KB
tests/_deep.pyscript3.0 KB
tests/_reach_engine.pyscript20.9 KB
tests/_replay.pyscript881 B
tests/eval/README.mdmarkdown4.3 KB
tests/eval/eval_results.jsonconfig561.5 KB
tests/eval/judge_prompt.mdmarkdown3.2 KB
tests/eval/rubric.mdmarkdown4.7 KB
tests/eval/run_eval.pyscript19.8 KB
tests/eval/scenarios.pyscript13.2 KB
tests/replay_01_orphaned_front_internal_cidr.pyscript1.9 KB
tests/replay_02_public_alb_no_sg_ref.pyscript1.9 KB
tests/replay_03_disjoint_public_vpn_islands.pyscript2.0 KB
tests/replay_04_broken_segment_midchain.pyscript2.0 KB
tests/replay_05_six_hop_cdn_waf_gw_app_svc_db.pyscript1.8 KB
tests/replay_06_compromised_ci_runner_deep.pyscript2.0 KB
tests/replay_07_five_hop_ingress_mesh_broker_db.pyscript1.8 KB

fixtures/04-broken-segment-midchain/security-groups.json

View on GitHub
{
  "SecurityGroups": [
    {
      "GroupId": "sg-04edge00000000000002",
      "GroupName": "edge-proxy",
      "VpcId": "vpc-0broken01",
      "Description": "Public edge reverse proxy, HTTPS from internet",
      "Tags": [{"Key": "tier", "Value": "edge"}, {"Key": "az", "Value": "eu-central-1a"}],
      "IpPermissions": [
        {"IpProtocol": "tcp", "FromPort": 443, "ToPort": 443, "IpRanges": [{"CidrIp": "0.0.0.0/0", "Description": "public HTTPS"}], "Ipv6Ranges": [{"CidrIpv6": "::/0"}], "UserIdGroupPairs": []}
      ],
      "IpPermissionsEgress": [{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}]
    },
    {
      "GroupId": "sg-04web00000000000003",
      "GroupName": "web-frontend",
      "VpcId": "vpc-0broken01",
      "Description": "Web frontend, accepts the internal mesh CIDR on 8080 (NOT the edge proxy SG: traffic from the public edge proxy is NAT'd onto the mesh subnet so registration is by CIDR)",
      "Tags": [{"Key": "tier", "Value": "web"}, {"Key": "az", "Value": "eu-central-1a"}],
      "IpPermissions": [
        {"IpProtocol": "tcp", "FromPort": 8080, "ToPort": 8080, "IpRanges": [{"CidrIp": "10.70.0.0/16", "Description": "internal mesh"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}
      ],
      "IpPermissionsEgress": [{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}]
    },
    {
      "GroupId": "sg-04app00000000000004",
      "GroupName": "app-tier",
      "VpcId": "vpc-0broken01",
      "Description": "Application tier, accepts the web frontend on 9000",
      "Tags": [{"Key": "tier", "Value": "app"}, {"Key": "az", "Value": "eu-central-1a"}],
      "IpPermissions": [
        {"IpProtocol": "tcp", "FromPort": 9000, "ToPort": 9000, "IpRanges": [], "Ipv6Ranges": [], "UserIdGroupPairs": [{"GroupId": "sg-04web00000000000003", "Description": "from web"}]}
      ],
      "IpPermissionsEgress": [{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}]
    },
    {
      "GroupId": "sg-04cache0000000000005",
      "GroupName": "session-cache",
      "VpcId": "vpc-0broken01",
      "Description": "Redis session cache, accepts the app tier on 6379",
      "Tags": [{"Key": "tier", "Value": "cache"}, {"Key": "az", "Value": "eu-central-1a"}],
      "IpPermissions": [
        {"IpProtocol": "tcp", "FromPort": 6379, "ToPort": 6379, "IpRanges": [], "Ipv6Ranges": [], "UserIdGroupPairs": [{"GroupId": "sg-04app00000000000004", "Description": "from app"}]}
      ],
      "IpPermissionsEgress": [{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}]
    },
    {
      "GroupId": "sg-04db00000000000006",
      "GroupName": "db-primary",
      "VpcId": "vpc-0broken01",
      "Description": "Postgres primary, accepts the session cache on 5432",
      "Tags": [{"Key": "tier", "Value": "db"}, {"Key": "az", "Value": "eu-central-1a"}],
      "IpPermissions": [
        {"IpProtocol": "tcp", "FromPort": 5432, "ToPort": 5432, "IpRanges": [], "Ipv6Ranges": [], "UserIdGroupPairs": [{"GroupId": "sg-04cache0000000000005", "Description": "from session cache"}]}
      ],
      "IpPermissionsEgress": [{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}]
    },
    {
      "GroupId": "sg-04bastion000000007",
      "GroupName": "bastion",
      "VpcId": "vpc-0broken01",
      "Description": "SSH bastion, corp VPN only",
      "Tags": [{"Key": "tier", "Value": "bastion"}, {"Key": "az", "Value": "eu-central-1a"}],
      "IpPermissions": [
        {"IpProtocol": "tcp", "FromPort": 22, "ToPort": 22, "IpRanges": [{"CidrIp": "10.20.0.0/16", "Description": "corp VPN"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}
      ],
      "IpPermissionsEgress": [{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}]
    },
    {
      "GroupId": "sg-04mon0000000000008",
      "GroupName": "monitoring",
      "VpcId": "vpc-0broken01",
      "Description": "Prometheus, monitoring subnet only",
      "Tags": [{"Key": "tier", "Value": "monitoring"}, {"Key": "az", "Value": "eu-central-1a"}],
      "IpPermissions": [
        {"IpProtocol": "tcp", "FromPort": 9090, "ToPort": 9090, "IpRanges": [{"CidrIp": "10.80.1.0/24", "Description": "monitoring subnet"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}
      ],
      "IpPermissionsEgress": [{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}]
    },
    {
      "GroupId": "sg-04ci00000000000009",
      "GroupName": "ci-runner",
      "VpcId": "vpc-0broken01",
      "Description": "CI runners, runner subnet only",
      "Tags": [{"Key": "tier", "Value": "ci"}, {"Key": "az", "Value": "eu-central-1a"}],
      "IpPermissions": [
        {"IpProtocol": "tcp", "FromPort": 443, "ToPort": 443, "IpRanges": [{"CidrIp": "10.80.7.0/24", "Description": "runner subnet"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}
      ],
      "IpPermissionsEgress": [{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}]
    },
    {
      "GroupId": "sg-04queue00000000010",
      "GroupName": "rabbitmq",
      "VpcId": "vpc-0broken01",
      "Description": "RabbitMQ, accepts the app tier on 5672",
      "Tags": [{"Key": "tier", "Value": "queue"}, {"Key": "az", "Value": "eu-central-1a"}],
      "IpPermissions": [
        {"IpProtocol": "tcp", "FromPort": 5672, "ToPort": 5672, "IpRanges": [], "Ipv6Ranges": [], "UserIdGroupPairs": [{"GroupId": "sg-04app00000000000004", "Description": "from app"}]}
      ],
      "IpPermissionsEgress": [{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}]
    },
    {
      "GroupId": "sg-04logs000000000011",
      "GroupName": "log-aggregator",
      "VpcId": "vpc-0broken01",
      "Description": "Log aggregator, accepts app + web on 5044",
      "Tags": [{"Key": "tier", "Value": "logs"}, {"Key": "az", "Value": "eu-central-1a"}],
      "IpPermissions": [
        {"IpProtocol": "tcp", "FromPort": 5044, "ToPort": 5044, "IpRanges": [], "Ipv6Ranges": [], "UserIdGroupPairs": [{"GroupId": "sg-04app00000000000004"}, {"GroupId": "sg-04web00000000000003"}]}
      ],
      "IpPermissionsEgress": [{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}], "Ipv6Ranges": [], "UserIdGroupPairs": []}]
    }
  ]
}
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall