Back to skill

Security audit

security-monitor

Security checks for vulnerabilities and agentic risk

Overview

This security monitor needs review because advertised protections are missing or broken and its threat-selection setting does not restrict access.

Review before installing and do not rely on this version for breach detection or Telegram alerts. Request working detection, enforced threat selection, and validated intervals before continuous use. Limit file permissions and monitor log growth. All bundled files were inspected, but live deployment behavior and the separately installed security-audit skill were not tested.

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
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (4)

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 · scripts/monitor.cjs (reported line 173)May include surrounding context.

js
function checkFileChanges() {
  // Check for unexpected file changes
  const watchPaths = [
    '/root/clawd/skills/.env',
    '/root/clawd/config',
    '/root/clawd/.env'
  ];

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 · scripts/monitor.cjs (reported line 175)May include surrounding context.

js
const watchPaths = [
    '/root/clawd/skills/.env',
    '/root/clawd/config',
    '/root/clawd/.env'
  ];
  
  for (const watchPath of watchPaths) {

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 · scripts/monitor.cjs (reported line 205)May include surrounding context.

js
// This is a simplified check - real implementation would need API integration
  
  try {
    const envContent = fs.readFileSync('/root/clawd/skills/.env', 'utf8');
    
    if (envContent.includes('TWITTER') || envContent.includes('KAPSO')) {
      log('INFO', 'API credentials present', {

The manifest promises unusual API-call and credential-usage detection, but the code only checks whether credential-related names appear in a configuration file.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The advertised API-call and credential-usage monitoring is not implemented: this function only searches a local configuration file for service names. In a security-monitoring skill, this coverage gap creates false assurance and allows anomalous API activity or stolen-credential use to go undetected by the claimed checks.

Content

No source excerpt is available for this finding.