A JD Cloud access key is the credential used to call the JD Cloud APIs. Like other cloud providers, it comes as a pair: an Access Key and a Secret Key. Together they let a program act as the account or sub-user that owns them, within the permissions granted to it. That can include creating virtual machines, reading storage and changing network settings, with usage billed to your account. Disable the key first, then check what was done with it.
Check your GitHub account for leaked secrets — free
- Provider
- JD Cloud
- Severity
- Critical
- Impact
- Cloud infrastructure access
- Checked live by LeakWatch
- No
What a JD Cloud Access Key looks like
The Access Key carries a clear prefix: JDC_, in capital letters, followed by 28 to 32 letters and digits:
JDC_XXXXXXXXXXXX… JD Cloud Access Key (masked; 28 to 32 characters after the prefix)
The observed keys look like hexadecimal values in mixed case. The Secret Key is a separate value without this prefix, so a prefix match only finds half of the pair; the other half is usually close by in the same file. You will see the key in variables named JDCLOUD_ACCESS_KEY and JDCLOUD_SECRET_KEY, in the credential fields of the JD Cloud SDKs and command-line tools, and in Terraform or deployment settings for the provider. The prefix is written in capitals: a lowercase jdc_ is not the same thing.
How JD Cloud access keys get leaked
- SDK samples with real values. A quick-start script from the vendor documentation, with the placeholders replaced and committed.
- Environment files.
.envfiles or compose files holding the access key and secret key for a deployment. - Infrastructure code. Provider settings in Terraform or deployment scripts that carry the pair in clear text.
- Continuous integration. Pipeline definitions with the pair written in, or debug output printing the environment.
- Shared snippets. Support tickets, forum posts and chat messages with a configuration pasted whole.
What to do in the first hour
- Open the access key list. Sign in to the JD Cloud console with the account or sub-user that owns the key, and find the page where its access keys are managed (see the link below). Match the leaked key with the one in the list.
- Disable it. A disabled key stops working at once. Create a replacement pair first if a service depends on it, then delete the old key once you have checked that nothing legitimate still uses it.
- Deploy the new pair to the application or secret store, and confirm that your jobs still work.
- Check the activity. Use the operation records available for your account to see what was called since the exposure. Look for new instances, storage downloads, new sub-users or keys, security group changes and unusual regions.
- Check the bill. A sudden rise in compute or traffic is a common sign that the key was used to run workloads you did not start.
- Reduce the permissions. If the key belonged to a primary account, move your applications to sub-users with narrow policies, so that a future leak reaches less.
- Clean up the code and look for other secrets next to the key. See I accidentally pushed an API key to GitHub.
Not sure what else leaked from the same repository? Run a free scan.
Revoke it at JD Cloud
Access keys are managed in the account or user area of the JD Cloud console, in the page that lists the keys of a user, after you sign in as the owner or as an administrator allowed to manage them. Disable or delete the exposed key there. A person has not confirmed the exact menu wording for this guide, so look for the section where access keys are created and listed, and follow JD Cloud’s documentation. The platform also offers an API call to delete a user’s access key, which is useful if you need to revoke several at once.
How LeakWatch detects it
The rule is called JD Cloud Access Key. The signature is specific enough that no context is needed: the literal JDC_ in capitals, followed by 28 to 32 letters or digits, with a word boundary on each side. A trail shorter than 28 characters or longer than 32 is not reported, and neither is the lowercase prefix jdc_, even though the quick pre-filter is case-insensitive. The part after the prefix accepts both cases. The rule reports the whole key. The severity is critical, because the prefix is unambiguous and the key rarely appears without its secret. This type is not checked live: LeakWatch does not send any request to JD Cloud with the key it found.
LeakWatch detects this format but does not check it live: it can tell you the key is exposed, not whether it still works. Assume it does until you have revoked it.
FAQ
Is the Secret Key leaked too?
Probably, if it was in the same file. LeakWatch finds the Access Key by its prefix, but the Secret Key has no prefix. Replace the whole pair and check the file for the other half.
Should I delete the key or only disable it?
Disable it first because it is immediate and reversible. Delete it once you have confirmed nothing legitimate uses it and you have deployed a replacement.
Is a key in a private repository safe?
Not necessarily. Collaborators, forks and CI logs can read it. Replace the key if the repository was ever public, or if you are unsure who has access.