Back to skill

Security audit

youtube-aisa

Security checks for vulnerabilities and agentic risk

Overview

This skill is a small, disclosed YouTube search helper that sends queries and an AISA API key to the stated AISA endpoint.

Install only if you are comfortable sending YouTube search queries and your AISA_API_KEY to api.aisa.one. Avoid putting private or sensitive information in search queries, and use a revocable key if available.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (5)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- The release bundle is runtime-only: it keeps `SKILL.md` and `LICENSE.txt`, while omitting non-runtime files such as `README.md` and `_meta.json`.

External Transmission

Medium
Category
Data Exfiltration
Confidence
97% confidence
Finding

The skill explicitly directs users to send search queries and the bearer API key to a third-party service at api.aisa.one. This is a real external-transmission issue because both user-provided search content and a reusable secret are disclosed outside the local environment, creating privacy, logging, and credential-misuse risk if the service or transport handling is compromised.

Content

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

md
## Quick Reference

- Required env: `AISA_API_KEY`
- Endpoint: `https://api.aisa.one/apis/v1/youtube/search`
- This package is curl-first and does not ship a local Python client.

## Setup

External Transmission

Medium
Category
Data Exfiltration
Confidence
98% confidence
Finding

This example command performs a live request to an external domain and includes the Authorization bearer token in the request. Even though this is the advertised function of the skill, it is still a genuine security concern because use of the skill necessarily transmits potentially sensitive queries and credentials to an external operator.

Content

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

Common Commands

bash
curl -s "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=machine+learning+tutorial" \
  -H "Authorization: Bearer $AISA_API_KEY"

curl -s "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=AI+news&gl=us&hl=en" \

External Transmission

Medium
Category
Data Exfiltration
Confidence
98% confidence
Finding

This command shows another outbound request to the same external relay, now with locale parameters that may further reveal user preferences or context along with the bearer token. The risk is contextual rather than overtly malicious, but it remains a true vulnerability pattern because the skill's operation depends on external disclosure of user input and credentials.

Content

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

md
curl -s "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=machine+learning+tutorial" \
  -H "Authorization: Bearer $AISA_API_KEY"

curl -s "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=AI+news&gl=us&hl=en" \
  -H "Authorization: Bearer $AISA_API_KEY"

curl -s "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=python+tutorial&sp=EgIQAQ%3D%3D" \

External Transmission

Medium
Category
Data Exfiltration
Confidence
98% confidence
Finding

This example sends a filtered/paginated search request plus the bearer API key to the external AISA endpoint. While consistent with the skill's purpose, it still represents a true external-transmission risk because secrets and user activity are exposed to a third-party service that may log, retain, or misuse them.

Content

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