Back to skill

Security audit

salary-negotiator

Security checks for vulnerabilities and agentic risk

Overview

This skill is an offline salary-negotiation calculator and script helper with no evidence of hidden persistence, network access, credential use, or destructive behavior.

Before installing, be aware that the skill may process salary, offer, and monthly-cost details you provide. Run it locally with data you are comfortable entering, verify market assumptions yourself, and do not treat its output as legal or financial advice.

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
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • 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
Findings (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill instructs the agent to run shell commands (python3 scripts/salary_negotiator.py ...) but does not declare any permissions or allowed-tools scope. That mismatch weakens least-privilege guarantees and can cause an agent/runtime to expose broader shell capability than intended, especially if the referenced script or future edits perform unsafe local actions.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/test_salary_negotiator.py (reported line 29)May include surrounding context.

python
def run(args):
    return subprocess.run([sys.executable, str(SCRIPT)] + args,
                          capture_output=True, text=True)