Back to skill

Security audit

POST AI Automation

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly purpose-aligned, but it needs review because it handles reusable social-media credentials, encourages automated posting, and contains unsafe CSV-driven file and URL handling.

Review this skill before installing. Use only test or limited-scope social accounts, do not store real cookies or session IDs in a shared or synced workspace, avoid unattended cron posting until safeguards are added, and process only trusted CSV files until URL and path validation are fixed.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (4)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/batch_process.py:58
Finding

Unrestricted URL Retrieval Enables Server-Side Request Forgery and Local Resource Access

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/batch_process.py:68
Finding

Unbounded Remote Response Download Can Exhaust Memory and Disk

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
scripts/batch_process.py:157
Finding

CSV-Controlled Product Name Can Escape the Intended Output Directory

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Note
Location
config.example.json:2
Finding

Reusable API and Social-Media Credentials Are Stored in Plaintext Workspace Configuration

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (19)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The README promotes automated upload and scheduled posting to external social-media accounts without warning users that these actions can affect live accounts, trigger platform enforcement, or publish unintended content. In this context, automation against TikTok/Instagram increases the risk of account misuse or mass unwanted posting if the tool is misconfigured or credentials are stolen.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The README instructs users to store API keys, account identifiers, TikTok cookies, and session IDs in a local config file, but it provides no guidance on protecting those secrets or avoiding accidental disclosure. This is dangerous because session cookies and API credentials can enable account takeover, unauthorized posting, or abuse of paid services if they are leaked through source control, logs, backups, or shared workspaces.

Content

No source excerpt is available for this finding.

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

md
## Use Cases

- **Affiliate Marketing**: Generate 10-20 videos per product automatically
- **E-commerce**: Create product showcases at scale
- **Content Automation**: Daily posting without manual effort
- **A/B Testing**: Test multiple video variants to see what works

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The setup instructions direct users to place API keys, cookies, and session identifiers into a local config file without any security handling guidance. These credentials can grant API access and account takeover capability if exposed through source control, logs, backups, or multi-user environments, especially since cookies and session IDs may bypass normal authentication flows.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill encourages automated uploading and scheduled posting to external social media accounts without any explicit warning, confirmation, or guardrails around irreversible external actions. In an agent setting, this can cause unauthorized posting, spammy behavior, account enforcement actions, or reputational damage if the automation is triggered unexpectedly or with the wrong content.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The configuration sets defaults.language to id, which imposes a specific language choice by default. Under the policy, locale constraints should either be user-selectable or clearly justified as region-specific; this file provides neither.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The generated default caption uses Indonesian words and currency formatting such as "Produk", "Jangan sampai kehabisan!", and "Rp" with no option for the user to select language or locale. This is a natural-language policy issue because the skill imposes a specific language/locale in user-facing content without opt-in or justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The default caption template includes fixed Indonesian phrases such as "Jangan sampai kehabisan! Order sekarang:". This imposes a specific language on generated output with no user opt-in or documented region-specific justification, which matches the language/locale policy violation category.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/batch_process.py (reported line 179)May include surrounding context.

python
]

    print(f"   Running: {' '.join(cmd)}")
    result = subprocess.run(cmd, capture_output=True, text=True)

    if result.returncode != 0:
        print(f"❌ Generation failed:")

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/batch_process.py (reported line 206)May include surrounding context.

python
]

    print(f"   Running: {' '.join(cmd)}")
    result = subprocess.run(cmd, capture_output=True, text=True)

    if result.returncode != 0:
        print(f"❌ Generation failed:")

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The function signature sets language="id" as the default, which imposes a specific language choice unless the user explicitly overrides it. This is a natural-language locale policy concern because the skill defaults to one language rather than remaining neutral or prompting for preference.

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

md
List of generated video paths
    """
    api_key = POSTAI_API.get("api_key")
    endpoint = POSTAI_API.get("endpoint", "https://api.postai.com/v1")

    if not api_key:
        print("❌ POST AI API key not configured in config.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 28)May include surrounding context.

md
List of generated video paths
    """
    api_key = POSTAI_API.get("api_key")
    endpoint = POSTAI_API.get("endpoint", "https://api.postai.com/v1")

    if not api_key:
        print("❌ POST AI API key not configured in config.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 · config.example.json (reported line 5)May include surrounding context.

json
List of generated video paths
    """
    api_key = POSTAI_API.get("api_key")
    endpoint = POSTAI_API.get("endpoint", "https://api.postai.com/v1")

    if not api_key:
        print("❌ POST AI API key not configured in config.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 · scripts/generate_videos.py (reported line 46)May include surrounding context.

python
List of generated video paths
    """
    api_key = POSTAI_API.get("api_key")
    endpoint = POSTAI_API.get("endpoint", "https://api.postai.com/v1")

    if not api_key:
        print("❌ POST AI API key not configured in config.json")

External Transmission

Medium
Category
Data Exfiltration
Confidence
80% 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 · scripts/generate_videos.py (reported line 80)May include surrounding context.

python
# Placeholder: Replace with actual POST AI API call
        # Example:
        # response = requests.post(
        #     f"{endpoint}/generate",
        #     headers={"Authorization": f"Bearer {api_key}"},
        #     json={

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The command-line argument declares --language with default="id", causing the tool to generate voice-over in Indonesian unless the user changes it. That is a language/locale default that is not presented as opt-in or justified as region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The configuration example sets "language": "id" as the default language, which implies a specific locale preference. The README does not state that this is optional, offer alternatives, or justify the locale as a region-specific requirement.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

This CSV contains user-facing natural-language content such as product names and caption templates written only in Indonesian. Under the language/locale policy, forcing a specific language without opt-in can be a policy violation when no alternative locale or user choice is provided.

Content

No source excerpt is available for this finding.