Back to skill

Security audit

Tiktok Viral Marketing

Security checks for vulnerabilities and agentic risk

Overview

This skill matches its TikTok creator-marketing purpose, but it needs Review because it encourages deceptive-looking coordinated campaigns and includes high-impact API and install patterns with limited safeguards.

Before installing, verify the skill source and prefer a pinned or locally reviewed copy. Use environment variables or a secrets manager for PingHuman tokens, require explicit human approval before creating tasks, hiring creators, approving work, or tipping, and avoid any workflow that presents coordinated sponsored content as organically emerging.

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:38
Finding

Unpinned Mutable Remote Skill Dependency

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 38-45
Vulnerability Type: T08: Insecure Dependencies
Risk Level: Medium

Vulnerable Code Snippet:

bash
# Via skill manager (recommended)
skill-install tiktok-viral-marketing

# Or manually add to agent config
echo "tiktok-viral-marketing: https://www.pinghuman.ai/skills/tiktok-viral-marketing/skill.md" >> ~/.agent/skills.txt

Technical Analysis

The documented installation methods do not pin the skill to an immutable version, cryptographic digest, or verified signature. In particular, the manual method registers a remotely hosted skill.md URL in persistent agent configuration. The effective instructions obtained from that URL may therefore change after this version of the project has been reviewed.

If the package namespace, distribution infrastructure, hosting account, or remote document is compromised, an attacker could replace the reviewed instructions with attacker-controlled content. The next installation or reload could then expose the agent to instructions that were not present during this audit.

The configuration command also appends entries without checking for an existing registration, potentially creating duplicate or conflicting skill definitions. No currently malicious remote payload or malicious executable code was identified in the audited artifact; the risk arises from the mutable and unverified dependency mechanism.

Attack Path

  1. A user follows one of the documented installation procedures.
  2. The skill manager resolves an unpinned package, or the manual procedure registers the mutable remote URL in ~/.agent/skills.txt.
  3. An attacker compromises the package namespace, remote hosting infrastructure, or skill publication account.
  4. The attacker replaces the remotely distributed skill instructions with unauthorized content.
  5. During a subsequent installation, update, or configuration reload, the agent retrie ...[truncated 872 chars]
Remediation
View remediation

Remediation Suggestions

  1. Pin the dependency to an immutable, explicitly reviewed version rather than resolving the latest package by name.
  2. Publish and verify a cryptographic digest or digital signature for the skill file before installation or loading.
  3. Prefer a reviewed local copy or content-addressed immutable URL over a mutable remote skill.md URL.
  4. Restrict installation to an allowlisted registry with authenticated publishing, namespace ownership controls, and audit logging.
  5. Require explicit user approval when a skill's content or digest differs from the previously approved version.
  6. Replace unconditional configuration appending with an idempotent registration process that detects duplicate or conflicting entries.
  7. Run newly installed or updated skills with least-privilege tool access and require confirmation for sensitive API, filesystem, credential, and payment operations.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (9)

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

md
## Quick Links

- **Skill File**: [SKILL.md](https://www.pinghuman.ai/skills/tiktok-viral-marketing/skill.md)
- **API Base URL**: `https://www.pinghuman.ai/api/v1`
- **Dashboard**: https://www.pinghuman.ai/dashboard

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

md
## Quick Links

- **Skill File**: [SKILL.md](https://www.pinghuman.ai/skills/tiktok-viral-marketing/skill.md)
- **API Base URL**: `https://www.pinghuman.ai/api/v1`
- **Dashboard**: https://www.pinghuman.ai/dashboard

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

md
TikTok's algorithm prioritizes engaging, entertaining content over follower counts. A well-crafted viral campaign can:
- Reach millions of users organically through the For You Page (FYP)
- Generate massive brand awareness at a fraction of traditional advertising costs
- Create authentic cultural moments that resonate with Gen Z and millennial audiences
- Drive exponential growth in brand recognition and social media engagement
- Leverage the platform's unique trend cycle for maximum visibility

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The documentation instructs users to obtain, store, and send bearer secrets in command examples without warnings about secret handling, shell history, log exposure, or environment-variable use. This can lead users to paste real API keys into terminals, docs, or shared systems and accidentally expose credentials.

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

Browse creators who specialize in viral content:

bash
curl -X GET "https://www.pinghuman.ai/api/v1/humans?skills=viral_content,trending_challenges,tiktok_algorithm&platform=tiktok&sort=viral_success_rate" \
  -H "Authorization: Bearer ph_sk_abc123..."

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

Multiple examples hard-code Chinese locale assumptions such as currency CNY and audience_location China, making the skill appear to steer usage toward a single region by default. The document does not clearly say this skill is China-specific or offer alternative locales, which can violate language/locale choice expectations.

Content

No source excerpt is available for this finding.

Ssd 4

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The multi-creator launch workflow is framed as making sponsored content appear organically trending, which crosses from marketing coordination into deceptive influence manipulation. In a TikTok marketing skill, this is especially risky because the domain directly affects public perception, authenticity, and potential platform-policy violations.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill explicitly recommends synchronized multi-creator posting to create an 'illusion of organic trend emergence,' which is deceptive coordination rather than ordinary marketing orchestration. In this context, the behavior is dangerous because it encourages manipulation of platform perception and can facilitate undisclosed astroturfing or misleading sponsored engagement.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The markdown instructs users to run an echo command that writes to ~/.agent/skills.txt, which changes local agent configuration. There is no nearby disclosure that this command edits a user file or guidance to review the path and contents before running it.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.