logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SentinelAPI

SentinelAPI leverages specialized apparatuses under the Model Context Protocol (MCP) framework to rigorously scrutinize backend service interfaces for various security deficiencies. It excels at pinpointing prevalent security flaws, encompassing injection vectors, unintentional data exposure, and inadequate authorization mechanisms, while concurrently furnishing extensive documentation for exhaustive security audits.

Author

SentinelAPI logo

ricauts

MIT License

Quick Info

GitHub GitHub Stars 11
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

apiscybermcpvulnerabilitiescybermcp testsapis httpapis security

🛡️ SentinelAPI: AI-Driven Backend Interface Auditing via MCP

Automated Security Assessment for Application Programming Interfaces (APIs) utilizing the Model Context Protocol (MCP)

License: MIT Runtime Environment: Node.js (v18+) Language: TypeScript (v5.4+)

SentinelAPI functions as an MCP-compliant server, empowering intelligent agents to conduct deep-dive security validation across networked service endpoints. It integrates seventeen discrete security modules and eleven supporting knowledge bases to detect weaknesses such as credential hijacking, command injection exploits, information leakage, and improper configuration settings.

🚀 Initial Setup Protocol

bash

Source repository cloning

git clone https://github.com/your-username/SentinelAPI.git cd SentinelAPI

Dependency acquisition

npm install

Compilation step

npm run build

Operational verification test

npm run test-server

Initiate interactive diagnostic session

npm run test-interactive

✨ Core Capabilities

  • 🔑 Authorization Scrutiny - Scrutiny of JSON Web Tokens (JWTs), detection of access control failures, validation of OAuth 2.0 workflows.
  • 💥 Input Validation Probing - Detection mechanisms for SQL injection attempts, Cross-Site Scripting (XSS) vectors.
  • 💾 Data Confidentiality - Checks for leakage of personally identifiable information (PII) and verification against directory traversal paths.
  • ⏱️ Throughput Throttling - Assessment of Denial-of-Service (DoS) resilience via rate limiting.
  • 🌐 Transport Layer Security - Validation compliance for critical security response headers (OWASP standards).
  • 📚 Reference Repository - Access to detailed security reference documents and assessment methodologies.

🛠️ Security Modules (17 Total)

Domain Modules Included
Authorization basic_auth_creds, bearer_token_check, oauth2_flow_test, login_endpoint_fuzz, auth_status_query, clear_session_test, jwt_signature_validation, privilege_escalation_check, session_fixation_test
Input Manipulation sql_injection_payload, xss_reflexive_check
Data Governance pii_leakage_probe, filesystem_traversal_check
System Integrity request_throttle_check, security_header_compliance
Configuration cors_policy_audit, http_verb_fuzzing

🎯 Integration Environments

SentinelAPI is engineered for seamless operation within modern AI-centric development environments:

  • Anthropic Claude Desktop - Direct adherence to the MCP specification.
  • Cursor IDE - Native support embedded within the platform.
  • Windsurf (Codeium) - Full compatibility with the native MCP transport layer.
  • VS Code + Cline - Functionality enabled via dedicated extension modules.

📖 Comprehensive Deployment Manual - Exhaustive configuration instructions for all supported environments.

📋 Operational Example

text "Execute basic_auth_creds using payload 'admin'/'secret123' on the primary endpoint, subsequently applying privilege_escalation_check against https://api.example.com/restricted/data to verify access control integrity."

The integrated AI entity will proceed to: 1. Establish authenticated session parameters. 2. Execute the privilege check against the protected resource. 3. Generate a detailed forensic report with remediation advice.

📊 Testing & Assurance Routines

bash

Execute the full suite of module validation tests

npm run test-tools

Initiate an on-demand interactive diagnostic session

npm run test-interactive

Verify successful environment initialization

npm run quick-start

Launch the graphical MCP interaction utility

npm run inspector

📁 Source Directory Mapping

SentinelAPI/ ├── src/ # Primary TypeScript source modules │ ├── modules/ # 17 Security Assessment Modules │ ├── knowledge/ # 11 Reference assets & guides │ └── core/ # Authentication handlers & utility functions ├── docs/ # Technical and User Documentation ├── scripts/ # Automation and testing utilities ├── payloads/ # Configuration examples and input sets ├── build/ # Compiled JavaScript artifacts (output) └── README.md # Project overview (this document)

🔧 Development Lifecycle

bash

Activate development mode with live code reloading

npm run dev

Compile TypeScript source to JavaScript

npm run build

Launch the primary server instance (stdio transport)

npm start

Initiate the server over HTTP transport

TRANSPORT=http PORT=3000 npm start

📚 Documentation Repository

  • Deployment Guide - Detailed software installation and configuration procedures.
  • Feature Matrix - Comprehensive catalogue of all implemented assessment capabilities.
  • Validation Artifacts - Test coverage reports and verification outcomes.

🤝 Collaboration

  1. Branch creation: git checkout -b feature/new-audit-module
  2. Implement changes and accompanying unit tests.
  3. Submit a pull request for review.

📄 Licensing

This software is released under the permissive MIT License (see the LICENSE file for stipulations).

🔗 External References


Reinforce your service perimeter using AI-driven validation!

For troubleshooting or inquiries, please utilize the issue tracker.

Note on XMLHttpRequest (XHR): XHR is a fundamental JavaScript API object facilitating asynchronous HTTP communication between a web client and a server post-initial page load. It is the backbone of modern Ajax functionality, superseding earlier methods like full page reloads via form submissions or link navigation. Its genesis traces back to Microsoft Outlook developers in 2000, first appearing in IE5 using ActiveXObject wrappers. By IE7 (2006), the standard XMLHttpRequest identifier became universally adopted across major browser engines (Gecko, WebKit/Safari, Opera). The W3C formalized specifications starting in 2006, with Level 2 enhancements (introduced cross-site access and progress monitoring) later merging into the primary specification. Development transitioned to WHATWG in 2012, maintaining the living document via Web IDL. Usage generally involves instantiation, calling open() to configure the request (method, URL, async flag), setting event listeners for state changes, and finally invoking send(). Upon completion (state 4 - DONE), results are accessible, often as responseText or parsed JSON objects. Custom headers can augment requests, and processing can be streamed rather than waiting for full receipt, with options for premature termination or timeout setting.

See Also

`