Capability and authority separation ↗
Keep capability discovery, authentication, request validity, authority, execution, and verification as distinct system states.
FeedAkış
Open, portable, evidence-driven resources for AI agents. Inspect the source, check the verification level, and adopt only what earns its place.
Yapay zekâ ajanları için açık, taşınabilir ve kanıt odaklı kaynaklar. Kaynağı incele, doğrulama seviyesini gör ve yalnızca işine yarayanı kullan.
Reference supply-chain security policy requiring source pinning, manifest SHA-256 verification, destination path containment, effect disclosure, non-widening permissions, and fail-closed rejection before installing third-party agent artifacts.
Family: Policy
Disclosure class: PUBLIC-PRACTICE
Maturity: Draft
Enforcement: Reference policy; adopters must implement enforcement in their own runtime or installer. A Markdown policy document does not enforce installation security on its own.
Installing an agent Skill, prompt, rule, hook, or plugin is a supply-chain action, not harmless text loading. Loaded instruction packages can carry scripts, references, dependencies, or prompt-injection payloads that alter agent behavior.
Any installer, client, or operator workflow adopting this policy must enforce all six controls before activating a third-party or external artifact:
references/, scripts/, and assets/). Invalidate prior approval if any file drifts... traversal, symlinks, reparse points, and unexpected overwrite of sibling configs (such as client settings or system hooks).Fail closed and abort installation without writing partial files when:
An installation boundary satisfies this reference policy only when a runtime mechanically enforces source pinning, manifest integrity, path containment, non-widening permissions, and fail-closed rejection on negative test fixtures.
# Artifact install boundary
**Family:** Policy
**Disclosure class:** `PUBLIC-PRACTICE`
**Maturity:** Draft
**Enforcement:** Reference policy; adopters must implement enforcement in their own runtime or installer. A Markdown policy document does not enforce installation security on its own.
Installing an agent Skill, prompt, rule, hook, or plugin is a supply-chain action, not harmless text loading. Loaded instruction packages can carry scripts, references, dependencies, or prompt-injection payloads that alter agent behavior.
## Required install-boundary controls
Any installer, client, or operator workflow adopting this policy must enforce all six controls before activating a third-party or external artifact:
1. **Pinned source provenance:** Resolve the artifact to an exact immutable revision, tag digest, or verified content hash — never silently pull an unpinned mutable branch and describe it as verified.
2. **File-manifest & digest integrity:** Verify SHA-256 digests and byte bounds for every file in the package (including bundled `references/`, `scripts/`, and `assets/`). Invalidate prior approval if any file drifts.
3. **Target path containment:** Confine installed files strictly inside the authorized destination directory. Reject absolute paths, `..` traversal, symlinks, reparse points, and unexpected overwrite of sibling configs (such as client settings or system hooks).
4. **Explicit capability & effect disclosure:** Inspect and surface whether the package contains executable scripts, requests network access, requires credentials, declares external dependencies, or modifies files outside its bundle. A self-declared metadata flag is not proof — verify against actual file contents.
5. **No automatic authority expansion:** Installing or discovering an artifact must **never** auto-approve tool execution, elevate filesystem/network permissions, register background hooks, or grant access to host credentials.
6. **Clean uninstall & reversibility:** Keep installation footprints declarative and self-contained so removing the artifact leaves no hidden hooks, modified global rules, or lingering background tasks.
## Fail-closed behavior
Fail closed and abort installation without writing partial files when:
- a checksum or signature check fails or is unavailable where required;
- any file escapes destination containment or uses a symlink;
- an undeclared executable or unexpected configuration file appears in the bundle;
- license or provenance obligations are missing or incompatible with local policy.
## Completion test
An installation boundary satisfies this reference policy only when a runtime mechanically enforces source pinning, manifest integrity, path containment, non-widening permissions, and fail-closed rejection on negative test fixtures.
Export blinded scenarios without descriptive IDs or expected answers, then compare your assistant without vs. with this artifact loaded:
Açıklayıcı kimlikler ve beklenen cevaplar gizlenmiş kör senaryoları dışa aktarıp kendi asistanında bu kaynak olmadan ve bu kaynakla karşılaştırma yap:
python -B scripts/eval_review.py --blind artifact-install-boundaryReference supply-chain security policy requiring source pinning, manifest SHA-256 verification, destination path containment, effect disclosure, non-widening permissions, and fail-closed rejection before installing third-party agent artifacts.
Best for: Engineering teams building Skill installers, plugin loaders, or client marketplaces that ingest external markdown/script packages. When not to use: Do not mistake reading this Markdown policy for runtime enforcement; install containment must be implemented in code. Status: Catalog release (releaseEligible: true; declarative L1/L2 contract verified; host runtime enforcement remains separate).
passing (Level 1–2 structural and executable contract verification via tests/test_strategic_revision_verification.py; runtime enforcement or behavioral compliance remains separate)An installer receives a Skill bundle containing a symlink pointing outside its destination directory or an undeclared scripts/ helper; enforcing this policy aborts cleanly without writing partial files.
Reference security contract only (Enforcement: Reference policy); a Markdown file cannot intercept filesystem writes or network calls on its own.
Skills often bundle executable scripts/, external references/, or adversarial instructions that can exfiltrate data or hijack agent behavior if installed unchecked.
No. Installers must inspect actual directory contents to confirm no undeclared scripts, configs, or symlinks exist.
No runtime-specific compatibility evidence is declared. Treat this artifact as a declarative specification whose enforcement depends on the consuming runtime.
Çalışma ortamına özgü uyumluluk kanıtı beyan edilmemiş. Bu kaynağı, uygulaması kullanan çalışma ortamına bağlı bir deklaratif sözleşme olarak değerlendirin.
Original clean-room public engineering practice re-authored from general software methodology and verification principles; no private implementation source is embedded.