Back to skill

Security audit

Rails CI Fixer

Security checks for vulnerabilities and agentic risk

Overview

ClawScan’s verdict is benign with medium confidence: it reports no AIG findings, and the two Skillspector alerts were judged expected for this skill’s purpose, though its review was partial.

The verdict supports installing, but benign does not mean risk-free and confidence is medium. Before following the guidance, check the target database before running test migrations, since they can change its schema and existing data. Skillspector scanned all nine listed components but marked its analysis partial because two path-like references in SKILL.md did not match bundled files; AIG completed with no findings.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

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

Content

Scanner excerpt · references/security.md (reported line 33)May include surrounding context.

md
Use a **fine-grained personal access token** scoped to the specific repo:
- Grant: `contents: write` (push to feature branches), `actions: read` (view CI logs)
- Do NOT grant org-wide or admin permissions
- Set an expiration date and rotate after use

The migration fix instructs the agent to modify the test database without warning about schema or data changes.

Medium
Category
Output Handling
Confidence
86% confidence
Finding

The prescribed rails db:migrate RAILS_ENV=test command executes pending migrations against the configured test database. Although the environment is explicitly scoped to testing, the instructions do not disclose that migrations change database structure and can modify existing data.

Content

No source excerpt is available for this finding.