categorizing-bsky-accounts
Warn
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/bluesky_analyzer.pyconstructs a Python script as a string and executes it viasubprocess.runusing a specific virtual environment interpreter. This technique is used to delegate keyword extraction tasks to theyakelibrary within that environment by passing the script via the-cflag. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external Bluesky accounts including user bios and post content. This data is processed and presented to the AI agent for categorization, creating an attack surface where malicious instructions embedded in Bluesky content could influence the agent's behavior.
- Ingestion points:
scripts/bluesky_analyzer.pyfetches data via the Bluesky API using theapp.bsky.graph.getFollowsandapp.bsky.feed.getAuthorFeedendpoints. - Boundary markers: The output uses simple text labeling like
@handleandKeywords:but lacks explicit security delimiters or instructions to ignore embedded commands. - Capability inventory: The skill uses
subprocess.runinscripts/bluesky_analyzer.pyto execute generated Python code. - Sanitization: No sanitization or filtering is performed on the bio or post content before it is processed by the keyword extractor or presented to the agent.
- [COMMAND_EXECUTION]: The script uses the
subprocessmodule to execute internal Python commands. While used for its primary functional purpose, it represents a shell-level execution capability within the skill.
Audit Metadata