Skip to content

[audit] Flags: security-group flag has 3 names + 3 types; launch only accepts a single SG #312

Closed

Description

@scttfrdmn

Filed from the 2026-07-11 spawn audit. Full report: docs/spawn-audit-2026-07-11.md. Assessment-only — no code changed yet.

Phase: Phase 2 — rename (design)

Evidence

  • launch.go:237 --security-group (String, single!)
  • autoscale.go:218 --security-groups (Slice), burst.go:58 --security-groups (Slice), image.go:676 --security-group-id (Array)

Recommendation
Standardize on --security-group-ids (StringSlice) across launch/autoscale/burst — this also fixes launch's single-SG limitation. Each rename ships a deprecated alias.

User-facing / SemVer: User-facing — aliases + CHANGELOG + MINOR.

Adversarially verified during the audit (62/62 findings survived verification; severities/scope adjusted where the first pass was wrong).

Activity

  1. added
    enhancement
    area:networking
    audit:2026-07
    on Jul 11, 2026
  2. scttfrdmn commented on Jul 11, 2026

    @scttfrdmn
    ContributorAuthor

    Shipped in #333 (squash-merged to main). Closing manually (only #309 auto-closed from that PR).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:networkingaudit:2026-07enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions