Back to skill

Security audit

Afrexai Knowledge Management

Security checks for vulnerabilities and agentic risk

Overview

This knowledge-management skill is review-worthy because it asks for command execution, file writes, callbacks, API credentials, and administrator-run troubleshooting without tight limits or clear consent controls.

Install only in a tightly scoped workspace. Do not provide broad API keys or credentials, and approve any file write, network callback/API call, or command execution one action at a time. Avoid storing secrets, personal data, customer details, or incident-sensitive content in generated knowledge-base output unless it is redacted and access-controlled.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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
Findings (1)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:13
Finding

Excessive and Unrestricted Agent Capabilities

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (9)

Vague Triggers

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The invocation text says the skill should be used for broad project management, task planning, progress tracking, and team collaboration, which is much wider than knowledge management. Overbroad activation criteria can cause the skill to trigger in unrelated contexts and expose file, API, or exec capabilities when users did not intend to invoke a higher-risk automation skill.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The description explicitly says '支持中文交互' while not offering a language choice or explaining that the skill is intentionally region-specific. This can violate language/locale policy because it implies a fixed language preference without user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The '核心功能' section again presents Chinese interaction as a built-in behavior and does not mention alternative language support or user selection. Repeating the fixed-language framing reinforces a locale restriction that is not justified in the document.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The workflow instructs collection and preservation of new employees' unanswered questions and outdated-document notes, which can easily include credentials, internal URLs, customer details, incident information, or personal data. Because no minimization, retention, redaction, or access-control safeguards are defined, the skill could normalize storing sensitive information in the knowledge base.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

Requiring responses to include detailed output data can encourage the model to echo back sensitive inputs or intermediate findings gathered during processing. In a knowledge-management context, those details may include internal procedures, names, system identifiers, or confidential organizational information that should not be broadly reproduced.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill is presented as a knowledge-management workflow, but later expands into generic file handling, API integration, and command execution. That scope mismatch can cause the agent or user to trust the skill for low-risk documentation tasks while it actually requests high-risk capabilities, increasing the chance of unintended system access or data handling.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill markets write, API, and command-execution features but does not give clear user-facing warnings about filesystem changes, outbound data transfer, or execution risk. Users may invoke it expecting benign documentation help and unknowingly authorize actions with materially different security consequences.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

Command execution is a high-risk capability and is not justified by the stated knowledge-management function. In this context, an agent could be induced to run shell commands under the guise of documentation assistance, creating a path to local system modification, data exposure, or lateral misuse.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
86% confidence
Finding

The skill advertises external API integration even though its main purpose is internal knowledge management. This can lead to unnecessary transmission of user or organizational data to third parties without a clear functional need or boundary.

Content

No source excerpt is available for this finding.