Back to skill

Security audit

constitution

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with medium confidence: the scanners found no AIG issues, and the two Skillspector matches were marked expected for the skill’s purpose, though its review was partial.

The verdict is benign, not a guarantee of zero risk. Consider whether you trust this skill’s instruction-file references; the scan covered its Markdown component but was partial because several referenced files were unavailable.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Memory PoisoningPersistent Context Injection, Context Window Stuffing, Memory Manipulation
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Memory Manipulation

High
Category
Memory Poisoning
Confidence
85% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

Scanner excerpt · SKILL.md (reported line 32)May include surrounding context.

md
## Limits (source: AGENTS.md, Boundaries; RULES R1, R2, R3, R6, R8)

- Do not replace RULES, METHODOLOGY or the ZERO; do not create a parallel policy.
- Do not create a repository, grant access, enable CI or install anything because of the template.
- Do not write `.specify/memory/constitution.md` nor run the Spec Kit executor: the integration
  is not implemented and the pilot is not authorized.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 16)May include surrounding context.

md
## Read before acting (mandatory)

1. The general route: `${CLAUDE_PLUGIN_ROOT}/skills/smard-agent-flow/SKILL.md`, section 1:
   `AGENTS.md`, `METHODOLOGY.md`, `RULES.md`, `INDEX.md`.
2. `docs/production-workflow/METHOD-BASELINE.md`
3. `docs/production-workflow/templates/REPOSITORY-CONSTITUTION.md`