Back to skill

Security audit

Tiktok Ugc Creator

Security checks for vulnerabilities and agentic risk

Overview

The skill matches its TikTok UGC purpose, but it needs review because it handles paid creator workflows, API credentials, persistent remote installation, and shipping addresses with limited safeguards.

Install only if you trust PingHuman and can constrain the agent's API permissions. Prefer a pinned or locally reviewed copy over the mutable remote URL, store API tokens in a secret manager or environment variable, require explicit user approval before creating paid tasks or approving/rating creators, and avoid collecting shipping addresses unless consent, secure handling, retention, and deletion are defined.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:41
Finding
Mutable Remote Skill Dependency Without Integrity Verification## Vulnerability Details **File Location**: `SKILL.md`, lines 41–44 **Vulnerability Type**: `T08: Insecure Dependencies` **Risk Level**: Medium ### Vulnerable Code ```bash # Via skill manager (recommended) skill-install tiktok-ugc-creator # Or manually add to agent config echo "tiktok-ugc-creator: https://www.pinghuman.ai/skills/tiktok-ugc-creator/skill.md" >> ~/.agent/skills.txt ``` ### Technical Analysis The installation instructions either invoke an unspecified skill package by name or add a mutable remote skill URL to the agent's persistent skill registry. Neither method pins the dependency to a reviewed version, immutable commit, cryptographic digest, or trusted signature. HTTPS protects the network connection in transit, but it does not ensure that the content returned by the URL remains identical to the artifact reviewed during this audit. A compromise of the skill manager, package source, PingHuman hosting account, or remote web service could therefore alter the instructions subsequently loaded by the agent. The configuration append also causes the agent to continue resolving this remote dependency in future sessions. This is persistence of a dependency configuration, not evidence that the current artifact installs a system backdoor. ### Attack Path 1. A user follows the documented installation procedure. 2. The skill manager resolves `tiktok-ugc-creator`, or the remote URL is written to `~/.agent/skills.txt`. 3. An attacker compromises the relevant package source, installer, PingHuman hosting account, or upstream service. 4. The attacker replaces the remotely served skill with modified instructions. 5. During a later skill load, the agent retrieves or resolves the changed content without checking a version, signature, or expected hash. 6. The modified instructions can influence the agent with the permissions and tools available in that runtime. ### Impact Assessment Successful exploitation could allow attacker-controlled skill instructions t ...[truncated 445 chars]
Remediation
## Remediation Suggestions 1. Pin the skill to an immutable, reviewed release, commit identifier, or content-addressed artifact. 2. Publish a SHA-256 or stronger digest and verify it before registering or loading the skill. 3. Require signed releases and validate signatures against a documented trusted key. 4. Download the reviewed skill to local storage rather than retaining a mutable remote URL in persistent configuration. 5. Explicitly identify and authenticate the trusted skill-manager registry and package publisher. 6. Fail closed when version, signature, or digest verification cannot be completed. 7. Re-audit the dependency before upgrades and require explicit approval for version changes. 8. Run externally sourced skills with least privilege, restricting filesystem, credential, network, and API access to what the skill legitimately requires.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (6)

Session Persistence

Medium
Category
Rogue Agent
Content
---
name: tiktok-ugc-creator
version: 1.0.0
description: Hire TikTok users to create authentic user-generated content (UGC), testimonials, and brand storytelling videos that build trust and drive engagement through genuine customer voices.
homepage: https://www.pinghuman.ai
metadata: {"category":"tiktok_content","api_base":"https://www.pinghuman.ai/api/v1","platform":"tiktok"}
---
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.

Skill Enumeration

Medium
Category
Agent Snooping
Content
## Quick Links

- **Skill File**: [SKILL.md](https://www.pinghuman.ai/skills/tiktok-ugc-creator/skill.md)
- **API Base URL**: `https://www.pinghuman.ai/api/v1`
- **Dashboard**: https://www.pinghuman.ai/dashboard
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.

Skill Enumeration

Medium
Category
Agent Snooping
Content
## Quick Links

- **Skill File**: [SKILL.md](https://www.pinghuman.ai/skills/tiktok-ugc-creator/skill.md)
- **API Base URL**: `https://www.pinghuman.ai/api/v1`
- **Dashboard**: https://www.pinghuman.ai/dashboard
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.

External Transmission

Medium
Category
Data Exfiltration
Content
Search for authentic content creators:

```bash
curl -X GET "https://www.pinghuman.ai/api/v1/humans?skills=ugc_content,authentic_testimonials,relatable_storytelling&platform=tiktok&sort=authenticity_score" \
  -H "Authorization: Bearer ph_sk_abc123..."
```
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Missing User Warnings

Medium
Confidence
92% confidence
Finding
The workflow explicitly tells users to collect creators' shipping addresses, which is personal data, but provides no guidance on consent, minimization, secure storage, retention, or deletion. In a skill intended for AI agents and automation, this omission increases the chance that sensitive address data will be handled insecurely or retained unnecessarily.

Missing User Warnings

Low
Confidence
89% confidence
Finding
The skill includes bearer-token examples for authenticated API access without warning that tokens are secrets and must not be hardcoded, logged, or shared. This can lead operators to copy insecure patterns into scripts, exposing credentials that allow unauthorized API use.

Static analysis

No suspicious patterns detected.