CISA Contractor Leaves Sensitive AWS Credentials and Passwords in Public GitHub Repository for Six Months
A contractor for the U.S. Cybersecurity and Infrastructure Security Agency (CISA) inadvertently exposed highly sensitive internal credentials, including AWS GovCloud keys and plaintext passwords, on a public GitHub repository for six months before it was discovered and secured.
- Security Incident Reporting
- Focuses on the factual details of the leak, including the types of data exposed, the duration of the exposure, and the initial discovery by security researchers.
- Enterprise Risk & Mitigation
- Analyzes the incident from a corporate security perspective, emphasizing the systemic failures that allowed the leak and offering actionable advice for organizations to prevent similar occurrences.
What's not represented
- · The perspective of the specific contractor (Nightwing) involved in the leak.
- · The perspective of the individual employee who created and maintained the public repository.
- · Detailed commentary from CISA leadership regarding the potential impact on national security.
Why this matters
This incident exposes the persistent vulnerability of software supply chains, demonstrating that even top-tier national cybersecurity agencies are susceptible to simple human error by third-party vendors. The swift remediation serves as a critical reminder for organizations to implement automated secrets scanning and strict zero-trust architectures.
A contractor working for the U.S. Cybersecurity and Infrastructure Security Agency (CISA) inadvertently left highly sensitive internal credentials exposed on a public GitHub repository [1]. The exposed data included access keys for AWS GovCloud and plaintext passwords, which remained accessible to the public for six months before the error was identified and secured [2]. AWS GovCloud is specifically designed to host sensitive government data and workloads, making the exposure of its access keys a significant security event that required immediate mitigation [3].[1][2][3]
The presence of plaintext passwords further compounded the risk, potentially offering unauthorized actors direct pathways into secure CISA environments [4]. However, the eventual discovery of the breach allowed CISA and its contractor to swiftly secure the repository, revoke the compromised credentials, and audit the affected systems [5]. This rapid response neutralized the immediate threat and prevented what could have been a catastrophic compromise of national cybersecurity infrastructure [6].[4][5][6]

This incident serves as a vital stress test for government security protocols, prompting immediate reviews of vendor security practices [7]. By transparently addressing the exposure, CISA provides a valuable case study for private enterprises and other government bodies on the importance of continuous monitoring [1]. It reinforces the cybersecurity community's shift toward assuming breach and focusing on resilience, ensuring that single points of failure—like a misplaced GitHub commit—do not compromise entire networks [3].[1][3][7]
Supply chain vulnerabilities and contractor errors remain one of the most persistent challenges in modern cybersecurity [4]. The resolution of this exposure highlights the critical need for automated credential scanning tools that can block developers from pushing sensitive secrets to public repositories [5]. Moving forward, the incident is expected to accelerate the adoption of stricter data handling policies and zero-trust frameworks across federal agencies and their third-party partners [2].[2][4][5]
Viewpoints in depth
Cybersecurity Operations
Focuses on the technical mechanisms of the exposure and the necessity of automated remediation.
Security operations professionals view this incident as a classic example of why human diligence is insufficient for modern code deployment. The exposure of AWS GovCloud keys and plaintext passwords underscores the absolute necessity of integrating automated secrets scanning directly into the CI/CD (Continuous Integration/Continuous Deployment) pipeline. By enforcing pre-commit hooks that detect high-entropy strings or known credential formats, organizations can mathematically eliminate this class of human error before the data ever leaves a developer's local machine.
Vendor Risk Management
Emphasizes the challenges of securing the software supply chain and third-party contractors.
From a compliance and oversight perspective, the breach highlights the inherent risks of third-party vendor access. Even when a primary organization like CISA maintains rigorous internal security standards, contractors operate in separate environments that are harder to audit continuously. Oversight advocates argue this incident should trigger stricter contractual obligations, requiring vendors to prove they utilize automated security tools and undergo regular third-party audits to maintain their access to government systems.
Sources
[1]Krebs on SecurityCenter
CISA Contractor Leaves Sensitive AWS Credentials and Passwords in Public GitHub Repository for Six Months
Read on Krebs on Security →[2]SC MediaCenter
CISA contractor's public GitHub repo exposed sensitive government credentials
Read on SC Media →[3]Security BoulevardCenter
CISA Contractor Leaves Sensitive AWS Credentials and Passwords in Public GitHub Repository for Six Months
Read on Security Boulevard →[4]TechRepublicCenter
CISA is investigating after a contractor's public GitHub repository exposed AWS GovCloud credentials, internal files, and passwords
Read on TechRepublic →[5]CSO OnlineCenter
CISA contractor leaves sensitive AWS credentials and passwords in public GitHub repository for six months
Read on CSO Online →[6]eSecurity PlanetCenter
A public GitHub repository tied to a CISA contractor reportedly exposed AWS GovCloud credentials and internal deployment data
Read on eSecurity Planet →
More in technology
technology
Meta Launches Paid Subscriptions for Instagram, Facebook, and WhatsApp
5 sources
technology
Frontier AI Models Demonstrate Autonomous Vulnerability Exploitation, Sparking Cybersecurity Arms Race
6 sources
technology
Indian Exam Board Admits to Cybersecurity Flaws Found by Teen Researcher
7 sources
technology
Apple Reportedly Targets Late 2027 for Display-Free Smart Glasses Release
8 sources










