Discover Packages
github.com/CodeMonkeyCybersecurity/shells
internal
plugins
javascript
package
Version:
v0.0.0-...-d1533f9
Opens a new window with list of versions in this module.
Published: Jul 28, 2025
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func NewJSAnalyzer(logger interface {
Info(msg string , keysAndValues ...interface{})
Error(msg string , keysAndValues ...interface{})
Debug(msg string , keysAndValues ...interface{})
}) core .Scanner
type APIKeyFound struct {
Service string `json:"service"`
Key string `json:"key"`
Source string `json:"source"`
LineNumber int `json:"line_number"`
}
type DOMSink struct {
Sink string `json:"sink"`
Source string `json:"source"`
LineNumber int `json:"line_number"`
Risk string `json:"risk"`
}
type EndpointFound struct {
Endpoint string `json:"endpoint"`
Method string `json:"method"`
Parameters []string `json:"parameters"`
Source string `json:"source"`
}
type LibraryFound struct {
Name string `json:"name"`
Version string `json:"version"`
Vulnerabilities []string `json:"vulnerabilities"`
Severity string `json:"severity"`
}
type SecretFound struct {
Type string `json:"type"`
Value string `json:"value"`
Source string `json:"source"`
LineNumber int `json:"line_number"`
Confidence string `json:"confidence"`
}
type URLFound struct {
URL string `json:"url"`
Source string `json:"source"`
LineNumber int `json:"line_number"`
Context string `json:"context"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.