Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Test IastOverheadControlSpringBootSmokeTest.'Test that all the vulnerabilities are detected' is flaky

Open
#9,417 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
security, testing

Research direction

Locate IastOverheadControlSpringBootSmokeTest and the test named "Test that all the vulnerabilities are detected"; start by examining its vulnerability matching and the reported multipleVulns and multipleVulns2 methods. The test is done when it passes consistently and detects the WEAK_HASH vulnerability with evidence SHA1 at the expected method.

Written by the indexing model from the issue text.

Description

type: bug report
Tracer Version(s)

1.52.1

Java Version(s)

11

JVM Vendor

Oracle JDK

Bug Report

Condition failed with Exception:

hasVulnerability { vul -> vul.type == 'WEAK_HASH' && vul.location.method == 'multipleVulns' && vul.evidence.value == 'SHA1' }
|
java.lang.AssertionError: No matching vulnerability found. Vulnerabilities found: [
    {
        "evidence": {
            "value": "SHA1"
        },
        "hash": 1972954159,
        "location": {
            "line": 54,
            "method": "multipleVulns2",
            "path": "datadog.smoketest.springboot.controller.IastSamplingController",
            "spanId": 4999927944762673122,
            "stackId": "1"
        },
        "type": "WEAK_HASH"
    },
Expected Behavior

Test should pass always

Reproduction Code

No response

Dominant language
Java
Stars
737
Forks
361
Avg merge
3d 20h
Merged PRs (30d)
173

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DataDog/dd-trace-java

All issues in DataDog/dd-trace-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.