AGENTS.md@apps/agentshieldA

AGENTS.md@apps/agentshield from maoyadongsh/siq-agent-security is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add maoyadongsh/siq-agent-security/apps/agentshield/AGENTS.md@git:20260918.773279b

Pins git:20260918.773279b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
maoyadongsh/siq-agent-security
Path
apps/agentshield/AGENTS.md
Versions recorded
14
Latest version
git:20260918.773279b, committed Sep 18, 2026
First version recorded
Sep 5, 2026
Size
14,876 bytes
Repository stars
49
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# apps/agentshield 工作约定

siq-agent-security 本地二进制(Go;模块路径仍为 `apps/agentshield`)。上层约束见仓库根 `AGENTS.md`;本文只写本模块的就近规则。实现规格是 `docs/agentshield-dev-spec-v1.md`——**先读它,再改代码;规格与代码冲突时先改规格。** W7 本地台账计划见 `docs/agentshield-local-ledger-dev-plan-v1.md`(新 API / 状态文件须先回写规格)。

## 模块与职责

| 包 | 职责 | 状态 |
| --- | --- | --- |
| `internal/canon` | 与 CPython `json.dumps(sort_keys=True, separators=(",",":"))` 逐字节一致的规范化 JSON | 完成 |
| `internal/rulepack` | 内嵌规则包、外部包 Ed25519 验签、防降级、fail-closed 回退 | 完成 |
| `internal/threat` | 静态分析器(Python `threat_analysis.py` 移植,AST 层缺席) | 完成 |
| `internal/signing` | 本地 Ed25519 身份、文档/字节签名与验签 | 完成 |
| `internal/inventory` | 只读盘点:平台配置、Skill、Hermes profiles、OpenClaw agents.list、MCP 客户端配置(`mcp_server`);可选 `--connectors-dir` **exec** 子进程(不 import `connectors/*`) | 规格 §3.5 |
| `internal/export` | 脱敏导出包 `agentshield.export.v1`(无私钥/token/参数原文) | 规格 §3.8.1.3 |
| `internal/controlsync` | `sync --control-api` → Edge `POST /edge/v1/batches`;缺凭据跳过;失败不改本地决策 | 规格 §2.4 |
| `internal/admission` | frontmatter、哈希、限额、决策表、Skill Card | 完成(决策表变更需同步规格 §3.6.4 与 `dispositions.go`)|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add maoyadongsh/siq-agent-security/apps/agentshield/AGENTS.md@sha256:039123ffcfe6f6ac

The line at the top of this page pins the label git:20260918.773279b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_chkj2i4fnbanz6fl.svg)](https://markdownregistry.com/a/art_chkj2i4fnbanz6fl)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 14 versions of this file, between Sep 5, 2026 and Sep 18, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20260918.773279b latest2026-09-18 773279b 14,876 BA view · diff
git:20260918.4449c942026-09-18 4449c94 14,371 BA view · diff
git:20260918.e6e9db72026-09-18 e6e9db7 13,870 BA view · diff
git:20260918.d384e242026-09-18 d384e24 13,378 BA view · diff
git:20260918.44813a92026-09-18 44813a9 12,971 BA view · diff
git:20260915.6e34f3a2026-09-15 6e34f3a 11,062 BA view · diff
git:20260913.14c26cf2026-09-13 14c26cf 10,381 BA view · diff
git:20260912.274ed972026-09-12 274ed97 8,830 BA view · diff
git:20260912.63a48432026-09-12 63a4843 7,371 BA view · diff
git:20260911.b9e8ec62026-09-11 b9e8ec6 6,592 BA view · diff
git:20260908.573bda02026-09-08 573bda0 6,273 BA view · diff
git:20260906.977c5eb2026-09-06 977c5eb 6,130 BA view · diff
git:20260905.b60be6a2026-09-05 b60be6a 5,883 BA view · diff
git:20260905.fd956cb2026-09-05 fd956cb 5,790 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (14876 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

maoyadongsh/siq-agent-security · 49 stars · license Apache-2.0 · pushed 2026-10-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_chkj2i4fnbanz6fl
GET https://markdownregistry.com/api/v1/resolve?ref=maoyadongsh/siq-agent-security/apps/agentshield/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/039123ffcfe6f6ac553754fcfa0efec68ad5fc225a8535285e02444b1bbbd7c2

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from maoyadongsh/siq-agent-security

AGENTS.md AGENTS.md file
maoyadongsh/siq-agent-security · AGENTS.md
git:20260920.ec5ca16 · audit A · 49 stars
cred-read-only SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/benign/cred-read-only/SKILL.md · Reads a local dotenv file and prints keys, not values.
git:20260904.cd4b0cb · audit B · 49 stars
github-triage SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/benign/official-like/SKILL.md · Triage GitHub issues with the gh CLI.
v1.2.0 · audit C · 49 stars
writing-style SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/benign/pure-doc/SKILL.md · House writing style guide.
git:20260904.7898522 · audit B · 49 stars
quiet-helper SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/malicious/deception/SKILL.md · Helps quietly.
git:20260904.7898522 · audit C · 49 stars
docs-code-exec SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/malicious/docs-code-exec/SKILL.md · H5b fixture — executable payload under assets/.
git:20260906.977c5eb · audit B · 49 stars
env-sync SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/malicious/env-webhook/SKILL.md · Sync environment.
git:20260904.7898522 · audit B · 49 stars
report-beautifier SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/malicious/hidden-comment/SKILL.md · Make financial reports look nicer.
git:20260904.7898522 · audit F · 49 stars
homoglyph SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/malicious/homoglyph/SKILL.md · Utility.
git:20260904.7898522 · audit B · 49 stars
py-env-exfil SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/malicious/py-env-exfil/SKILL.md · Uploads local configuration to a collector.
git:20260904.cd4b0cb · audit B · 49 stars
quoted-injection SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/malicious/quoted-injection/SKILL.md · H5c fixture — quoted real instruction must not demote.
git:20260906.977c5eb · audit F · 49 stars
zero-width SKILL.md skill
maoyadongsh/siq-agent-security · apps/agentshield/internal/admission/testdata/skills/malicious/zero-width/SKILL.md · Helper.
git:20260904.7898522 · audit F · 49 stars

Every file in maoyadongsh/siq-agent-security

Browse by kind, by grade A, or by owner.