Back to skill

Security audit

Archunit Architecture Guard

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed architecture-review helper that scans Java/Kotlin project structure and generates ArchUnit guard tests without hidden network, credential, persistence, or destructive behavior.

Before installing, be aware that the skill is intended to read your Java/Kotlin source tree and may add architecture test files to the repository. Review generated ArchUnit rules and baseline files before committing, especially because frozen rules can affect future CI behavior.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • 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 (4)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The entire skill reference is written in Chinese and does not indicate that language selection is optional or limited to a China-specific context. This can violate language/locale policy when users or downstream agents are expected to operate in other languages by default.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The entire document is written in Chinese and does not offer any language choice or indicate that the skill is intentionally limited to a Chinese-speaking audience. Under the policy, forcing a specific language without user opt-in is a natural-language locale violation unless the constraint is explicitly documented and justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file title and the entire instructional content are written in Chinese, which imposes a specific language on users without indicating that other languages are available or that Chinese is required for a justified regional purpose. Under the policy, a language constraint should either be optional, user-selectable, or clearly justified.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.