
Product
Socket Now Protects the Microsoft Edge Extension Ecosystem
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.
Agent governance suite for DeepSeek Harness (enterprise companion): policy-based tool gating (allow/deny/ask), structured JSONL audit trail, and per-agent token quotas against the host token meter — state under $DSH_HOME/gov
权限、审计、成本 —— DSH 进企业前必须有的东西,做成一个插件。策略门禁(allow/deny/ask)、结构化审计日志、按 agent 的 token 配额,状态持久化在 $DSH_HOME/gov/。
企业引入 DSH 时第一波问题永远是:
audit.jsonl),可查询、可导出、可汇总。tokenMeter,按 agent 累计 token 用量,周期配额(day/week/month/total),超限注入上下文警告,可一键重置。dsh plugin --profile <profile> add dsh-gov
工具 gov,action 一览:
| action | 说明 |
|---|---|
status | 治理总览:规则数、审计事件汇总(allow/deny/ask/error/ok)、配额用量 |
policy_list / policy_add / policy_remove | 规则管理(tool 支持 * 通配;priority 高者胜;平局 fail-closed) |
audit_query / audit_export | 查询审计(limit/agent/tool/since 过滤);导出日志路径 |
quota_get / quota_set / quota_reset | 按 agent id(或 global)的 token 预算 |
示例:
gov policy_add tool="pwsh*" policyAction=ask reason="shell commands require approval" priority=10
gov quota_set id=alice quotaLimit=100000 period=day
gov audit_query decision=deny limit=20
| key | 默认 | 说明 |
|---|---|---|
root | $DSH_HOME/gov | 治理数据目录(gov.json + audit.jsonl) |
defaultPeriod | day | 新配额默认周期 |
defaultLimit | 0 | 默认配额(0 = 不限;>0 时启用 step 计量) |
prestepWarn | true | 超限时向模型上下文注入警告 |
sectionOrder | 5 | 提示词段落顺序 |
lib/policy.js(规则引擎)、lib/audit.js(审计模型)、lib/quota.js(配额计算)零依赖可单测;lib/index.js 负责接线(tools/pre-execute 门禁、tools/result 观察、agent/pre-step 计量)。node test/policy.test.mjs && node test/audit.test.mjs && node test/quota.test.mjs
MIT
FAQs
Agent governance suite for DeepSeek Harness (enterprise companion): policy-based tool gating (allow/deny/ask), structured JSONL audit trail, and per-agent token quotas against the host token meter — state under $DSH_HOME/gov
We found that dsh-gov demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.

Research
/Security News
Socket researchers found 18 Chrome extensions and one Edge extension delivering a wallet drainer, credential theft, and other malicious payloads.

Product
Create ClickUp tasks from Socket alerts, automate ticketing with custom rules, and keep alert and task status synchronized.