Skip to content

CRITICAL: HERALD approval endpoints have NO authentication #74

@rz1989s

Description

@rz1989s

File: packages/agent/src/routes/herald-api.ts + index.ts

heraldRouter mounted without verifyJwt. Anyone can approve/reject tweets via POST /api/herald/approve/:id, view DMs and budget data.

Fix: Add verifyJwt + admin role check.

Ref: PR #70 audit

Metadata

Metadata

Assignees

No one assigned

    Labels

    auditbugSomething isn't workingcriticalCritical severitysecuritySecurity improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions