Registry / security / corazawaf-libinjection-go

corazawaf-libinjection-go

JSON →
library0.3.2gogounverified

A Go port of libinjection for detecting SQL injection and XSS attacks.

go get github.com/corazawaf/libinjection-go
INSTALL
IMPORT
SIG · CORAZAWAF-LIBINJEC
C
corazawaf-libinjection-go
securitygov0.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

libinjection
github.com/corazawaf/libinjection-go

Detects SQL injection in a given input string.

package main import ( "fmt" "github.com/corazawaf/libinjection-go" ) func main() { result := libinjection.IsSQLi("' OR 1=1 --") fmt.Println("SQL injection detected:", result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
Resources
corazawaf-libinjection-go — go get corazawaf-libinjection-go · libregistry