Back to skill

Security audit

openfoam-skills

Security checks for vulnerabilities and agentic risk

Overview

This OpenFOAM helper is coherent and purpose-aligned; its main caution is that the optional parallel-run template can overwrite decomposition outputs if the user runs it.

Installers should treat this as a normal OpenFOAM workflow aid. Before running the provided Slurm script, review the target case directory, back up or remove stale processor directories deliberately, and confirm the scheduler task count matches decomposeParDict.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

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 · references/case-setup.md (reported line 18)May include surrounding context.

md
- `constant/`: mesh-independent physics such as transport properties, thermophysical properties, turbulence properties, and sometimes the mesh
- `system/`: execution control, numerics, and decomposition settings

Do not change the solver family without checking all three layers.

## Boundary and field consistency

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 · references/heat-transfer-and-compressible-cases.md (reported line 19)May include surrounding context.

md
- `constant/`: mesh-independent physics such as transport properties, thermophysical properties, turbulence properties, and sometimes the mesh
- `system/`: execution control, numerics, and decomposition settings

Do not change the solver family without checking all three layers.

## Boundary and field consistency

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The script invokes decomposePar -force, which can overwrite existing decomposition data, but there is no user-facing disclosure such as a prompt, echo statement, or explanatory comment warning about this effect. In this file, the operation is safety-relevant because it modifies case data and the -force flag makes the overwrite explicit.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.