Skip to content

CPE (Common Platform Enumeration) is not saved in the database. #2487

Closed

Description

@veranosm88

Summary

When testing the feature to save the httpx scan to the Postgres database, it was found that the CPE is not being saved to the database.

httpx version:

v1.9.0

Current Behavior:

The cpe column is not being created in the database when running httpx.

Expected Behavior:

The CPE is inserted into the JSON output. This information should also be saved in the database.

Steps To Reproduce:

The -cpe parameter was added to the httpx command to save this detection in the database:

httpx -l recon/subdomains.txt -ss -system-chrome -cpe -rdb -rdbc db-config.yaml

db-config.yaml configuration:

type: postgres
connection-string: "postgresql://postgres:postgres@localhost:5432/recon"
database-name: recon
table-name: results
batch-size: 100
flush-interval: 1m
omit-raw: false

After running the command, these are the columns created:

id
timestamp
url
input
host
port
scheme
path
method
final_url
status_code
content_length
content_type
title
webserver
response_time
location
body
body_preview
raw_header
request
host_ip
a
aaaa
cname
resolvers
body_fqdn
body_domains
sni
tech
hash
favicon
favicon_md5
favicon_path
favicon_url
jarm_hash
cdn
cdn_name
cdn_type
asn
tls
csp
failed
error
websocket
http2
pipeline
vhost
words
lines
header
extracts
extract_regex
chain
chain_status_codes
headless_body
screenshot_bytes
screenshot_path
screenshot_path_rel
stored_response_path
knowledgebase
link_request
trace

As can be seen in the list, the cpe column is not created.
Thanks!

Activity

  1. added
    Type: Bug
    on May 8, 2026
  2. self-assigned this
    on May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions