Back to skill

Security audit

Calorie Tracker

Security checks for vulnerabilities and agentic risk

Overview

This is a local calorie and body-measurement tracker with disclosed local SQLite storage, though users should be careful with its generated copy-paste commands and stored health data.

Install only if you are comfortable storing food, weight, waist, and related notes in a local SQLite file. Keep track of where health_data.db is created or pass --database to choose a private location, and avoid copy-pasting generated Log command output from databases containing untrusted or unusual food names.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/tracker.py:1139
Finding

Shell Command Injection in Generated Food Logging Command

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (31)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 50)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 53)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 57)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 59)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 63)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 69)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 75)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 81)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 87)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 93)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 99)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 105)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 109)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 113)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 116)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 120)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 126)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 134)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 140)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 146)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 152)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 158)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 164)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 167)May include surrounding context.

md
python3 scripts/tracker.py goal CALORIES [PROTEIN] [--height HEIGHT_CM]

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The README states that personal health data is stored locally in SQLite but does not clearly warn users where that data is persisted or that it may remain on disk after use. Because the skill handles sensitive health-related information and also supports destructive operations, missing disclosure increases the risk of unintended data exposure, accidental sharing, or poor backup/deletion practices.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.