Back to skill

Security audit

Api限制管理Agent Rate Limiter 1.3.1

Security checks for vulnerabilities and agentic risk

Overview

This skill is a local rate-limit tracker that behaves consistently with its stated purpose, with only limited local-state handling risks to consider.

Reasonable to install for local rate-limit tracking. Use a private state-file path, avoid shared or world-writable directories for RATE_LIMIT_STATE, and understand that reset deletes prior rate-limit history. Review any cron or prompt integration before enabling it so throttling decisions remain under your control.

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/rate-limiter.py:200
Finding

Predictable Temporary and Lock Files Permit Symbolic-Link File Clobbering

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding

The skill instructs the agent to run a local Python script, read environment variables, write a JSON state file, and references external URLs, but it does not declare any explicit tool scope or permissions. Missing scope metadata weakens least-privilege controls and can cause an agent platform to grant broader file, env, or network access than operators expect.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

This markdown file describes a reset command that 'clears all history and starts fresh' but does not present it as a caution or warning despite affecting persistent user data in the JSON state file. For markdown files, omissions around behaviors that affect user data should be disclosed clearly.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.prompt_injection_instructions

Prompt-injection style instruction pattern detected.

Warn
Code
suspicious.prompt_injection_instructions
Location
SKILL.md:147