Squashed 'vendor/ruvector/' content from commit b64c2172
git-subtree-dir: vendor/ruvector git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
This commit is contained in:
64
npm/packages/agentic-synth/examples/security/vulnerability-testing.d.ts
vendored
Normal file
64
npm/packages/agentic-synth/examples/security/vulnerability-testing.d.ts
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
/**
|
||||
* Vulnerability Testing Data Examples
|
||||
*
|
||||
* ⚠️ ETHICAL USE ONLY ⚠️
|
||||
* These examples are for:
|
||||
* - Authorized penetration testing
|
||||
* - Security research in controlled environments
|
||||
* - Defensive security training
|
||||
* - Vulnerability scanner development
|
||||
*
|
||||
* NEVER use against systems without explicit authorization.
|
||||
*/
|
||||
/**
|
||||
* SQL Injection Test Payloads
|
||||
* For testing input validation and parameterized queries
|
||||
*/
|
||||
export declare function generateSQLInjectionPayloads(): Promise<any>;
|
||||
/**
|
||||
* XSS (Cross-Site Scripting) Test Vectors
|
||||
* For testing output encoding and CSP effectiveness
|
||||
*/
|
||||
export declare function generateXSSVectors(): Promise<any>;
|
||||
/**
|
||||
* CSRF (Cross-Site Request Forgery) Test Scenarios
|
||||
* For testing CSRF token validation and SameSite cookie protection
|
||||
*/
|
||||
export declare function generateCSRFScenarios(): Promise<any>;
|
||||
/**
|
||||
* Authentication Bypass Test Cases
|
||||
* For testing authentication mechanisms and session management
|
||||
*/
|
||||
export declare function generateAuthBypassTests(): Promise<any>;
|
||||
/**
|
||||
* API Abuse and Rate Limiting Test Patterns
|
||||
* For testing API security controls and abuse prevention
|
||||
*/
|
||||
export declare function generateAPIAbusePatterns(): Promise<any>;
|
||||
/**
|
||||
* OWASP Top 10 Comprehensive Test Suite
|
||||
* Covers all OWASP Top 10 vulnerability categories
|
||||
*/
|
||||
export declare function generateOWASPTop10Tests(): Promise<any>;
|
||||
/**
|
||||
* Example Usage
|
||||
*/
|
||||
export declare function runVulnerabilityTests(): Promise<{
|
||||
sqlPayloads: any;
|
||||
xssVectors: any;
|
||||
csrfScenarios: any;
|
||||
authTests: any;
|
||||
apiPatterns: any;
|
||||
owaspTests: any;
|
||||
}>;
|
||||
declare const _default: {
|
||||
generateSQLInjectionPayloads: typeof generateSQLInjectionPayloads;
|
||||
generateXSSVectors: typeof generateXSSVectors;
|
||||
generateCSRFScenarios: typeof generateCSRFScenarios;
|
||||
generateAuthBypassTests: typeof generateAuthBypassTests;
|
||||
generateAPIAbusePatterns: typeof generateAPIAbusePatterns;
|
||||
generateOWASPTop10Tests: typeof generateOWASPTop10Tests;
|
||||
runVulnerabilityTests: typeof runVulnerabilityTests;
|
||||
};
|
||||
export default _default;
|
||||
//# sourceMappingURL=vulnerability-testing.d.ts.map
|
||||
Reference in New Issue
Block a user