T08 · Insecure Dependencies
- Location
SKILL.md:10- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a coherent TikTok scraping guide, but it normalizes using browser session cookies and unattended scheduled scraping without enough safeguards.
Review this before installing if you plan to use authenticated TikTok access. Prefer public-only scraping, avoid using your main Chrome profile, do not put cookie files in shared or version-controlled folders, and do not enable the cron job unless you understand how to monitor and remove it.
SKILL.md:10Unpinned Third-Party Dependency Installation
SKILL.md:193Broad Browser Cookie Access for Scraping and Unattended Jobs
The --cookies-from-browser chrome instruction matches information-stealer patterns because it directs extraction of browser-stored session cookies for authenticated access. Even though presented for scraping, this technique handles sensitive session artifacts and can be repurposed for account access or exfiltration if copied into agent workflows.
l updates:
yt-dlp "https://www.tiktok.com/@handle" \
-P "./tiktok/data" \
-o "%(uploader)s/%(upload_date)s-%(id)s/video.%(ext)s" \
--write-info-json \
--download-archive "./tiktok/downloaded.txt"
Run the same command later—it skips videos already in downloaded.txt.
# Use cookies from browser (recommended)
yt-dlp --cookies-from-browser chrome "https://www.tiktok.com/@handle"
# Or export cookies to a file first
yt-dlp --cookies tiktok_cookies.txt "https://www.tiktok.com/@handle"
# crontab -e
# Run daily at 2 AM, log output
0 2 * * * cd /path/to/project && ./scripts/scrape-tiktok.sh >> ./tiktok/logs/cron.log 2>&1
Example scripts/scrape-tiktok.sh:
#!/bin/bash
set -e
HANDLES="handle1 handle2 handle3"
DATA_DIR="./tiktok/data"
ARCHIVE="./tiktok/downloaded.txt"
for handle in $HANDLES; do
echo "[$(date)] Scraping @$handle"
yt-dlp "https://www.tik
The manifest description says 'Use for TikTok crawling, content retrieval, and analysis,' which is a very broad activation scope for a markdown/manifest context. It does not define specific trigger phrases, boundaries, or exclusion conditions, so ordinary requests about TikTok content analysis could unintentionally match this skill.
The skill explicitly recommends extracting browser cookies and using exported cookie files to access private or restricted TikTok content. That expands the skill from public content retrieval into authenticated session use, which can expose sensitive account data and normalize credential/session-token handling without user safeguards.
The documentation omits a warning that browser-cookie extraction uses an authenticated session and may expose sensitive account access to the tool or downstream logs/files. In this context, lack of warning is dangerous because the skill directly instructs users to access private or restricted content using session material.
The scheduled scraping section persists repeated execution via cron and includes a shell script that performs authenticated scraping with browser cookies. This broadens the skill from ad hoc retrieval into unattended host-level automation that can continuously access an authenticated account and accumulate data over time.
The cron example establishes persistent, unattended execution, which increases risk by enabling continuous scraping, ongoing authenticated access, and long-term data collection without repeated user review. Persistence is especially sensitive here because the adjacent script also uses browser-derived cookies.
# crontab -e
# Run daily at 2 AM, log output
0 2 * * * cd /path/to/project && ./scripts/scrape-tiktok.sh >> ./tiktok/logs/cron.log 2>&1
The skill provides commands that download videos and write '.info.json', CSV, JSON, and archive files to local directories, but it does not explicitly warn that these operations create persistent local copies of media and metadata. For a markdown skill description, a brief disclosure is expected when behavior can materially affect user data storage and privacy.
No suspicious patterns detected.