Back to skill

Security audit

Portfolio Analytics

Security checks for vulnerabilities and agentic risk

Overview

This skill performs local portfolio risk analysis on user-provided CSV files and writes a local summary output, with no evidence of network access, credential use, trading actions, or hidden persistence.

Install only if you are comfortable giving the skill access to the portfolio CSVs you choose and having it create a local JSON summary in the output directory you provide. Review the output before using it for financial decisions; the skill is analytics-only and does not place trades or fetch live market data.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Lp3

Medium
Category
MCP Least Privilege
Confidence
83% confidence
Finding
The skill instructs the agent to run a local script and produce a handoff bundle, which implies file access and likely creation of output artifacts, but it does not declare any explicit tool scope such as allowed-tools or permissions. That mismatch increases the chance of overbroad agent capabilities being used implicitly, making file writes harder to audit and constrain in a workflow that operates on local portfolio data.

Description-Behavior Mismatch

Low
Confidence
82% confidence
Finding
The manifest frames the skill as computing portfolio risk and exposure metrics, which suggests analytical processing of inputs. This script also creates an output directory and writes a JSON summary file, adding persistent filesystem modification behavior beyond pure computation.

Static analysis

No suspicious patterns detected.