Back to skill

Security audit

chatgpt-web-delegation

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign with medium confidence: the scanners report coherent, disclosed, purpose-aligned behavior, while noting environment and network capability declarations, external transmission, and autonomous wording; coverage is partial.

The verdict is benign, not risk-free. Before installing, decide whether you are comfortable with the disclosed calls to api.typesafe.ai and check what data the workflow sends. The scan is partial: all three listed components were inspected, but several local references could not be resolved, so the evidence is not complete.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (14)

Code capability 'env' detected in scripts/route.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'env' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.

Code capability 'network' detected in scripts/route.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'network' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · scripts/test_route.py (reported line 612)May include surrounding context.

python
sys.stdin = io.StringIO(%r)
raise SystemExit(route.main(["--plan"]))
""" % (str(SCRIPTS), plan_answers(), json.dumps(plan_input()))
        env = os.environ.copy()
        env["TYPESAFE_API_KEY"] = DUMMY_KEY
        completed = subprocess.run(
            [sys.executable, "-c", source], capture_output=True, env=env, check=False,

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · scripts/test_route.py (reported line 684)May include surrounding context.

python
sys.stdin = io.StringIO(%r)
raise SystemExit(route.main([]))
""" % (str(SCRIPTS), answers, json.dumps(fixture))
        env = os.environ.copy()
        env["TYPESAFE_API_KEY"] = DUMMY_KEY
        completed = subprocess.run(
            [sys.executable, "-c", source],

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · scripts/test_route.py (reported line 623)May include surrounding context.

python
self.assertNotIn(DUMMY_KEY.encode(), completed.stdout)

    def test_cli_invalid_json_is_nonzero_json_without_traceback(self) -> None:
        env = os.environ.copy()
        env["TYPESAFE_API_KEY"] = DUMMY_KEY
        completed = subprocess.run(
            [sys.executable, str(SCRIPTS / "route.py")],

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
## One-shot prompt: final result, no interaction

Write the browser prompt so ChatGPT finishes without asking anything:

- State the goal, the scope, the sources to use, and the exact output format
  (sections, table columns, length, language).

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
selected effort, and the provisional threshold policy for the decisions actually
used. Thresholds are provisional and not calibrated universal truths.

A clear `keep_local` is successful non-delegation; it does not automatically run a
local replacement. A selected `no_suitable_model`, `no_suitable_effort`, near tie,
low confidence, or insufficient delegation probability cannot authorize a web
action. Such outcomes return a structured non-delegation/clarification result.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
This is an agent workflow, not a standalone browser automation program.
`scripts/route.py` is its only scripted network client; the agent separately drives
the website with browser tools. The helper uses Python's standard library to call
only `https://api.typesafe.ai/v1/systemone`, authenticated by `TYPESAFE_API_KEY` in
the process environment. It does not access the vault or drive the browser.
Do not print or persist the key. Run the commands below from this skill's directory.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/route.py (reported line 30)May include surrounding context.

python
from dataclasses import dataclass
from typing import Any, Callable, Mapping

ENDPOINT = "https://api.typesafe.ai/v1/systemone"
JEV_MODEL = "jev-latest"
TIMEOUT_SECONDS = 20
MAX_INPUT_BYTES = 64 * 1024

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/test_route.py (reported line 614)May include surrounding context.

python
""" % (str(SCRIPTS), plan_answers(), json.dumps(plan_input()))
        env = os.environ.copy()
        env["TYPESAFE_API_KEY"] = DUMMY_KEY
        completed = subprocess.run(
            [sys.executable, "-c", source], capture_output=True, env=env, check=False,
        )
        self.assertEqual(completed.returncode, 0)

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/test_route.py (reported line 625)May include surrounding context.

python
def test_cli_invalid_json_is_nonzero_json_without_traceback(self) -> None:
        env = os.environ.copy()
        env["TYPESAFE_API_KEY"] = DUMMY_KEY
        completed = subprocess.run(
            [sys.executable, str(SCRIPTS / "route.py")],
            input=b"not-json",
            stdout=subprocess.PIPE,

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/test_route.py (reported line 646)May include surrounding context.

python
b'{"disclosure_reviewed":false,"disclosure_reviewed":true}',
            b'{"ui":{"authenticated":false,"authenticated":true}}',
        ):
            completed = subprocess.run(
                [sys.executable, str(SCRIPTS / "route.py")],
                input=payload, capture_output=True, check=False,
            )

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/test_route.py (reported line 656)May include surrounding context.

python
def test_cli_examples_are_offline_and_fictitious(self) -> None:
        for flag in ("--example-input", "--example-output"):
            completed = subprocess.run(
                [sys.executable, str(SCRIPTS / "route.py"), flag],
                stdout=subprocess.PIPE,
                stderr=subprocess.PIPE,

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/test_route.py (reported line 686)May include surrounding context.

python
""" % (str(SCRIPTS), answers, json.dumps(fixture))
        env = os.environ.copy()
        env["TYPESAFE_API_KEY"] = DUMMY_KEY
        completed = subprocess.run(
            [sys.executable, "-c", source],
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,