Inside CISA’s Public Postmortem: How a Contractor Exposed AWS GovCloud Keys and Six Months of Internal Credentials on GitHub

Executive Overview: A Rare Blueprint in Government Transparency

In an unprecedented act of public accountability, the Cybersecurity and Infrastructure Security Agency (CISA)—the federal body charged with safeguarding America’s critical infrastructure and championing "Secure by Design" principles—has published a detailed postmortem analyzing a major internal data exposure.

The incident stemmed from a third-party contractor who inadvertently published 844 megabytes of sensitive internal CISA data to a public GitHub repository titled "Private CISA." The exposed repository remained accessible on the public internet for nearly six months before being taken down following external intervention. Among the exposed assets were administrative credentials for three Amazon Web Services (AWS) GovCloud environments and plaintext password archives detailing credentials for dozens of internal agency systems.

Co-authored by Preston Werntz, CISA’s acting Chief Information Officer, and Brad Libbey, the agency’s acting Chief Information Security Officer, the postmortem candidly outlines the technical, operational, and procedural gaps that allowed the leak to persist. Despite receiving nine automated notification alerts from external scanning services, internal routing failures and absent playbooks for public code repositories delayed remediation. Furthermore, once alerted directly by security researchers, the agency required more than 48 hours to fully invalidate and rotate the compromised cloud keys.

While the exposure highlights systemic challenges in third-party risk management and automated secret detection, CISA’s advanced logging and Zero Trust architecture provided a critical silver lining: forensic teams conclusively confirmed that no external threat actors leveraged the exposed credentials to access mission systems or compromise sensitive government data. Cybersecurity experts have widely praised the agency’s willingness to publish a unflinching self-assessment, calling it a historic benchmark for federal transparency.


Detailed Chronology: From Silent Exposure to Escalated Remediation

The root of the breach began months prior to its public discovery when an authorized CISA contractor committed internal operational backups and development files directly to a personal, public GitHub repository.

[Contractor Uploads Repo] ──> [6 Months Public Exposure] ──> [9 Automated Alerts Ignored]
                                                                        │
[Key Revocation Completed] <── [48h Key Rotation] <── [Krebs Alert] <── [GitGuardian Escalations]

The 6-Month Silent Exposure

Between late 2025 and May 2026, the repository named "Private CISA" sat publicly indexable on GitHub. Throughout this window, automated scanners operated by security firm GitGuardian repeatedly flagged the repository for containing high-risk cryptographic material and administrative tokens. GitGuardian dispatched nine separate automated notification emails to the email address associated with the GitHub account.

However, because these alerts went unanswered and were not integrated into CISA’s internal Security Operations Center (SOC) intake feeds, the exposure stretched into a half-year window.

The May 15 Escalation

On May 15, 2026, Guillaume Valadon, a senior security researcher at GitGuardian, recognized the critical nature of the exposed files and sought a direct path to alert CISA leadership. Navigating multiple intake friction points—including unmonitored email addresses and automated submission forms meant exclusively for public software vulnerabilities—Valadon reached out to investigative journalism site KrebsOnSecurity to facilitate immediate outreach to CISA officials.

The 48-Hour Rotation Bottleneck

Upon receiving direct notification from KrebsOnSecurity, CISA acted rapidly to confirm the legitimacy of the exposure and contact GitHub to remove the public repository. However, revoking and rotating the underlying administrative credentials proved far more complex.

It took CISA operational teams more than 48 hours to fully invalidate the leaked AWS GovCloud tokens and rotate associated system secrets. In its postmortem, CISA attributed this multi-day lag to the deep technical interdependencies between its cloud environments, partner integrations across federal civilian agencies, and legacy operational configurations that lacked automated key rotation capabilities.


Technical Breakdown: Anatomy of the Exfiltrated Payload

The leaked 844 MB archive represented a high-severity threat to CISA’s operational boundary. The repository contained developmental files, system backups, and explicit plaintext configuration dumps.

Private CISA Repository (844 MB Total)
├── importantAWStokens
│   └── Admin Keys: 3x AWS GovCloud Environments
└── AWS-Workspace-Firefox-Passwords.csv
    └── Plaintext Usernames & Passwords (Dozens of Internal CISA Systems)

1. AWS GovCloud Administrative Credentials

A file explicitly named importantAWStokens contained active administrative access keys and secret tokens for three AWS GovCloud instances. AWS GovCloud is an isolated cloud region designed specifically to host sensitive workloads, regulated data, and stringent government compliance frameworks (such as FedRAMP High and ITAR). Full administrative access to these environments could theoretically allow an adversary to alter cloud configurations, deploy rogue infrastructure, or exfiltrate government datasets.

2. Plaintext Password Archives

A second file, titled AWS-Workspace-Firefox-Passwords.csv, contained unencrypted CSV exports of saved browser credentials. The file listed valid usernames and plaintext passwords for dozens of internal CISA web applications, developer portals, and operational workspaces. This revealed a severe breach of endpoint security policy, where individual workspace browsers were utilized to store administrative credentials without secondary encryption or enterprise password manager enforcement.


Operational Failures and Internal Friction Points

CISA’s postmortem highlighted three major institutional breakdowns that allowed the incident to occur and delayed its resolution:

┌────────────────────────────────────────────────────────────────────────┐
│                   CISA Incident Response Friction Points               │
├──────────────────────────────┬─────────────────────────────────────────┤
│ Failure Point                │ Institutional Cause                     │
├──────────────────────────────┼─────────────────────────────────────────┤
│ 1. Alert Ingestion           │ Automated emails landed in dark queues  │
│ 2. Intake Channel Confusion  │ VDP built for products, not internal infrastructure │
│ 3. Missing Playbooks         │ No runbooks for public code repos/cloud │
│ 4. Key Rotation Manual Lags  │ Interconnected federal system complexity│
└──────────────────────────────┴─────────────────────────────────────────┘

Disjointed Vulnerability Intake Channels

One of the postmortem’s most critical insights is the organizational disconnect between product vulnerability reporting and internal infrastructure security reporting.

When researchers attempted to report the leak, CISA’s primary reporting mechanisms were geared toward public Vulnerability Disclosure Programs (VDP)—platforms designed to receive reports about bugs in software products used by the broader community. Reports regarding leaks in CISA’s own internal systems lacked a dedicated, distinct triage pathway. As a result, critical incoming alerts were misrouted, delayed, or lost in high-volume queues.

"In CISA’s case, these channels were not well defined, leading the security researcher to try multiple avenues — including emailing the contractor, submitting through CISA’s vulnerability disclosure platform… and ultimately involving a reporter," wrote co-authors Preston Werntz and Brad Libbey.

Gaps in Incident Response Playbooks

While CISA maintains comprehensive enterprise incident response playbooks for sophisticated cyberattacks, the agency admitted its existing frameworks lacked specific, actionable procedures for handling leaks originating on public cloud repositories like GitHub. Developers and response teams had to navigate the remediation process ad-hoc rather than executing automated, pre-scripted containment playbooks.

Key Management and Dependency Complexity

The agency acknowledged that key management maturity lagged behind enterprise needs. Hardcoded secrets and interconnected system dependencies meant that revoking a single set of AWS keys risked breaking downstream federal services and inter-agency data feeds. This reliance on manual dependency mapping added significant operational friction to the 48-hour key rotation window.


Mitigating Factors: Zero Trust Telemetry and Damage Limitation

Despite the severity of the credential exposure, CISA’s investments in defense-in-depth architecture successfully mitigated catastrophic harm.

[Exposed AWS Tokens] ──> [Attempted External Access?] ──> [Blocked / Logged by Zero Trust]
                                                                  │
                                                        [Forensic Log Audit]
                                                                  │
                                                   [Result: 0 Data Exfiltration]

Forensic Log Verification

CISA leveraged its centralized logging infrastructure to perform extensive retrospective forensic analysis across all exposed environments. Because log aggregation and immutable audit trails were enforced across production and non-production AWS instances, forensic investigators were able to audit every API call made using the leaked GovCloud keys across the entire six-month exposure window.

The analysis conclusively proved that:

  • The leaked administrative tokens were never executed outside authorized CISA internal IP spaces.
  • No external threat actors utilized the credentials to access AWS GovCloud consoles or storage buckets.
  • No mission-critical data, sensitive partner communications, or federal telemetry were exfiltrated.

Zero Trust Network Enforcement

The agency’s adoption of Zero Trust Architecture (ZTA) served as an effective secondary barrier. Beyond static credentials, access to internal CISA systems required multi-factor authentication (MFA), posture-checked device identity certificates, and IP-restricted management planes. Consequently, even if an adversary had discovered the plaintext passwords in AWS-Workspace-Firefox-Passwords.csv, authentication attempts from unauthorized external devices would have been blocked at the identity provider boundary.

Immediate Accountability

Following the confirmation of the leak, CISA immediately revoked all system access and security clearances for the third-party contractor responsible for creating the public repository.


Official Statements and Security Community Reaction

The security community’s response to CISA’s postmortem has been overwhelmingly positive regarding the agency’s transparency, even while acknowledging the seriousness of the underlying operational lapses.

Statements from CISA Leadership

In the official report, Preston Werntz (Acting CIO) and Brad Libbey (Acting CISO) underscored the necessity of robust key management and simplified researcher engagement:

"Drawing on this experience, CISA encourages others to maintain mature and well-tested key management capabilities… Additionally, while many researchers rely on the security.txt file, organizations can ensure clarity by publishing reporting instructions in multiple prominent locations."

Expert Analysis: GitGuardian

Guillaume Valadon, the GitGuardian researcher who catalyzed the resolution, pointed out the systemic danger of ignoring automated alerting pipelines in an analysis of CISA’s report:

"Letting nine notification emails go unanswered is how a one-day incident becomes a six-month exposure. Make it trivial to report a leak about you, not just about your products. The person reporting a leak to you is not the threat. Publish a security.txt, but do not stop there. Put reporting instructions in several prominent places, and make sure a report about your own infrastructure does not land in a product-bug queue."

Valadon also noted the broader significance of CISA’s transparency:

"To my knowledge, it is also the first time a national cybersecurity agency has publicly advocated for secrets scanning and for simplifying relations with security researchers. That is exactly the incident communication we should expect from every organization."


Strategic Takeaways and Action Plan for Enterprise CISOs

CISA’s postmortem offers clear lessons for private enterprise and public sector security leaders seeking to defend against third-party supply chain risks and credential leakage.

┌────────────────────────────────────────────────────────────────────────┐
│                   Enterprise Remediation Framework                     │
├────────────────────────────────────────────────────────────────────────┤
│ 1. Continuous Public & Internal Secret Scanning                        │
│ 2. Disentangled VDP Intake (Corporate vs. Product)                     │
│ 3. Automated Key Rotation & Dependency Mapping                         │
│ 4. Endpoint Policy Enforcement (Disable Browser Credential Storage)    │
└────────────────────────────────────────────────────────────────────────┘

1. Shift from Periodic Audits to Continuous Secrets Scanning

Relying on quarterly security reviews or manual code audits is insufficient. Enterprise defense strategies must deploy real-time secrets scanning engines across both internal version control systems (e.g., GitHub Enterprise, GitLab) and public code repositories to catch committed secrets before or immediately after they leave the corporate perimeter.

2. Separate Corporate Infrastructure VDP from Product Security

Organizations must audit their public disclosure channels. Security intake processes must maintain distinct, high-priority routing logic to differentiate between vulnerability submissions affecting third-party software and active credential leaks impacting internal cloud infrastructure.

3. Automate Key Management and Deprecate Static Credentials

The 48-hour delay in invalidating AWS keys demonstrates the risk of static long-lived credentials. CISOs should prioritize migrating infrastructure access toward short-lived, ephemeral tokens generated dynamically via Identity and Access Management (IAM) role assumption, reducing the window of utility for any accidentally committed key.

4. Enforce Strict Endpoint Security Policies

The presence of plaintext browser credential exports (.csv files) in developer workspaces points to a common policy failure. Enterprise endpoints must be managed via group policies that disable browser-native password saving, mandating the use of enterprise password managers equipped with centralized auditing and zero-knowledge encryption.


Future Outlook

In response to the incident, CISA has established a comprehensive internal action plan. Key initiatives include implementing mandatory pre-commit secret scanning tools across all contractor workstations, updating federal incident response playbooks to cover public cloud exposures, and overhauling its external reporting intake channels to ensure researcher reports reach SOC analysts without friction.

By publishing an honest accounting of its own operational failures, CISA has provided the cybersecurity industry with an invaluable case study. The agency’s postmortem demonstrates that while no organization is entirely immune to human error or supply chain mistakes, mature logging, Zero Trust controls, and transparent communication remain the gold standard for cyber resilience.

Leave a Reply

Your email address will not be published. Required fields are marked *