Back to skill

Security audit

Dependency License Audit

Security checks for vulnerabilities and agentic risk

Overview

This skill is a local dependency license reporting tool whose file access and script execution fit its stated purpose.

Install this only if you want a local project dependency license audit. Expect it to read dependency manifests and installed package metadata in the project you point it at, then print a report; treat unknown or high-risk license results as prompts for manual legal/compliance review.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (3)

Lp3

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding
Without declared permissions the skill's intent is opaque and cannot be validated.

Vague Triggers

Medium
Confidence
95% confidence
Finding
The description says to use the skill when asked to "generate license reports" or "ensure open-source compliance before shipping," alongside other broad audit phrasing. These triggers are not tightly scoped to a specific command or context and could match general compliance or reporting requests beyond dependency license auditing.

Dynamic import via __import__()

Medium
Category
Dangerous Code Execution
Content
lines.append(f"")
    lines.append(f"**Project:** `{project_dir}`")
    lines.append(f"**Policy:** {policy_name}")
    lines.append(f"**Date:** {__import__('datetime').datetime.now().strftime('%Y-%m-%d %H:%M')}")
    lines.append(f"**Dependencies scanned:** {len(deps)}")
    lines.append("")
Confidence
75% confidence
Finding
Dynamic __import__() can load arbitrary modules at runtime, bypassing static analysis and potentially importing malicious code.

Static analysis

No suspicious patterns detected.