azure-security-keyvault-secrets-java

SAFE max severity MEDIUMSkillSpector Caution 0 registry microsoft last scanned 1 scan

Verdict safe, but 1 finding (1 medium), mainly data exfiltration. Most recent scan 2026-02-05.

This Azure Key Vault Secrets Java SDK skill is primarily a documentation/reference package with MEDIUM security concerns. The main issue is hardcoded example credentials in code samples (database password and API key), which could lead to credential exposure if users copy-paste without modification. The skill has no executable scripts, reducing attack surface significantly. Missing optional metadata (license, compatibility, allowed-tools) and a referenced but missing backup.py file are minor documentation issues. The incomplete code example could cause runtime problems. Overall, this appears to be a legitimate Azure SDK documentation skill with documentation quality issues rather than malicious intent, but the hardcoded credentials pattern should be addressed to prevent accidental credential exposure.

Scanner's overall assessment (LLM analyzer)

Second scanner: NVIDIA SkillSpector

SkillSpector found no issues but could not fully inspect the package, usually because SKILL.md refers to a file that is not present, so it fails closed to CAUTION instead of SAFE. Read it as "not fully checked", not as a finding. How the two scanners compare across the whole corpus: Two scanners, one corpus.

What this skill does

Azure Key Vault Secrets Java SDK for secret management. Use when storing, retrieving, or managing passwords, API keys, connection strings, or other sensitive configuration data.

Package
3 files, 27 KB
SKILL.md
940 words, 12+ sections
Code
None. Instructions only.

SKILL.md covers: Azure Key Vault Secrets (Java) · Installation · Client Creation · Create/Set Secret · Get Secret · Update Secret Properties · List Secrets · Delete Secret · Recover Deleted Secret · Purge Deleted Secret · Backup and Restore · Async Operations

Findings

MEDIUM Hardcoded Secrets in Code Examples Data Exfiltrationllm

The instruction body contains hardcoded sensitive credentials in code examples, including a database password ('P@ssw0rd123!') and an API key ('sk_live_abc123xyz'). While these appear to be example values for demonstration purposes, including literal secrets in documentation creates security risks: users may copy-paste these examples without changing credentials, developers may accidentally commit real secrets following this pattern, and it normalizes hardcoding secrets in code. Best practice is to use placeholder values like '<your-password-here>' or environment variable references.

SKILL.md

KeyVaultSecret secret = secretClient.setSecret("database-password", "P@ssw0rd123!");
...
KeyVaultSecret secretWithOptions = secretClient.setSecret(
    new KeyVaultSecret("api-key", "sk_live_abc123xyz")
Remediation: Replace all hardcoded credential values with placeholders (e.g., '<your-database-password>', '<your-api-key>') or references to environment variables. Add explicit warnings in documentation that example credentials must never be used in production. Consider using clearly fake formats like 'example_password_replace_me' to make it obvious these are not real credentials.

What is in the package

FileKindSize
SKILL.mddoc11 KB
references/acceptance-criteria.mddoc4.4 KB
references/examples.mddoc12 KB

External hosts referenced

github.com my-vault.vault.azure.net

Hostnames that appear in the skill's files. Referencing a host is not a finding; compare against the findings above and the skill's stated purpose.

Environment variables referenced

AZURE_KEYVAULT_URL

Package contents recorded 2026-10-22 at commit cfbcbbdc679c. The scan above ran against the version current at scan time; the two can differ if the skill has since been updated.

What we checked

What we did not check

Sources