Back to skill

Security audit

FDE POC Runner

Security checks for vulnerabilities and agentic risk

Overview

This skill is a POC validation and reporting aid with disclosed, purpose-aligned local reporting behavior and no evidence of hidden access, persistence, or exfiltration.

Install only if you are comfortable using it for structured POC evidence and reports. Use approved datasets, avoid sensitive raw customer data unless permitted, keep real-system/UAT actions under human control, and render generated Markdown summaries in a viewer that blocks raw HTML or remote images when the input JSON is not fully trusted.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/summarize-evals.js:27
Finding

Untrusted Evaluation Data Is Embedded into Markdown Reports Without Adequate Sanitization

Content
View full analysis
0) { lines.push('', '### Hard failure index', '', '| Case | Category | Question |', '|---|---|---|'); for (const row of hardFailures) lines.push(`| ${esc(row.caseId)} | ${esc(row.category)} | ${esc(row.issue || 'Reason not recorded')} |`); } ``` ### Technical Analysis The script reads evaluation records from a user-selected JSON file and embeds fields such as `runId`, `category`, `caseId`, and `issue` directly into a generated Markdown report. The `esc()` function only escapes pipe characters and replaces line breaks with spaces. It does not neutralize Markdown links, images, formatting syntax, raw HTML elements, or renderer-specific active content. In addition, `runId` is inserted into a Markdown heading without passing through `esc()` at all. Consequently, an attacker who can control or modify the evaluation JSON can introduce content such as: ```json { "runId": "", "category": "[Open required evidence](https://attacker.example/phishing)", "caseId": "CASE-01", "issue": "
ApprovedFabricated report content
", "passed": false, "hardFail": true } ``` The exact effect depends on the Markdown renderer. A permissive renderer may render raw HTML, load remote images, or present deceptive links and report content. The script itself does not execute injected shell commands or JavaScript. ### Attack Path 1. An ...[truncated 1546 chars]
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (6)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
For structured JSON evaluation records, run `node scripts/summarize-evals.js --input eval-results.json --output eval-summary.md`to generate deterministic summar

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The script interprets cost data specifically as costCny and renders the summary as Average cost: ... yuan, which imposes a fixed locale/currency assumption in natural-language output. There is no user opt-in, alternate locale handling, or documented justification that this skill is region-specific, so this is a language/locale policy concern.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE.md (reported line 7)May include surrounding context.

md
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

This markdown file includes natural-language guidance that references language handling but does not indicate user opt-in, supported language choices, or a justified region-specific limitation. Under the policy rule for language or locale constraints, prescriptive language expectations without choice can be a policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
31% confidence
Finding

The file is written in English, but it does not contain any explicit instruction requiring a specific language or locale. Because SQP-3 only applies to natural-language policy violations such as forced language choice, this file does not provide strong evidence of a violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

Line L45 requires each UAT scenario to be marked using specific English labels: 'passed, passed with conditions, failed, blocked, or not executed.' This can be read as forcing a specific language/locale in the process documentation without opt-in or a stated regional/business justification.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.