Back to skill

Security audit

Buffer Calculator

Security checks for vulnerabilities and agentic risk

Overview

This skill is not deceptive or exfiltrating data, but it is a safety-relevant lab calculator with serious calculation errors and broader local tool access than its documentation admits.

Review this skill before installing. Do not rely on its buffer recipes for real lab preparation unless the calculation code is corrected and independently validated. If used at all, run it in a restricted workspace, avoid granting Write/Edit or broad shell access, and treat all quantities as draft calculations that must be checked against trusted protocols.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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
Findings (4)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/main.py:57
Finding

Solid-component quantities are inflated by a factor of 1,000

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/main.py:25
Finding

Percentage-based components are calculated without defining stock concentration or percentage basis

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/main.py:43
Finding

Volume and concentration inputs accept negative and non-finite values

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:4
Finding

Skill declares filesystem modification and unrestricted shell tools beyond its functional requirements

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

Granting Bash to a buffer-calculation skill expands the execution surface beyond its stated purpose and enables arbitrary shell command execution if the skill or surrounding agent workflow is abused. Even absent overtly malicious content, unnecessary command execution privileges increase the potential for filesystem tampering, data access, and environment reconnaissance.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
99% confidence
Finding

The manifest allows Read, Write, Bash, and Edit, but the skill's risk assessment says there is no file access. That inconsistency can conceal the real attack surface from users and reviewers, making it easier for the skill to read or alter local files under the guise of a low-risk calculator.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The documentation claims no file system access even though the manifest grants Read/Write/Edit and the skill explicitly describes generating output files. This misrepresents the skill's capabilities, which can cause users or downstream policy systems to trust the skill more than warranted and allow unintended local file modification or data exposure.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The 'Related Skills' section uses the labels '上游' and '下游' alongside English, which introduces a specific language choice into the skill's natural-language interface. Because the document does not state that multilingual labels are optional or user-selected, this may conflict with a language/locale policy requiring user opt-in.

Content

No source excerpt is available for this finding.