const UNSAFE_SAFE_BIN_WARNINGS = {
awk: "awk-family interpreters can execute commands, access ENVIRON, and write files, so prefer explicit allowlist entries or approval-gated runs instead of safeBins.",
jq: "jq supports broad jq programs and builtins (for example `env`), so prefer explicit allowlist entries or approval-gated runs instead of safeBins.",
sed: "sed scripts can execute commands and write files, so prefer explicit allowlist entries or approval-gated runs instead of safeBins.",
} as const;
export function listRiskyConfiguredSafeBins(entries: Iterable<string>): Array<{
bin: string;
warning: string;
}> { const hits = new Map<string, string>(); for (const entry of entries) { const normalized = normalizeSafeBinName(entry); if (!normalized || hits.has(normalized)) { continue;
} const warning = getSafeBinSemanticRule(normalized)?.configWarning; if (!warning) { continue;
}
hits.set(normalized, warning);
} return Array.from(hits.entries())
.map(([bin, warning]) => ({ bin, warning }))
.toSorted((a, b) => a.bin.localeCompare(b.bin));
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.0Bemerkung:
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.