a Go code to detect leaks in JS files via regex patterns

Overview
You might also like...
[mirror] This is a linter for Go source code.

Golint is a linter for Go source code. Installation Golint requires a supported release of Go. go get -u golang.org/x/lint/golint To find out where g

Run linters from Go code -

Lint - run linters from Go Lint makes it easy to run linters from Go code. This allows lint checks to be part of a regular go build + go test workflow

depth is tool to retrieve and visualize Go source code dependency trees.

depth is tool to retrieve and visualize Go source code dependency trees. Install Download the appropriate binary for your platform from the Rele

A reference for the Go community that covers the fundamentals of writing clean code and discusses concrete refactoring examples specific to Go.

A reference for the Go community that covers the fundamentals of writing clean code and discusses concrete refactoring examples specific to Go.

Tool to populate your code with traceable and secure error codes

Essential part of any project, especially customer facing is proper and secure error handling. When error happens and customer reports it, it would be nice to know the context of the error and where it exactly occured.

A static code analyzer for annotated TODO comments
A static code analyzer for annotated TODO comments

todocheck todocheck is a static code analyzer for annotated TODO comments. It let's you create actionable TODOs by annotating them with issues from an

A little fast cloc(Count Lines Of Code)

gocloc A little fast cloc(Count Lines Of Code), written in Go. Inspired by tokei. Installation $ go get -u github.com/hhatto/gocloc/cmd/gocloc Usage

🔒🌍 Security scanner for your Terraform code
🔒🌍 Security scanner for your Terraform code

🔒🌍tfsec uses static analysis of your terraform templates to spot potential security issues.

Know when GC runs from inside your golang code

gcnotifier gcnotifier provides a way to receive notifications after every run of the garbage collector (GC). Knowing when GC runs is useful to instruc

Comments
  • error run tool

    error run tool

    Good day to all the team that supports JSleak, I would like your support. I have this error when executing the tool both on a vps and on my local computer, any recommendations?

    Captura desde 2022-06-11 21-13-33

    opened by a88xss 3
  • Add license statement

    Add license statement

    Please add a license statement and a file that contains the license text.

    This is a requirement for a lot of distributions if they want to create packages.

    Thanks

    opened by fabaff 1
  • https://github.com/0xTeles/jsleak/issues/5#issue-974906379 , the root issue is still

    https://github.com/0xTeles/jsleak/issues/5#issue-974906379 , the root issue is still

    context deadline exceeded (Client.Timeout exceeded while awaiting headers)

    should if the problem of link should be bypass this link or stop if network disconnected until network return as well agin

    bug 
    opened by resteex0 2
  • [ New Feature ] Add json/yaml input

    [ New Feature ] Add json/yaml input

    Add a json or yaml entry to make the tool more "usable":

    Example in json:

    
    {
     "regex": {
       "AWS":["AWS S3 Regex", "AWS Secret Key Regex" ]
     }
    }
    

    Output example:

    [+] Url: http://localhost/index.js
    [+] Match: AWS
    [+] Result: s3.amazonaws.com
    
    enhancement 
    opened by 0xTeles 0
Releases(jsleak_v2.2)
Owner
João Teles
dfir & websec
João Teles
Retnilnil is a static analysis tool to detect `return nil, nil`

retnilnil retnilnil is a static analysis tool for Golang that detects return nil, nil in functions with (*T, error) as the return type. func f() (*T,

neglect-yp 3 Jun 9, 2022
octocov is a tool for collecting code metrics (code coverage, code to test ratio and test execution time).

octocov is a tool for collecting code metrics (code coverage, code to test ratio and test execution time).

Ken’ichiro Oyama 159 Jan 9, 2023
The most opinionated Go source code linter for code audit.

go-critic Highly extensible Go source code linter providing checks currently missing from other linters. There is never too much static code analysis.

null 1.5k Jan 6, 2023
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language

reviewdog - A code review dog who keeps your codebase healthy. reviewdog provides a way to post review comments to code hosting service, such as GitHu

reviewdog 5.9k Jan 2, 2023
A Golang tool that does static analysis, unit testing, code review and generate code quality report.

goreporter A Golang tool that does static analysis, unit testing, code review and generate code quality report. This is a tool that concurrently runs

360 Enterprise Security Group, Endpoint Security, inc. 3k Jan 8, 2023
Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go

Sloc Cloc and Code (scc) A tool similar to cloc, sloccount and tokei. For counting physical the lines of code, blank lines, comment lines, and physica

Ben Boyter 4.1k Jan 4, 2023
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language

reviewdog - A code review dog who keeps your codebase healthy. reviewdog provides a way to post review comments to code hosting service, such as GitHu

reviewdog 5.9k Jan 7, 2023
misspelled word linter for Go comments, string literals and embedded files

gospel The gospel program lints Go source files for misspellings in comments, strings and embedded files. It uses hunspell to identify misspellings an

Dan Kortschak 30 Aug 6, 2022
a tool for code clone detection

dupl dupl is a tool written in Go for finding code clones. So far it can find clones only in the Go source files. The method uses suffix tree for seri

Michal Bohuslávek 302 Dec 12, 2022