Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add cxcscmu/SkillLearnBench --skill apache-druid-securitygit clone --depth 1 https://github.com/cxcscmu/SkillLearnBenchWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cxcscmu/skilllearnbench/apache-druid-security)<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/apache-druid-security"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/apache-druid-security/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/apache-druid-security"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/apache-druid-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.00892 |
| Opus 5.5 | $0.00011 | $0.00357 |
| Sonnet 5.5 | $0.00006 | $0.00178 |
| Haiku 4.5 | $0.00003 | $0.00089 |
Grade A, and why
apache-druid-security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Apache Druid Security Patching
Overview
Apache Druid is a real-time analytics database. Key security concern: JavaScript execution via filter/transform specs in ingestion tasks and the sampler endpoint.
CVE-2021-25646 - JavaScript Filter RCE
Vulnerability Mechanism
JavaScriptDimFilteruses@JacksonInject JavaScriptConfig configto get JavaScript enabled status@JacksonInjectwith defaultvalue=""allows Jackson to fall back to JSON input when the injectable value isn't found or whenuseInput=OptBoolean.DEFAULT- Exploit: Send
"": {"enabled": true}in the filter JSON to inject a permissiveJavaScriptConfig - This bypasses the server-level
druid.javascript.enabled=falsesetting - The Rhino JS engine has no
ClassShutter→ full Java class access →Runtime.exec()possible
Affected Files
processing/src/main/java/org/apache/druid/query/filter/JavaScriptDimFilter.javaindexing-service/src/main/java/org/apache/druid/indexing/overlord/sampler/InputSourceSampler.javacore/src/main/java/org/apache/druid/js/JavaScriptConfig.java
Fix 1: Block JSON Override of @JacksonInject (Root Cause)
// In JavaScriptDimFilter constructor, add useInput = OptBoolean.FALSE:
import com.fasterxml.jackson.annotation.OptBoolean;
@JsonCreator
public JavaScriptDimFilter(
@JsonProperty("dimension") String dimension,
@JsonProperty("function") String function,
@JsonProperty("extractionFn") @Nullable ExtractionFn extractionFn,
@JsonProperty("filterTuning") @Nullable FilterTuning filterTuning,
@JacksonInject(useInput = OptBoolean.FALSE) JavaScriptConfig config // KEY FIX
)
Fix 2: Server-Side Validation in Sampler (Defense in Depth)
// In InputSourceSampler.java - inject JavaScriptConfig via Guice:
import com.google.inject.Inject;
import org.apache.druid.js.JavaScriptConfig;
import org.apache.druid.query.filter.JavaScriptDimFilter;
public class InputSourceSampler {
private final JavaScriptConfig javascriptConfig;
@Inject
public InputSourceSampler(JavaScriptConfig javascriptConfig) {
this.javascriptConfig = javascriptConfig;
}
public SamplerResponse sample(...) {
// Add BEFORE processing:
if (!javascriptConfig.isEnabled()) {
validateNoJavaScriptFilter(nonNullDataSchema.getTransformSpec().getFilter());
}
}
private void validateNoJavaScriptFilter(@Nullable DimFilter filter) {
if (filter instanceof JavaScriptDimFilter) {
throw new SamplerException("JavaScript is disabled. Set druid.javascript.enabled=true to enable.");
}
// Also handle composite filters (AND/OR/NOT)
}
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 95 lines · 28 tokens per session scan A a6f2a2d94e93
apache-druid-security is a skill published in the GitHub repository cxcscmu/SkillLearnBench (93 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 892 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
apache-druid-security compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| apache-druid-securitycxcscmu/SkillLearnBench | Skill | 93 | 1mo ago | MIT | A | 28 | Claude Code, Codex |
| sqlite-map-parserbenchflow-ai/skillsbench | Skill | 1.9k | 6d ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| pubchem-databasebenchflow-ai/skillsbench | Skill | 1.9k | 6d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| pg-release-publishgregs1104/pgbent | Skill | 267 | yesterday | none | A | 102 | Claude Code |
| pg-release-runsgregs1104/pgbent | Skill | 267 | yesterday | none | B | 90 | Claude Code |
| pg-release-configgregs1104/pgbent | Skill | 267 | yesterday | none | B | 81 | Claude Code |
| Python скрипт для очистки CSV и подготовки к импорту в PostgreSQLECNU-ICALK/AutoSkill | Skill | 622 | 6mo ago | none | A | 96 | Claude Code, Codex |