cosmosdb-best-practices

Warn

Audited by Socket on Sep 24, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
rules/sdk-emulator-ssl.md

The fragment is documentation for local Azure Cosmos DB Emulator connectivity, not an npm package payload or executable malware. It contains legitimate emulator-specific guidance and a publicly known emulator key. Its principal security concern is that several examples disable TLS certificate validation globally or broadly; if copied into production or shared application initialization, these settings enable man-in-the-middle attacks. The Java certificate-import approach and SAN/endpoint guidance are comparatively safer. No data exfiltration, credential harvesting, process spawning, persistence, reverse shell, cryptomining, destructive behavior, or hidden backdoor is present in the supplied text.

Confidence: 98%Severity: 62%
AnomalyLOW
rules/pattern-langgraph-chat-history-separate.md

No evidence of intentional malware, obfuscated behavior, exfiltration, backdoors, or sabotage is present. The example has a medium security concern because the message endpoint lacks visible authorization and tenant/session ownership checks, potentially allowing unauthorized chat-history disclosure if not enforced elsewhere. The parameterized query appropriately reduces injection risk.

Confidence: 97%Severity: 58%
Audit Metadata
Analyzed At
Sep 24, 2026, 03:26 AM
Package URL
pkg:socket/skills-sh/azurecosmosdb%2Fcosmosdb-agent-kit%2Fcosmosdb-best-practices%2F@9b03fc8ae1ac429cf9404ad48bdfe595951f1119f50c82fbe3cfa8d789b8f98d
Security Audit — socket — cosmosdb-best-practices