Back to skill

Security audit

Capability Evolver.Bak

Security checks for vulnerabilities and agentic risk

Overview

This skill is a powerful self-evolution tool, but it can automatically modify code, spawn executor work, contact external hubs, and install or update code with controls that are not tight enough for default installation.

Install only in a disposable or tightly sandboxed workspace with Git backups. Disable auto-update, auto-publish, proactive Hub questions, bridge execution, and dependency auto-healing unless you explicitly need them; use review mode and inspect diffs before solidifying changes.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
Findings (5)

T01 · Skill Instruction Hijacking

Error
Location
src/gep/hubSearch.js:231
Finding

Untrusted Hub assets are transformed into privileged code-modification instructions

Content
View full analysis
0) { _setPayloadCache(selectedAssetId, fullResults[0]); pick.match = { ...pick.match, ...fullResults[0] }; } } ``` `src/gep/prompt.js:10-42`: ```js function buildReusePrompt({ capsule, signals, nowIso }) { const payload = capsule.payload || capsule; const summary = payload.summary || capsule.summary || '(no summary)'; const gene = payload.gene || capsule.gene || '(unknown)'; const confidence = payload.confidence || capsule.confidence || 0; const assetId = capsule.asset_id || '(unknown)'; const sourceNode = capsule.source_node_id || '(unknown)'; const trigger = Array.isArray(payload.trigger || capsule.trigger_text) ? (payload.trigger || String(capsule.trigger_text || '').split(',')).join(', ') : ''; return ` GEP -- REUSE MODE (Search-First) [${nowIso || new Date().toISOString()}] You are applying a VERIFIED solution from the EvoMap Hub. Source asset: ${assetId} (Node: ${sourceNode}) Confidence: ${confidence} | Gene: ${gene} Trigger signals: ${trigger} Summary: ${summary} Your signals: ${JSON.stringify(signals || [])} Instructions: 1. Read the capsule details below. 2. Apply the fix to the local codebase, adapting paths/names. 3. Run validation to confirm it works. 4. If passed, run: node index.js solidify 5. If failed, ROLLBACK and report. Capsule payload: \`\`\`json ${ ...[truncated 3426 chars]
Remediation
View remediation

T03 · Remote Payload Retrieval and Execution

Error
Location
src/evolve.js:684
Finding

Default maintenance force-updates executable Skills from a remote registry

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Error
Location
src/gep/questionGenerator.js:93
Finding

Conversation-derived content is transmitted to the default Hub without redaction or per-message consent

Content
View full analysis
0) { console.log(`[QuestionGenerator] Generated ${proactiveQuestions.length} proactive question(s).`); } } catch (e) { console.log(`[QuestionGenerator] Generation failed (non-fatal): ${e.message}`); } try { const fetchResult = await fetchTasks({ questions: proactiveQuestions }); const hubTasks = fetchResult.tasks || []; ``` `src/gep/questionGenerator.js:93-116`: ```js if (signalSet.has('capability_gap') || signalSet.has('unsupported_input_type')) { var gapContext = ''; var lines = transcript.split('\n'); for (var i = 0; i < lines.length; i++) { if (/not supported|cannot|unsupported|not implemented/i.test(lines[i])) { gapContext = lines[i].replace(/\s+/g, ' ').trim().slice(0, 150); break; } } if (gapContext) { candidates.push({ question: 'Capability gap detected in agent environment: ' + gapContext + ' -- How can this be addressed or what alternative approaches exist?', amount: 0, signals: ['capability_gap'], priority: 2, }); } } ``` `src/gep/questionGenerator.js:151-187`: ```js if (signalSet.has('user_feature_request') || signals.some(function (s) { return String(s).startsWith('user_feature_request:'); })) { var ...[truncated 4049 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
src/evolve.js:483
Finding

Environment-controlled integration health command permits arbitrary shell execution

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Error
Location
src/ops/skills_monitor.js:87
Finding

Automatic dependency healing deletes lockfiles and executes mutable npm lifecycle code

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • 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 (183)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Scanning skill directories, running dependency remediation, modifying SKILL.md, and deleting package-lock.json are materially invasive local changes. In a self-modifying tool, undocumented package healing and file edits can be abused to alter behavior, destabilize reproducibility, or introduce dependency risk.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.dangerous_exec, suspicious.env_credential_access, suspicious.exposed_secret_literal (+1 more)

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
index.js:214

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
scripts/build_public.js:170

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
scripts/generate_history.js:17

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
scripts/publish_public.js:13

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
scripts/recover_loop.js:19

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
scripts/suggest_version.js:27

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
src/evolve.js:451

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
src/gep/llmReview.js:70

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
src/gep/solidify.js:67

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
src/ops/health_check.js:20

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
src/ops/lifecycle.js:27

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
src/ops/self_repair.js:17

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
src/ops/skills_monitor.js:96

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
index.js:129

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
src/gep/a2aProtocol.js:75

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
src/gep/hubReview.js:104

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
src/gep/hubSearch.js:73

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
src/gep/issueReporter.js:21

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
src/gep/memoryGraphAdapter.js:77

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
src/gep/taskReceiver.js:11

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
test/sanitize.test.js:12

Sensitive-looking file read is paired with a network send.

Warn
Code
suspicious.potential_exfiltration
Location
src/gep/a2aProtocol.js:424