bbc-skill
Pass
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill contains logic to automatically extract and cache Bilibili
SESSDATAcookies from local Chrome, Edge, and Firefox profiles. Extracted cookies are stored in~/.config/bbc-skill/cookie.jsonwith restricted permissions (0600). - [PRIVILEGE_ESCALATION]: In
bbc/cookie/chrome_macos.py, the skill uses the macOSsecuritycommand to retrieve the 'Chrome Safe Storage' password from the system Keychain. This key is required to decrypt local browser cookies. - [COMMAND_EXECUTION]: The skill executes several system binaries via
subprocess.run, includingsecurityfor keychain access andopensslfor AES decryption of browser data. Additionally,SKILL.mdinstructs the agent to executegitcommands for update checks and repository pulls. - [EXTERNAL_DOWNLOADS]: The skill's instructions guide the agent to perform a
git pullfrom the vendor's repository (https://github.com/Agents365-ai/bbc-skill) to update the skill's source code, which constitutes a remote code update mechanism. - [INDIRECT_PROMPT_INJECTION]: The skill fetches untrusted user-generated content (Bilibili comments) and flattens it into JSONL files for subsequent agent analysis.
- Ingestion points: Fetches comments from
api.bilibili.com(seen inbbc/api.pyandbbc/fetch.py). - Boundary markers: The output is structured JSONL, but the
messagefield contains raw, unsanitized comment text without explicit boundary markers or instructions to ignore embedded commands. - Capability inventory: Agents using this skill typically have capabilities like file system access and tool execution to process the resulting data.
- Sanitization: The skill performs standard JSON encoding but does not sanitize or filter the content of comments for potential injection patterns.
Audit Metadata