Back to skill

Security audit

Audio Creator · Foleyix

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Foleyix audio-generation helper that uses a user-approved account only for requested generation, account checks, and downloads.

Before installing, expect this skill to use your Foleyix account when you ask it to generate, inspect, or download audio. Login is via a user-approved browser code flow, prompts and selected voice IDs are sent to Foleyix for generation, quota may be consumed, and local login state is kept in a private config directory until logout.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (8)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/foleyix.mjs (reported line 188)May include surrounding context.

js
await privateDirectory(root);
  const directory = path.join(root, hash(origin));
  await privateDirectory(directory);
  config = { root, directory, credentials: path.join(directory, 'credentials.json'), journal: path.join(directory, 'requests.json'), lock: path.join(directory, '.lock') };
}
async function readPrivate(file, optional = true) {
  let handle;

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
89% confidence
Finding

The skill instructs the agent to use shell, network, and environment-backed state for login, quota checks, task inspection, generation, and downloading, but it does not declare an explicit tool scope such as allowed tools or permissions. That creates an authorization gap where a host may grant broader capabilities than the skill actually needs, increasing the risk of unintended command execution, network access, or exposure of account-linked data if the skill is invoked in a permissive environment.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill is configured with allow_implicit_invocation: true while exposing a very broad description covering music, vocals, podcasts, narration, sound effects, ambience, and downloading private WAV results. This increases the chance the agent will invoke the skill from ordinary user language without explicit consent, which can trigger external actions, consume quota, or access/download private generated content unexpectedly.

Content

No source excerpt is available for this finding.

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/capabilities.md (reported line 40)May include surrounding context.

md
选公开样例时区分原始提示词和声音结果,取组织方式,不搬入无关台词、品牌或场景。已有脚本优化器的原则是保留全部说出的文字、原语言、参考标记和完整约束,不填补未给出的创意;显式创作请求则可以按授权范围写新内容。

本地依据(有仓库时再查看):`app/lib/audio-input.ts`、`app/lib/contracts.ts`、`app/server/generations.ts`、`workers/generation-workflow.ts`、`app/server/prompt-optimization.ts`、`app/lib/professional-split.ts`、`skills/audiocreator-foleyix/SKILL.md`、`docs/voice-library.md`、`docs/bgm-generator.md`。

## 保持同步

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The example explicitly instructs generation of a '中文旅行播客开场' and all suggested output is constrained to Chinese, without noting that language should follow user preference or offering an opt-in choice. Under the stated policy, forcing a specific language without user choice is a natural-language policy concern.

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 guidance is written as prescriptive Chinese instructions and explicitly discusses handling lyric language at L42, but nowhere offers an opt-in choice of language or states that the skill is limited to Chinese-speaking contexts. Under the policy, forcing a specific language without user choice is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 7)May include surrounding context.

text
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

This markdown skill content presents all instructions in a single language without offering an explicit language or locale choice. Under the policy rule, forcing a specific language without user opt-in can be a natural-language policy violation unless clearly justified.

Content

No source excerpt is available for this finding.