Back to skill

Security audit

Lovefromio Continuous Learning

Security checks for vulnerabilities and agentic risk

Overview

The skill is coherent for continuous learning, but it encourages persistent reuse of session and client/project-specific construction data without clear consent, redaction, retention, or scope controls.

Review this skill before installing in environments with customer, bid, contract, credential, or proprietary project data. It should only be used with explicit approval to save learnings, sanitized/generalized entries, project or tenant isolation, provenance, review and deletion controls, and a rule that stored patterns are reference material rather than future instructions.

Vulnerability Patterns
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • 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
Findings (1)

T02 · Agent Memory Poisoning

Warning
Location
SKILL.md:180
Finding

Unsanitized Session Content Can Poison the Persistent Knowledge Base

Content
View full analysis
list: """Extract and store learnings from session""" # Analyze session analyzer = ConstructionSessionAnalyzer() new_patterns = analyzer.analyze_session(session['log']) # Validate patterns validated = [] for pattern in new_patterns['successful_solutions']: if self._validate_pattern(pattern): # Check if similar pattern exists existing = self._find_similar_pattern(pattern) if existing: # Reinforce existing pattern self._reinforce_pattern(existing, pattern) else: # Add new pattern self._add_pattern(pattern) validated.append(pattern) # Persist to knowledge base self._save_patterns() return validated ``` The documented validation logic is: ```python def _validate_pattern(self, pattern: dict) -> bool: """Validate pattern before adding to knowledge base""" # Check minimum confidence if pattern.get('confidence', 0) < 0.6: return False # Check for code quality (if code snippet) if code := pattern.get('code_snippet'): if not self._is_valid_code(code): return False # Check for completeness required_fields = ['name', 'category', 'context', 'solution'] if not all(f in pattern for f in required_fields): return False return T ...[truncated 3800 chars]
Remediation
View remediation
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 skill is explicitly designed to extract information from prior sessions and persist it into a knowledge base, but the description and usage guidance do not clearly warn users that session-derived content may be stored long term. In a construction automation context, sessions may contain estimates, client details, proprietary workflows, API data, or project-sensitive information, so silent persistence creates a meaningful confidentiality and data-governance risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The template instructs the agent to preserve client/project-specific adaptations, which directly encourages retention of potentially confidential customer information, internal processes, and project-specific constraints without any warning, minimization, or sanitization step. Because this material is then positioned for reuse in future sessions, the skill increases the risk of cross-client data leakage and long-term storage of sensitive business information.

Content

No source excerpt is available for this finding.