Back to skill

Security audit

evolver-auth-troubleshoot

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with medium confidence: the reported credential references appear purpose-related, while partial inspection leaves some evidence incomplete.

The verdict is benign, but confidence is medium and inspection was incomplete. Before installing, consider whether you are comfortable with the reported credential-file references and the fact that one component was only partially inspected.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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
Findings (6)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

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

Content

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

md
1. **对比凭据一致性**(hash 对比,不打印 secret)
   - `grep A2A_NODE_ID .env` vs `cat ~/.evomap/node_id`
   - `grep A2A_NODE_SECRET .env | md5sum` vs `md5sum ~/.evomap/node_secret`
   - 不一致 = 凭据过期或节点已重新注册(以 `~/.evomap/` 为准)
2. **检查 OAuth token 是否过期**:`~/.evomap/oauth_token.json` 的 `expires_at`
3. **检查节点是否换过**:`.env` 的 `A2A_NODE_ID` 与 `~/.evomap/node_id` 不同 = 节点重新注册过

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

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

Content

Scanner excerpt · index.js (reported line 4)May include surrounding context.

js
#!/usr/bin/env node
/**
 * evolver-auth-troubleshoot — diagnose EvoMap Evolver Hub auth failures.
 * Usage: node index.js   (reads .env + ~/.evomap, prints diagnosis & fixes)
 */
const fs = require('fs');
const os = require('os');

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

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

Content

Scanner excerpt · index.js (reported line 29)May include surrounding context.

js
function main() {
  const home = os.homedir();
  const envCandidates = [
    path.join(process.cwd(), '.env'),
    path.join(home, '.openclaw', 'workspace', '.env'),
  ];
  const envFile = envCandidates.find((f) => fs.existsSync(f));

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

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

Content

Scanner excerpt · index.js (reported line 30)May include surrounding context.

js
const home = os.homedir();
  const envCandidates = [
    path.join(process.cwd(), '.env'),
    path.join(home, '.openclaw', 'workspace', '.env'),
  ];
  const envFile = envCandidates.find((f) => fs.existsSync(f));
  const env = envFile ? readEnv(envFile) : {};

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

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

Content

Scanner excerpt · index.js (reported line 69)May include surrounding context.

js
console.log('\n=== Fixes ===');
  if (!idMatch || !secretMatch) {
    console.log('1. Sync .env credentials to ~/.evomap values (node_id / node_secret), then re-verify.');
  }
  if (!oauthOk) {
    console.log('2. Re-authorize: run `evolver login`, open the printed https://evomap.ai/device?user_code=XXX in a browser, enter the code.');

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

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

Content

Scanner excerpt · index.js (reported line 75)May include surrounding context.

js
console.log('2. Re-authorize: run `evolver login`, open the printed https://evomap.ai/device?user_code=XXX in a browser, enter the code.');
  }
  if (hubConfigured) {
    console.log('3. Optional offline mode: comment out A2A_HUB_URL / A2A_NODE_ID / A2A_NODE_SECRET in .env (solidify then runs locally without Hub).');
  }
  console.log('4. Verify: evolver solidify --dry-run');
  process.exit(0);