Back to skill

Security audit

gitcore

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because it identifies risks around changing, unpinned software and token handling, while inspection of its helper script was incomplete.

Review the security of the helper script before installing, since it was only partially inspected. Consider whether you trust the package source and accept running an unpinned package, and protect any access token from being saved in Git configuration or exposed in logs. Check that the GitCore destination is approved for any repository data sent there and understand which external model may be selected.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (8)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
2. **Bundled Helper Script (`scripts/gitcore-agent.mjs`) or Direct REST API**:

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- When MCP is unavailable, run `node scripts/gitcore-agent.mjs <command>` or call `https://gitcore.net/api/...` directly using `Authorization: Bearer $GITCORE_T

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- Use `node scripts/gitcore-agent.mjs --help` for zero-dependency CLI execution.

External Model or Provider Selection

High
Category
Excessive Agency
Confidence
90% confidence
Finding

Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.

Content

Scanner excerpt · scripts/gitcore-agent.mjs (reported line 8)May include surrounding context.

js
*   GITCORE_TOKEN=gitcore_pat_... node gitcore-agent.mjs create-repo --name demo-repo
 *   GITCORE_TOKEN=gitcore_pat_... node gitcore-agent.mjs push-stacked-pr --owner acme --repo demo-repo --head stack/1 --title "feat: init" --file src/index.js="export const ok = true;"
 *   GITCORE_TOKEN=gitcore_pat_... node gitcore-agent.mjs get-sarif --owner acme --repo demo-repo --pr 1
 *   GITCORE_TOKEN=gitcore_pat_... node gitcore-agent.mjs attest --owner acme --repo demo-repo --pr 1 --agent swe-1 --model gemini-2.5-pro
 *   GITCORE_TOKEN=gitcore_pat_... node gitcore-agent.mjs enqueue --owner acme --repo demo-repo --pr 1 --strategy squash
 */

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y @gitcorenet/mcp'.

Medium
Category
MCP Rug Pull
Confidence
97% confidence
Finding

The command npx -y @gitcorenet/mcp can download and execute a changing package version without an interactive installation confirmation. A compromised or malicious future release could execute with the agent's local privileges and access the supplied GitCore token and accessible workspace files.

Content

No source excerpt is available for this finding.

The clone instruction can persist the access token in local Git configuration without warning.

Medium
Category
Output Handling
Confidence
99% confidence
Finding

Embedding the expanded access token in the clone URL can persist it in plaintext as the origin URL in .git/config and expose it through process arguments or diagnostic output. Anyone obtaining that value could exercise the token's repository permissions, making this particularly risky in shared or retained agent workspaces.

Content

No source excerpt is available for this finding.

The workflow uploads repository source files to GitCore without a data-transfer warning.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The workflow instructs the agent to submit source files through push_stacked_pr, rather than merely listing the tool. It does not warn that this sends potentially confidential code to the configured GitCore server, which defaults to the externally hosted service.

Content

No source excerpt is available for this finding.