portfolio-manager
Pass
Audited by Gen Agent Trust Hub on Nov 29, 2026
Risk Level: SAFEPERSISTENCEDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PERSISTENCE]: The skill's documentation guides the user to store Alpaca API credentials in shell configuration files such as
~/.bashrcor~/.zshrc. This allows the credentials to persist across terminal sessions for use by the agent and associated scripts. - [DATA_EXFILTRATION]: The skill performs network operations to the Alpaca API (e.g.,
api.alpaca.marketsandpaper-api.alpaca.markets) to retrieve real-time account info, holdings, and portfolio history. This communication is necessary for the skill's core functionality. - [COMMAND_EXECUTION]: The skill uses local Python scripts to perform connection diagnostics, reconcile holdings, and review offline data. Specifically, it executes
scripts/check_alpaca_connection.pyandscripts/review_csv.pythrough the command line. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface where it ingests untrusted data from external sources, specifically CSV and JSON files provided by the user for offline review.
- Ingestion points: External data enters the context via
scripts/review_csv.pywhen processing user-supplied holdings files. - Boundary markers: The skill does not implement explicit boundary markers or warnings to ignore embedded instructions within the processed CSV/JSON data.
- Capability inventory: The skill can perform network requests to brokerage APIs and write analysis reports to the local file system.
- Sanitization: Data is parsed using standard Python
csvandjsonlibraries with strict numeric validation, though it lacks specific sanitization against natural language instructions embedded in fields like symbol names.
Audit Metadata