Skip to main content
Glama
Penthera: Cyber Security Agent

Penthera: Cyber Security Agent

Check dependencies

check_dependencies
Read-onlyIdempotent

Scans npm and Python dependencies in your lockfile and installed tree to reveal install scripts, network, eval, credential access, known-malicious packages and typosquats, ranked by severity with file evidence.

Instructions

What each npm or Python dependency can do (install scripts, shell, network, eval, credential access), known-malicious packages and typosquats, read offline from the lockfile and installed tree. Read-only. Use it for third-party packages; scan_repo covers your own code and runtime_advisories the runtime or server. Returns the brief first (verdict, act on, check first, likely noise, not checked), then findings most severe first with rule, severity, confidence and file:line evidence; truncated says if more were left out.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoProject folder to scan, relative to the workspace root or absolute inside it; nothing outside the workspace is read. Default: the workspace root.
prodNoSkip dev dependencies (npm).
max_findingsNoHow many findings to return, most severe first (default 50). The brief always counts all of them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.5.0
    • changedInput schema / properties / max_findings / description
      Previous value: -"How many findings to return, most severe first (default 50)."New value: +"How many findings to return, most severe first (default 50). The brief always counts all of them."
    • changedInput schema / properties / path / description
      Previous value: -"Project folder to scan, relative to the workspace root or absolute inside it. Default: the workspace root."New value: +"Project folder to scan, relative to the workspace root or absolute inside it; nothing outside the workspace is read. Default: the workspace root."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, but the description adds the important operational detail that everything is read offline from the lockfile and installed tree. It also discloses output ordering and the meaning of the truncation flag, which goes beyond the annotations, though it says nothing about behavior when no lockfile exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The scoping and routing information is front-loaded and the alternative-tool sentence is efficient. The return-shape sentence is a long run-on list, but each element it names is load-bearing information for an agent with no output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of explaining the return value and does so thoroughly: the brief fields, the severity ordering, the finding fields including file:line evidence, and the truncation flag. Combined with offline scope and sibling routing, an agent has everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so path, prod, and max_findings are already documented in the schema. The description only indirectly touches max_findings by explaining that the brief always counts everything while 'truncated' signals omissions, which is a modest addition over the schema's own wording.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource set: it inspects what each npm or Python dependency can do (install scripts, shell, network, eval, credential access) plus known-malicious packages and typosquats, read offline from the lockfile and installed tree. An agent can distinguish this from scan_repo and runtime_advisories without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit routing rule: use this for third-party packages, scan_repo covers your own code, and runtime_advisories covers the runtime or server. The when-to-use and the alternatives are both named directly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.