Back to skill

Security audit

env-config-audit-lite

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign with medium confidence: scanners report no AIG issues, and the credential-access flags appear to be references to .env files in an environment-file comparison skill, though the scan was only partial.

The scanners classified the skill as benign, but confidence is medium and Skillspector coverage is partial: only 2 of 4 components were fully scanned, and tool-misuse analysis was degraded. Consider this alongside the reported purpose and .env-related flags when deciding whether to install.

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 · README.md (reported line 1)May include surrounding context.

md
Compare .env vs .env.example — missing keys, extra keys, empty required vars. Offline, values never printed, zero deps.

`node scripts/parity.js .env .env.example`

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 · README.md (reported line 3)May include surrounding context.

md
Compare .env vs .env.example — missing keys, extra keys, empty required vars. Offline, values never printed, zero deps.

`node scripts/parity.js .env .env.example`

Free lite version of `env-config-audit` — the full skill ($15) adds type checks, duplicates, multi-env matrix. Also in the `security-audit-bundle-8-skills` bundle ($29). See SKILL.md for agent workflow.

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 3)May include surrounding context.

md
---
name: env-config-audit-lite
description: Compare .env against .env.example — missing keys, extra keys, and empty values on required-looking vars. Local files only, values never printed. Use when the user asks why an app fails on missing env vars or to check env config parity.
---

# Env Config Audit (Lite)

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 21)May include surrounding context.

Requires Node 18+, zero dependencies.

bash
node <skill-dir>/scripts/parity.js .env .env.example

JSON on stdout; exit 1 when drift is found, 2 on usage/read error.

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/parity.js (reported line 2)May include surrounding context.

js
#!/usr/bin/env node
// env-config-audit-lite — .env vs .env.example key parity. Values are never printed.
"use strict";
const fs = require("node:fs");

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 · test/parity.test.js (reported line 18)May include surrounding context.

js
});
const pair = async (env, ex) => {
  const d = await fs.mkdtemp(path.join(os.tmpdir(), "env-lite-"));
  const a = path.join(d, ".env"), b = path.join(d, ".env.example");
  await fs.writeFile(a, env); await fs.writeFile(b, ex);
  return [a, b];
};