Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mcp-server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ server.registerTool(
);

server.registerPrompt(
'security:scan_deps',
'security:scan-deps',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

The prompt name should be changed to security:analyze to align with the Standard Operating Procedures (SOP) defined in the repository style guide. The SOP (line 25) explicitly requires the command for a 'Comprehensive Scan' to be /security:analyze. Using security:scan-deps creates a discrepancy between the documented procedure and the implementation, which will lead to confusion when the LLM instructs the user to use a command that is not registered under that name.

Suggested change
'security:scan-deps',
'security:analyze',
References
  1. The Standard Operating Procedures (SOP) for Security Analysis Guidelines (line 25) specify that the command for a Comprehensive Scan must be /security:analyze. (link)

{
title: 'Scan Dependencies',
description: '[Experimental] Scans dependencies for known vulnerabilities.',
Expand Down
Loading