Back to skill

Security audit

Key Expiry Tracker

Security checks for vulnerabilities and agentic risk

Overview

This skill reads a user-maintained local metadata file to warn about credential expiry dates and does not show evidence of collecting or transmitting secret values.

Install only if you are comfortable keeping credential-expiry metadata in a local OpenClaw workspace file. Do not put actual API keys, passwords, tokens, client secret values, or private keys in ~/.openclaw/workspace/.credentials.json; use labels and expiry timestamps only.

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 (2)

Credential Access

High
Category
Privilege Escalation
Content
set -euo pipefail

CREDENTIALS_FILE="$HOME/.openclaw/workspace/.credentials.json"
STATE_FILE="$HOME/.openclaw/workspace/.credential-tracker-state.json"
ALERT_DAYS=14
CRITICAL_DAYS=7
Confidence
70% confidence
Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Credential Access

High
Category
Privilege Escalation
Content
set -euo pipefail

CREDENTIALS_FILE="$HOME/.openclaw/workspace/.credentials.json"
STATE_FILE="$HOME/.openclaw/workspace/.credential-tracker-state.json"
ALERT_DAYS=14
CRITICAL_DAYS=7
Confidence
70% confidence
Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.