Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Create a secure_defaults tool #142

@DrewDennison

Description

@DrewDennison

New tool that allows models to query what are recommended best practices and secure defaults given a query. Pull the secure defaults from https://github.com/tldrsec/awesome-secure-defaults or similar

method should probably look like:

@mcp.tool
def secure_default(query: str) -> JsonResponse:
    # return a structured data object with a recommended library or framework. 
    # optionally return a semgrep ruleset for that framework to ensure the coding model uses the framework securely
    # example query: "I'm looking for a secure default auth library for flask that uses JWT, recommend me one"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions