Back to skill

Security audit

nasal-library-debug

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only debugging skill whose introspection examples are purpose-aligned, though users should avoid dumping sensitive variables to logs.

Install only if you want Nasal/FlightGear debugging reference material. When following the examples, avoid dumping full local scopes or backtraces in production, shared logs, or sessions that may contain passwords, tokens, or private data.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The documentation explicitly shows debug.dump() dumping the entire local namespace when called without arguments, but it does not warn that this can expose secrets, credentials, tokens, or internal state to logs. In an agent or plugin environment, console output may be collected centrally or exposed to operators, turning routine debugging into unintended data disclosure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The debug.backtrace() documentation states that it prints all active local namespace variables for every stack frame, but it provides no warning about the sensitivity of those values. Backtraces with locals can leak API keys, passwords, session data, or private business logic into logs, especially when triggered during exception handling or incident response.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.