Back to skill

Security audit

Keyapi Reddit

Security checks across malware telemetry and agentic risk

Overview

This is a coherent KeyAPI Reddit analysis helper, with the main caution that its optional setup stores a KeyAPI token in the user's shell profile.

Install this if you are comfortable using KeyAPI for Reddit analysis. Prefer the interactive setup command over passing --token on the command line, treat KEYAPI_TOKEN as a secret, and review broad report requests because repeated or multi-page runs will make live KeyAPI calls and may consume credits.

Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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 (1)

Context-Inappropriate Capability

Medium
Confidence
91% confidence
Finding
The script persists KEYAPI_TOKEN into the user's shell profile, modifying startup files outside the immediate Reddit-analysis task. While likely intended as a convenience setup helper, this creates long-lived credential exposure risk: the token is stored in plaintext in a broadly loaded profile file, may be inherited by future shells/processes, and the script writes to user environment configuration automatically.

VirusTotal

65/65 vendors flagged this skill as clean.

View on VirusTotal

Static analysis

Detected: suspicious.env_credential_access, suspicious.secret_argv_exposure

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
scripts/keyapi-api.mjs:127

Instructions pass high-value credentials through process argv.

Critical
Code
suspicious.secret_argv_exposure
Location
references/setup-and-auth.md:42