Skip to content

Security suite failed (main @ bb7876a) #283

@github-actions

Description

@github-actions

The root mise run security suite failed in GitHub Actions. Use the log tail below and reproduce locally with the same command.

Field Value
Workflow run Security #8
Ref refs/heads/main
SHA bb7876a47587134ab82701649d031073c5a333bf
Actor @krokoko
Event schedule

Log tail (last 200 lines)

�[32m[//:security:secrets]�[0m �[1m$ gitleaks detect --source . --no-banner�[0m
�[90m1:29PM�[0m �[32mINF�[0m �[1m286 commits scanned.�[0m
�[90m1:29PM�[0m �[32mINF�[0m �[1mscanned ~14886282 bytes (14.89 MB) in 2s�[0m
�[90m1:29PM�[0m �[32mINF�[0m �[1mno leaks found�[0m
�[36m�[1m[//:security:deps]�[0m �[1m$ osv-scanner scan --lockfile agent/uv.lock --lockfile yarn.lock�[0m
Starting filesystem walk for root: /
Scanned /home/runner/work/sample-autonomous-cloud-coding-agents/sample-autonomous-cloud-coding-agents/agent/uv.lock file and found 130 packages
Scanned /home/runner/work/sample-autonomous-cloud-coding-agents/sample-autonomous-cloud-coding-agents/yarn.lock file and found 1285 packages
End status: 0 dirs visited, 2 inodes visited, 2 Extract calls, 37.300833ms elapsed, 37.300934ms wall time

No issues found
�[35m�[1m[//:security:sast]�[0m �[1m$ semgrep scan --config auto --config p/python --config p/typescript --config p/owasp-top-ten --config p/security-audit --error --quiet .�[0m
                  
                  
┌────────────────┐
│ 1 Code Finding │
└────────────────┘
                               
    scripts/check-types-sync.ts
    ❯❱ javascript.lang.security.audit.prototype-pollution.prototype-pollution-loop.prototype-pollution-loop
          ❰❰ Blocking ❱❱
          Possibility of prototype polluting function detected. By adding or modifying attributes of an object
          prototype, it is possible to create attributes that exist on every object, or replace critical      
          attributes with malicious ones. This can be problematic if the software depends on existence or non-
          existence of certain attributes, or uses pre-defined attributes of object prototype (such as        
          hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, 
          using an object without prototypes (via Object.create(null) ), blocking modifications of attributes 
          that resolve to object prototype, using Map instead of object.                                      
          Details: https://sg.run/w1DB                                                                        
                                                                                                              
          286┆ value = (value as Record<string, unknown>)[seg];

�[35m�[1m[//:security:sast]�[0m �[31mERROR�[0m task failed

Close this issue after mise run security succeeds on main (or the branch you merge to).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions