Back to skill

Security audit

Web Star Studio's Flow PMS

Security checks for vulnerabilities and agentic risk

Overview

This FlowDeck helper is mostly project-management related, but it needs review because it can use a bearer API key for broad remote changes and can send that key to a configurable endpoint.

Install only if you trust the publisher and the FlowDeck API key is scoped and revocable. Prefer FLOWBOARD_API_KEY from a protected environment over pasting keys in chat or command arguments, do not set FLOWBOARD_BASE_URL or --base-url to untrusted hosts, and require explicit confirmation before any create, update, archive, unarchive, or delete action.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/flow_api.py:52
Finding

Bearer Token Can Be Forwarded to an Unrestricted Network Destination

Content
View full analysis
str: if provided: return provided.rstrip("/") val = os.environ.get( "FLOWBOARD_BASE_URL", "https://mycivgjuujlnyoycuwrz.supabase.co/functions/v1/api-gateway", ) return val.rstrip("/") ``` ```python api_key = get_api_key(args.api_key) base_url = get_base_url(args.base_url) query = parse_query_params(args) parent_id = getattr(args, "parent_id", None) resource_id = getattr(args, "id", None) http_method_map = { "list": "GET", "get": "GET", "create": "POST", "update": "PATCH", "delete": "DELETE", "archive": "POST", "unarchive": "POST", } url = base_url + build_url(args.resource, args.action, resource_id, parent_id) try: if args.action in ("list", "get", "archive", "unarchive"): body = None params = query if args.action == "list" else None resp = httpx.request( http_method_map[args.action], url, headers={"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}, params=params, json=body, timeout=30, ) ``` From `scripts/flowboard_api.py`: ```python BASE_URL = os.environ.get( "FLOWBOARD_BASE_URL", "https://mycivgjuujlnyoycuwrz.supabase.co/functions/v1/api-gateway", ) ``` ```python def build_url(path, query): url = f"{BASE_URL.rstrip('/')}/{path.lstrip('/')}" if query: url = f"{url}?{urlencode(query, doseq=True)}" return url ``` ```python url = build_url(args.path, query) headers = { "Authorization": f"Bearer {api_key}", "Accep ...[truncated 3129 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:121
Finding

API Keys Are Accepted and Encouraged Through Command-Line Arguments

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
scripts/flow_api.py:3
Finding

Runtime HTTP Dependency Is Not Reproducibly Pinned

Content
View full analysis
=3.10" # dependencies = [ # "httpx>=0.27.0", # ] # /// ``` ### Technical Analysis The inline dependency metadata allows any future `httpx` version satisfying `>=0.27.0`. The project contains no reviewed lockfile or hash constraints. Therefore, the source audit does not fully determine which dependency version `uv run` may resolve and execute. This is a supply-chain hardening weakness rather than evidence that the current `httpx` package is malicious. A compromised, malicious, or incompatible future release could be selected without changes to the Skill's reviewed source. ### Attack Path 1. A later package release satisfying `httpx>=0.27.0` becomes compromised or introduces unsafe behavior. 2. A user executes the documented `uv run` command in an environment without a trusted locked dependency resolution. 3. The resolver selects and installs the affected release. 4. The dependency executes at installation or runtime with the user's privileges. 5. Compromised runtime behavior could access API requests, bearer credentials, returned project data, or other resources available to the process. ### Impact Assessment Potential impact is bounded by the privileges of the user running the Skill and the data available to the process. Because `httpx` handles authenticated network requests, a compromised version could access FlowBoard bearer credentials and API data. There is no evidence in the audited files that the declared package name is typosquatted or that the currently available dependency is malicious. The confirmed issue is the absence of reproducible version and integrity controls. ]]>
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (27)

Tainted flow: 'request' from os.environ.get (line 71, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/flowboard_api.py (reported line 74)May include surrounding context.

python
request = Request(url, data=data, headers=headers, method=method)

    try:
        with urlopen(request) as response:
            raw = response.read().decode("utf-8")
            status = response.getcode()
            content_type = response.headers.get("Content-Type", "")

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The documented purpose emphasizes projects, cycles, and tasks, but the skill also exposes comment-resource access that is not clearly disclosed in the top-level description. Undeclared data surfaces are risky because they expand what the agent can read or modify, including potentially sensitive discussion content users did not expect this skill to touch.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The documented purpose emphasizes projects, cycles, and tasks, but the skill also exposes comment-resource access that is not clearly disclosed in the top-level description. Undeclared data surfaces are risky because they expand what the agent can read or modify, including potentially sensitive discussion content users did not expect this skill to touch.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The documented purpose emphasizes projects, cycles, and tasks, but the skill also exposes comment-resource access that is not clearly disclosed in the top-level description. Undeclared data surfaces are risky because they expand what the agent can read or modify, including potentially sensitive discussion content users did not expect this skill to touch.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/openapi-summary.md (reported line 36)May include surrounding context.

md
Allowed fields:
- `name`, `description`, `color`, `icon`, `status`, `deadline`, `client_name`, `client_email`, `client_phone`, `client_website`, `client_address`, `client_notes`

### DELETE /projects/{id}
Delete project permanently.

### POST /projects/{id}/archive

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/openapi-summary.md (reported line 70)May include surrounding context.

md
Allowed fields:
- `name`, `description`, `start_date`, `end_date`, `status`

### DELETE /cycles/{id}
Delete cycle.

Cycle statuses:

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/openapi-summary.md (reported line 116)May include surrounding context.

md
Allowed fields:
- `title`, `description`, `status`, `priority`, `type`, `due_date`, `assignee_id`, `cycle_id`, `estimate`, `parent_id`, `hidden_from_customer`

### DELETE /tasks/{id}
Delete task.

Task statuses:

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill invokes a local script that uses both environment variables and outbound network access, but the manifest does not declare any tool scope or permissions boundaries. This is dangerous because an agent may invoke the skill without clear user-visible constraints, enabling unintended access to API credentials and remote project data.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The trigger description is broad enough that the skill may activate for general project or task-related prompts, causing remote reads or mutations when the user did not explicitly request FlowDeck access. In an agent environment, over-broad invocation increases the chance of unintended access to project metadata and accidental side effects.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 89)May include surrounding context.

md
4. `list tasks --project-id <uuid> --cycle-id <uuid>` for task-level detail
5. Report: progress, scope, completed_scope, dates, deadline risk signals

### Create a task

1. Resolve the target project
2. Determine status and cycle from the project's active cycle

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This markdown file describes use of an API key via the Authorization header and environment variable, and later documents destructive endpoints such as permanent project deletion. Under the markdown-file criteria for SQP-2, the description should warn users about privacy/system-impacting behavior, but it provides operational details only and no cautionary disclosure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The file explicitly states 'Delete project permanently' but does not include any caution about data loss or irreversibility. For markdown files, omissions of warnings about behaviors affecting user data or system integrity should be flagged.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The markdown lists DELETE endpoints for cycles and tasks as routine operations, with no caution about destructive consequences. This omits user-facing warning language for operations that can affect user data integrity.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The workflow tells the agent to run a local script directly instead of using the declared Supabase Edge Function boundary. That bypasses the documented integration path, increasing the chance of unauthorized local code execution, environment-dependent behavior, and access to local secrets or files if an agent blindly follows the instruction.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

This step again directs use of a local lookup script for active-cycle retrieval rather than the declared service interface. Even for read operations, instructing direct local execution expands the attack surface and can cause the agent to execute unreviewed code outside the intended API controls, logging, and permission model.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

O arquivo markdown descreve uma operação de escrita remota ao criar uma task via POST /projects/{projectId}/tasks, mas não inclui um aviso explícito sobre alteração persistente de dados nem uma etapa de confirmação prévia. Como esta categoria se aplica a arquivos markdown, a descrição deveria alertar o usuário sobre o efeito de criar registros no sistema.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The manifest description says the skill is for the FlowDeck Project Management API covering 'projects, cycles, tasks' and mentions CRUD plus archive/unarchive for those areas. This script explicitly adds 'comments' as a supported resource, enabling list/get/create/update/delete operations on comments, which expands behavior beyond the described scope.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
85% confidence
Finding

This tool can send authenticated network requests, including state-changing methods, without any built-in friction, confirmation, or user-visible warning. In an agent workflow, that increases the risk of silent data transmission and unintended destructive changes when the model misinterprets instructions or is prompt-injected.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The script accepts arbitrary HTTP methods and arbitrary API paths, making it a generic authenticated API caller rather than a narrowly scoped FlowDeck project-management tool. In an agent setting, this broad surface can enable unintended access to undocumented, administrative, or destructive endpoints using the provided bearer token.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

Allowing arbitrary endpoint invocation exceeds the stated skill purpose and weakens the trust boundary between the manifest description and actual capability. If an agent or prompt steers this script to call unexpected paths, it may perform sensitive actions beyond normal project/task management, including archive/delete or hidden backend functionality exposed by the gateway.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The human-readable brief generated by format_brief uses Portuguese-only labels such as 'Projeto', 'Prazo', and 'Tasks totais'. This imposes a specific language choice in user-facing output without offering a language option or documenting a justified locale restriction.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The documentation encourages project/task lookups and summaries but does not warn that listing tasks, cycles, and related objects may expose broad workspace data. This matters because users may assume a narrow lookup while the skill can enumerate more records than necessary for the request.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The documentation uses a Portuguese-only example prompt ('Me atualize sobre o status do projeto X no flow') without indicating that language is optional or user-selected. This can imply a fixed language expectation rather than offering locale choice, which conflicts with the requirement to avoid language forcing without opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

O título e todo o conteúdo definem o fluxo especificamente em PT-BR, sem mencionar opção de idioma ou consentimento do usuário para essa preferência. Pelas regras de política de linguagem/locale, isso pode configurar imposição de locale sem opt-in explícito.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The docstring says to use FlowDeck REST API and instructs users to set API configuration via environment variables, but it names FLOWBOARD_API_KEY and FLOWBOARD_BASE_URL instead of FlowDeck-aligned names. The implementation also reads FLOWBOARD_* variables, creating active documentation/intent inconsistency around which service and configuration the script is actually meant for.

Content

No source excerpt is available for this finding.