azure-eventhub-java
5 findings (1 critical, 4 low), mainly social engineering, policy violation, command injection. Most recent scan 2026-02-05.
This Azure Event Hubs Java SDK skill is primarily a documentation/reference skill with LOW severity issues. The skill contains no executable scripts, no data exfiltration attempts, no prompt injection, and no malicious code. The main concerns are: (1) missing optional metadata fields that would help clarify the skill's intended usage, (2) an incomplete code example that could lead to resource management issues if used as-is, and (3) references to non-existent Python files that appear to be packaging artifacts. These are documentation quality issues rather than security threats. The skill appears safe for use as a reference guide, but the incomplete code example should be completed to prevent potential resource leaks in generated code.
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
Build real-time streaming applications with Azure Event Hubs SDK for Java. Use when implementing event streaming, high-throughput data ingestion, or building event-driven architectures.
- Package
- 3 files, 36 KB
- SKILL.md
- 757 words, 12+ sections
- Code
- None. Instructions only.
SKILL.md covers: Azure Event Hubs SDK for Java · Installation · Client Creation · EventHubProducerClient · With DefaultAzureCredential · EventHubConsumerClient · Async Clients · Core Patterns · Send Single Event · Send Event Batch · Send to Specific Partition · Send with Partition Key
Findings
CRITICAL INJECTION ATTACK detected by YARA Command Injectionstatic
Detects SQL injection attack patterns including keywords, tautologies, and database functions: sleep(
SKILL.md:209
Thread.sleep(Duration.ofMinutes(5).toMillis());LOW Skill does not specify a license Policy Violationstatic
Skill manifest does not include a 'license' field. Specifying a license helps users understand usage terms.
SKILL.md
LOW Missing Critical Metadata Fields Social Engineeringllm
The skill manifest is missing several important metadata fields including 'license', 'compatibility', and 'allowed-tools'. While these fields are optional per the agent skills specification, their absence makes it difficult to assess the skill's intended usage constraints and compatibility requirements. This is particularly relevant for a skill that provides SDK documentation and may influence code generation.
SKILL.md:1
YAML frontmatter missing: license, compatibility, allowed-tools fieldsLOW Incomplete Code Example with Potential Resource Issue Resource Abusellm
The instruction body contains an incomplete code example in the 'Send Event Batch' section. The code snippet ends abruptly with 'batch = producer.createBatch();' without proper completion, error handling, or resource cleanup. If an agent were to generate code based on this incomplete example, it could result in resource leaks (unclosed producers) or infinite loops if the batch-full condition is not properly handled.
SKILL.md
Code snippet ends with:
```java
if (!batch.tryAdd(event)) {
producer.send(batch);
batch = producer.createBatch();
```
No closing braces, no final batch send, no resource cleanup, no error handling.LOW Referenced Files Not Found in Package Social Engineeringllm
The skill references three Python files (beginning.py, specific.py, end.py) that are not included in the skill package. This creates misleading documentation as users or agents may expect these files to exist. The references appear to be artifacts or errors in the skill packaging process, as the skill is focused on Java SDK documentation and should not reference Python files.
SKILL.md
Referenced files not found: beginning.py, specific.py, end.pyWhat is in the package
| File | Kind | Size |
|---|---|---|
SKILL.md | doc | 10 KB |
references/acceptance-criteria.md | doc | 12 KB |
references/examples.md | doc | 13 KB |
External hosts referenced
github.com
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.
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
- Static analyzer. Pattern rules over SKILL.md and bundled files: known-bad commands, exfiltration URLs, secrets, obfuscation.
- Behavioral analyzer. Checks what the skill asks the agent to do against what its description claims it does.
- Llm analyzer. A language model reads the skill and reports intent-level issues the rules cannot express.
- Trigger analyzer. Looks for instructions that fire on conditions the user did not ask for.
- Meta analyzer. A second model pass that validates, deduplicates and re-scores the other analyzers' findings.
What we did not check
- Runtime behaviour. The skill was not executed; findings come from reading its files.
- Anything fetched at install or run time, including remote scripts, package dependencies, and URLs the skill tells the agent to open.
- Content the analyzers cannot read: images, binaries, and some non-English text.
- Known scanner bypass classes. See the methodology and limitations page.
Sources
- Repository: https://github.com/microsoft/agent-skills
- Raw scan result: github-skills-azure-eventhub-java-scan.json
- Badge for your README:
 - Request a re-scan