Giter Club home page Giter Club logo

common_java's People

Contributors

jasonwee avatar

Watchers

 avatar  avatar  avatar

common_java's Issues

semgrep output

better response? hide some internal stack traces...

$ semgrep scan --config auto
                              
┌──── ○○○ ────┐
│ Semgrep CLI │               
└─────────────┘               
                              
Scanning 100 files (only git-tracked) with:
                                      
✔ Semgrep OSS
  ✔ Basic security coverage for first-party code vulnerabilities.
                                              
✔ Semgrep Code (SAST)
  ✔ Find and fix vulnerabilities in the code you write with advanced scanning and expert security rules.
                                                     
✘ Semgrep Supply Chain (SCA)
  ✘ Find and fix the reachable vulnerabilities in your OSS dependencies.
 
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00                                                                                                                        
                   
                   
┌─────────────────┐
│ 8 Code Findings │
└─────────────────┘
                                                                       
    src/main/java/ch/weetech/network/HttpClientApp.java 
       java.lang.security.audit.active-debug-code-printstacktrace.active-debug-code-printstacktrace
          Possible active debug code detected. Deploying an application with debug code can create           
          unintended entry points or expose sensitive information.                                           
          Details: https://sg.run/4K8z                                                                       
                                                                                                             
           67┆ e.printStackTrace(new PrintWriter(sw));
            ⋮┆----------------------------------------
           72┆ e.printStackTrace(new PrintWriter(sw));
            ⋮┆----------------------------------------
           77┆ e.printStackTrace(new PrintWriter(sw));
            ⋮┆----------------------------------------
           82┆ e.printStackTrace(new PrintWriter(sw));
            ⋮┆----------------------------------------
          126┆ e.printStackTrace(new PrintWriter(sw));
            ⋮┆----------------------------------------
          131┆ e.printStackTrace(new PrintWriter(sw));
            ⋮┆----------------------------------------
          136┆ e.printStackTrace(new PrintWriter(sw));
            ⋮┆----------------------------------------
          141┆ e.printStackTrace(new PrintWriter(sw));

                
                
┌──────────────┐
│ Scan Summary │
└──────────────┘
Some files were skipped or only partially analyzed.
  Scan was limited to files tracked by git.
  Partially scanned: 1 files only partially analyzed due to parsing or internal Semgrep errors
  Scan skipped: 36 files matching .semgrepignore patterns
  For a full list of skipped files, run semgrep with the --verbose flag.

Ran 291 rules on 64 files: 8 findings.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.