Executive Overview
In an unprecedented display of public accountability, the Cybersecurity and Infrastructure Security Agency (CISA)—the United States’ lead federal authority on cybersecurity and critical infrastructure protection—has released a comprehensive postmortem detailing a significant internal security lapse. For nearly six months, an unencrypted public GitHub repository maintained by a third-party contractor exposed administrative credentials, internal architectural blueprints, and high-level cloud access keys associated with CISA’s internal networks.
The breach, which was exposed publicly following an investigation by cybersecurity outlet KrebsOnSecurity and threat intelligence firm GitGuardian, involved the publication of an 844-megabyte archive titled "Private CISA." Among the exposed assets were administrative tokens for three Amazon Web Services (AWS) GovCloud environments—the specialized, highly isolated cloud infrastructure reserved for government workloads—as well as plaintext credentials for dozens of internal CISA workspaces.
While the agency confirmed that comprehensive audit logs and zero-trust security controls prevented unauthorized external threat actors from exploiting the exposed credentials, the incident highlighted systemic vulnerabilities in government supply-chain management, automated developer monitoring, and vulnerability disclosure routing. CISA’s postmortem reveals that while the agency acted swiftly upon formal escalation, structural friction inside its response apparatus delayed complete key revocation for more than 48 hours after notification.
By choosing to publish a transparent, unvarnished accounting of the failure, CISA has established a rare precedent for government transparency. Security experts across the cybersecurity industry are analyzing the agency’s findings as a case study in operational oversight, secret lifecycle management, and the crucial necessity of continuous automated scanning across public code repositories.
Detailed Chronology of Events
+-----------------------------------------------------------------------------------+
| TIMELINE OF EVENTS |
+------------------+----------------------------------------------------------------+
| November 2025 | Contractor creates public GitHub repository "Private CISA" |
| (Approximate) | containing 844 MB of sensitive internal files. |
+------------------+----------------------------------------------------------------+
| Nov 2025 – | GitGuardian's automated scanners detect the breach; send 9 |
| May 2026 | separate automated alerts to CISA, which go unacknowledged. |
+------------------+----------------------------------------------------------------+
| May 15, 2026 | GitGuardian researcher Guillaume Valadon contacts |
| | KrebsOnSecurity to facilitate direct escalation to CISA. |
+------------------+----------------------------------------------------------------+
| May 15, 2026 | KrebsOnSecurity alerts CISA leadership. CISA acknowledges |
| | receipt and initiates emergency incident response protocols. |
+------------------+----------------------------------------------------------------+
| May 15–17, 2026 | Key rotation and secret invalidation require over 48 hours |
| | due to interconnected system dependencies. |
+------------------+----------------------------------------------------------------+
| Post-Incident | CISA revokes contractor access, audits telemetry, and publishes|
| | a comprehensive public postmortem analyzing operational gaps. |
+------------------+----------------------------------------------------------------+
The Initial Exposure
The exposure began quietly when an authorized external contractor created a public repository named "Private CISA" on GitHub. Intended as a code repository or backup space for development tasks, the repository was inadvertently left visible to the world. Over a span of roughly six months, the repository sat indexed on the open internet, accessible to search engines, web scrapers, and automated intelligence tools.
The Automated Detection Breakdown
Throughout the six-month period, GitGuardian—a cybersecurity firm specializing in automated secret detection—routinely scanned public code platforms for exposed secrets. GitGuardian’s system flagged the "Private CISA" repository almost immediately upon detection.
According to GitGuardian researcher Guillaume Valadon, the company sent nine automated notification emails directly to the contact addresses associated with the exposed accounts. However, due to fragmented internal routing, unmonitored inbox queues, and a lack of dedicated triage pipelines for automated external warnings, all nine alerts went unanswered. This operational oversight allowed a single configuration error to balloon from a one-day remediation task into a half-year window of exposure.
Escalation and Journalistic Intervention
Recognizing the severity of the exposed files and the persistent lack of response, Valadon sought alternative escalation channels on May 15, 2026. The researcher contacted investigative journalist Brian Krebs of KrebsOnSecurity to help bypass the institutional friction.
Upon receiving verified proof of the exposed credentials from KrebsOnSecurity, CISA’s executive leadership was notified directly. The agency immediately activated its internal incident response team to assess the exposure.
Remediation Delays
Although CISA confirmed receipt of the manual report within hours, executing complete remediation proved challenging. The agency required more than 48 hours to fully invalidate the leaked AWS GovCloud tokens, rotate affected service account keys, and reset compromised passwords.
In its official postmortem report, CISA cited the intricate web of interdependencies between federal systems, legacy architecture, and third-party industry integration points as the primary cause for the delayed key revocation process.
Technical Breakdown and Supporting Metrics
Anatomy of the Leaked Payload
The exposed "Private CISA" repository contained 844 MB of uncompressed development data, configuration files, and administrative credentials. A technical audit of the exposed repository revealed two particularly sensitive files:
importantAWStokens: This file contained active, high-privilege administrative API keys granting command-and-control access to three distinct AWS GovCloud environments. AWS GovCloud is designed to host sensitive workloads, regulated data, and federal government software, operating under strict International Traffic in Arms Regulations (ITAR) and FedRAMP High baselines. Possession of these keys theoretically allowed administrative access to provision services, extract environment variables, and alter running infrastructure within those isolated cloud instances.AWS-Workspace-Firefox-Passwords.csv: This file contained an unencrypted, plaintext export of credentials stored within a developer’s browser instance. The file contained dozens of active usernames, passwords, system URLs, and internal portal addresses used by CISA personnel and contractors to access internal dashboards and development databases.
+---------------------------------------------------------------------------------+
| REPOS AND EXPOSED ARTIFACTS |
+----------------------------------+----------------------------------------------+
| Exposed Repository Name | "Private CISA" |
| Repository Size | 844 MB |
| Duration of Exposure | ~6 Months (Unnoticed internally) |
| Unanswered Automated Alerts | 9 Alerts via GitGuardian |
| Critical File: AWS Access | importantAWStokens (3 AWS GovCloud Keys) |
| Critical File: User Credentials | AWS-Workspace-Firefox-Passwords.csv |
| Primary Remediation Delays | >48 Hours for full key rotation |
+----------------------------------+----------------------------------------------+
Telemetry and Zero-Trust Mitigation
Despite the severity of the credential leak, CISA’s post-incident forensic evaluation revealed that no malicious threat actor had leveraged the keys prior to their invalidation.
The agency credited its deployment of zero-trust architectural principles and comprehensive centralized logging for mitigating the potential fallout. Because CISA enforced continuous identity verification, strict network segmentation, and granular API activity logging across both production and staging environments, forensic analysts were able to scrutinize every access request made against the exposed AWS GovCloud tokens during the six-month period.
The audit logs conclusively demonstrated that:
- The exposed AWS credentials were only utilized by legitimate, internal CISA IP addresses and authorized developer systems.
- No data exfiltration, unauthorized API calls, or lateral movement occurred.
- No customer, partner agency, or mission-critical operational data was compromised.
Following the forensic review, CISA formally revoked all access privileges for the contractor responsible for publishing the repository and removed the entity from the project.
Incident Response Friction and Institutional Gaps
CISA’s postmortem highlights several internal operational breakdowns that extended the exposure window and hampered remediation efforts.
+----------------------------------------------+
| EXTERNAL DETECTORS & DISCLOSURE |
+----------------------+-----------------------+
|
v
+----------------------------------------------+
| CISA VULNERABILITY DISCLOSURE PIPELINE |
+----------------------+-----------------------+
|
+-----------------------+
| |
v v
[Product/External Queue] [Internal Infra Queue]
| |
v v
Process tailored for CRITICAL GAP: Routing
third-party software failures, unmonitored
vulnerabilities. inboxes, lack of internal
playbook for GitHub leaks.
Misalignment of Vulnerability Disclosure Channels
One of the most critical findings in the postmortem is the clear distinction—and structural confusion—between external vulnerability disclosure programs (VDP) and internal incident reporting pathways.
CISA operates extensive public intake platforms aimed at receiving security reports regarding vulnerabilities in commercial software, federal systems, and critical infrastructure products. However, the agency lacked a clear, public-facing pipeline tailored specifically for reporting security breaches originating within CISA’s own operational infrastructure.
When external researchers discovered the leak, they attempted to report it through multiple mismatched avenues:
- Emailing the contractor directly (unanswered).
- Submitting technical alerts through CISA’s public VDP platform (which was monitored by teams assigned to analyze broader community software vulnerabilities, rather than internal operational incidents).
- Escalating through media entities to reach executive leadership.
Because the incoming reports were ingested into a pipeline designated for third-party software bugs rather than internal credential compromises, the alerts were misrouted and delayed.
Playbook Deficiencies
CISA candidly acknowledged that while the agency maintained robust, frequently tested incident response playbooks for enterprise cyberattacks (such as ransomware infestations or state-sponsored network intrusions), its operational procedures lacked explicit guidelines for addressing credential leaks on third-party public code-hosting platforms like GitHub and GitLab.
When the alert reached security operations, engineers lacked a pre-approved, automated blueprint for rapidly revoking dependencies linked to public code repositories without risking service disruptions across partner agency integrations. This manual evaluation directly contributed to the 48-hour rotation window.
Official Statements and Industry Reactions
The postmortem was co-authored by Preston Werntz, Acting Chief Information Officer (CIO) at CISA, and Brad Libbey, Acting Chief Information Security Officer (CISO) at CISA.
In their joint analysis, Werntz and Libbey stressed that organizational complexity cannot excuse delayed remediation:
"Drawing on this experience, CISA encourages others to maintain mature and well-tested key management capabilities… 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 (which is intended for vulnerabilities impacting the broader cybersecurity community), and ultimately involving a reporter."
The agency leadership emphasized the necessity of publishing clear reporting guidelines across multiple platforms:
"Additionally, while many researchers rely on the security.txt file, organizations can ensure clarity by publishing reporting instructions in multiple prominent locations."
Expert Perspective: GitGuardian
Guillaume Valadon, the GitGuardian researcher responsible for uncovering the leak, published a detailed technical reaction praising CISA’s transparency while reinforcing the operational lessons highlighted by the event.
"Letting nine notification emails go unanswered is how a one-day incident becomes a six-month exposure," Valadon noted. "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 highlighted that periodic security audits are no longer sufficient in modern cloud environments:
"The Private-CISA repository sat public for six months. Continuous monitoring of public GitHub surfaced it. Comprehensive internal scanning could have caught the plaintext passwords and committed backups long before they left the building."
Despite the oversight, Valadon commended CISA for publishing the unvarnished report, calling it a milestone for government cybersecurity 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 Outlook and Essential Lessons for Enterprise Security
CISA’s willingness to detail its own structural failures provides actionable intelligence for chief information security officers (CISOs), government contractors, and enterprise IT leaders worldwide. The postmortem highlights four core operational directives for modern enterprise security management.
+------------------------------------------------------------------------------------+
| CORE LESSONS & STRATEGIC DIRECTIVES |
+--------------------------+---------------------------------------------------------+
| Continuous Secret | Move from quarterly audits to real-time, automated |
| Scanning | monitoring of public repositories and internal code. |
+--------------------------+---------------------------------------------------------+
| Automated Secret | Establish automated key revocation playbooks to allow |
| Lifecycle Management | programmatic key rotation within minutes, not days. |
+--------------------------+---------------------------------------------------------+
| Distinct Reporting | Separate product/external VDP queues from internal |
| Pipelines | infrastructure incident response pipelines. |
+--------------------------+---------------------------------------------------------+
| Standardization of | Implement standardization standards like security.txt |
| Disclosure Instructions | alongside visible, multi-channel reporting guides. |
+--------------------------+---------------------------------------------------------+
1. Shift from Periodic Audits to Continuous Secret Detection
Traditional security governance often relies on quarterly or annual source-code audits. CISA’s experience illustrates that periodic reviews leave massive blind spots. Organizations must deploy continuous, automated monitoring solutions that scan both public repositories (GitHub, GitLab, Bitbucket) and internal developer pipelines in real time to detect committed API keys, tokens, and certificates before or immediately after they are published.
2. Automate Secret Lifecycle and Key Management Architecture
The fact that CISA required more than 48 hours to invalidate exposed AWS GovCloud keys highlights a common enterprise challenge: hard-coded secrets tied to interdependent infrastructure. Modern cloud-native architectures require centralized secrets management platforms (such as HashiCorp Vault or AWS Secrets Manager) capable of dynamically generating, rotating, and revoking credentials programmatically without breaking downstream systems.
3. Establish Clear Infrastructure Disclosure Pathways
Organizations must maintain distinct, well-publicized intake channels for security reports affecting internal systems versus external software products. Security teams should implement the standard RFC 9116 security.txt file across all public-facing web domains. This file should clearly list direct security contacts, PGP keys, and explicit routing instructions to ensure reports reach internal Security Operations Center (SOC) personnel without falling into general helpdesk or product bug queues.
4. Require Strict Supply-Chain Governance for Contractors
Third-party vendors and external contractors remain one of the largest attack vectors for enterprise networks. Organizations must enforce strict technical constraints on contractor environments, including managed workspaces, mandatory local pre-commit hooks that prevent developers from pushing plaintext credentials, and automated domain-level policy controls that restrict code repositories from being toggled to "public" status without secondary administrative authorization.
Conclusion
CISA’s postmortem serves as a reminder that no organization—regardless of its mission, funding, or cyber-defense mandate—is entirely immune to human error and operational friction. By acknowledging its failures, dissecting the systemic gaps that enabled a six-month leak, and providing concrete recommendations for key rotation, cloud management, and researcher engagement, CISA has converted an embarrassing security lapse into a valuable learning opportunity for the global cybersecurity community.
