Back to skill

Security audit

C4 架构图与架构文档

Security checks for vulnerabilities and agentic risk

Overview

This skill creates architecture diagrams from selected project materials, with no hidden execution or unrelated access found.

Specify which project materials the agent should inspect and review generated documents for sensitive architecture details before sharing. Output defaults to docs/architecture/. All bundled files were inspected; linked external pages were not assessed.

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
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

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 · references/sources.md (reported line 19)May include surrounding context.

md
## 技能参考

[softaworks 的 c4-architecture](https://github.com/softaworks/agent-toolkit/blob/main/skills/c4-architecture/SKILL.md)提供工作流和语法参考。层级定义以 C4 官网为准,Code 是第四层。

## 示例约定