Proposed changes

Implements all three features requested in #5567:

  1. Profile Metadata Fields - Add id, name, purpose, description fields
  2. Inline Target Lists - Support list: | multiline YAML syntax
  3. Inline Secrets - Embed secrets directly in profile YAML

Proof

Feature 1: Profile Metadata Works

Profile with metadata parses without errors:

id: test-profile
name: Test Profile
purpose: Testing new profile features
description: This profile tests the new metadata fields
severity:
- critical

Terminal output:

$ ./nuclei -tp test-profile.yaml -validate
[INF] All templates validated successfully

Feature 2: Inline Target Lists Work

Embedded targets in profile:

list: |
example.com
test.com
scan.me

Terminal output:

$ ./nuclei -tp test-inline-targets.yaml -validate
[INF] All templates validated successfully

Feature 3: Inline Secrets Work

Embedded secrets in profile:

secrets:
static:
- type: header
domains:
- example.com
headers:
- key: X-API-Key
value: test-key-123

Terminal output:

$ ./nuclei -tp test-all-features.yaml -validate
[INF] All templates validated successfully

Complete Test Profile

All 3 features working together - see detailed proof in comments.

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works (validation tests shown above)
  • I have added necessary documentation (if appropriate) (inline code comments + IMPLEMENTATION.md)

Files Changed:

  • pkg/types/types.go - Added profile metadata fields and InlineSecrets
  • pkg/input/provider/list/hmap.go - Inline target list detection
  • internal/runner/runner.go - Inline secrets handling

/claim #5567

Summary by CodeRabbit

  • New Features

    • Profile metadata fields added: ID, name, purpose, description for richer profile info.
    • Authentication expanded to accept multiple secret sources, including per-file providers and inline secrets, combined into a multi-provider for flexible secret handling.
  • Documentation

    • Updated docs to show profile metadata usage and inline-secrets support.

Claim

Total prize pool $152
Total paid $0
Status Pending
Submitted February 02, 2026
Last updated February 02, 2026

Contributors

NA

Nandan_Kopplu

@nandankopplulearning-gmail-com

100%

Sponsors

PR

ProjectDiscovery

@projectdiscovery

$150
ST

starmovie12

@starmovie12

$2