Back to skill

Security audit

fabric-aiops

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because its documentation describes production-changing tools available to an agent without an enforced approval gate, and advertises Cisco ACI features beyond its stated purpose; the scan was partial.

Consider the suspicious verdict before installing, especially if you plan to let an agent use write-capable controller credentials: the documented tools have no enforced approval gate. The scan covered all five listed components but remained partial because three local references could not be resolved, and behavioral code analyzers were not applicable; treat the evidence as incomplete rather than as proof the skill is safe.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
Findings (10)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The declared purpose enumerates four supported controller platforms but does not mention Cisco ACI or its ACI-native operations. The supplied reference explicitly adds an ACI platform and three substantive commands, expanding the advertised platform and resource scope. These are additional user-facing capabilities, not supporting implementation details. Because the chunk is documentation rather than executable implementation, it establishes advertised commands rather than verifying their runtime behavior.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
70% 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/cli-reference.md (reported line 11)May include surrounding context.

bash
fabric-aiops init                      # interactive onboarding wizard (platform: meraki/catalyst/cvp/unifi)
fabric-aiops doctor [--skip-auth]      # config + secret store + connectivity (canonical org/site/container probe)
fabric-aiops mcp                       # start the MCP server (stdio transport)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/cli-reference.md (reported line 21)May include surrounding context.

fabric-aiops secret set [--value ] # store API key (hidden prompt if no --value) fabric-aiops secret list # names only — values never shown fabric-aiops secret rm fabric-aiops secret migrate # import legacy plaintext .env (FABRIC__APIKEY) fabric-aiops secret rotate-password # re-encrypt under a new master password

text

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
70% 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/setup-guide.md (reported line 153)May include surrounding context.

md
`doctor` checks the config file, the encrypted store and its permissions, that a
secret (and, for on-prem platforms, a `base_url`) is present per target, and
(unless `--skip-auth`) connectivity via the canonical top-of-hierarchy read —
Meraki organizations, Catalyst Center sites, CVP containers, or UniFi sites —
which also exercises the platform's full auth flow (including the Catalyst
Center session-token exchange and, on unifi, the `X-API-KEY` header against

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 23)May include surrounding context.

md
catalyst (Cisco Catalyst Center, read subset — sites stand in for organizations/networks), cvp (Arista CloudVision Portal, read subset — containers stand in for organizations/networks), and unifi (UniFi Network controller / UniFi OS console, read subset — sites stand in for organizations/networks — plus the device-restart write via a cmd/devmgr command envelope). Unmapped ops raise a teaching "not supported on <platform> yet" error; all writes are Meraki-only except UniFi device restart.
  All write operations are audited to a local SQLite DB under ~/.fabric-aiops/ (relocatable via FABRIC_AIOPS_HOME).
  Credentials: the controller secret (Meraki API key / Catalyst Center username:password / CVP service-account token / UniFi API key) is stored ENCRYPTED in ~/.fabric-aiops/secrets.enc (Fernet/AES-128 + scrypt-derived key) — never plaintext on disk. Run 'fabric-aiops init' to onboard, or 'fabric-aiops secret set <target>' to add one. The store is unlocked by a master password from FABRIC

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
91% confidence
Finding

The documented design exposes production-changing tools to an agent without an enforced approval gate when its controller credential permits writes. Controller authorization limits account privileges but does not establish user approval for a particular action; prompt injection or model error could therefore cause disruptive writes, while the advice to omit confirmation instructions relies on confirmations described only for the CLI.

Content

Scanner excerpt · references/agent-guardrails.md (reported line 15)May include surrounding context.

md
## Authorization is not this tool's job — decide it where it belongs

Whether a write should happen is your decision, or the account's. The tool does
not gate it — there is no read-only switch and no approval prompt to configure.
The two right places to control read vs write:

- **The account you connect with.** Give it a Meraki API key whose admin has

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · references/cli-reference.md (reported line 11)May include surrounding context.

bash
fabric-aiops init                      # interactive onboarding wizard (platform: meraki/catalyst/cvp/unifi)
fabric-aiops doctor [--skip-auth]      # config + secret store + connectivity (canonical org/site/container probe)
fabric-aiops mcp                       # start the MCP server (stdio transport)

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/setup-guide.md (reported line 20)May include surrounding context.

md
**Organization → Settings → API access → Generate API key**. Copy the key.
fabric-aiops sends it as `Authorization: Bearer <key>` (or, with
`auth_style: meraki-key`, `X-Cisco-Meraki-API-Key`) against the Dashboard API
base `https://api.meraki.com/api/v1`.

**Cisco Catalyst Center (`platform: catalyst`)** — use a Catalyst Center
account (a read-only role suffices for the current read subset) and store the

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/setup-guide.md (reported line 80)May include surrounding context.

md
platform: meraki
    org_id: "123456"            # default organization id (optional)
    verify_ssl: true
    # base_url: https://api.meraki.eu/api/v1   # override only for a region/proxy
    # auth_style: meraki-key                    # use X-Cisco-Meraki-API-Key instead of Bearer
  - name: campus
    platform: catalyst

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · references/setup-guide.md (reported line 153)May include surrounding context.

md
`doctor` checks the config file, the encrypted store and its permissions, that a
secret (and, for on-prem platforms, a `base_url`) is present per target, and
(unless `--skip-auth`) connectivity via the canonical top-of-hierarchy read —
Meraki organizations, Catalyst Center sites, CVP containers, or UniFi sites —
which also exercises the platform's full auth flow (including the Catalyst
Center session-token exchange and, on unifi, the `X-API-KEY` header against