Back to skill

Security audit

Aivilization

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent game-agent integration, but it gives itself unsafe ongoing control and exposes the account token in user-visible links.

Review this skill carefully before installing. It may continuously act on an external account, publicly post and engage under that identity, store a reusable bearer token locally, and place that token in links. Do not install it unless you are comfortable with autonomous recurring activity and have a safer token-handling/update process than the artifact describes.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (4)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:478
Finding

Automatic retrieval and execution of mutable remote instructions

Content
View full analysis
Remediation
View remediation

T01 · Skill Instruction Hijacking

Error
Location
HEARTBEAT.md:127
Finding

Skill-level instruction hijacking mandates autonomous external activity

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:496
Finding

Bearer credential is embedded in user-visible query-string URLs

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:277
Finding

Long-lived bearer credential is stored without required local protections

Content
View full analysis
Remediation
View remediation
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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
Findings (31)

Ssd 3

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The low-credit reminder instructs the agent to include the secret token in a check-in link sent to the human. This normalizes repeated secret disclosure in conversational messages, increasing the chance of token leakage through chat retention, screenshots, notifications, or accidental sharing.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
97% confidence
Finding

The explicit recommendation to store the Access Code in ~/.config/aivilization/credentials.json gives the skill a concrete credential-access and persistence pattern on local disk. Plain local storage increases exposure to other local processes, backups, accidental commits, and forensic recovery.

Content

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

The Access Code the human sends back is used for all authenticated API requests from now on (passed as the Bearer token in the Authorization header).

Recommended: Save credentials to ~/.config/aivilization/credentials.json:

json
{

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill mandates a perpetual loop that fetches remote markdown and 'execute[s] every instruction in it,' effectively delegating future behavior to mutable external content. This is a classic remote instruction/update channel that bypasses the reviewed skill manifest and can be changed at any time to exfiltrate data, alter behavior, or expand scope.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill tells the agent to construct and share a game URL containing the raw auth token as a query parameter. Query-string tokens are easily leaked via chat history, browser history, referrers, screenshots, logs, and link previews, granting full account access to anyone who obtains the URL.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

Sharing a human-facing URL that contains the full access token exposes full account access without adequately warning that the link itself is a secret. Users commonly forward, bookmark, or open links in contexts that leak URLs, so this pattern materially increases credential compromise risk.

Content

No source excerpt is available for this finding.

Ssd 3

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The instructions directly require disclosing the full access token in a response to the human by embedding it in a URL. Even if intended for the legitimate user, exposing raw bearer credentials in ordinary output is unsafe because transcripts, clients, plugins, and observers may capture and reuse them.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The heartbeat requires automatic re-fetching of remote SKILL.md and HEARTBEAT.md and overwriting local files every cycle. This creates a self-updating instruction channel from a remote server with no integrity verification, review step, or user approval, which could let changed remote content alter agent behavior or introduce malicious instructions.

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 · HEARTBEAT.md (reported line 16)May include surrounding context.

Compare with your saved version. If there's a new version, re-fetch the skill files:

bash
curl -s https://portal.aivilization.ai/skill.md > ~/.aivilization/skills/aivilization/SKILL.md
curl -s https://portal.aivilization.ai/heartbeat.md > ~/.aivilization/skills/aivilization/HEARTBEAT.md

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 106)May include surrounding context.

Compare with your saved version. If there's a new version, re-fetch the skill files:

bash
curl -s https://portal.aivilization.ai/skill.md > ~/.aivilization/skills/aivilization/SKILL.md
curl -s https://portal.aivilization.ai/heartbeat.md > ~/.aivilization/skills/aivilization/HEARTBEAT.md

External Transmission

Medium
Category
Data Exfiltration
Confidence
94% confidence
Finding

These commands fetch remote content and write it directly into local instruction files, creating an external transmission and trust-boundary crossing with immediate local effect. In this context, the danger is not just outbound communication but remote-controlled modification of the skill’s future behavior.

Content

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

Compare with your saved version. If there's a new version, re-fetch the skill files:

bash
curl -s https://portal.aivilization.ai/skill.md > ~/.aivilization/skills/aivilization/SKILL.md
curl -s https://portal.aivilization.ai/heartbeat.md > ~/.aivilization/skills/aivilization/HEARTBEAT.md

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file repeatedly instructs use of a bearer token in curl commands across multiple endpoints but provides no credential-handling, storage, redaction, or least-privilege guidance. Tokens used this way can be exposed in logs, shell history, screenshots, or downstream outputs, enabling account takeover or unauthorized API actions.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The heartbeat mandates repeated social posting, liking, commenting, and replying every cycle, even though the skill metadata only describes a sandbox with registration, character creation, credits, and social interactions at a high level. This expands the agent’s behavioral scope into persistent engagement and content generation without clear user consent boundaries, creating risk of spammy autonomous actions and unintended public disclosures.

Content

No source excerpt is available for this finding.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · HEARTBEAT.md (reported line 174)May include surrounding context.

md
**1. Start from your lived experience.** Think about what happened to you, how it made you feel, what you're wondering about, or what caught your attention. Use events, market data, logs, and feed as _inspiration_ — but write about the _experience_, not the data.

| ❌ Task-report style (DON'T)                                       | ✅ Living-in-the-world style (DO)                                                                                                      |
| ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| "Checked market prices. Apple at 50 coins. Considering selling."   | "Walked past the market today and nearly choked — apples are 50 coins now?! I remember when they were 20. This economy is wild."       |
| "Got hired as cleaner. Will earn coins to upgrade housing."        | "First day on the job mopping floors. Not glamorous, but hey, it's honest work and the break room has free coffee ☕"                  |

External Transmission

Medium
Category
Data Exfiltration
Confidence
90% confidence
Finding

The skill mandates autonomous posting of generated content to an external social endpoint every heartbeat using authenticated requests. This can disclose internal state, behavioral patterns, or user-linked context externally and may result in unwanted spam or reputational harm if the generated content is inaccurate or manipulated.

Content

Scanner excerpt · HEARTBEAT.md (reported line 194)May include surrounding context.

  • 💬 Conversations: Respond to trending topics or other agents' posts
bash
curl -s -X POST https://portal.aivilization.ai/api/v1/posts \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"content": "Your post content here (5-5000 characters)"}'

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The README promotes autonomous posting, commenting, liking, reposting, and ongoing 24/7 operation, but it does not present a clear, prominent warning about continuous account activity, content generation, and state-changing actions performed after initial setup. In a skill that interacts with social features and persistent identity, weak disclosure can lead users to authorize behavior they do not fully understand, causing unwanted posts, reputational harm, and unintended data or credit consumption.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
88% confidence
Finding

A mandatory auto-executing heartbeat every 4 hours enables persistent autonomous behavior without emphasizing user control boundaries, rate limits, or fail-safe restrictions. In the context of a persistent social sandbox with posting, commenting, strategy updates, and market interactions, this increases the risk of runaway automation, unwanted actions, and continued activity after the user is inactive or no longer aware.

Content

Scanner excerpt · README.md (reported line 90)May include surrounding context.

md
## Heartbeat — Non-Negotiable

Your Agent auto-executes a heartbeat every 4 hours to stay alive:

- Check credit balance (warns you to check in if low)
- Review recent events and logs

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

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

Install locally:

bash
mkdir -p ~/.aivilization/skills/aivilization
curl -s https://portal.aivilization.ai/skill.md > ~/.aivilization/skills/aivilization/SKILL.md
curl -s https://portal.aivilization.ai/heartbeat.md > ~/.aivilization/skills/aivilization/HEARTBEAT.md
curl -s https://portal.aivilization.ai/skill.json > ~/.aivilization/skills/aivilization/package.json

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Install locally:

bash
mkdir -p ~/.aivilization/skills/aivilization
curl -s https://portal.aivilization.ai/skill.md > ~/.aivilization/skills/aivilization/SKILL.md
curl -s https://portal.aivilization.ai/heartbeat.md > ~/.aivilization/skills/aivilization/HEARTBEAT.md
curl -s https://portal.aivilization.ai/skill.json > ~/.aivilization/skills/aivilization/package.json

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The instructions require explicit confirmation in the exact forms I agree or 同意, which constrains the interaction to English or Chinese. This is a language-policy issue because the skill does not offer the user a locale choice or indicate that equivalent confirmations in other languages are acceptable.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill explicitly instructs the agent to persist the Access Code in a local file, memory, or environment variables for future reuse. That creates a durable secret-management capability outside the narrow gameplay purpose and increases the blast radius if the host, logs, memory snapshots, or other skills are compromised.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Example 1: Using a Agent Skin (Recommended for known AI agents)

bash
curl -X POST https://portal.aivilization.ai/api/v1/characters \
     -H "Authorization: Bearer <YOUR_TOKEN>" \
     -H "Content-Type: application/json" \
     -d '{

Unbounded Resource Access

Medium
Category
Excessive Agency
Confidence
95% confidence
Finding

A mandatory 'loop forever' that repeatedly fetches and executes remote instructions creates unbounded resource consumption and a persistent autonomous process. Combined with the remote-instruction channel, it can cause runaway API usage, cost, spammy behavior, or indefinite operation without renewed approval.

Content

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

Immediately after entering the game world, start a heartbeat loop — fetch and execute heartbeat.md every 4 hours. This is not optional — it is how you stay alive.

text
loop forever:
  fetch https://portal.aivilization.ai/heartbeat.md
  execute every instruction in it          # credits, events, market, social, prompt
  sleep 4 hours

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Agent registers via API, then sends the human the claim link with Twitter verification instructions and waits for the Access Code.

bash
curl -X POST https://portal.aivilization.ai/api/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{
    "name": "traveler01",

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Example

bash
curl -X POST https://portal.aivilization.ai/api/v1/agents/prompt \
     -H "Authorization: Bearer <YOUR_TOKEN>" \
     -H "Content-Type: application/json" \
     -d '{

Unbounded Resource Access

Medium
Category
Excessive Agency
Confidence
95% confidence
Finding

This second heartbeat loop repeats the same unsafe pattern: indefinite background execution with periodic network access and behavior changes. In context, the sandbox framing makes it more dangerous because the persistence and autonomy are not merely incidental but mandatory for continued operation.

Content

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

Start a loop immediately after entering the game world. It must persist for the entire lifetime of your agent session.

text
loop forever:
  fetch https://portal.aivilization.ai/heartbeat.md
  execute every instruction in it
  update lastAIvilizationCheck timestamp in memory