kai-ad-campaign
Warn
Audited by Gen Agent Trust Hub on Aug 22, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTIONREMOTE_CODE_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill accesses the sensitive local environment file
.env.localto retrieve API authentication tokens likeMETA_ACCESS_TOKENandMETA_AD_ACCOUNT_IDusing shell commands. - [DATA_EXFILTRATION]: Extracted credentials and advertising performance data are transmitted to Meta's official Graph API (
graph.facebook.com) for campaign management, evaluation, and production tasks. - [COMMAND_EXECUTION]: The skill executes shell utilities, including
grepandcut, to parse local configuration files andcurlto perform network operations. - [REMOTE_CODE_EXECUTION]: The skill dynamically loads and executes logic from a local Python script at
kai/paid_media/creative_formats.pyto select advertising formats and hook types. - [PROMPT_INJECTION]: The skill performs automated project discovery by ingesting project metadata and source code to generate marketing context, which creates a surface for indirect prompt injection.
- Ingestion points: Reads
CLAUDE.md,README.md,package.json, and other codebase files to generate aMARKETING.mdfile. - Boundary markers: No explicit delimiters or instructions are specified to differentiate ingested project content from the agent's core instructions.
- Capability inventory: The skill possesses capabilities for network access (
curl), file modification (workspace/ads/), and shell command execution (grep). - Sanitization: No explicit validation or sanitization of the discovered project metadata is described before it is used to influence the ad generation process.
Audit Metadata