We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9de1285 commit e678341Copy full SHA for e678341
1 file changed
docs/systems/immune/README.md
@@ -538,10 +538,10 @@ const result = sanitizer.sanitize({
538
if (result.safe) {
539
console.log('Clean input:', result.sanitized);
540
// {
541
- // name: '<script>alert("xss")</script>',
+ // comment: '<script>alert("xss")</script>',
542
// email: 'user@example.com',
543
- // query: '\'; DROP TABLE users; --', // Escaped
544
- // path: 'etc/passwd' // Path traversal removed
+ // query: "'; DROP TABLE users; --", // SQL injection attempts are often escaped or removed depending on the underlying sanitizer.
+ // path: 'etc/passwd' // Path traversal attempts are typically removed or neutralized.
545
// }
546
} else {
547
console.log('Threats found:', result.threats);
0 commit comments