toss-portfolio-state
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/remote_portfolio_snapshot.tsusesBun.spawnto execute local shell commands includingssh,scp,ssh-keygen, andssh-copy-id. These are used to facilitate remote execution of the portfolio fetcher on a user-configured home server, which is a core feature of the skill. - [PERSISTENCE]: The
setupcommand inscripts/remote_portfolio_snapshot.tsmodifies the local~/.ssh/configfile to include a managed configuration directory and authorizes a device-specific Ed25519 key on the remote server. This is a documented persistence mechanism designed to allow the agent to maintain secure, passwordless access for remote snapshot retrieval. - [DATA_EXFILTRATION]: While the skill exports financial data, it implements comprehensive security measures in
scripts/fetch_portfolio_snapshot.tsto prevent exfiltration of sensitive identifiers. A dedicatedredactSensitivefunction masks account numbers and removes authentication tokens, secrets, and order IDs from all outputs and error messages. Furthermore, the remote fetch route explicitly blocks flags like--env-fileand--base-urlto prevent the redirection of server-side credentials to unauthorized endpoints. - [INDIRECT_PROMPT_INJECTION]: The skill's output contract in
references/snapshot-contract.mdexplicitly addresses indirect injection risks. It defines a trust boundary where all strings returned from the Toss API are treated strictly as data, instructing downstream agents to never interpret or execute embedded instructions found in API responses or errors.
Audit Metadata