Skip to content

Documentation request: how to verify project #827

@lunalucadou

Description

@lunalucadou

Checklist

Safety version

3.7.0

Python version

3.11.3

Operating System

Mac OS X 15.7.3

Feature description

After seeing a vulnerability reported in CI, I wanted to run safety CLI on my local machine before pushing a new commit.

However, after logging in, I get the following error whenever I try to use it on my project:

$ safety scan      
Safety 3.7.0 scanning <project dir>
2026-01-06 16:20:40 UTC
We are currently unable to verify the project, and it is necessary to link the scan to a specific project. 

Additional Information: 
Please, specify a valid project slug or git repository

I also tried codebase init in case that would allow me to verify the project, but didn't get anything useful:

$ safety codebase init
We are currently unable to verify the project, and it is necessary to link the scan to a specific project. 

Additional Information: 
Please, specify a valid project slug or git repository

How do I verify the project? I cannot find any documentation for this.

Alternatives and current workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions