Hardcoded API Key Found in Public NASA GitHub Repository
A hardcoded API key for Elsevier's Scopus academic service was found in a public NASA GitHub repository. An attacker could use the key to access licensed premium data without authorisation.
Originally disclosed on Bugcrowd
- Accepted in 13 hours
- Fixed in 11 days
- Disclosed after 18 days
Summary by Uma_Maheshwar_Ayyala
Hardcoded API Key Found in Public NASA GitHub Repository Allowing Unauthorized Access to Licensed Academic Data
During my security research, I identified a hardcoded API key within NASA's public GitHub repository: podaac_tools_and_services. The key appeared to provide access to Elsevier's Scopus API — a licensed academic service that offers premium search capabilities for scientific literature, including research articles, author profiles, and institutional affiliations.
Exposure of such credentials in public repositories can allow unauthorized users to access premium or sensitive data, violate third-party licensing agreements, or result in service abuse. Responsible disclosure of this issue helped ensure the protection of licensed academic resources and reduce potential misuse.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API key was committed directly into the public source code instead of being stored in a secret manager or environment variable.
Impact
Exposure of the key could allow unauthorised users to access premium academic data, violate licensing agreements, or abuse the service.
What the attacker needed
Public GitHub repository; no authentication needed to view code
The fix
The key should be removed from the repository and revoked, and secrets should be stored outside source code.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
An API key is like a password that lets software talk to another service. Here, that password was left in a public code repository, so anyone could find it and use the paid academic database for free. This can break licensing rules and let people see data they should not.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.