{"schema":1,"as_of":"2026-11-19","commit":"3e9d2660","counts":{"cloud":218,"kubernetes":58,"quality":1,"runtime":33,"sast":315,"secrets":189,"tls":30,"total":844},"excluded":[{"area":"iac","reason":"Infrastructure-as-code misconfiguration rules (Terraform, CloudFormation, Azure ARM, Ansible, Kubernetes manifests, Dockerfiles, Helm) come from Trivy and are maintained upstream; TrustIvan runs them but does not own the list."}],"frameworks":[{"id":"cis-aws-foundations-3.0.0","name":"CIS Amazon Web Services Foundations Benchmark","version":"3.0.0","provider":"aws"},{"id":"cis-azure-foundations-2.1.0","name":"CIS Microsoft Azure Foundations Benchmark","version":"2.1.0","provider":"azure"},{"id":"cis-gcp-foundation-3.0.0","name":"CIS Google Cloud Platform Foundation Benchmark","version":"3.0.0","provider":"gcp"},{"id":"cis-eks-1.5.0","name":"CIS Amazon Elastic Kubernetes Service (EKS) Benchmark","version":"1.5.0","provider":"aws"},{"id":"cis-gke-1.5.0","name":"CIS Google Kubernetes Engine (GKE) Benchmark","version":"1.5.0","provider":"gcp"},{"id":"cis-aks-1.4.0","name":"CIS Azure Kubernetes Service (AKS) Benchmark","version":"1.4.0","provider":"azure"},{"id":"cis-kubernetes-1.9.0","name":"CIS Kubernetes Benchmark","version":"1.9.0"},{"id":"nsa-cisa-kubernetes-hardening-1.2","name":"NSA/CISA Kubernetes Hardening Guidance","version":"1.2"}],"checks":[{"id":"cloud.ai.endpoint-no-data-capture","slug":"ai-endpoint-no-data-capture","area":"cloud","category":"ai","title":"The inference endpoint does not capture its requests","severity":"low","providers":["aws"],"targets":["ai model endpoint"],"what":"Reads every ai model endpoint in each connected cloud account and reports one when the inference endpoint does not capture its requests.","why":"Without captured requests and responses there is no record to investigate abuse of the model or to detect drift and poisoned inputs.","fix":"Enable data capture on the endpoint configuration and deliver it to a bucket you retain.","evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.ai.endpoint-public","slug":"ai-endpoint-public","area":"cloud","category":"ai","title":"The inference endpoint is reachable from the internet","severity":"low","providers":["gcp"],"targets":["ai model endpoint"],"what":"Reads every ai model endpoint in each connected cloud account and reports one when the inference endpoint is reachable from the internet.","why":"A public endpoint still requires IAM, but any stolen credential with predict rights can call it from anywhere, and no network control stands in the way.","fix":"Deploy the model to a private endpoint (Private Service Connect or a VPC peering network).","evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.ai.local-auth-enabled","slug":"ai-local-auth-enabled","area":"cloud","category":"ai","title":"The AI service accepts API keys","severity":"medium","providers":["azure"],"targets":["ai service"],"what":"Reads every ai service in each connected cloud account and reports one when the AI service accepts API keys.","why":"An API key is a shared static secret: it is not tied to an identity, its use cannot be attributed, and it stays valid until someone regenerates it.","fix":"Disable local (key) authentication on the account and grant callers a Cognitive Services role through Entra ID.","evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.ai.no-customer-managed-key","slug":"ai-no-customer-managed-key","area":"cloud","category":"ai","title":"AI data is not encrypted with a customer-managed key","severity":"low","providers":["aws","azure","gcp"],"targets":["ai service","ai model","ai agent","ai model endpoint","machine learning notebook"],"what":"Reads every ai service, ai model, ai agent, ai model endpoint and machine learning notebook in each connected cloud account and reports one when AI data is not encrypted with a customer-managed key.","why":"With a provider-managed key you cannot revoke access to the training data, model weights or prompts the resource holds by disabling the key, and its use does not appear in your own key audit trail.","fix":"Encrypt the resource with a key you manage: a KMS key for a Bedrock model or agent or a SageMaker notebook or endpoint, a Cloud KMS key for a Vertex AI endpoint or Workbench instance, a Key Vault key for an Azure AI account.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.ai.no-guardrails","slug":"ai-no-guardrails","area":"cloud","category":"ai","title":"No guardrail filters the model's prompts and responses","severity":"low","providers":["aws"],"targets":["ai service","ai agent"],"what":"Reads every ai service and ai agent in each connected cloud account and reports one when no guardrail filters the model's prompts and responses.","why":"Without a guardrail nothing between the caller and the model blocks prompt injection, harmful output or personal data in a response.","fix":"Create a Bedrock guardrail with content, denied-topic and sensitive-information filters, and attach it to each agent and to the applications that invoke models.","evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.ai.no-invocation-logging","slug":"ai-no-invocation-logging","area":"cloud","category":"ai","title":"Requests to the AI service are not logged","severity":"medium","providers":["aws","azure"],"targets":["ai service"],"what":"Reads every ai service in each connected cloud account and reports one when requests to the AI service are not logged.","why":"Without invocation logs there is no record of who called which model with what, so misuse, data leakage through prompts and abuse of a stolen key go unseen.","fix":"Turn on Bedrock model invocation logging in the region, or add a diagnostic setting that sends the Azure AI account's request and audit logs to a workspace or storage account you retain.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.ai.notebook-direct-internet","slug":"ai-notebook-direct-internet","area":"cloud","category":"ai","title":"The notebook instance has direct internet access","severity":"medium","providers":["aws","gcp"],"targets":["machine learning notebook"],"what":"Reads every machine learning notebook in each connected cloud account and reports one when the notebook instance has direct internet access.","why":"A notebook holds credentials and data and runs arbitrary code; with direct internet access it can send both anywhere, outside every network control you have.","fix":"Turn off direct internet access (SageMaker) or the public IP (Workbench) and give the instance egress through your VPC, where it can be filtered and logged.","evidence":[{"scope":"aws","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.ai.notebook-outside-vpc","slug":"ai-notebook-outside-vpc","area":"cloud","category":"ai","title":"The notebook instance does not run in your VPC","severity":"low","providers":["aws"],"targets":["machine learning notebook"],"what":"Reads every machine learning notebook in each connected cloud account and reports one when the notebook instance does not run in your VPC.","why":"Outside your VPC the instance's traffic bypasses your security groups, flow logs and endpoints.","fix":"Recreate the notebook instance in a subnet of your VPC.","evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.ai.notebook-root-access","slug":"ai-notebook-root-access","area":"cloud","category":"ai","title":"Notebook users can become root on the instance","severity":"medium","providers":["aws","gcp"],"targets":["machine learning notebook"],"what":"Reads every machine learning notebook in each connected cloud account and reports one when notebook users can become root on the instance.","why":"A user with root can change the instance's configuration, install what they like and read every other user's files and credentials on it.","fix":"Disable root access on the SageMaker notebook instance, or set the notebook-disable-root metadata on the Workbench instance.","evidence":[{"scope":"aws","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.ai.public-network-access","slug":"ai-public-network-access","area":"cloud","category":"ai","title":"The AI service accepts requests from any network","severity":"medium","providers":["azure"],"targets":["ai service"],"what":"Reads every ai service in each connected cloud account and reports one when the AI service accepts requests from any network.","why":"A model endpoint reachable from the internet can be called by anyone holding a key or token for it, from anywhere, and a leaked key is usable at once.","fix":"Disable public network access on the account and reach it through a private endpoint, or set its network default action to Deny with only the addresses that need it allowed.","evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.compute.default-sa-full-scope","slug":"compute-default-sa-full-scope","area":"cloud","category":"compute","title":"The instance runs as the default service account with access to all APIs","severity":"high","providers":["gcp"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when the instance runs as the default service account with access to all APIs.","why":"Any process on the instance can call every Google Cloud API with the project-wide rights the default service account is granted, so one compromised workload reaches the whole project.","fix":"Use a dedicated service account, or restrict the default account's scopes.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"4.2","title":"Instances do not use the default service account with full API access"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.default-service-account","slug":"compute-default-service-account","area":"cloud","category":"compute","title":"The instance runs as the default compute service account","severity":"medium","providers":["gcp"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when the instance runs as the default compute service account.","why":"The default compute service account is shared by every instance that does not name another and holds broad project rights, so instances cannot be given only what each one needs.","fix":"Attach a purpose-built service account with only the roles the workload needs.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"4.1","title":"Instances do not use the default service account"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.disk-no-customer-key","slug":"compute-disk-no-customer-key","area":"cloud","category":"compute","title":"Instance disks use a platform-managed key","severity":"low","providers":["azure"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when instance disks use a platform-managed key.","why":"With a platform-managed key you cannot revoke access to the disk's data by disabling the key, and key use does not appear in your own key audit trail.","fix":"Encrypt OS and data disks with a customer-managed key via a disk encryption set.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"7.3","title":"OS and data disks use customer-managed keys"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.ebs-default-encryption","slug":"compute-ebs-default-encryption","area":"cloud","category":"compute","title":"New block volumes are not encrypted by default in every region","severity":"high","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when new block volumes are not encrypted by default in every region.","why":"A volume created without an explicit encryption setting is stored unencrypted, and so is every snapshot taken from it.","fix":"Enable EBS encryption by default in every region the account uses.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"2.2.1","title":"EBS encryption by default is enabled in all regions"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.imdsv1-allowed","slug":"compute-imdsv1-allowed","area":"cloud","category":"compute","title":"The instance metadata service accepts IMDSv1 requests","severity":"medium","providers":["aws"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when the instance metadata service accepts IMDSv1 requests.","why":"IMDSv1 answers unauthenticated GETs, so a server-side request forgery in any application on the instance yields its role's credentials.","fix":"Require IMDSv2 (HttpTokens=required) on the instance.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"5.6","title":"EC2 instances require IMDSv2"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.compute.ip-forwarding","slug":"compute-ip-forwarding","area":"cloud","category":"compute","title":"IP forwarding is enabled on the instance","severity":"low","providers":["gcp"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when IP forwarding is enabled on the instance.","why":"An instance that forwards packets it did not originate can route traffic between networks and around firewall rules written for it.","fix":"Recreate the instance with IP forwarding off unless it is a network appliance.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"4.6","title":"IP forwarding is disabled"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.no-bastion","slug":"compute-no-bastion","area":"cloud","category":"compute","title":"No bastion host exists for administrative access","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no bastion host exists for administrative access.","why":"Without a single hardened entry point, administrators reach instances directly, which tends to leave management ports open on many hosts.","fix":"Deploy Azure Bastion and remove direct SSH/RDP exposure.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"7.1","title":"An Azure Bastion host exists"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.no-confidential-computing","slug":"compute-no-confidential-computing","area":"cloud","category":"compute","title":"Confidential computing is off","severity":"low","providers":["gcp"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when confidential computing is off.","why":"Without memory encryption, data in use on the host can be read by anyone with access to the hypervisor or the host's memory.","fix":"Run sensitive workloads on a confidential VM machine type.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"4.11","title":"Instances use confidential computing"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.no-instance-role","slug":"compute-no-instance-role","area":"cloud","category":"compute","title":"The instance has no IAM role attached","severity":"low","providers":["aws"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when the instance has no IAM role attached.","why":"An instance without a role that calls AWS has to carry long-lived access keys on disk, where anyone who reads the disk can take them.","fix":"Attach an instance profile with a role scoped to what the workload needs, and remove any access keys stored on the instance.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.18","title":"Instances use IAM roles to reach AWS resources"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.compute.no-os-login","slug":"compute-no-os-login","area":"cloud","category":"compute","title":"OS Login is not enabled for the project","severity":"medium","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when OS Login is not enabled for the project.","why":"Without OS Login, SSH access is granted by keys in metadata rather than by IAM, so removing a person from the project does not remove their access to instances.","fix":"Set enable-oslogin=TRUE in the project's metadata.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"4.4","title":"OS Login is enabled for the project"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.no-shielded-vm","slug":"compute-no-shielded-vm","area":"cloud","category":"compute","title":"Secure boot and integrity monitoring are off","severity":"low","providers":["aws","azure","gcp"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when secure boot and integrity monitoring are off.","why":"Without secure boot and integrity monitoring, a tampered boot loader or kernel runs unnoticed and survives a reboot.","fix":"Enable Shielded VM (GCP) or Trusted Launch (Azure) on the instance.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"4.8","title":"Instances use Shielded VM"},{"framework":"cis-azure-foundations-2.1.0","control":"7.9","title":"Trusted Launch is enabled on virtual machines"}],"evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.project-ssh-keys-allowed","slug":"compute-project-ssh-keys-allowed","area":"cloud","category":"compute","title":"The instance accepts project-wide SSH keys","severity":"medium","providers":["gcp"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when the instance accepts project-wide SSH keys.","why":"A key added at project level opens every instance that accepts project keys, so one leaked key is access to all of them.","fix":"Set block-project-ssh-keys=true on the instance.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"4.3","title":"Instances block project-wide SSH keys"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.public-ip","slug":"compute-public-ip","area":"cloud","category":"compute","title":"The instance has a public IP address","severity":"medium","providers":["aws","azure","gcp"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when the instance has a public IP address.","why":"A public address makes every port the instance's firewall rules admit reachable from the internet, and it is the first thing internet-wide scanners find.","fix":"Remove the public address and reach the instance through a load balancer, bastion or private connectivity.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"4.9","title":"Instances have no public IP addresses"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.serial-port-enabled","slug":"compute-serial-port-enabled","area":"cloud","category":"compute","title":"Interactive serial port access is enabled","severity":"medium","providers":["gcp"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when interactive serial port access is enabled.","why":"The interactive serial console accepts connections from any address and is not governed by the instance's firewall rules.","fix":"Set serial-port-enable=false on the instance.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"4.5","title":"Serial port access is disabled"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.unattached-disk-no-customer-key","slug":"compute-unattached-disk-no-customer-key","area":"cloud","category":"compute","title":"Unattached disks are encrypted with a platform-managed key","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when unattached disks are encrypted with a platform-managed key.","why":"A detached disk still holds the data of the machine it came from, and with a platform key you cannot revoke access to it by disabling a key.","fix":"Encrypt unattached disks with a customer-managed key through a disk encryption set, or delete disks no longer needed.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"7.4","title":"Unattached disks use customer-managed keys"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.compute.unencrypted-disk","slug":"compute-unencrypted-disk","area":"cloud","category":"compute","title":"An instance disk is not encrypted","severity":"medium","providers":["aws","azure","gcp"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when an instance disk is not encrypted.","why":"Data on an unencrypted disk, and on any snapshot or image made from it, is readable by anyone who obtains a copy.","fix":"Encrypt the instance's volumes (snapshot, copy encrypted, replace).","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"7.7","title":"VHDs are encrypted"}],"evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.compute.unmanaged-disks","slug":"compute-unmanaged-disks","area":"cloud","category":"compute","title":"The virtual machine uses unmanaged disks","severity":"low","providers":["azure"],"targets":["compute instance"],"what":"Reads every compute instance in each connected cloud account and reports one when the virtual machine uses unmanaged disks.","why":"Unmanaged disks are page blobs in a storage account you secure yourself, so their encryption and access depend on that account's settings rather than the platform's.","fix":"Migrate the virtual machine to managed disks.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"7.2","title":"Virtual machines use managed disks"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.allow-all-azure-services","slug":"database-allow-all-azure-services","area":"cloud","category":"database","title":"The database firewall admits every Azure service","severity":"medium","providers":["azure"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when the database firewall admits every Azure service.","why":"The rule admits connections from any Azure customer's resources, not only yours, leaving the database's credentials as its only protection.","fix":"Remove the 0.0.0.0 \"Allow Azure services\" rule and admit named networks.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"4.3.7","title":"PostgreSQL does not admit all Azure services"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.database.audit-retention","slug":"database-audit-retention","area":"cloud","category":"database","title":"Database audit logs are kept for less than 90 days","severity":"low","providers":["azure"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when database audit logs are kept for less than 90 days.","why":"Investigations routinely start weeks after an intrusion; audit records deleted before then cannot show what was read or changed.","fix":"Set audit retention to more than 90 days, or 0 for unlimited.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"4.1.6","title":"SQL audit retention exceeds 90 days"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.azure-pg-connection-throttling","slug":"database-flag-azure-pg-connection-throttling","area":"cloud","category":"database","title":"PostgreSQL connection throttling is off","severity":"low","providers":["azure"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL connection throttling is off.","why":"Without throttling, a password-guessing run against the server is not slowed down by repeated failed connections.","fix":"Set the connection_throttle.enable database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"4.3.5","title":"PostgreSQL connection throttling is on"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.azure-pg-log-checkpoints","slug":"database-flag-azure-pg-log-checkpoints","area":"cloud","category":"database","title":"PostgreSQL does not log checkpoints","severity":"low","providers":["azure"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL does not log checkpoints.","why":"Checkpoint records help tell an attack or a failing query from ordinary load when the server slows down.","fix":"Set the log_checkpoints database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"4.3.2","title":"PostgreSQL log_checkpoints is on"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.azure-pg-log-connections","slug":"database-flag-azure-pg-log-connections","area":"cloud","category":"database","title":"PostgreSQL does not log connections","severity":"low","providers":["azure"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL does not log connections.","why":"Without connection records you cannot tell who connected, from where, or when a credential was first misused.","fix":"Set the log_connections database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"4.3.3","title":"PostgreSQL log_connections is on"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.azure-pg-log-disconnections","slug":"database-flag-azure-pg-log-disconnections","area":"cloud","category":"database","title":"PostgreSQL does not log disconnections","severity":"low","providers":["azure"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL does not log disconnections.","why":"Disconnection records give each session's end and duration, which an investigation needs alongside the connection records.","fix":"Set the log_disconnections database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"4.3.4","title":"PostgreSQL log_disconnections is on"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.azure-pg-log-retention","slug":"database-flag-azure-pg-log-retention","area":"cloud","category":"database","title":"PostgreSQL keeps logs for three days or fewer","severity":"low","providers":["azure"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL keeps logs for three days or fewer.","why":"Logs kept for three days or less are gone before most intrusions are noticed.","fix":"Set the logfiles.retention_days database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"4.3.6","title":"PostgreSQL log retention exceeds 3 days"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.mysql-local-infile","slug":"database-flag-mysql-local-infile","area":"cloud","category":"database","title":"MySQL allows LOAD DATA LOCAL","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when MySQL allows LOAD DATA LOCAL.","why":"LOAD DATA LOCAL lets a connected client read files from the machine it runs on, which a malicious server or an injected query can abuse.","fix":"Set the local_infile database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.1.3","title":"MySQL local_infile is off"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.mysql-skip-show-database","slug":"database-flag-mysql-skip-show-database","area":"cloud","category":"database","title":"MySQL lists every database to every user","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when MySQL lists every database to every user.","why":"Listing every database to every user tells an intruder with any login what else the server holds.","fix":"Set the skip_show_database database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.1.2","title":"MySQL skip_show_database is on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.pg-log-connections","slug":"database-flag-pg-log-connections","area":"cloud","category":"database","title":"PostgreSQL does not log connections","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL does not log connections.","why":"Without connection records you cannot tell who connected, from where, or when a credential was first misused.","fix":"Set the log_connections database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.2.2","title":"PostgreSQL log_connections is on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.pg-log-disconnections","slug":"database-flag-pg-log-disconnections","area":"cloud","category":"database","title":"PostgreSQL does not log disconnections","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL does not log disconnections.","why":"Disconnection records give each session's end and duration, which an investigation needs alongside the connection records.","fix":"Set the log_disconnections database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.2.3","title":"PostgreSQL log_disconnections is on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.pg-log-error-verbosity","slug":"database-flag-pg-log-error-verbosity","area":"cloud","category":"database","title":"PostgreSQL error logging is more verbose than DEFAULT","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL error logging is more verbose than DEFAULT.","why":"Verbose error logging writes statement detail and internals to the log, which then needs the same protection as the data.","fix":"Set the log_error_verbosity database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.2.1","title":"PostgreSQL log_error_verbosity is DEFAULT or stricter"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.pg-log-min-duration-statement","slug":"database-flag-pg-log-min-duration-statement","area":"cloud","category":"database","title":"PostgreSQL logs statement text by duration","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL logs statement text by duration.","why":"Logging statements by duration writes their full text, including any literal values such as personal data, to the log.","fix":"Set the log_min_duration_statement database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.2.7","title":"PostgreSQL log_min_duration_statement is disabled"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.pg-log-min-error-statement","slug":"database-flag-pg-log-min-error-statement","area":"cloud","category":"database","title":"PostgreSQL does not log statements that cause errors","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL does not log statements that cause errors.","why":"The statement that caused an error is often the first trace of an injection attempt, and without it the error has no context.","fix":"Set the log_min_error_statement database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.2.6","title":"PostgreSQL log_min_error_statement is ERROR or stricter"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.pg-log-min-messages","slug":"database-flag-pg-log-min-messages","area":"cloud","category":"database","title":"PostgreSQL logs fewer messages than WARNING","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL logs fewer messages than WARNING.","why":"Below WARNING the log omits messages that point to failures and misuse, so problems go unrecorded.","fix":"Set the log_min_messages database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.2.5","title":"PostgreSQL log_min_messages is WARNING or stricter"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.pg-log-statement","slug":"database-flag-pg-log-statement","area":"cloud","category":"database","title":"PostgreSQL does not log DDL statements","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL does not log DDL statements.","why":"Without DDL logging, a table dropped or a role altered leaves no record of the statement that did it.","fix":"Set the log_statement database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.2.4","title":"PostgreSQL log_statement is set appropriately"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.pg-pgaudit","slug":"database-flag-pg-pgaudit","area":"cloud","category":"database","title":"PostgreSQL audit logging (pgaudit) is off","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when PostgreSQL audit logging (pgaudit) is off.","why":"Without pgaudit, PostgreSQL's own log cannot say which session read or changed which object.","fix":"Set the cloudsql.enable_pgaudit database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.2.8","title":"Cloud SQL pgaudit is enabled"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.sqlserver-contained-auth","slug":"database-flag-sqlserver-contained-auth","area":"cloud","category":"database","title":"SQL Server allows contained database authentication","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when SQL Server allows contained database authentication.","why":"Users of a contained database authenticate inside it, outside the server's login controls, so server-level policy and monitoring do not cover them.","fix":"Set the contained database authentication database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.3.7","title":"SQL Server contained database authentication is off"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.sqlserver-cross-db-chaining","slug":"database-flag-sqlserver-cross-db-chaining","area":"cloud","category":"database","title":"SQL Server allows cross-database ownership chaining","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when SQL Server allows cross-database ownership chaining.","why":"Ownership chaining across databases lets code in one database reach objects in another without a permission check.","fix":"Set the cross db ownership chaining database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.3.2","title":"SQL Server cross-database ownership chaining is off"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.sqlserver-external-scripts","slug":"database-flag-sqlserver-external-scripts","area":"cloud","category":"database","title":"SQL Server allows external scripts","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when SQL Server allows external scripts.","why":"External scripts run R or Python code inside the database server, which widens what an injected statement can do.","fix":"Set the external scripts enabled database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.3.1","title":"SQL Server external scripts are disabled"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.sqlserver-remote-access","slug":"database-flag-sqlserver-remote-access","area":"cloud","category":"database","title":"SQL Server allows remote access to stored procedures","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when SQL Server allows remote access to stored procedures.","why":"Remote access lets stored procedures be run from other servers, a path for moving between database servers.","fix":"Set the remote access database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.3.5","title":"SQL Server remote access is off"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.sqlserver-trace-3625","slug":"database-flag-sqlserver-trace-3625","area":"cloud","category":"database","title":"SQL Server error messages can disclose sensitive data","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when SQL Server error messages can disclose sensitive data.","why":"Without this trace flag, error messages can include data values and schema detail that are returned to whoever triggered the error.","fix":"Set the 3625 database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.3.6","title":"SQL Server trace flag 3625 is on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.sqlserver-user-connections","slug":"database-flag-sqlserver-user-connections","area":"cloud","category":"database","title":"SQL Server limits user connections","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when SQL Server limits user connections.","why":"A fixed connection limit lets the server refuse legitimate clients once it is reached, which an attacker can arrange on purpose.","fix":"Set the user connections database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.3.3","title":"SQL Server user connections are not limited"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.flag.sqlserver-user-options","slug":"database-flag-sqlserver-user-options","area":"cloud","category":"database","title":"SQL Server sets global user options","severity":"low","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when SQL Server sets global user options.","why":"Global user options silently change how every session behaves, which can break the assumptions applications and controls rely on.","fix":"Set the user options database flag as the benchmark recommends and restart if the engine requires it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.3.4","title":"SQL Server user options are not configured"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.no-auditing","slug":"database-no-auditing","area":"cloud","category":"database","title":"Database auditing is off","severity":"medium","providers":["azure"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when database auditing is off.","why":"Without auditing there is no record of who read or changed data, so a breach cannot be scoped and its affected records cannot be named.","fix":"Enable auditing on the database server.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"4.1.1","title":"SQL server auditing is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.no-auto-minor-upgrade","slug":"database-no-auto-minor-upgrade","area":"cloud","category":"database","title":"Automatic minor version upgrades are off","severity":"low","providers":["aws"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when automatic minor version upgrades are off.","why":"Minor versions carry security fixes; without automatic upgrades a known vulnerability stays until someone remembers to apply them.","fix":"Enable auto minor version upgrade on the instance.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"2.3.2","title":"RDS auto minor version upgrade is enabled"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.no-automated-backups","slug":"database-no-automated-backups","area":"cloud","category":"database","title":"Automated backups are off","severity":"medium","providers":["aws","azure","gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when automated backups are off.","why":"Without backups, data destroyed by a mistake or by ransomware cannot be restored to a recent point.","fix":"Enable automated backups with a retention period that meets your recovery objective.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.7","title":"Cloud SQL automated backups are on"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.no-directory-admin","slug":"database-no-directory-admin","area":"cloud","category":"database","title":"The database server has no directory administrator","severity":"medium","providers":["azure"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when the database server has no directory administrator.","why":"Without a directory administrator, database access cannot be granted and revoked through your identity provider, so leavers keep SQL logins.","fix":"Configure a Microsoft Entra administrator for the server.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"4.1.4","title":"An Entra administrator is configured for SQL servers"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.public-endpoint","slug":"database-public-endpoint","area":"cloud","category":"database","title":"Database is reachable from the internet","severity":"high","providers":["aws","azure","gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when database is reachable from the internet.","why":"This managed database accepts connections from public addresses, so its only protection is its credentials.","fix":"Disable public accessibility and reach the database over private networking or a bastion.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"2.3.3","title":"RDS instances are not publicly accessible"},{"framework":"cis-azure-foundations-2.1.0","control":"4.1.2","title":"No SQL database admits 0.0.0.0/0"},{"framework":"cis-gcp-foundation-3.0.0","control":"6.5","title":"Cloud SQL does not authorise 0.0.0.0/0"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.database.public-ip","slug":"database-public-ip","area":"cloud","category":"database","title":"The database instance has a public IP address","severity":"medium","providers":["gcp"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when the database instance has a public IP address.","why":"A public address makes the database reachable from the internet, leaving its authorized networks and credentials as the only barrier.","fix":"Remove the public IP and connect over private networking.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"6.6","title":"Cloud SQL instances have no public IP"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.database.tde-no-customer-key","slug":"database-tde-no-customer-key","area":"cloud","category":"database","title":"Transparent data encryption uses a service-managed key","severity":"low","providers":["azure"],"targets":["database"],"what":"Reads every database in each connected cloud account and reports one when transparent data encryption uses a service-managed key.","why":"With a service-managed key you cannot revoke access to the encrypted data by disabling the key, and key use is not in your own audit trail.","fix":"Set the server's TDE protector to a customer-managed key.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"4.1.3","title":"SQL TDE protector uses a customer-managed key"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.defender.alerts-not-sent-to-owners","slug":"defender-alerts-not-sent-to-owners","area":"cloud","category":"defender","title":"Defender for Cloud does not email security alerts to subscription owners","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when defender for Cloud does not email security alerts to subscription owners.","why":"Owners are the people able to act on an alert; if Defender does not tell them, an attack can run unread.","fix":"In Defender for Cloud's email notifications, send alerts to users with the Owner role.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.17","title":"Security alerts are emailed to subscription owners"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.app-services-off","slug":"defender-app-services-off","area":"cloud","category":"defender","title":"Microsoft Defender for App Service is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for App Service is off.","why":"With the plan off, Defender for Cloud raises no threat alerts for that kind of resource, so an attack on it is not detected.","fix":"Set the plan to On in Defender for Cloud's environment settings for the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.2","title":"Microsoft Defender for App Service is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.containers-off","slug":"defender-containers-off","area":"cloud","category":"defender","title":"Microsoft Defender for Containers is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for Containers is off.","why":"With the plan off, Defender for Cloud raises no threat alerts for that kind of resource, so an attack on it is not detected.","fix":"Set the plan to On in Defender for Cloud's environment settings for the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.8","title":"Microsoft Defender for Containers is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.cosmos-db-off","slug":"defender-cosmos-db-off","area":"cloud","category":"defender","title":"Microsoft Defender for Azure Cosmos DB is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for Azure Cosmos DB is off.","why":"With the plan off, Defender for Cloud raises no threat alerts for that kind of resource, so an attack on it is not detected.","fix":"Set the plan to On in Defender for Cloud's environment settings for the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.6","title":"Microsoft Defender for Azure Cosmos DB is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.dns-off","slug":"defender-dns-off","area":"cloud","category":"defender","title":"Microsoft Defender for DNS is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for DNS is off.","why":"With the plan off, Defender for Cloud raises no threat alerts for that kind of resource, so an attack on it is not detected.","fix":"Set the plan to On in Defender for Cloud's environment settings for the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.10","title":"Microsoft Defender for DNS is on (legacy plan)"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.high-severity-alerts-not-notified","slug":"defender-high-severity-alerts-not-notified","area":"cloud","category":"defender","title":"Defender for Cloud does not email high-severity alerts","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when defender for Cloud does not email high-severity alerts.","why":"High-severity alerts mark likely compromise; without an email they wait for someone to open the portal.","fix":"Turn on alert notifications in Defender for Cloud with a minimum severity of High or lower.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.19","title":"High-severity alerts are emailed"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.key-vault-off","slug":"defender-key-vault-off","area":"cloud","category":"defender","title":"Microsoft Defender for Key Vault is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for Key Vault is off.","why":"With the plan off, Defender for Cloud raises no threat alerts for that kind of resource, so an attack on it is not detected.","fix":"Set the plan to On in Defender for Cloud's environment settings for the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.9","title":"Microsoft Defender for Key Vault is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.log-analytics-auto-provisioning-off","slug":"defender-log-analytics-auto-provisioning-off","area":"cloud","category":"defender","title":"Defender for Cloud does not auto-provision the Log Analytics agent","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when defender for Cloud does not auto-provision the Log Analytics agent.","why":"Machines created without the agent send Defender no security events, so threats on them are not detected.","fix":"Turn on auto provisioning of the Log Analytics agent in Defender for Cloud's environment settings.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.14","title":"The Log Analytics agent is auto-provisioned"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.no-security-contact-email","slug":"defender-no-security-contact-email","area":"cloud","category":"defender","title":"No security contact email is configured in Defender for Cloud","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no security contact email is configured in Defender for Cloud.","why":"Microsoft and Defender for Cloud use the security contact to report compromised resources; without one the notice reaches nobody responsible.","fix":"Add your security team's address under Additional email addresses in Defender for Cloud's email notifications.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.18","title":"A security contact email is configured"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.open-source-databases-off","slug":"defender-open-source-databases-off","area":"cloud","category":"defender","title":"Microsoft Defender for open-source relational databases is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for open-source relational databases is off.","why":"With the plan off, Defender for Cloud raises no threat alerts for that kind of resource, so an attack on it is not detected.","fix":"Set the plan to On in Defender for Cloud's environment settings for the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.5","title":"Microsoft Defender for open-source relational databases is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.resource-manager-off","slug":"defender-resource-manager-off","area":"cloud","category":"defender","title":"Microsoft Defender for Resource Manager is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for Resource Manager is off.","why":"With the plan off, Defender for Cloud raises no threat alerts for that kind of resource, so an attack on it is not detected.","fix":"Set the plan to On in Defender for Cloud's environment settings for the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.11","title":"Microsoft Defender for Resource Manager is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.servers-off","slug":"defender-servers-off","area":"cloud","category":"defender","title":"Microsoft Defender for Servers is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for Servers is off.","why":"Without Defender for Servers, virtual machines get no vulnerability assessment or threat detection from the platform.","fix":"Enable the Defender for Servers plan on the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.1","title":"Microsoft Defender for Servers is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.sql-databases-off","slug":"defender-sql-databases-off","area":"cloud","category":"defender","title":"Microsoft Defender for Azure SQL Databases is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for Azure SQL Databases is off.","why":"With the plan off, Defender for Cloud raises no threat alerts for that kind of resource, so an attack on it is not detected.","fix":"Set the plan to On in Defender for Cloud's environment settings for the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.3","title":"Microsoft Defender for Azure SQL Databases is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.sql-servers-on-machines-off","slug":"defender-sql-servers-on-machines-off","area":"cloud","category":"defender","title":"Microsoft Defender for SQL servers on machines is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for SQL servers on machines is off.","why":"With the plan off, Defender for Cloud raises no threat alerts for that kind of resource, so an attack on it is not detected.","fix":"Set the plan to On in Defender for Cloud's environment settings for the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.4","title":"Microsoft Defender for SQL servers on machines is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.defender.storage-off","slug":"defender-storage-off","area":"cloud","category":"defender","title":"Microsoft Defender for Storage is off","severity":"medium","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when Microsoft Defender for Storage is off.","why":"With the plan off, Defender for Cloud raises no threat alerts for that kind of resource, so an attack on it is not detected.","fix":"Set the plan to On in Defender for Cloud's environment settings for the subscription.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"2.1.7","title":"Microsoft Defender for Storage is on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.dns.dnssec-disabled","slug":"dns-dnssec-disabled","area":"cloud","category":"dns","title":"DNSSEC is off for a public zone","severity":"medium","providers":["gcp"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when DNSSEC is off for a public zone.","why":"Without DNSSEC, resolvers cannot tell a forged answer for the zone from a real one, so traffic can be redirected by cache poisoning.","fix":"Enable DNSSEC on the managed zone.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"3.3","title":"DNSSEC is enabled for Cloud DNS"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.dns.dnssec-rsasha1-ksk","slug":"dns-dnssec-rsasha1-ksk","area":"cloud","category":"dns","title":"The zone's key-signing key uses RSASHA1","severity":"medium","providers":["gcp"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when the zone's key-signing key uses RSASHA1.","why":"RSASHA1 relies on SHA-1, which is broken for collision resistance, so signatures made with it are weak evidence of authenticity.","fix":"Re-key the zone's key-signing key with a stronger algorithm.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"3.4","title":"RSASHA1 is not used for DNSSEC key-signing keys"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.dns.dnssec-rsasha1-zsk","slug":"dns-dnssec-rsasha1-zsk","area":"cloud","category":"dns","title":"The zone's zone-signing key uses RSASHA1","severity":"medium","providers":["gcp"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when the zone's zone-signing key uses RSASHA1.","why":"RSASHA1 relies on SHA-1, which is broken for collision resistance, so signatures made with it are weak evidence of authenticity.","fix":"Re-key the zone's zone-signing key with a stronger algorithm.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"3.5","title":"RSASHA1 is not used for DNSSEC zone-signing keys"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.function.admin-identity","slug":"function-admin-identity","area":"cloud","category":"function","title":"The function runs as an identity with administrative rights","severity":"high","providers":["aws","azure","gcp"],"targets":["serverless function"],"what":"Reads every serverless function in each connected cloud account and reports one when the function runs as an identity with administrative rights.","why":"Code injected into the function, or a vulnerable dependency it loads, acts with the identity's rights over the whole account.","fix":"Run the function as a dedicated identity granted only what it needs: a Lambda execution role without administrator policies, a service account without Owner or Editor, a managed identity without Owner or User Access Administrator.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.function.deprecated-runtime","slug":"function-deprecated-runtime","area":"cloud","category":"function","title":"The function runs on a deprecated runtime","severity":"medium","providers":["aws","azure","gcp"],"targets":["serverless function"],"what":"Reads every serverless function in each connected cloud account and reports one when the function runs on a deprecated runtime.","why":"A deprecated runtime no longer receives security patches from the provider.","fix":"Move the function to a supported runtime version.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.function.http-allowed","slug":"function-http-allowed","area":"cloud","category":"function","title":"The function accepts plain HTTP","severity":"medium","providers":["azure","gcp"],"targets":["serverless function"],"what":"Reads every serverless function in each connected cloud account and reports one when the function accepts plain HTTP.","why":"Requests and responses to an HTTP endpoint that also serves plain HTTP can be read and altered in transit.","fix":"Turn on HTTPS Only for an Azure function app; deploy a Cloud Function with the secure-always security level.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"9.2","title":"Apps redirect HTTP to HTTPS"}],"evidence":[{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.function.outdated-tls","slug":"function-outdated-tls","area":"cloud","category":"function","title":"The function app accepts TLS below 1.2","severity":"medium","providers":["azure"],"targets":["serverless function"],"what":"Reads every serverless function in each connected cloud account and reports one when the function app accepts TLS below 1.2.","why":"The function app's minimum inbound TLS version is 1.0 or 1.1, which are deprecated and can be downgraded to.","fix":"Set the function app's minimum TLS version to 1.2 or later.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"9.3","title":"Apps require TLS 1.2 or later"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.function.public-url","slug":"function-public-url","area":"cloud","category":"function","title":"The function has a URL anyone can invoke","severity":"high","providers":["aws","azure","gcp"],"targets":["serverless function"],"what":"Reads every serverless function in each connected cloud account and reports one when the function has a URL anyone can invoke.","why":"An unauthenticated function URL or HTTP trigger runs the function for any caller on the internet, with the function's own permissions.","fix":"Require authentication to invoke it: set a Lambda function URL's auth type to AWS_IAM, remove allUsers and allAuthenticatedUsers from a Cloud Function's invoker role, or give an Azure function's HTTP trigger a key or App Service authentication.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.function.secret-in-code","slug":"function-secret-in-code","area":"cloud","category":"function","title":"The function's deployment package contains a credential","severity":"high","providers":["aws"],"targets":["serverless function"],"what":"Reads every serverless function in each connected cloud account and reports one when the function's deployment package contains a credential.","why":"A file in the function's zip package matches a secret detector. Anyone who can read the function's code, through the console or lambda:GetFunction, can read the credential.","fix":"Rotate the credential, remove it from the code and redeploy, and read it at run time from Secrets Manager or Parameter Store instead.","evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-19"},{"id":"cloud.function.secret-in-environment","slug":"function-secret-in-environment","area":"cloud","category":"function","title":"A function stores a secret in its environment variables","severity":"high","providers":["aws","azure","gcp"],"targets":["serverless function"],"what":"Reads every serverless function in each connected cloud account and reports one when a function stores a secret in its environment variables.","why":"Environment variables are shown in the console and returned by the read API to anyone allowed to view the function, so the secret is not confined to the code that needs it.","fix":"Move the value to a secret manager and reference it from the function.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"1.17","title":"Function secrets are not kept in environment variables"},{"framework":"cis-azure-foundations-2.1.0","control":"9.10","title":"Key Vault stores app secrets"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.iam.api-key-stale","slug":"iam-api-key-stale","area":"cloud","category":"iam","title":"An API key has not been rotated in 90 days","severity":"medium","providers":["gcp"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when an API key has not been rotated in 90 days.","why":"A long-lived key has had longer to be copied into code, logs and tickets, and it keeps working wherever it was copied.","fix":"Regenerate the API key and retire the old one.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"1.15","title":"API keys rotate within 90 days"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.iam.api-key-unrestricted","slug":"iam-api-key-unrestricted","area":"cloud","category":"iam","title":"An API key is not restricted to particular hosts, apps or APIs","severity":"medium","providers":["gcp"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when an API key is not restricted to particular hosts, apps or APIs.","why":"An unrestricted key works from any host, any app and against every enabled API, so whoever finds it can use it anywhere.","fix":"Add application and API restrictions to the key, or delete it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"1.13","title":"API keys are restricted to hosts and apps"},{"framework":"cis-gcp-foundation-3.0.0","control":"1.14","title":"API keys are restricted to the APIs they need"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.iam.cloudshell-full-access","slug":"iam-cloudshell-full-access","area":"cloud","category":"iam","title":"The CloudShell full-access policy is attached","severity":"low","providers":["aws"],"targets":["iam policy"],"what":"Reads every iam policy in each connected cloud account and reports one when the CloudShell full-access policy is attached.","why":"Full CloudShell access gives a shell with file upload and download inside the account, a simple path for moving data in or out.","fix":"Detach AWSCloudShellFullAccess and grant a narrower CloudShell policy where needed.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.22","title":"CloudShell full access is restricted"}],"evidence":[{"scope":"aws","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.iam.console-user-no-mfa","slug":"iam-console-user-no-mfa","area":"cloud","category":"iam","title":"A user can sign in to the console without a second factor","severity":"high","providers":["aws"],"targets":["iam principal"],"what":"Reads every iam principal in each connected cloud account and reports one when a user can sign in to the console without a second factor.","why":"A console password alone can be phished, guessed or reused from another breach, and it then opens the account with that user's rights.","fix":"Enrol an MFA device for every user with a console password, or remove the password.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.10","title":"MFA is enabled for every user with a console password"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.console-user-unused-key","slug":"iam-console-user-unused-key","area":"cloud","category":"iam","title":"A console user holds an active access key that has never been used","severity":"low","providers":["aws"],"targets":["iam principal"],"what":"Reads every iam principal in each connected cloud account and reports one when a console user holds an active access key that has never been used.","why":"A key issued at user creation \"just in case\" is a long-lived credential nobody depends on, so its theft would go unnoticed.","fix":"Delete access keys that were created with the user and never used; create keys only when a workload needs one.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.11","title":"Access keys are not created during initial user setup"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.iam.credential-unused-45-days","slug":"iam-credential-unused-45-days","area":"cloud","category":"iam","title":"A credential has not been used for more than 45 days","severity":"medium","providers":["aws"],"targets":["iam principal"],"what":"Reads every iam principal in each connected cloud account and reports one when a credential has not been used for more than 45 days.","why":"A credential nobody uses is one nobody would notice being used by someone else.","fix":"Disable or remove passwords and access keys unused for 45 days.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.12","title":"Credentials unused for 45 days are disabled"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.custom-owner-role","slug":"iam-custom-owner-role","area":"cloud","category":"iam","title":"A custom role grants every action on the subscription","severity":"medium","providers":["azure"],"targets":["iam policy"],"what":"Reads every iam policy in each connected cloud account and reports one when a custom role grants every action on the subscription.","why":"A custom role allowing every action is owner access that does not show up when you review who holds the built-in Owner role.","fix":"Delete custom roles whose actions are \"*\" at subscription scope and use built-in roles.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"1.22","title":"No custom subscription administrator roles exist"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-18"},{"id":"cloud.iam.expired-certificate","slug":"iam-expired-certificate","area":"cloud","category":"iam","title":"Expired TLS certificates are stored in IAM","severity":"medium","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when expired TLS certificates are stored in IAM.","why":"An expired certificate left in IAM can be attached to a load balancer by mistake, and serves no purpose that justifies keeping it.","fix":"Delete expired server certificates from IAM.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.19","title":"Expired TLS certificates are removed from IAM"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.multiple-active-keys","slug":"iam-multiple-active-keys","area":"cloud","category":"iam","title":"A user holds more than one active access key","severity":"low","providers":["aws"],"targets":["iam principal"],"what":"Reads every iam principal in each connected cloud account and reports one when a user holds more than one active access key.","why":"Each extra active key is one more copy of the user's rights to leak, and it is unclear which one each workload depends on.","fix":"Deactivate and delete all but one access key per user.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.13","title":"A user has at most one active access key"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.no-access-analyzer","slug":"iam-no-access-analyzer","area":"cloud","category":"iam","title":"IAM Access Analyzer is not enabled in every region","severity":"medium","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when IAM Access Analyzer is not enabled in every region.","why":"Access Analyzer reports resources shared outside the account or organization; in a region without it, such sharing goes unreported.","fix":"Create an IAM Access Analyzer in every region the account uses.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.20","title":"IAM Access Analyzer is enabled in all regions"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.no-essential-contacts","slug":"iam-no-essential-contacts","area":"cloud","category":"iam","title":"No essential contacts are configured","severity":"low","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no essential contacts are configured.","why":"Without essential contacts, Google's security and abuse notifications go to whoever happens to hold project roles, or to nobody who acts on them.","fix":"Configure Essential Contacts for security and technical notifications.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"1.16","title":"Essential contacts are configured"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.iam.no-mfa","slug":"iam-no-mfa","area":"cloud","category":"iam","title":"Privileged identity has no second factor","severity":"high","providers":["aws","azure","gcp"],"targets":["iam principal"],"what":"Reads every iam principal in each connected cloud account and reports one when privileged identity has no second factor.","why":"This identity holds administrative privilege and is protected by a password alone.","fix":"Enrol the identity in multi-factor authentication, or remove its administrative privilege.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-13"},{"id":"cloud.iam.no-support-role","slug":"iam-no-support-role","area":"cloud","category":"iam","title":"No role can manage incidents with AWS Support","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no role can manage incidents with AWS Support.","why":"Without a role for AWS Support, responders in an incident have to borrow broader credentials to open and manage support cases.","fix":"Create a role with the AWSSupportAccess policy attached for your incident responders.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.17","title":"A support role exists for incident management"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.password-min-length","slug":"iam-password-min-length","area":"cloud","category":"iam","title":"The password policy allows passwords shorter than 14 characters","severity":"medium","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when the password policy allows passwords shorter than 14 characters.","why":"Short passwords are guessed or cracked far faster, and length adds more strength than any complexity rule.","fix":"Set the account password policy's minimum length to 14 or more.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.8","title":"Password policy minimum length is 14 or more"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.password-reuse","slug":"iam-password-reuse","area":"cloud","category":"iam","title":"The password policy allows recent passwords to be reused","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when the password policy allows recent passwords to be reused.","why":"Reusing a recent password undoes a forced change, including one made because the old password leaked.","fix":"Set the password policy to prevent reuse of the last 24 passwords.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.9","title":"Password policy prevents reuse"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.privileged-service-identity","slug":"iam-privileged-service-identity","area":"cloud","category":"iam","title":"Service identity holds owner-level privilege","severity":"high","providers":["aws","azure","gcp"],"targets":["iam policy"],"what":"Reads every iam policy in each connected cloud account and reports one when service identity holds owner-level privilege.","why":"A service principal, managed identity or service account is granted owner-level control of the account. Whoever obtains that identity's credential — from a pipeline, a workload or a leaked key — owns the account.","fix":"Replace the grant with a role limited to what the workload does, scoped to the resources it touches.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"1.5","title":"Service accounts hold no admin privileges"}],"evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.iam.root-access-key","slug":"iam-root-access-key","area":"cloud","category":"iam","title":"The root user has an access key","severity":"critical","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when the root user has an access key.","why":"A root access key carries unrestricted, unscopable control of the account and cannot be limited by any policy.","fix":"Delete the root user's access keys and use IAM roles for programmatic access.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.4","title":"No access key exists for the root user"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.iam.root-no-hardware-mfa","slug":"iam-root-no-hardware-mfa","area":"cloud","category":"iam","title":"The root user's second factor is not a hardware device","severity":"medium","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when the root user's second factor is not a hardware device.","why":"A virtual MFA device lives on a phone or laptop that can itself be compromised or cloned, and the root user is the account's highest-value login.","fix":"Replace the root user's virtual MFA device with a hardware one.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.6","title":"Hardware MFA is enabled for the root user"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.root-no-mfa","slug":"iam-root-no-mfa","area":"cloud","category":"iam","title":"The root user has no second factor","severity":"critical","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when the root user has no second factor.","why":"The root user cannot be limited by any policy, so its password alone stands between an attacker and complete control of the account.","fix":"Enable MFA on the root user.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.5","title":"MFA is enabled for the root user"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.root-recently-used","slug":"iam-root-recently-used","area":"cloud","category":"iam","title":"The root user was used in the last 30 days","severity":"medium","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when the root user was used in the last 30 days.","why":"Routine use of the root user exposes its credentials far more often than an emergency-only login, and its actions bypass every permission boundary.","fix":"Stop using the root user for routine work; create administrators in IAM or your identity provider.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.7","title":"The root user is not used for daily tasks"}],"evidence":[{"scope":"aws","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.iam.sa-role-separation","slug":"iam-sa-role-separation","area":"cloud","category":"iam","title":"One member both administers and uses service accounts","severity":"low","providers":["gcp"],"targets":["iam policy"],"what":"Reads every iam policy in each connected cloud account and reports one when one member both administers and uses service accounts.","why":"A member who can both create service accounts and act as them can mint a service account with any rights and then use it.","fix":"Grant Service Account Admin and Service Account User to different members.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"1.8","title":"Service account roles are separated"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.sa-user-role-project-level","slug":"iam-sa-user-role-project-level","area":"cloud","category":"iam","title":"A user can act as every service account in the project","severity":"medium","providers":["gcp"],"targets":["iam policy"],"what":"Reads every iam policy in each connected cloud account and reports one when a user can act as every service account in the project.","why":"Granted at project level, the role lets the user act as every service account in the project, including ones with far more rights than the user.","fix":"Grant Service Account User and Token Creator on individual service accounts, not on the project.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"1.6","title":"Service Account User and Token Creator are not granted at project level"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.stale-key","slug":"iam-stale-key","area":"cloud","category":"iam","title":"Static credential has not been rotated","severity":"medium","providers":["aws","azure","gcp"],"targets":["iam principal"],"what":"Reads every iam principal in each connected cloud account and reports one when static credential has not been rotated.","why":"A long-lived access key older than 90 days is a credential with a wide window of exposure: it has been copied into as many places as it has had time to reach.","fix":"Rotate the key, or replace it with a short-lived role assumption.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.14","title":"Access keys are rotated within 90 days"},{"framework":"cis-gcp-foundation-3.0.0","control":"1.7","title":"User-managed service account keys rotate within 90 days"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.iam.unused-principal","slug":"iam-unused-principal","area":"cloud","category":"iam","title":"Identity has been idle for a long time","severity":"low","providers":["aws","azure","gcp"],"targets":["iam principal"],"what":"Reads every iam principal in each connected cloud account and reports one when identity has been idle for a long time.","why":"This identity has not been used in 90 days. An unused identity keeps its permissions and nobody notices when it is used again.","fix":"Remove the identity, or disable its credentials until it is needed.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-13"},{"id":"cloud.iam.user-direct-policy","slug":"iam-user-direct-policy","area":"cloud","category":"iam","title":"A user is granted permissions directly rather than through a group","severity":"low","providers":["aws"],"targets":["iam principal"],"what":"Reads every iam principal in each connected cloud account and reports one when a user is granted permissions directly rather than through a group.","why":"Permissions attached to individual users are easy to miss in a review and are not removed when someone changes team.","fix":"Detach policies from users and grant them through groups.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.15","title":"Users receive permissions only through groups"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.iam.user-managed-sa-key","slug":"iam-user-managed-sa-key","area":"cloud","category":"iam","title":"A service account has a user-managed key","severity":"medium","providers":["gcp"],"targets":["iam principal"],"what":"Reads every iam principal in each connected cloud account and reports one when a service account has a user-managed key.","why":"A downloaded service account key is a long-lived credential that works from anywhere until it is deleted, and Google cannot tell where copies went.","fix":"Delete user-managed service account keys and use workload identity or attached service accounts.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"1.4","title":"Service accounts have only Google-managed keys"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.iam.wildcard-policy","slug":"iam-wildcard-policy","area":"cloud","category":"iam","title":"Policy grants every action","severity":"high","providers":["aws","azure","gcp"],"targets":["iam policy"],"what":"Reads every iam policy in each connected cloud account and reports one when policy grants every action.","why":"This policy grants Action \"*\", so any principal holding it can do anything the account permits, including granting itself more.","fix":"Replace the wildcard with the specific actions the principal needs.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"1.16","title":"No policy grants full administrative \"*:*\" privileges"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-29"},{"id":"cloud.iam.wildcard-principal","slug":"iam-wildcard-principal","area":"cloud","category":"iam","title":"Access is granted to any principal","severity":"critical","providers":["aws","azure","gcp"],"targets":["iam policy","iam principal"],"what":"Reads every iam policy and iam principal in each connected cloud account and reports one when access is granted to any principal.","why":"The principal here is an unconstrained wildcard, so what it protects is reachable by identities outside the account. On a role's trust policy this means any AWS account may assume the role.","fix":"Name the principals that should have access, or add a condition that constrains the wildcard.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-13"},{"id":"cloud.kms.key-no-expiry","slug":"kms-key-no-expiry","area":"cloud","category":"kms","title":"A key vault key has no expiration date","severity":"low","providers":["azure"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when a key vault key has no expiration date.","why":"A key that never expires keeps working forever, including in places it was copied to and forgotten.","fix":"Set an expiration date on every key.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"8.1","title":"Keys in RBAC vaults have expiration dates"},{"framework":"cis-azure-foundations-2.1.0","control":"8.2","title":"Keys in access-policy vaults have expiration dates"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.kms.key-rotation-disabled","slug":"kms-key-rotation-disabled","area":"cloud","category":"kms","title":"A customer-managed key does not rotate automatically","severity":"medium","providers":["aws","azure","gcp"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when a customer-managed key does not rotate automatically.","why":"Without rotation, all data the key ever protected stays decryptable with one key version, so a compromise exposes everything at once.","fix":"Enable automatic rotation on the key (at most every 90 days on GCP, yearly on AWS).","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"3.6","title":"Customer-managed symmetric KMS keys rotate"},{"framework":"cis-gcp-foundation-3.0.0","control":"1.10","title":"KMS keys rotate within 90 days"},{"framework":"cis-azure-foundations-2.1.0","control":"8.8","title":"Automatic key rotation is enabled"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.kms.publicly-accessible","slug":"kms-publicly-accessible","area":"cloud","category":"kms","title":"A key or secret is accessible to anyone","severity":"high","providers":["gcp"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when a key or secret is accessible to anyone.","why":"A key or secret readable by anyone lets anyone decrypt or use what it protects.","fix":"Remove allUsers and allAuthenticatedUsers from the key's IAM policy.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"1.9","title":"KMS keys are not publicly accessible"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.kms.role-separation","slug":"kms-role-separation","area":"cloud","category":"kms","title":"One member both administers keys and encrypts or decrypts with them","severity":"low","providers":["gcp"],"targets":["iam policy"],"what":"Reads every iam policy in each connected cloud account and reports one when one member both administers keys and encrypts or decrypts with them.","why":"A member who both manages a key and uses it can change its policy and decrypt with it, so no second person ever reviews access to the data.","fix":"Grant Cloud KMS Admin and the CryptoKey Encrypter/Decrypter roles to different members.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"1.11","title":"KMS roles are separated"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.kubernetes.endpoint-open-to-all","slug":"kubernetes-endpoint-open-to-all","area":"cloud","category":"kubernetes","title":"The cluster's public endpoint admits every address","severity":"high","providers":["aws","azure","gcp"],"targets":["kubernetes cluster"],"what":"Reads every kubernetes cluster in each connected cloud account and reports one when the cluster's public endpoint admits every address.","why":"An API server reachable from any address can be attacked by anyone with a stolen credential or an exploit, wherever they are.","fix":"Restrict the public endpoint to named CIDR ranges, or disable it.","mappings":[{"framework":"cis-eks-1.5.0","control":"5.4.1","title":"Access to the control plane endpoint is restricted"},{"framework":"cis-aks-1.4.0","control":"5.4.1","title":"Access to the control plane endpoint is restricted"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.kubernetes.legacy-abac","slug":"kubernetes-legacy-abac","area":"cloud","category":"kubernetes","title":"The cluster authorizes with legacy ABAC","severity":"high","providers":["gcp"],"targets":["kubernetes cluster"],"what":"Reads every kubernetes cluster in each connected cloud account and reports one when the cluster authorizes with legacy ABAC.","why":"Legacy ABAC grants permissions outside RBAC and is far broader than most clusters intend.","fix":"Disable legacy authorization on the cluster and grant access with Kubernetes RBAC.","evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.kubernetes.no-control-plane-logging","slug":"kubernetes-no-control-plane-logging","area":"cloud","category":"kubernetes","title":"Control plane audit logging is off","severity":"medium","providers":["aws","azure","gcp"],"targets":["kubernetes cluster"],"what":"Reads every kubernetes cluster in each connected cloud account and reports one when control plane audit logging is off.","why":"Without control plane audit logs there is no record of who created, changed or read what in the cluster.","fix":"Enable the cluster's API server audit logs.","mappings":[{"framework":"cis-eks-1.5.0","control":"2.1.1","title":"Control plane audit logs are enabled"},{"framework":"cis-gke-1.5.0","control":"5.7.1","title":"Cloud Logging and Monitoring are enabled"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.kubernetes.no-network-policy","slug":"kubernetes-no-network-policy","area":"cloud","category":"kubernetes","title":"Network policy enforcement is off","severity":"low","providers":["aws","azure","gcp"],"targets":["kubernetes cluster"],"what":"Reads every kubernetes cluster in each connected cloud account and reports one when network policy enforcement is off.","why":"Without network policy enforcement every pod can reach every other pod, so one compromised workload can reach all of them.","fix":"Enable a network policy provider on the cluster.","mappings":[{"framework":"cis-gke-1.5.0","control":"5.6.7","title":"Network policy is enabled"},{"framework":"cis-aks-1.4.0","control":"5.4.4","title":"Network policy is enabled"}],"evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.kubernetes.no-workload-identity","slug":"kubernetes-no-workload-identity","area":"cloud","category":"kubernetes","title":"Workload Identity is not enabled on the cluster","severity":"medium","providers":["gcp"],"targets":["kubernetes cluster"],"what":"Reads every kubernetes cluster in each connected cloud account and reports one when workload Identity is not enabled on the cluster.","why":"Without it, pods use the node's service account and every workload on a node shares its permissions.","fix":"Enable Workload Identity and bind workloads to dedicated Google service accounts.","evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.kubernetes.public-api-server","slug":"kubernetes-public-api-server","area":"cloud","category":"kubernetes","title":"Kubernetes API server is publicly reachable","severity":"high","providers":["aws","azure","gcp"],"targets":["kubernetes cluster"],"what":"Reads every kubernetes cluster in each connected cloud account and reports one when Kubernetes API server is publicly reachable.","why":"The cluster's control plane endpoint accepts connections from the internet. An authentication weakness anywhere becomes remotely exploitable.","fix":"Make the API server endpoint private, or restrict it to known address ranges.","mappings":[{"framework":"cis-eks-1.5.0","control":"5.4.2","title":"The cluster has a private endpoint and no public access"},{"framework":"cis-gke-1.5.0","control":"5.6.4","title":"The control plane endpoint is private"},{"framework":"cis-aks-1.4.0","control":"5.4.2","title":"The cluster has a private endpoint and no public access"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.kubernetes.public-nodes","slug":"kubernetes-public-nodes","area":"cloud","category":"kubernetes","title":"Cluster nodes have public IP addresses","severity":"medium","providers":["aws","azure","gcp"],"targets":["kubernetes cluster"],"what":"Reads every kubernetes cluster in each connected cloud account and reports one when cluster nodes have public IP addresses.","why":"Nodes with public addresses expose the kubelet and every node port to the internet, wherever the firewall allows.","fix":"Run nodes in private subnets with no public addresses.","mappings":[{"framework":"cis-eks-1.5.0","control":"5.4.3","title":"Nodes are private"},{"framework":"cis-gke-1.5.0","control":"5.6.5","title":"Nodes are private"},{"framework":"cis-aks-1.4.0","control":"5.4.3","title":"Nodes are private"}],"evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.kubernetes.secrets-not-encrypted","slug":"kubernetes-secrets-not-encrypted","area":"cloud","category":"kubernetes","title":"Kubernetes secrets are not envelope-encrypted with a managed key","severity":"medium","providers":["aws","azure","gcp"],"targets":["kubernetes cluster"],"what":"Reads every kubernetes cluster in each connected cloud account and reports one when Kubernetes secrets are not envelope-encrypted with a managed key.","why":"Without envelope encryption, Kubernetes secrets sit in etcd protected only by the platform's disk encryption, and their key is not one you control or can revoke.","fix":"Enable secrets encryption with a KMS key.","mappings":[{"framework":"cis-eks-1.5.0","control":"5.3.1","title":"Kubernetes secrets are encrypted with KMS keys"},{"framework":"cis-gke-1.5.0","control":"5.3.1","title":"Kubernetes secrets are encrypted with Cloud KMS keys"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.loadbalancer.no-access-logging","slug":"loadbalancer-no-access-logging","area":"cloud","category":"loadbalancer","title":"Load balancer access logging is off","severity":"low","providers":["aws"],"targets":["load balancer"],"what":"Reads every load balancer in each connected cloud account and reports one when load balancer access logging is off.","why":"Without access logs there is no record of who sent which requests to the services behind the load balancer.","fix":"Enable access logs on the load balancer and deliver them to a bucket you retain.","evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.loadbalancer.outdated-tls","slug":"loadbalancer-outdated-tls","area":"cloud","category":"loadbalancer","title":"The load balancer accepts TLS below 1.2, or no TLS","severity":"medium","providers":["aws"],"targets":["load balancer"],"what":"Reads every load balancer in each connected cloud account and reports one when the load balancer accepts TLS below 1.2, or no TLS.","why":"A listener's security policy admits TLS 1.0 or 1.1, or the load balancer has no TLS listener at all, so clients can be downgraded or traffic crosses the network in clear text.","fix":"Use a TLS 1.2 or TLS 1.3 security policy (for example ELBSecurityPolicy-TLS13-1-2-2021-06) on every HTTPS or TLS listener, and redirect plain HTTP to HTTPS.","evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.logging.activity-log-categories","slug":"logging-activity-log-categories","area":"cloud","category":"logging","title":"The activity log export omits required categories","severity":"medium","providers":["azure"],"targets":["audit log configuration"],"what":"Reads every audit log configuration in each connected cloud account and reports one when the activity log export omits required categories.","why":"A category left out of the export is not kept, so actions in it cannot be reviewed later.","fix":"Include Administrative, Alert, Policy and Security categories in the diagnostic setting.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.1.2","title":"The activity log export captures the required categories"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.logging.data-access-audit","slug":"logging-data-access-audit","area":"cloud","category":"logging","title":"Data access audit logs are not enabled for all services","severity":"medium","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when data access audit logs are not enabled for all services.","why":"Without data access logs, reads of your data are not recorded, so you cannot tell what an intruder or an insider looked at.","fix":"Enable ADMIN_READ, DATA_READ and DATA_WRITE audit logs for allServices with no exempted members.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.1","title":"Cloud audit logging is configured for all services"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.logging.no-account-audit-trail","slug":"logging-no-account-audit-trail","area":"cloud","category":"logging","title":"Account-wide audit logging is not configured","severity":"high","providers":["aws","azure","gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when account-wide audit logging is not configured.","why":"Without an account-wide audit trail, a change made in an unwatched region or by a compromised identity leaves no record to investigate.","fix":"Record management events for every region to durable storage: a multi-region CloudTrail trail, an activity-log diagnostic setting, or a project log sink.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"3.1","title":"CloudTrail is enabled in all regions"},{"framework":"cis-azure-foundations-2.1.0","control":"5.1.1","title":"A diagnostic setting exports the subscription activity log"},{"framework":"cis-gcp-foundation-3.0.0","control":"2.2","title":"A sink exports all log entries"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.logging.no-configuration-recorder","slug":"logging-no-configuration-recorder","area":"cloud","category":"logging","title":"Configuration history is not recorded in every region","severity":"medium","providers":["aws","azure","gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when configuration history is not recorded in every region.","why":"Without configuration history you cannot see what a resource looked like before a change, or when an exposure began.","fix":"Enable AWS Config recording in every region, or Cloud Asset Inventory for the project.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"3.3","title":"AWS Config is enabled in all regions"},{"framework":"cis-gcp-foundation-3.0.0","control":"2.13","title":"Cloud Asset Inventory is enabled"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.logging.sink-no-retention-lock","slug":"logging-sink-no-retention-lock","area":"cloud","category":"logging","title":"The bucket receiving exported logs has no locked retention policy","severity":"low","providers":["gcp"],"targets":["audit log configuration"],"what":"Reads every audit log configuration in each connected cloud account and reports one when the bucket receiving exported logs has no locked retention policy.","why":"Without a locked retention policy, someone with access to the bucket can delete the logs that would show what they did.","fix":"Set a retention policy on the log bucket and lock it.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.3","title":"Log export buckets have locked retention"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.logging.trail-bucket-no-access-logging","slug":"logging-trail-bucket-no-access-logging","area":"cloud","category":"logging","title":"The bucket holding audit logs does not log access to itself","severity":"low","providers":["aws"],"targets":["audit log configuration"],"what":"Reads every audit log configuration in each connected cloud account and reports one when the bucket holding audit logs does not log access to itself.","why":"Without access logs on the audit bucket, nobody can tell who read or tried to delete the audit logs themselves.","fix":"Enable server access logging on the audit log bucket.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"3.4","title":"Access logging is enabled on the CloudTrail bucket"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.logging.trail-bucket-public","slug":"logging-trail-bucket-public","area":"cloud","category":"logging","title":"The bucket holding audit logs is publicly accessible","severity":"critical","providers":["aws","azure","gcp"],"targets":["audit log configuration"],"what":"Reads every audit log configuration in each connected cloud account and reports one when the bucket holding audit logs is publicly accessible.","why":"Public audit logs disclose the account's activity and let anyone confirm what an attacker's actions left behind.","fix":"Block public access on the audit log bucket and remove public grants.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-29"},{"id":"cloud.logging.trail-no-validation","slug":"logging-trail-no-validation","area":"cloud","category":"logging","title":"Audit log file validation is off","severity":"medium","providers":["aws"],"targets":["audit log configuration"],"what":"Reads every audit log configuration in each connected cloud account and reports one when audit log file validation is off.","why":"Without file validation, a log file changed or deleted after delivery cannot be detected.","fix":"Enable log file validation on the trail.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"3.2","title":"CloudTrail log file validation is enabled"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.logging.trail-not-kms-encrypted","slug":"logging-trail-not-kms-encrypted","area":"cloud","category":"logging","title":"Audit logs are not encrypted with a customer-managed key","severity":"medium","providers":["aws","azure","gcp"],"targets":["audit log configuration"],"what":"Reads every audit log configuration in each connected cloud account and reports one when audit logs are not encrypted with a customer-managed key.","why":"With a customer-managed key, reading the logs needs permission on the key as well as the bucket, and every decryption is itself logged.","fix":"Encrypt the trail or log storage with a customer-managed KMS key.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"3.5","title":"CloudTrail logs are encrypted with KMS keys"},{"framework":"cis-azure-foundations-2.1.0","control":"5.1.3","title":"Activity log storage is encrypted with a customer-managed key"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.messaging.unencrypted","slug":"messaging-unencrypted","area":"cloud","category":"messaging","title":"The queue or topic is not encrypted at rest","severity":"medium","providers":["aws"],"targets":["message queue or topic"],"what":"Reads every message queue or topic in each connected cloud account and reports one when the queue or topic is not encrypted at rest.","why":"Messages at rest in the queue or topic are readable by anyone who obtains the underlying storage.","fix":"Enable server-side encryption: SSE-SQS or a KMS key for a queue, a KMS key for a topic.","evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.bucket-policy-changes","slug":"monitoring-aws-bucket-policy-changes","area":"cloud","category":"monitoring","title":"No alert on S3 bucket policy changes","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on S3 bucket policy changes.","why":"A changed bucket policy is how data gets made public or shared with another account; without an alert it is found only when someone looks.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.8","title":"S3 bucket policy changes are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.cmk-disable-or-deletion","slug":"monitoring-aws-cmk-disable-or-deletion","area":"cloud","category":"monitoring","title":"No alert on disabling or scheduling deletion of KMS keys","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on disabling or scheduling deletion of KMS keys.","why":"Disabling or deleting a key makes every piece of data encrypted with it unreadable, which is a ransom and sabotage technique.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.7","title":"Disabling or scheduled deletion of KMS keys is alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.config-changes","slug":"monitoring-aws-config-changes","area":"cloud","category":"monitoring","title":"No alert on AWS Config configuration changes","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on AWS Config configuration changes.","why":"Stopping or changing AWS Config removes the record of resource changes, which an intruder does before making changes.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.9","title":"AWS Config changes are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.console-auth-failures","slug":"monitoring-aws-console-auth-failures","area":"cloud","category":"monitoring","title":"No alert on console authentication failures","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on console authentication failures.","why":"Repeated failed console sign-ins are the visible part of a password-guessing attack.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.6","title":"Console authentication failures are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.console-signin-without-mfa","slug":"monitoring-aws-console-signin-without-mfa","area":"cloud","category":"monitoring","title":"No alert on console sign-in without MFA","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on console sign-in without MFA.","why":"A console sign-in without a second factor is either a gap in MFA enrolment or a stolen password in use.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.2","title":"Console sign-in without MFA is alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.iam-policy-changes","slug":"monitoring-aws-iam-policy-changes","area":"cloud","category":"monitoring","title":"No alert on IAM policy changes","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on IAM policy changes.","why":"A policy change is how an intruder grants themselves more rights; without an alert it is found only in a later review.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.4","title":"IAM policy changes are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.nacl-changes","slug":"monitoring-aws-nacl-changes","area":"cloud","category":"monitoring","title":"No alert on network ACL changes","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on network ACL changes.","why":"A changed network ACL can open a subnet to the internet with nobody aware of it.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.11","title":"Network ACL changes are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.network-gateway-changes","slug":"monitoring-aws-network-gateway-changes","area":"cloud","category":"monitoring","title":"No alert on network gateway changes","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on network gateway changes.","why":"A new or changed gateway can open a path between a private network and the internet.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.12","title":"Network gateway changes are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.organizations-changes","slug":"monitoring-aws-organizations-changes","area":"cloud","category":"monitoring","title":"No alert on AWS Organizations changes","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on AWS Organizations changes.","why":"Changes to the organization, such as an account leaving it or a policy detached, affect every account in it.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.15","title":"AWS Organizations changes are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.root-usage","slug":"monitoring-aws-root-usage","area":"cloud","category":"monitoring","title":"No alert on use of the root user","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on use of the root user.","why":"The root user is meant for rare emergencies, so any use of it is worth someone's attention at once.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.3","title":"Root user use is alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.route-table-changes","slug":"monitoring-aws-route-table-changes","area":"cloud","category":"monitoring","title":"No alert on route table changes","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on route table changes.","why":"A changed route can send traffic through an attacker-controlled host or out to the internet.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.13","title":"Route table changes are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.security-group-changes","slug":"monitoring-aws-security-group-changes","area":"cloud","category":"monitoring","title":"No alert on security group changes","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on security group changes.","why":"A changed security group can expose a port to the internet with nobody aware of it.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.10","title":"Security group changes are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.trail-changes","slug":"monitoring-aws-trail-changes","area":"cloud","category":"monitoring","title":"No alert on CloudTrail configuration changes","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on CloudTrail configuration changes.","why":"Stopping or changing CloudTrail removes the audit record, which an intruder does before anything else.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.5","title":"CloudTrail configuration changes are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.unauthorized-api-calls","slug":"monitoring-aws-unauthorized-api-calls","area":"cloud","category":"monitoring","title":"No alert on unauthorized API calls","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on unauthorized API calls.","why":"Bursts of denied API calls are what probing with a stolen or over-scoped credential looks like.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.1","title":"Unauthorized API calls are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.aws.vpc-changes","slug":"monitoring-aws-vpc-changes","area":"cloud","category":"monitoring","title":"No alert on VPC changes","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on VPC changes.","why":"Changes to a VPC, such as new peering, alter which networks can reach each other.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.14","title":"VPC changes are alerted on"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.azure.create-policy-assignment","slug":"monitoring-azure-create-policy-assignment","area":"cloud","category":"monitoring","title":"No alert on policy assignment creation","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on policy assignment creation.","why":"A new policy assignment changes what is allowed or enforced across a scope, which should never happen unseen.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.2.1","title":"Policy assignment creation is alerted on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.azure.delete-nsg","slug":"monitoring-azure-delete-nsg","area":"cloud","category":"monitoring","title":"No alert on network security group deletion","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on network security group deletion.","why":"Deleting a network security group removes the traffic rules from everything it protected.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.2.4","title":"Network security group deletion is alerted on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.azure.delete-policy-assignment","slug":"monitoring-azure-delete-policy-assignment","area":"cloud","category":"monitoring","title":"No alert on policy assignment deletion","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on policy assignment deletion.","why":"Removing a policy assignment can silently switch off a guardrail across a whole scope.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.2.2","title":"Policy assignment deletion is alerted on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.azure.delete-public-ip","slug":"monitoring-azure-delete-public-ip","area":"cloud","category":"monitoring","title":"No alert on public IP address deletion","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on public IP address deletion.","why":"Deleting a public IP address can break a service or release an address that DNS records still point to.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.2.10","title":"Public IP address deletion is alerted on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.azure.delete-security-solution","slug":"monitoring-azure-delete-security-solution","area":"cloud","category":"monitoring","title":"No alert on security solution deletion","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on security solution deletion.","why":"Deleting a security solution removes protection or monitoring, which an intruder does before acting.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.2.6","title":"Security solution deletion is alerted on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.azure.delete-sql-firewall-rule","slug":"monitoring-azure-delete-sql-firewall-rule","area":"cloud","category":"monitoring","title":"No alert on SQL server firewall rule deletion","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on SQL server firewall rule deletion.","why":"Changes to SQL firewall rules change who can reach the database, which should never happen unseen.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.2.8","title":"SQL firewall rule deletion is alerted on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.azure.write-nsg","slug":"monitoring-azure-write-nsg","area":"cloud","category":"monitoring","title":"No alert on network security group creation or update","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on network security group creation or update.","why":"A created or changed network security group can expose a port to the internet with nobody aware of it.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.2.3","title":"Network security group writes are alerted on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.azure.write-public-ip","slug":"monitoring-azure-write-public-ip","area":"cloud","category":"monitoring","title":"No alert on public IP address creation or update","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on public IP address creation or update.","why":"A new public IP address makes a resource reachable from the internet.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.2.9","title":"Public IP address writes are alerted on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.azure.write-security-solution","slug":"monitoring-azure-write-security-solution","area":"cloud","category":"monitoring","title":"No alert on security solution creation or update","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on security solution creation or update.","why":"A changed security solution may no longer protect or monitor what it did.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.2.5","title":"Security solution writes are alerted on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.azure.write-sql-firewall-rule","slug":"monitoring-azure-write-sql-firewall-rule","area":"cloud","category":"monitoring","title":"No alert on SQL server firewall rule creation or update","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on SQL server firewall rule creation or update.","why":"A new or widened SQL firewall rule can open the database to addresses that should not reach it.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.2.7","title":"SQL firewall rule writes are alerted on"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.gcp.audit-config-changes","slug":"monitoring-gcp-audit-config-changes","area":"cloud","category":"monitoring","title":"No alert on audit configuration changes","severity":"low","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on audit configuration changes.","why":"Changing audit configuration can stop recording the very actions an intruder is about to take.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.5","title":"Audit configuration changes are alerted on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.gcp.custom-role-changes","slug":"monitoring-gcp-custom-role-changes","area":"cloud","category":"monitoring","title":"No alert on custom role changes","severity":"low","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on custom role changes.","why":"A changed custom role silently changes the rights of everyone who holds it.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.6","title":"Custom role changes are alerted on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.gcp.firewall-changes","slug":"monitoring-gcp-firewall-changes","area":"cloud","category":"monitoring","title":"No alert on VPC firewall rule changes","severity":"low","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on VPC firewall rule changes.","why":"A changed firewall rule can expose a port to the internet with nobody aware of it.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.7","title":"VPC firewall rule changes are alerted on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.gcp.network-changes","slug":"monitoring-gcp-network-changes","area":"cloud","category":"monitoring","title":"No alert on VPC network changes","severity":"low","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on VPC network changes.","why":"Changes to a VPC network, such as new peering, alter which networks can reach each other.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.9","title":"VPC network changes are alerted on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.gcp.ownership-changes","slug":"monitoring-gcp-ownership-changes","area":"cloud","category":"monitoring","title":"No alert on project ownership changes","severity":"low","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on project ownership changes.","why":"A new project owner has full control of the project, so the change needs to be seen when it happens.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.4","title":"Project ownership changes are alerted on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.gcp.route-changes","slug":"monitoring-gcp-route-changes","area":"cloud","category":"monitoring","title":"No alert on VPC route changes","severity":"low","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on VPC route changes.","why":"A changed route can send traffic through an attacker-controlled host or out to the internet.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.8","title":"VPC route changes are alerted on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.gcp.sql-config-changes","slug":"monitoring-gcp-sql-config-changes","area":"cloud","category":"monitoring","title":"No alert on Cloud SQL configuration changes","severity":"low","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on Cloud SQL configuration changes.","why":"A Cloud SQL configuration change can open the instance to new networks or turn off its backups.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.11","title":"Cloud SQL configuration changes are alerted on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.gcp.storage-iam-changes","slug":"monitoring-gcp-storage-iam-changes","area":"cloud","category":"monitoring","title":"No alert on Cloud Storage IAM changes","severity":"low","providers":["gcp"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no alert on Cloud Storage IAM changes.","why":"A changed bucket permission is how data gets made public or shared outside the project.","fix":"Create a log-based metric for this event and an alert on it that notifies a monitored channel.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.10","title":"Cloud Storage IAM changes are alerted on"}],"evidence":[{"scope":"gcp","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.monitoring.no-application-insights","slug":"monitoring-no-application-insights","area":"cloud","category":"monitoring","title":"No Application Insights resource exists in the subscription","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when no Application Insights resource exists in the subscription.","why":"Without application telemetry, failures and attack traffic at the application layer leave no record to investigate.","fix":"Create an Application Insights resource and connect your applications to it.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.3.1","title":"Application Insights is configured"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.monitoring.no-guardduty","slug":"monitoring-no-guardduty","area":"cloud","category":"monitoring","title":"GuardDuty is not enabled in every region","severity":"medium","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when GuardDuty is not enabled in every region.","why":"Without a detector a region produces no threat findings: credential misuse, crypto-mining and reconnaissance there go unreported.","fix":"Enable GuardDuty in every region the account uses, or for the whole organization from its delegated administrator.","evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.monitoring.no-security-hub","slug":"monitoring-no-security-hub","area":"cloud","category":"monitoring","title":"AWS Security Hub is not enabled","severity":"low","providers":["aws"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when AWS Security Hub is not enabled.","why":"Without Security Hub, findings from AWS's own detection services are not collected or checked against a baseline in one place.","fix":"Enable Security Hub in the account.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"4.16","title":"Security Hub is enabled"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.network.admin-port-open","slug":"network-admin-port-open","area":"cloud","category":"network","title":"Remote administration is reachable from the internet","severity":"high","providers":["aws","azure","gcp"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when remote administration is reachable from the internet.","why":"A rule admits SSH (22) or RDP (3389) from any address. These are the ports automated credential attacks scan for first, and a login prompt is all that stands behind them.","fix":"Remove the rule, or restrict its source to a bastion or VPN range; reach machines through a managed session service instead of an open port.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"5.2","title":"No security group admits remote administration from 0.0.0.0/0"},{"framework":"cis-aws-foundations-3.0.0","control":"5.3","title":"No security group admits remote administration from ::/0"},{"framework":"cis-azure-foundations-2.1.0","control":"6.1","title":"RDP from the internet is restricted"},{"framework":"cis-azure-foundations-2.1.0","control":"6.2","title":"SSH from the internet is restricted"},{"framework":"cis-gcp-foundation-3.0.0","control":"3.6","title":"SSH is restricted from the internet"},{"framework":"cis-gcp-foundation-3.0.0","control":"3.7","title":"RDP is restricted from the internet"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.network.default-group-allows-traffic","slug":"network-default-group-allows-traffic","area":"cloud","category":"network","title":"The VPC's default security group allows traffic","severity":"medium","providers":["aws"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when the VPC's default security group allows traffic.","why":"Resources launched without a chosen security group land in the default one, so any traffic it allows reaches them unintentionally.","fix":"Remove every rule from the default security group and use purpose-built groups.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"5.4","title":"The default security group restricts all traffic"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.network.default-network","slug":"network-default-network","area":"cloud","category":"network","title":"The project still has its default network","severity":"medium","providers":["gcp"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when the project still has its default network.","why":"The default network comes with broad firewall rules created for convenience, which every instance placed on it inherits.","fix":"Delete the default network and create custom networks with deliberate firewall rules.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"3.1","title":"The default network does not exist"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.network.flow-log-retention","slug":"network-flow-log-retention","area":"cloud","category":"network","title":"Flow logs are kept for less than 90 days","severity":"low","providers":["azure"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when flow logs are kept for less than 90 days.","why":"Flow records deleted within 90 days cannot show which hosts talked to each other during an intrusion found later.","fix":"Set flow log retention to at least 90 days.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"6.5","title":"Flow log retention exceeds 90 days"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.network.http-open-to-internet","slug":"network-http-open-to-internet","area":"cloud","category":"network","title":"A rule admits HTTP(S) from any address to a host","severity":"low","providers":["azure"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when a rule admits HTTP(S) from any address to a host.","why":"A host serving HTTP straight to the internet bypasses the load balancer, web application firewall and TLS settings meant to front it.","fix":"Put internet-facing web traffic behind a gateway or load balancer and restrict direct access.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"6.4","title":"HTTP(S) from the internet is restricted"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.network.legacy-network","slug":"network-legacy-network","area":"cloud","category":"network","title":"The project uses a legacy network","severity":"medium","providers":["gcp"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when the project uses a legacy network.","why":"A legacy network has a single address range and no subnets, so its traffic cannot be segmented or given per-subnet flow logs.","fix":"Migrate workloads to a VPC network and delete the legacy network.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"3.2","title":"Legacy networks do not exist"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.network.nacl-admin-port-open","slug":"network-nacl-admin-port-open","area":"cloud","category":"network","title":"A network ACL admits remote administration from any address","severity":"high","providers":["aws"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when a network ACL admits remote administration from any address.","why":"SSH and RDP open to any address invite constant password-guessing and exploit attempts against every host in the subnet.","fix":"Restrict the ACL's ingress on ports 22 and 3389 to known address ranges.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"5.1","title":"No network ACL admits remote administration from anywhere"}],"evidence":[{"scope":"aws","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.network.no-dns-logging","slug":"network-no-dns-logging","area":"cloud","category":"network","title":"DNS queries on the network are not logged","severity":"low","providers":["gcp"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when DNS queries on the network are not logged.","why":"DNS queries show which domains workloads contact, including command-and-control and exfiltration domains; without logs they leave no trace.","fix":"Attach a DNS policy with logging enabled to the network.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"2.12","title":"Cloud DNS logging is enabled for VPC networks"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.network.no-flow-logs","slug":"network-no-flow-logs","area":"cloud","category":"network","title":"Network flow logging is off","severity":"medium","providers":["aws","azure","gcp"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when network flow logging is off.","why":"Without flow logs there is no record of which addresses connected to which hosts, so lateral movement and exfiltration go unseen.","fix":"Enable flow logs for the VPC, subnet or network security group.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"3.7","title":"VPC flow logging is enabled in all VPCs"},{"framework":"cis-azure-foundations-2.1.0","control":"5.1.5","title":"Network security group flow logs are captured"},{"framework":"cis-gcp-foundation-3.0.0","control":"3.8","title":"VPC flow logs are enabled for every subnet"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.network.no-network-watcher","slug":"network-no-network-watcher","area":"cloud","category":"network","title":"Network Watcher is not enabled in every region in use","severity":"low","providers":["azure"],"targets":["cloud account"],"what":"Reads the account-wide settings of each connected cloud account and reports a finding when network Watcher is not enabled in every region in use.","why":"Without Network Watcher in a region, its flow logs and diagnostics are not available for resources there.","fix":"Enable Network Watcher in each region the subscription uses.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"6.6","title":"Network Watcher is enabled"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.network.open-to-internet","slug":"network-open-to-internet","area":"cloud","category":"network","title":"Network rule allows traffic from any address","severity":"high","providers":["aws","azure","gcp"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when network rule allows traffic from any address.","why":"A security group or firewall rule permits inbound traffic from 0.0.0.0/0. Every service behind it is exposed to the whole internet.","fix":"Restrict the source range to the addresses that genuinely need access.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-13"},{"id":"cloud.network.udp-open-to-internet","slug":"network-udp-open-to-internet","area":"cloud","category":"network","title":"A rule admits UDP from any address","severity":"medium","providers":["azure"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when a rule admits UDP from any address.","why":"UDP services open to any address are used for reflection attacks and expose protocols that were rarely built for the internet.","fix":"Restrict inbound UDP to the address ranges that need it.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"6.3","title":"UDP from the internet is restricted"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.network.weak-ssl-policy","slug":"network-weak-ssl-policy","area":"cloud","category":"network","title":"A load balancer's SSL policy permits weak cipher suites","severity":"medium","providers":["gcp"],"targets":["network"],"what":"Reads every network in each connected cloud account and reports one when a load balancer's SSL policy permits weak cipher suites.","why":"Weak cipher suites let a client and the load balancer agree on encryption an attacker on the path can break or downgrade.","fix":"Use an SSL policy with the MODERN or RESTRICTED profile and TLS 1.2 minimum.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"3.9","title":"No load balancer SSL policy permits weak ciphers"}],"evidence":[{"scope":"gcp","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.registry.mutable-tags","slug":"registry-mutable-tags","area":"cloud","category":"registry","title":"Image tags in the registry can be overwritten","severity":"low","providers":["aws","azure","gcp"],"targets":["container registry"],"what":"Reads every container registry in each connected cloud account and reports one when image tags in the registry can be overwritten.","why":"A mutable tag lets a push replace the image behind a name already approved and deployed.","fix":"Enable tag immutability so a deployed tag always names the image that was reviewed.","evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-29"},{"id":"cloud.registry.no-image-scanning","slug":"registry-no-image-scanning","area":"cloud","category":"registry","title":"Container registry does not scan on push","severity":"low","providers":["aws","azure","gcp"],"targets":["container registry"],"what":"Reads every container registry in each connected cloud account and reports one when container registry does not scan on push.","why":"Images pushed to this registry are not scanned by the provider. TrustIvan scans what it is pointed at, and an unscanned registry is where an unreviewed image enters.","fix":"Enable scan-on-push, and connect the registry to TrustIvan so its images are inventoried.","mappings":[{"framework":"cis-eks-1.5.0","control":"5.1.1","title":"Images are scanned for vulnerabilities"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-29"},{"id":"cloud.secret.no-deletion-protection","slug":"secret-no-deletion-protection","area":"cloud","category":"secret","title":"Secret store can be permanently deleted at once","severity":"medium","providers":["aws","azure","gcp"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when secret store can be permanently deleted at once.","why":"This key or secret store has no purge protection, so a deletion — by mistake or by an attacker — destroys its keys immediately, along with all data encrypted under them.","fix":"Enable soft delete and purge protection so deleted keys stay recoverable for the retention period.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"8.5","title":"Key vaults are recoverable"}],"evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-29"},{"id":"cloud.secret.no-expiry","slug":"secret-no-expiry","area":"cloud","category":"secret","title":"A key vault secret has no expiration date","severity":"low","providers":["azure"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when a key vault secret has no expiration date.","why":"A secret that never expires keeps working forever, including in places it was copied to and forgotten.","fix":"Set an expiration date on every secret.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"8.3","title":"Secrets in RBAC vaults have expiration dates"},{"framework":"cis-azure-foundations-2.1.0","control":"8.4","title":"Secrets in access-policy vaults have expiration dates"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.secret.no-rotation","slug":"secret-no-rotation","area":"cloud","category":"secret","title":"Managed secret does not rotate","severity":"low","providers":["aws","azure","gcp"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when managed secret does not rotate.","why":"This secret has no automatic rotation, so its exposure window is unbounded and its age is unknown to whoever depends on it.","fix":"Enable automatic rotation, or record a rotation schedule the team follows.","evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-13"},{"id":"cloud.secret.vault-no-logging","slug":"secret-vault-no-logging","area":"cloud","category":"secret","title":"Access to the key vault is not logged","severity":"medium","providers":["azure"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when access to the key vault is not logged.","why":"Without access logs there is no record of who read which secret or key, so a leak cannot be traced or scoped.","fix":"Add a diagnostic setting sending the vault's AuditEvent logs to a workspace or storage.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"5.1.4","title":"Key Vault logging is enabled"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.secret.vault-no-private-endpoint","slug":"secret-vault-no-private-endpoint","area":"cloud","category":"secret","title":"The key vault has no private endpoint","severity":"low","providers":["azure"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when the key vault has no private endpoint.","why":"Without a private endpoint the vault is reached over its public address, and its network rules are the only thing limiting where requests come from.","fix":"Create a private endpoint for the key vault.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"8.7","title":"Key vaults use private endpoints"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.secret.vault-no-rbac","slug":"secret-vault-no-rbac","area":"cloud","category":"secret","title":"The key vault uses access policies rather than role-based access","severity":"low","providers":["azure"],"targets":["secret"],"what":"Reads every secret in each connected cloud account and reports one when the key vault uses access policies rather than role-based access.","why":"Vault access policies sit outside Azure RBAC, so they are reviewed separately and cannot be scoped to individual secrets, keys or certificates.","fix":"Switch the vault's permission model to Azure RBAC.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"8.6","title":"Key vaults use role-based access control"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.storage.access-keys-not-rotated","slug":"storage-access-keys-not-rotated","area":"cloud","category":"storage","title":"Storage account access keys have not been regenerated in 90 days","severity":"medium","providers":["azure"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when storage account access keys have not been regenerated in 90 days.","why":"A storage account key grants full access to all its data; the longer it lives, the more places it has been copied to.","fix":"Regenerate the storage account's access keys and update their consumers.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.4","title":"Storage account access keys are regenerated periodically"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.storage.cross-tenant-replication","slug":"storage-cross-tenant-replication","area":"cloud","category":"storage","title":"Objects can be replicated to another tenant","severity":"medium","providers":["azure"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when objects can be replicated to another tenant.","why":"Replication to another tenant copies your objects into an environment your own access controls do not govern.","fix":"Disable cross-tenant replication on the storage account.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.16","title":"Cross-tenant replication is disabled"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.storage.network-default-allow","slug":"storage-network-default-allow","area":"cloud","category":"storage","title":"The storage account accepts connections from any network","severity":"medium","providers":["azure"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when the storage account accepts connections from any network.","why":"Accepting connections from any network leaves keys and tokens as the account's only protection.","fix":"Set the storage firewall's default action to Deny and allow named networks.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.8","title":"Storage firewall default action is Deny"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.storage.no-customer-managed-key","slug":"storage-no-customer-managed-key","area":"cloud","category":"storage","title":"Storage is encrypted with a platform key rather than a customer-managed one","severity":"low","providers":["azure"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when storage is encrypted with a platform key rather than a customer-managed one.","why":"With a platform key you cannot revoke access to the data by disabling the key, and key use is not in your own audit trail.","fix":"Configure encryption with a customer-managed key in Key Vault.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.12","title":"Critical storage is encrypted with customer-managed keys"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.storage.no-encryption-at-rest","slug":"storage-no-encryption-at-rest","area":"cloud","category":"storage","title":"Storage is not encrypted at rest","severity":"medium","providers":["aws","azure","gcp"],"targets":["storage bucket","database","compute instance"],"what":"Reads every storage bucket, database and compute instance in each connected cloud account and reports one when storage is not encrypted at rest.","why":"Data in this container is stored unencrypted, so anyone who obtains the underlying media obtains the data.","fix":"Enable encryption at rest with a provider-managed or customer-managed key.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"2.3.1","title":"RDS instances are encrypted at rest"},{"framework":"cis-azure-foundations-2.1.0","control":"4.1.5","title":"SQL database data encryption is on"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.storage.no-encryption-in-transit","slug":"storage-no-encryption-in-transit","area":"cloud","category":"storage","title":"Storage does not require TLS","severity":"medium","providers":["aws","azure","gcp"],"targets":["storage bucket","database"],"what":"Reads every storage bucket and database in each connected cloud account and reports one when storage does not require TLS.","why":"This container accepts unencrypted connections, so data and credentials can be read in transit.","fix":"Require TLS for all connections to this resource.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"2.1.1","title":"S3 bucket policies deny plain HTTP"},{"framework":"cis-azure-foundations-2.1.0","control":"3.1","title":"Secure transfer is required on storage accounts"},{"framework":"cis-gcp-foundation-3.0.0","control":"6.4","title":"Cloud SQL requires TLS for incoming connections"}],"evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.storage.no-infrastructure-encryption","slug":"storage-no-infrastructure-encryption","area":"cloud","category":"storage","title":"Infrastructure (double) encryption is off","severity":"low","providers":["azure"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when infrastructure (double) encryption is off.","why":"A second, independent layer of encryption protects the data if one algorithm or key is ever compromised.","fix":"Enable infrastructure encryption on the storage account (set at creation).","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.2","title":"Infrastructure encryption is enabled on storage accounts"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.storage.no-key-rotation-reminder","slug":"storage-no-key-rotation-reminder","area":"cloud","category":"storage","title":"Access key rotation reminders are off","severity":"low","providers":["azure"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when access key rotation reminders are off.","why":"Without reminders, account keys tend never to be rotated.","fix":"Set a key expiration policy on the storage account.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.3","title":"Key rotation reminders are enabled on storage accounts"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.storage.no-logging","slug":"storage-no-logging","area":"cloud","category":"storage","title":"Storage access is not logged","severity":"low","providers":["aws","azure","gcp"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when storage access is not logged.","why":"Access to this container is not recorded, so a breach involving it cannot be investigated after the fact.","fix":"Enable access logging and send it somewhere it is retained.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-13"},{"id":"cloud.storage.no-mfa-delete","slug":"storage-no-mfa-delete","area":"cloud","category":"storage","title":"Deleting object versions does not require a second factor","severity":"low","providers":["aws"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when deleting object versions does not require a second factor.","why":"Without MFA delete, a stolen credential is enough to permanently delete object versions, defeating versioning as a recovery measure.","fix":"Enable MFA Delete on the bucket.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"2.1.2","title":"MFA Delete is enabled on S3 buckets"}],"evidence":[{"scope":"aws","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.storage.no-object-read-logging","slug":"storage-no-object-read-logging","area":"cloud","category":"storage","title":"Object-level read events are not logged","severity":"low","providers":["aws"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when object-level read events are not logged.","why":"Without object-level read logging there is no record of which objects were downloaded, so a data leak cannot be scoped.","fix":"Add a data event selector for read events on the bucket to a trail.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"3.9","title":"S3 object-level read events are logged"}],"evidence":[{"scope":"aws","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.storage.no-object-write-logging","slug":"storage-no-object-write-logging","area":"cloud","category":"storage","title":"Object-level write events are not logged","severity":"low","providers":["aws"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when object-level write events are not logged.","why":"Without object-level write logging there is no record of which objects were changed or deleted, or by whom.","fix":"Add a data event selector for write events on the bucket to a trail.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"3.8","title":"S3 object-level write events are logged"}],"evidence":[{"scope":"aws","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.storage.no-private-endpoint","slug":"storage-no-private-endpoint","area":"cloud","category":"storage","title":"The storage account has no private endpoint","severity":"low","providers":["azure"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when the storage account has no private endpoint.","why":"Without a private endpoint the account is reached over its public address, and its network rules are the only thing limiting where requests come from.","fix":"Create a private endpoint for the storage account.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.10","title":"Storage accounts use private endpoints"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.storage.no-soft-delete","slug":"storage-no-soft-delete","area":"cloud","category":"storage","title":"Soft delete for blobs and containers is off","severity":"low","providers":["azure"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when soft delete for blobs and containers is off.","why":"Without soft delete, a blob or container deleted by mistake or by an attacker cannot be recovered.","fix":"Enable soft delete for blobs and containers.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.11","title":"Soft delete is enabled for blobs and containers"}],"evidence":[{"scope":"azure","status":"not_assessed"}],"updated":"2026-11-07"},{"id":"cloud.storage.no-uniform-access","slug":"storage-no-uniform-access","area":"cloud","category":"storage","title":"Storage uses per-object access lists","severity":"low","providers":["aws","azure","gcp"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when storage uses per-object access lists.","why":"Access to this container can be granted object by object, so reading its IAM policy does not tell you who can read its data — a single object can be made public without any bucket-level change.","fix":"Enable uniform bucket-level access so IAM is the only thing that grants access.","mappings":[{"framework":"cis-gcp-foundation-3.0.0","control":"5.2","title":"Cloud Storage buckets use uniform bucket-level access"}],"evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"collected"}],"updated":"2026-10-29"},{"id":"cloud.storage.no-versioning","slug":"storage-no-versioning","area":"cloud","category":"storage","title":"Object versioning is off","severity":"low","providers":["aws","azure","gcp"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when object versioning is off.","why":"Without versioning, an overwrite or deletion — by mistake or by ransomware — is permanent.","fix":"Enable versioning so overwritten and deleted objects can be recovered.","evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"not_assessed"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-29"},{"id":"cloud.storage.outdated-tls","slug":"storage-outdated-tls","area":"cloud","category":"storage","title":"Resource accepts an outdated TLS version","severity":"medium","providers":["aws","azure","gcp"],"targets":["storage bucket","database"],"what":"Reads every storage bucket and database in each connected cloud account and reports one when resource accepts an outdated TLS version.","why":"This resource accepts connections below TLS 1.2. TLS 1.0 and 1.1 are deprecated and have known weaknesses, and a client can be downgraded to them.","fix":"Set the minimum TLS version to 1.2 or later.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.15","title":"Storage accounts require TLS 1.2 or later"}],"evidence":[{"scope":"aws","status":"not_assessed"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"not_assessed"}],"updated":"2026-10-29"},{"id":"cloud.storage.public-access","slug":"storage-public-access","area":"cloud","category":"storage","title":"Object storage is publicly readable","severity":"critical","providers":["aws","azure","gcp"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when object storage is publicly readable.","why":"This storage container can be read by anyone on the internet without credentials. Data placed in it is public, whether or not that was intended.","fix":"Block public access on the container and grant access through an identity or a signed URL instead.","mappings":[{"framework":"cis-aws-foundations-3.0.0","control":"2.1.4","title":"S3 Block Public Access is enabled"},{"framework":"cis-azure-foundations-2.1.0","control":"3.17","title":"Anonymous blob access is disabled"},{"framework":"cis-gcp-foundation-3.0.0","control":"5.1","title":"Cloud Storage buckets are not publicly accessible"}],"evidence":[{"scope":"aws","status":"collected"},{"scope":"azure","status":"collected"},{"scope":"gcp","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.storage.public-network-access","slug":"storage-public-network-access","area":"cloud","category":"storage","title":"The storage account's public network access is not disabled","severity":"medium","providers":["azure"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when the storage account's public network access is not disabled.","why":"While public network access is on, the account's endpoints answer from the internet and only the firewall rules and keys stand in front of the data.","fix":"Set the storage account's public network access to Disabled and reach it through private endpoints.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.7","title":"Public network access is disabled on storage accounts"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.storage.trusted-services-blocked","slug":"storage-trusted-services-blocked","area":"cloud","category":"storage","title":"Trusted platform services cannot reach the storage account","severity":"low","providers":["azure"],"targets":["storage bucket"],"what":"Reads every storage bucket in each connected cloud account and reports one when trusted platform services cannot reach the storage account.","why":"Blocking trusted Azure services stops platform features such as backup, log delivery and Defender scanning from reaching the account.","fix":"Allow trusted Azure services through the storage firewall.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"3.9","title":"Trusted Azure services can reach storage accounts"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-07"},{"id":"cloud.webapp.ftp-allowed","slug":"webapp-ftp-allowed","area":"cloud","category":"webapp","title":"The app accepts plain FTP deployments","severity":"low","providers":["azure"],"targets":["web application","serverless function"],"what":"Reads every web application and serverless function in each connected cloud account and reports one when the app accepts plain FTP deployments.","why":"Plain FTP sends the deployment credentials and the app's code over the network unencrypted.","fix":"Set FTP state to FTPS only, or Disabled when deployments do not use FTP.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"9.9","title":"FTP deployments are disabled"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.webapp.http-allowed","slug":"webapp-http-allowed","area":"cloud","category":"webapp","title":"The web app accepts plain HTTP","severity":"medium","providers":["azure"],"targets":["web application"],"what":"Reads every web application in each connected cloud account and reports one when the web app accepts plain HTTP.","why":"Without HTTPS Only the app serves requests over unencrypted HTTP as well.","fix":"Turn on HTTPS Only for the app.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"9.2","title":"Apps redirect HTTP to HTTPS"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.webapp.http2-disabled","slug":"webapp-http2-disabled","area":"cloud","category":"webapp","title":"The app does not serve HTTP/2","severity":"low","providers":["azure"],"targets":["web application","serverless function"],"what":"Reads every web application and serverless function in each connected cloud account and reports one when the app does not serve HTTP/2.","why":"The benchmark asks for the newest HTTP version App Service offers; HTTP/2's binary framing leaves less room than HTTP/1.1's text parsing for a request the front end and the app read differently.","fix":"Turn on HTTP 2.0 in the app's general settings.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"9.8","title":"Apps serve the latest HTTP version"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.webapp.no-authentication","slug":"webapp-no-authentication","area":"cloud","category":"webapp","title":"App Service authentication is off","severity":"low","providers":["azure"],"targets":["web application","serverless function"],"what":"Reads every web application and serverless function in each connected cloud account and reports one when app Service authentication is off.","why":"Without platform authentication every request reaches the app's code, which then has to identify callers itself.","fix":"Turn on App Service authentication with an identity provider and require authentication for every request.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"9.1","title":"App Service authentication is set up"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.webapp.no-managed-identity","slug":"webapp-no-managed-identity","area":"cloud","category":"webapp","title":"The app has no managed identity","severity":"low","providers":["azure"],"targets":["web application","serverless function"],"what":"Reads every web application and serverless function in each connected cloud account and reports one when the app has no managed identity.","why":"An app without a managed identity has to keep a secret or connection string to reach other services, which can leak with its configuration.","fix":"Turn on a system- or user-assigned managed identity and use it, rather than stored credentials, to reach other Azure services.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"9.4","title":"Apps have a managed identity"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"cloud.webapp.outdated-tls","slug":"webapp-outdated-tls","area":"cloud","category":"webapp","title":"The web app accepts TLS below 1.2","severity":"medium","providers":["azure"],"targets":["web application"],"what":"Reads every web application in each connected cloud account and reports one when the web app accepts TLS below 1.2.","why":"The app's minimum inbound TLS version is 1.0 or 1.1, which are deprecated and can be downgraded to.","fix":"Set the app's minimum TLS version to 1.2 or later.","mappings":[{"framework":"cis-azure-foundations-2.1.0","control":"9.3","title":"Apps require TLS 1.2 or later"}],"evidence":[{"scope":"azure","status":"collected"}],"updated":"2026-11-18"},{"id":"k8s.cluster.unsupported-version","slug":"cluster-unsupported-version","area":"kubernetes","category":"cluster","title":"Kubernetes version is past upstream end of life","severity":"medium","targets":["cluster"],"what":"Reads the cluster's version and settings through the Kubernetes API and reports a finding where this is true: Kubernetes version is past upstream end of life.","why":"The cluster runs a minor release the Kubernetes project no longer patches. Managed providers may support it longer; the upstream date is what this check reads.","fix":"Upgrade the control plane and nodes to a supported minor release.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"upgrades.versions","title":"Kubernetes runs a supported version"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.added-capability","slug":"container-added-capability","area":"kubernetes","category":"container","title":"Container adds a Linux capability","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container adds a Linux capability.","why":"The container adds a capability beyond the runtime's default set. Each one widens what a compromised process may do on the node.","fix":"Remove `capabilities.add`, or keep only NET_BIND_SERVICE if the process binds a low port.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.9","title":"Containers with added capabilities are minimised"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.apparmor-unconfined","slug":"container-apparmor-unconfined","area":"kubernetes","category":"container","title":"Container explicitly disables AppArmor","severity":"medium","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container explicitly disables AppArmor.","why":"An AppArmor profile of `unconfined` removes the mandatory access control the runtime would otherwise apply.","fix":"Remove the override, or set `appArmorProfile.type: RuntimeDefault`.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.7.3","title":"A security context is applied to pods and containers"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.hardened-runtime","title":"Container environments are hardened (seccomp, AppArmor, SELinux)"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.capabilities-not-dropped","slug":"container-capabilities-not-dropped","area":"kubernetes","category":"container","title":"Container keeps the default capabilities","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container keeps the default capabilities.","why":"The container does not drop ALL capabilities, so it keeps the runtime's default set, which includes CHOWN, SETUID and NET_RAW.","fix":"Set `capabilities.drop: [\"ALL\"]` and add back only what the process needs.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.10","title":"Containers with assigned capabilities are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.credential-in-env","slug":"container-credential-in-env","area":"kubernetes","category":"container","title":"Container has a credential written into its manifest","severity":"high","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container has a credential written into its manifest.","why":"An environment variable named like a credential has its value written in the workload's manifest, so anyone who can read the workload (or its Git history) holds it.","fix":"Move the value into a Secret, mount it as a file, and rotate the exposed credential.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.4.1","title":"Secrets are read as files rather than environment variables"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.secrets","title":"Secrets are handled safely by workloads"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.dangerous-capability","slug":"container-dangerous-capability","area":"kubernetes","category":"container","title":"Container adds a dangerous capability","severity":"high","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container adds a dangerous capability.","why":"The container requests a Linux capability that permits escaping its isolation: loading kernel modules, tracing other processes, or administering the host.","fix":"Drop the capability. If the workload genuinely needs host access, run it as a separate, reviewed workload.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.9","title":"Containers with added capabilities are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.host-port","slug":"container-host-port","area":"kubernetes","category":"container","title":"Container binds a host port","severity":"medium","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container binds a host port.","why":"A `hostPort` binds the node's network interface, bypassing Services and NetworkPolicies and exposing the pod on every address the node has.","fix":"Remove `hostPort` and expose the pod through a Service.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.13","title":"Containers using host ports are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.policies","title":"Network policies restrict traffic"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.image-latest","slug":"container-image-latest","area":"kubernetes","category":"container","title":"Container runs `latest` or an untagged image","severity":"medium","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container runs `latest` or an untagged image.","why":"`:latest` and a bare image name say nothing about what version runs: two nodes can run different builds, and a restart can change it.","fix":"Reference a specific version, preferably by digest.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.5.1","title":"Image provenance is configured"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.secure-images","title":"Images are built and referenced securely"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.mutable-tag","slug":"container-mutable-tag","area":"kubernetes","category":"container","title":"Container runs a mutable image tag","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container runs a mutable image tag.","why":"The image is referenced by a tag rather than a digest, so what runs can change without the manifest changing, and what was scanned may not be what is running.","fix":"Reference the image by digest, or pin the tag and treat it as immutable in the registry.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.5.1","title":"Image provenance is configured"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.secure-images","title":"Images are built and referenced securely"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.net-raw","slug":"container-net-raw","area":"kubernetes","category":"container","title":"Container keeps NET_RAW","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container keeps NET_RAW.","why":"NET_RAW lets a process craft raw packets, which is how ARP and DNS spoofing inside a cluster network begin. Container runtimes grant it by default.","fix":"Drop NET_RAW, or drop ALL capabilities.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.8","title":"Containers with NET_RAW are minimised"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.no-cpu-limit","slug":"container-no-cpu-limit","area":"kubernetes","category":"container","title":"Container has no CPU limit","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container has no CPU limit.","why":"A container with no cpu limit can starve its neighbours on the node, and the scheduler cannot place it honestly.","fix":"Set `resources.limits.cpu`, or give the namespace a LimitRange with a default.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.resource-policies","title":"Resource policies bound consumption"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.no-cpu-request","slug":"container-no-cpu-request","area":"kubernetes","category":"container","title":"Container has no CPU request","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container has no CPU request.","why":"A container with no cpu request can starve its neighbours on the node, and the scheduler cannot place it honestly.","fix":"Set `resources.requests.cpu`, or give the namespace a LimitRange with a defaultRequest.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.resource-policies","title":"Resource policies bound consumption"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.no-memory-limit","slug":"container-no-memory-limit","area":"kubernetes","category":"container","title":"Container has no memory limit","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container has no memory limit.","why":"A container with no memory limit can starve its neighbours on the node, and the scheduler cannot place it honestly.","fix":"Set `resources.limits.memory`, or give the namespace a LimitRange that supplies a default.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.resource-policies","title":"Resource policies bound consumption"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.no-memory-request","slug":"container-no-memory-request","area":"kubernetes","category":"container","title":"Container has no memory request","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container has no memory request.","why":"A container with no memory request can starve its neighbours on the node, and the scheduler cannot place it honestly.","fix":"Set `resources.requests.memory`, or give the namespace a LimitRange with a defaultRequest.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.resource-policies","title":"Resource policies bound consumption"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.non-root-not-enforced","slug":"container-non-root-not-enforced","area":"kubernetes","category":"container","title":"Nothing requires the container to run as non-root","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: nothing requires the container to run as non-root.","why":"Neither `runAsNonRoot` nor a non-zero `runAsUser` is set, so the container runs as whatever user its image names, which for most images is root.","fix":"Set `runAsNonRoot: true` on the pod or container, with a non-zero `runAsUser`.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.7","title":"Root containers are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.non-root","title":"Containers run as non-root users"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.privilege-escalation","slug":"container-privilege-escalation","area":"kubernetes","category":"container","title":"Container may escalate privileges","severity":"medium","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container may escalate privileges.","why":"`allowPrivilegeEscalation` is enabled, so a process in this container can gain more privileges than its parent, which defeats running as a non-root user.","fix":"Set `allowPrivilegeEscalation: false` on the container's security context.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.6","title":"Containers allowing privilege escalation are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.privileged","slug":"container-privileged","area":"kubernetes","category":"container","title":"Container runs privileged","severity":"critical","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container runs privileged.","why":"A privileged container has all capabilities and access to the host's devices. Compromising it is compromising the node, and usually the cluster.","fix":"Remove `privileged: true` and grant only the specific capabilities the container needs.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.2","title":"Privileged containers are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.root-group","slug":"container-root-group","area":"kubernetes","category":"container","title":"Container runs with the root group","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container runs with the root group.","why":"`runAsGroup: 0` gives the process the root group, and with it read or write access to files the node's root group owns.","fix":"Set a non-zero `runAsGroup`.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.non-root","title":"Containers run as non-root users"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.runs-as-root","slug":"container-runs-as-root","area":"kubernetes","category":"container","title":"Container runs as root","severity":"medium","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container runs as root.","why":"The container is explicitly configured to run as UID 0. A vulnerability in the process is a root process on the node's kernel.","fix":"Set `runAsNonRoot: true` and a non-zero `runAsUser`, and build the image with a non-root user.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.7","title":"Root containers are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.non-root","title":"Containers run as non-root users"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.seccomp-unconfined","slug":"container-seccomp-unconfined","area":"kubernetes","category":"container","title":"Container explicitly disables seccomp","severity":"medium","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container explicitly disables seccomp.","why":"A seccomp profile of `Unconfined` lets the process make every system call, including those container escapes rely on.","fix":"Set `seccompProfile.type: RuntimeDefault`, or a Localhost profile.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.7.2","title":"A seccomp profile is set in pod definitions"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.hardened-runtime","title":"Container environments are hardened (seccomp, AppArmor, SELinux)"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.seccomp-unset","slug":"container-seccomp-unset","area":"kubernetes","category":"container","title":"Container has no seccomp profile","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container has no seccomp profile.","why":"With no seccomp profile set, the container runs unconfined unless the node's kubelet enables a default, which it does not out of the box.","fix":"Set `seccompProfile.type: RuntimeDefault` on the pod.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.7.2","title":"A seccomp profile is set in pod definitions"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.secret-in-env","slug":"container-secret-in-env","area":"kubernetes","category":"container","title":"Container reads a Secret through environment variables","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container reads a Secret through environment variables.","why":"A Secret in an environment variable is visible to every process in the container, appears in crash dumps and is easily logged. Mounted files can be restricted and rotate without a restart.","fix":"Mount the Secret as a volume and read it from the file.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.4.1","title":"Secrets are read as files rather than environment variables"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.secrets","title":"Secrets are handled safely by workloads"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.selinux-custom","slug":"container-selinux-custom","area":"kubernetes","category":"container","title":"Container sets a custom SELinux user, role or type","severity":"medium","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container sets a custom SELinux user, role or type.","why":"Pod Security baseline forbids custom SELinux users and roles and any type other than the container types, because each can lift the policy that confines the container.","fix":"Remove `seLinuxOptions.user` and `.role`, and use a container_t type.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.7.3","title":"A security context is applied to pods and containers"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.hardened-runtime","title":"Container environments are hardened (seccomp, AppArmor, SELinux)"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.unmasked-proc","slug":"container-unmasked-proc","area":"kubernetes","category":"container","title":"Container mounts /proc unmasked","severity":"high","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container mounts /proc unmasked.","why":"`procMount: Unmasked` exposes the parts of /proc the runtime hides, which leak host information and enable escapes.","fix":"Remove `procMount`, or set it to `Default`.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.7.3","title":"A security context is applied to pods and containers"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.untrusted-registry","slug":"container-untrusted-registry","area":"kubernetes","category":"container","title":"Container image comes from an untrusted registry","severity":"medium","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container image comes from an untrusted registry.","why":"The image is pulled from a registry this cluster is not configured to trust, so nothing vouches for how it was built.","fix":"Mirror the image into a trusted registry, or add the registry to the cluster's trusted list if it is one.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.5.1","title":"Image provenance is configured"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.secure-images","title":"Images are built and referenced securely"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.windows-host-process","slug":"container-windows-host-process","area":"kubernetes","category":"container","title":"Container runs as a Windows HostProcess","severity":"high","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container runs as a Windows HostProcess.","why":"A HostProcess container runs directly on the Windows node with the node's privileges.","fix":"Remove `windowsOptions.hostProcess`, or run the workload as a reviewed node component.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.11","title":"Windows HostProcess containers are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.container.writable-root-filesystem","slug":"container-writable-root-filesystem","area":"kubernetes","category":"container","title":"Container root filesystem is writable","severity":"low","targets":["container"],"what":"Reads every container in the cluster through the Kubernetes API and reports each one where this is true: container root filesystem is writable.","why":"A writable root filesystem lets an attacker who gains code execution drop tools and alter binaries inside the container.","fix":"Set `readOnlyRootFilesystem: true` and mount an emptyDir where the process must write.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.7.3","title":"A security context is applied to pods and containers"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.immutable-filesystem","title":"Container file systems are immutable"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.namespace.no-default-deny","slug":"namespace-no-default-deny","area":"kubernetes","category":"namespace","title":"Namespace has NetworkPolicies but no default deny","severity":"low","targets":["namespace"],"what":"Reads every namespace in the cluster through the Kubernetes API and reports each one where this is true: namespace has NetworkPolicies but no default deny.","why":"Policies select some pods, but none denies ingress to every pod by default, so a pod no policy names is open to the whole cluster.","fix":"Add a policy with an empty `podSelector`, `policyTypes: [Ingress]` and no ingress rules.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.policies","title":"Network policies restrict traffic"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.namespace.no-limit-range","slug":"namespace-no-limit-range","area":"kubernetes","category":"namespace","title":"Namespace has no LimitRange","severity":"low","targets":["namespace"],"what":"Reads every namespace in the cluster through the Kubernetes API and reports each one where this is true: namespace has no LimitRange.","why":"Without a LimitRange, a container that sets no limits runs unbounded, and nothing supplies a default.","fix":"Add a LimitRange with default limits and requests for containers.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.resource-policies","title":"Resource policies bound consumption"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.namespace.no-network-policy","slug":"namespace-no-network-policy","area":"kubernetes","category":"namespace","title":"Namespace has no NetworkPolicy","severity":"medium","targets":["namespace"],"what":"Reads every namespace in the cluster through the Kubernetes API and reports each one where this is true: namespace has no NetworkPolicy.","why":"No NetworkPolicy selects pods in this namespace, so every pod in it can reach every other pod in the cluster and be reached by them.","fix":"Add a default-deny NetworkPolicy and then permit the traffic the workloads genuinely need.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.3.2","title":"Every namespace has a NetworkPolicy"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.policies","title":"Network policies restrict traffic"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.namespace.no-pod-security-standard","slug":"namespace-no-pod-security-standard","area":"kubernetes","category":"namespace","title":"Namespace enforces no Pod Security Standard","severity":"medium","targets":["namespace"],"what":"Reads every namespace in the cluster through the Kubernetes API and reports each one where this is true: namespace enforces no Pod Security Standard.","why":"This namespace has no `pod-security.kubernetes.io/enforce` label, so admission applies no baseline and a privileged pod can be created in it without objection.","fix":"Label the namespace with `pod-security.kubernetes.io/enforce=baseline` or `restricted`.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.1","title":"At least one active policy control mechanism is in place"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.namespace.no-resource-quota","slug":"namespace-no-resource-quota","area":"kubernetes","category":"namespace","title":"Namespace has no ResourceQuota","severity":"low","targets":["namespace"],"what":"Reads every namespace in the cluster through the Kubernetes API and reports each one where this is true: namespace has no ResourceQuota.","why":"Without a quota, one workload in the namespace can consume the cluster's capacity and deny service to every other team.","fix":"Add a ResourceQuota bounding CPU, memory and object counts.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.resource-policies","title":"Resource policies bound consumption"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.namespace.pod-security-not-restricted","slug":"namespace-pod-security-not-restricted","area":"kubernetes","category":"namespace","title":"Namespace enforces only Pod Security baseline","severity":"low","targets":["namespace"],"what":"Reads every namespace in the cluster through the Kubernetes API and reports each one where this is true: namespace enforces only Pod Security baseline.","why":"Baseline stops known escalations; restricted also requires non-root, dropped capabilities and a seccomp profile, which is what the hardening guidance asks for.","fix":"Move the namespace to `pod-security.kubernetes.io/enforce=restricted`, after testing with the `warn` label.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.anonymous-access","slug":"rbac-anonymous-access","area":"kubernetes","category":"rbac","title":"A binding grants access to unauthenticated users","severity":"critical","targets":["role binding"],"what":"Reads every role binding in the cluster through the Kubernetes API and reports each one where this is true: a binding grants access to unauthenticated users.","why":"The binding names `system:anonymous` or `system:unauthenticated`, so anyone who can reach the API server holds the role without a credential.","fix":"Delete the binding, or bind the role to authenticated subjects only.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"authn.anonymous","title":"Anonymous access is not granted"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.cluster-admin-binding","slug":"rbac-cluster-admin-binding","area":"kubernetes","category":"rbac","title":"cluster-admin is granted","severity":"high","targets":["role binding"],"what":"Reads every role binding in the cluster through the Kubernetes API and reports each one where this is true: cluster-admin is granted.","why":"This binding grants unrestricted control of the cluster. Anything that obtains the subject's credentials owns the cluster and everything running in it.","fix":"Replace cluster-admin with a role naming the permissions actually needed.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.1","title":"cluster-admin is bound only where required"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"authn.rbac","title":"Role-based access control grants least privilege"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.csr-approve","slug":"rbac-csr-approve","area":"kubernetes","category":"rbac","title":"Role can approve certificate signing requests","severity":"medium","targets":["role"],"what":"Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role can approve certificate signing requests.","why":"Approving a CSR can mint a client certificate for any user, including a member of system:masters on some distributions.","fix":"Restrict CSR approval to the controller manager.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.11","title":"Access to approve certificate signing requests is minimised"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.default-service-account-bound","slug":"rbac-default-service-account-bound","area":"kubernetes","category":"rbac","title":"A role is bound to a default service account","severity":"medium","targets":["role binding"],"what":"Reads every role binding in the cluster through the Kubernetes API and reports each one where this is true: a role is bound to a default service account.","why":"Granting a role to a namespace's default service account grants it to every pod in that namespace that does not name another account.","fix":"Create a dedicated service account for the workload that needs the role and bind that instead.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.5","title":"Default service accounts are not actively used"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.escalate-bind-impersonate","slug":"rbac-escalate-bind-impersonate","area":"kubernetes","category":"rbac","title":"Role can escalate, bind or impersonate","severity":"high","targets":["role"],"what":"Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role can escalate, bind or impersonate.","why":"`escalate` and `bind` let the holder grant themselves permissions they do not have; `impersonate` lets them act as any user, group or service account.","fix":"Remove these verbs from every role that is not a reviewed administrative role.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.8","title":"Bind, impersonate and escalate permissions are limited"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"authn.rbac","title":"Role-based access control grants least privilege"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.node-proxy","slug":"rbac-node-proxy","area":"kubernetes","category":"rbac","title":"Role can use the nodes/proxy subresource","severity":"medium","targets":["role"],"what":"Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role can use the nodes/proxy subresource.","why":"nodes/proxy reaches the kubelet API directly, which runs commands in any pod on the node and bypasses audit logging and admission.","fix":"Remove access to nodes/proxy.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.10","title":"Access to the nodes/proxy subresource is minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"authn.rbac","title":"Role-based access control grants least privilege"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.pod-create","slug":"rbac-pod-create","area":"kubernetes","category":"rbac","title":"Role can create pods","severity":"medium","targets":["role"],"what":"Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role can create pods.","why":"Creating a pod lets the holder run any image as any service account in the namespace, and so borrow that account's permissions.","fix":"Grant pod creation only to controllers and deployment pipelines.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.4","title":"Access to create pods is minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"authn.rbac","title":"Role-based access control grants least privilege"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.pod-exec","slug":"rbac-pod-exec","area":"kubernetes","category":"rbac","title":"Role can exec into or attach to pods","severity":"medium","targets":["role"],"what":"Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role can exec into or attach to pods.","why":"exec and attach give a shell in a running container, with its service account token and whatever it can reach.","fix":"Grant exec and attach only to break-glass roles.","mappings":[{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"authn.rbac","title":"Role-based access control grants least privilege"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.pv-create","slug":"rbac-pv-create","area":"kubernetes","category":"rbac","title":"Role can create PersistentVolumes","severity":"low","targets":["role"],"what":"Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role can create PersistentVolumes.","why":"A PersistentVolume can be a hostPath, so creating one is a way to mount the node's filesystem.","fix":"Leave PersistentVolume creation to the provisioner and to cluster administrators.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.9","title":"Access to create PersistentVolumes is minimised"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.secrets-read","slug":"rbac-secrets-read","area":"kubernetes","category":"rbac","title":"Role can read Secrets","severity":"medium","targets":["role"],"what":"Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role can read Secrets.","why":"Reading Secrets yields every credential stored in them: service-account tokens, registry passwords, database credentials.","fix":"Remove get, list and watch on secrets, or restrict the rule with `resourceNames`.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.2","title":"Access to Secrets is minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"authn.rbac","title":"Role-based access control grants least privilege"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.token-create","slug":"rbac-token-create","area":"kubernetes","category":"rbac","title":"Role can mint service-account tokens","severity":"medium","targets":["role"],"what":"Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role can mint service-account tokens.","why":"Creating on serviceaccounts/token issues a token for any service account in scope, and so acts with its permissions.","fix":"Remove create on serviceaccounts/token.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.13","title":"Access to create service account tokens is minimised"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.webhook-config","slug":"rbac-webhook-config","area":"kubernetes","category":"rbac","title":"Role can change admission webhooks","severity":"medium","targets":["role"],"what":"Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role can change admission webhooks.","why":"Changing a webhook configuration can disable admission control or send every admitted object to a server the holder controls.","fix":"Restrict webhook configuration changes to cluster administrators.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.12","title":"Access to webhook configuration objects is minimised"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.rbac.wildcard","slug":"rbac-wildcard","area":"kubernetes","category":"rbac","title":"Role uses a wildcard","severity":"medium","targets":["role"],"what":"Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role uses a wildcard.","why":"A `*` in a rule's verbs, resources or API groups grants everything that exists now and everything added later, including custom resources nobody reviewed.","fix":"List the verbs and resources the role needs explicitly.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.3","title":"Wildcards in Roles and ClusterRoles are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"authn.rbac","title":"Role-based access control grants least privilege"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.serviceaccount.default-automount","slug":"serviceaccount-default-automount","area":"kubernetes","category":"serviceaccount","title":"Default service account does not turn off token automounting","severity":"low","targets":["service account"],"what":"Reads every service account in the cluster through the Kubernetes API and reports each one where this is true: default service account does not turn off token automounting.","why":"Every pod that names no service account runs as `default`, and receives its token unless the account sets `automountServiceAccountToken: false`.","fix":"Set `automountServiceAccountToken: false` on each namespace's default service account.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.5","title":"Default service accounts are not actively used"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.service-account-tokens","title":"Pod service account tokens are protected"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.serviceaccount.token-automounted","slug":"serviceaccount-token-automounted","area":"kubernetes","category":"serviceaccount","title":"Service account mounts its token by default","severity":"low","targets":["service account"],"what":"Reads every service account in the cluster through the Kubernetes API and reports each one where this is true: service account mounts its token by default.","why":"`automountServiceAccountToken` is enabled, so every pod using this account receives an API credential whether it needs one or not, and a compromised process can use it.","fix":"Set `automountServiceAccountToken: false` on the service account, and enable it per pod where it is needed.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.6","title":"Service account tokens are mounted only where necessary"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.service-account-tokens","title":"Pod service account tokens are protected"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.workload.cluster-admin-identity","slug":"workload-cluster-admin-identity","area":"kubernetes","category":"workload","title":"Workload runs as a service account with cluster-admin","severity":"critical","targets":["workload"],"what":"Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload runs as a service account with cluster-admin.","why":"The pod's service account is bound to cluster-admin, so code execution in this pod is control of the whole cluster.","fix":"Bind the service account to a role with only the permissions the workload uses.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.1","title":"cluster-admin is bound only where required"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"authn.rbac","title":"Role-based access control grants least privilege"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.workload.default-namespace","slug":"workload-default-namespace","area":"kubernetes","category":"workload","title":"Workload runs in the default namespace","severity":"low","targets":["workload"],"what":"Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload runs in the default namespace.","why":"The default namespace is where anything without a namespace lands, so policies, quotas and RBAC aimed at a team do not reach it.","fix":"Move the workload into a namespace of its own.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.7.4","title":"The default namespace is not used"},{"framework":"cis-kubernetes-1.9.0","control":"5.7.1","title":"Namespaces form administrative boundaries"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"network.namespaces","title":"Namespaces separate resources"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.workload.default-service-account","slug":"workload-default-service-account","area":"kubernetes","category":"workload","title":"Workload runs as the default service account","severity":"low","targets":["workload"],"what":"Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload runs as the default service account.","why":"Every pod in the namespace shares the default service account, so a permission granted to one is granted to all.","fix":"Create a service account for the workload and set `serviceAccountName`.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.5","title":"Default service accounts are not actively used"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.service-account-tokens","title":"Pod service account tokens are protected"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.workload.host-ipc","slug":"workload-host-ipc","area":"kubernetes","category":"workload","title":"Workload shares the host IPC namespace","severity":"high","targets":["workload"],"what":"Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload shares the host IPC namespace.","why":"`hostIPC` lets the pod read and write shared memory belonging to processes on the node.","fix":"Remove `hostIPC: true`.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.4","title":"Containers sharing the host IPC namespace are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.workload.host-network","slug":"workload-host-network","area":"kubernetes","category":"workload","title":"Workload shares the host network","severity":"high","targets":["workload"],"what":"Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload shares the host network.","why":"`hostNetwork` puts the pod on the node's network namespace, so it can reach anything the node can, including the kubelet and the cloud metadata service.","fix":"Remove `hostNetwork: true` and expose the workload through a Service.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.5","title":"Containers sharing the host network namespace are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.workload.host-path","slug":"workload-host-path","area":"kubernetes","category":"workload","title":"Workload mounts a host path","severity":"high","targets":["workload"],"what":"Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload mounts a host path.","why":"A hostPath volume exposes the node's filesystem to the pod. Writing to it, or reading the kubelet's or the container runtime's files, is a route to the node.","fix":"Replace the hostPath volume with a persistent volume, a ConfigMap or an emptyDir.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.12","title":"HostPath volumes are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.workload.host-pid","slug":"workload-host-pid","area":"kubernetes","category":"workload","title":"Workload shares the host process namespace","severity":"high","targets":["workload"],"what":"Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload shares the host process namespace.","why":"`hostPID` lets the pod see and signal every process on the node, including other pods' and the kubelet's.","fix":"Remove `hostPID: true`.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.3","title":"Containers sharing the host PID namespace are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.workload.runtime-socket","slug":"workload-runtime-socket","area":"kubernetes","category":"workload","title":"Workload mounts the container runtime socket","severity":"critical","targets":["workload"],"what":"Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload mounts the container runtime socket.","why":"With the Docker, containerd or CRI-O socket, a pod can start a privileged container on the node: this is root on the node.","fix":"Remove the socket mount. Build images with a daemonless builder instead.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.2.12","title":"HostPath volumes are minimised"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.security-enforcement","title":"Pod security is enforced"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.workload.token-automounted","slug":"workload-token-automounted","area":"kubernetes","category":"workload","title":"Workload has an API token mounted","severity":"low","targets":["workload"],"what":"Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload has an API token mounted.","why":"The pod receives a Kubernetes API token, because neither it nor its service account turns automounting off. Most workloads never call the API, and a stolen token is a foothold.","fix":"Set `automountServiceAccountToken: false` on the pod or its service account.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.1.6","title":"Service account tokens are mounted only where necessary"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.service-account-tokens","title":"Pod service account tokens are protected"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"k8s.workload.unsafe-sysctl","slug":"workload-unsafe-sysctl","area":"kubernetes","category":"workload","title":"Workload sets an unsafe sysctl","severity":"medium","targets":["workload"],"what":"Reads every workload in the cluster through the Kubernetes API and reports each one where this is true: workload sets an unsafe sysctl.","why":"The pod sets a kernel parameter outside the namespaced, safe set, which can affect every pod on the node.","fix":"Remove the sysctl, or set it on a dedicated, tainted node pool.","mappings":[{"framework":"cis-kubernetes-1.9.0","control":"5.7.3","title":"A security context is applied to pods and containers"},{"framework":"nsa-cisa-kubernetes-hardening-1.2","control":"pod.hardened-runtime","title":"Container environments are hardened (seccomp, AppArmor, SELinux)"}],"evidence":[{"scope":"cluster","status":"collected","note":"Read through the Kubernetes API with the read-only role TrustIvan's install creates."}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-sql-injection","slug":"csharp-taint-sql-injection","area":"sast","category":"security","title":"SQL injection from request input (C#)","severity":"high","language":"C#","what":"A value read from the HTTP request reaches the text of a SQL statement.","why":"The caller controls part of the statement, so they can change what it selects, updates or deletes.","fix":"Keep the statement text constant and add the value as a parameter (SqlCommand.Parameters.AddWithValue, Dapper's anonymous parameter object, or EF Core's FromSqlInterpolated / FromSql, which parameterise the interpolated values).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"using Microsoft.AspNetCore.Mvc;\nusing Microsoft.Data.SqlClient;\n\npublic class OrdersController : Controller\n{\n    private readonly SqlConnection _conn;\n\n    public IActionResult Index(string status)\n    {\n        var cmd = new SqlCommand(\"SELECT id FROM orders WHERE status = '\" + status + \"'\", _conn);\n        return Ok(cmd.ExecuteScalar());\n    }\n}","fixed":"using Microsoft.AspNetCore.Mvc;\nusing Microsoft.Data.SqlClient;\n\npublic class OrdersController : Controller\n{\n    private readonly SqlConnection _conn;\n\n    public IActionResult Index(string status)\n    {\n        var cmd = new SqlCommand(\"SELECT id FROM orders WHERE status = @status\", _conn);\n        cmd.Parameters.AddWithValue(\"@status\", status);\n        return Ok(cmd.ExecuteScalar());\n    }\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-command-injection","slug":"csharp-taint-command-injection","area":"sast","category":"security","title":"Command injection from request input (C#)","severity":"high","language":"C#","what":"A value read from the HTTP request reaches the program name or the argument string of a new process.","why":"The caller chooses what runs, or adds arguments of their own.","fix":"Run a fixed program and pass each value through ProcessStartInfo.ArgumentList, which delivers it as one argument without parsing; never build Arguments or FileName from the request.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"using System.Diagnostics;\nusing Microsoft.AspNetCore.Mvc;\n\n[ApiController]\npublic class PingController : ControllerBase\n{\n    [HttpGet(\"/ping\")]\n    public IActionResult Ping([FromQuery] string host)\n    {\n        var psi = new ProcessStartInfo(\"ping\");\n        psi.Arguments = \"-c 1 \" + host;\n        Process.Start(psi);\n        return Ok();\n    }\n}","fixed":"using System.Diagnostics;\nusing Microsoft.AspNetCore.Mvc;\n\n[ApiController]\npublic class PingController : ControllerBase\n{\n    [HttpGet(\"/ping\")]\n    public IActionResult Ping([FromQuery] string host)\n    {\n        var psi = new ProcessStartInfo(\"ping\");\n        psi.ArgumentList.Add(\"-c\");\n        psi.ArgumentList.Add(\"1\");\n        psi.ArgumentList.Add(host);\n        Process.Start(psi);\n        return Ok();\n    }\n}"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-path-traversal","slug":"csharp-taint-path-traversal","area":"sast","category":"security","title":"Path traversal from request input (C#)","severity":"high","language":"C#","what":"A value read from the HTTP request is used as a file path.","why":"A value such as ..\\..\\web.config walks out of the intended directory.","fix":"Reduce the value to a bare file name with Path.GetFileName before combining it with a fixed directory, then check that Path.GetFullPath of the result still starts with that directory.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"using System.IO;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class FilesController : Controller\n{\n    public IActionResult Download(string name)\n    {\n        var bytes = System.IO.File.ReadAllBytes(Path.Combine(\"/srv/uploads\", name));\n        return File(bytes, \"application/octet-stream\");\n    }\n}","fixed":"using System.IO;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class FilesController : Controller\n{\n    public IActionResult Download(string name)\n    {\n        var bytes = System.IO.File.ReadAllBytes(Path.Combine(\"/srv/uploads\", Path.GetFileName(name)));\n        return File(bytes, \"application/octet-stream\");\n    }\n}"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-ssrf","slug":"csharp-taint-ssrf","area":"sast","category":"security","title":"SSRF from request input (C#)","severity":"high","language":"C#","what":"A value read from the HTTP request is used as the address of an outbound request.","why":"The caller can make this server fetch internal addresses, such as a cloud metadata endpoint.","fix":"Choose the destination from an allowlist held by the server, and refuse private, loopback and link-local addresses after resolving the host name.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-918: Server-Side Request Forgery (SSRF)"],"owasp":["A10:2021 - Server-Side Request Forgery (SSRF)"],"taint":true,"example":{"vulnerable":"using System.Net.Http;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class PreviewController : Controller\n{\n    private readonly HttpClient _http;\n\n    public async Task<IActionResult> Fetch(string url)\n    {\n        var body = await _http.GetStringAsync(url);\n        return Content(body, \"text/plain\");\n    }\n}","fixed":"using System.Net.Http;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class PreviewController : Controller\n{\n    private readonly HttpClient _http;\n\n    public async Task<IActionResult> Fetch(string id)\n    {\n        var body = await _http.GetStringAsync(\"https://cdn.example.com/previews/latest.json\");\n        return Content(body, \"application/json\");\n    }\n}"},"references":[{"title":"CWE-918: Server-Side Request Forgery (SSRF)","url":"https://cwe.mitre.org/data/definitions/918.html"},{"title":"OWASP Top 10 A10:2021 - Server-Side Request Forgery (SSRF)","url":"https://owasp.org/Top10/2021/A10_2021-Server-Side_Request_Forgery_(SSRF)/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-xss","slug":"csharp-taint-xss","area":"sast","category":"security","title":"XSS from request input (C#)","severity":"high","language":"C#","what":"A value read from the HTTP request is written into an HTML response without encoding.","why":"The caller can run script in another user's browser.","fix":"Render the value through a Razor view, which encodes it, or encode it with HtmlEncoder.Default.Encode before building HTML by hand. Never wrap request data in HtmlString.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"using Microsoft.AspNetCore.Mvc;\n\npublic class GreetController : Controller\n{\n    public IActionResult Hello(string name)\n    {\n        return Content(\"<h1>Hello \" + name + \"</h1>\", \"text/html\");\n    }\n}","fixed":"using System.Text.Encodings.Web;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class GreetController : Controller\n{\n    public IActionResult Hello(string name)\n    {\n        return Content(\"<h1>Hello \" + HtmlEncoder.Default.Encode(name) + \"</h1>\", \"text/html\");\n    }\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-deserialization","slug":"csharp-taint-deserialization","area":"sast","category":"security","title":"Deserialization from request input (C#)","severity":"high","language":"C#","what":"Data read from the HTTP request is deserialised by a formatter that instantiates whatever type the data names.","why":"A crafted payload runs code on this server.","fix":"Deserialise request data with System.Text.Json into a fixed type. BinaryFormatter, SoapFormatter, NetDataContractSerializer, LosFormatter and ObjectStateFormatter are unsafe for any input that crosses a trust boundary.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"using System.Runtime.Serialization.Formatters.Binary;\nusing Microsoft.AspNetCore.Mvc;\n\n[ApiController]\npublic class ImportController : ControllerBase\n{\n    [HttpPost(\"/import\")]\n    public IActionResult Import()\n    {\n        BinaryFormatter formatter = Create();\n        var obj = formatter.Deserialize(Request.Body);\n        return Ok(obj.GetType().Name);\n    }\n}","fixed":"using System.Text.Json;\nusing Microsoft.AspNetCore.Mvc;\n\n[ApiController]\npublic class ImportController : ControllerBase\n{\n    [HttpPost(\"/import\")]\n    public async System.Threading.Tasks.Task<IActionResult> Import()\n    {\n        var obj = await JsonSerializer.DeserializeAsync<ImportBatch>(Request.Body);\n        return Ok(obj.Count);\n    }\n}"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-open-redirect","slug":"csharp-taint-open-redirect","area":"sast","category":"security","title":"Open redirect from request input (C#)","severity":"medium","language":"C#","what":"A value read from the HTTP request is used as a redirect target.","why":"An attacker can send a link on this site that lands the user on theirs.","fix":"Use LocalRedirect, which refuses an absolute URL, or check Url.IsLocalUrl before calling Redirect.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-601: URL Redirection to Untrusted Site ('Open Redirect')"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"using Microsoft.AspNetCore.Mvc;\n\npublic class AccountController : Controller\n{\n    public IActionResult Login(string returnUrl)\n    {\n        return Redirect(returnUrl);\n    }\n}","fixed":"using Microsoft.AspNetCore.Mvc;\n\npublic class AccountController : Controller\n{\n    public IActionResult Login(string returnUrl)\n    {\n        return LocalRedirect(returnUrl);\n    }\n}"},"references":[{"title":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","url":"https://cwe.mitre.org/data/definitions/601.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-ldap-injection","slug":"csharp-taint-ldap-injection","area":"sast","category":"security","title":"LDAP injection from request input (C#)","severity":"high","language":"C#","what":"A value read from the HTTP request is placed in an LDAP search filter.","why":"Characters such as * ( ) change which directory entries the filter matches.","fix":"Escape the value for an LDAP filter (RFC 4515: \\2a, \\28, \\29, \\5c, \\00) before building the filter, or look the entry up by a value you have validated against a strict pattern.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-90: Improper Neutralization of Special Elements used in an LDAP Query"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"using System.DirectoryServices;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class DirectoryController : Controller\n{\n    public IActionResult Find(string user)\n    {\n        var searcher = new DirectorySearcher(\"(&(objectClass=user)(sAMAccountName=\" + user + \"))\");\n        return Ok(searcher.FindOne()?.Path);\n    }\n}","fixed":"using System.DirectoryServices;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class DirectoryController : Controller\n{\n    public IActionResult Find(string user)\n    {\n        var searcher = new DirectorySearcher(\"(&(objectClass=user)(sAMAccountName=\" + Encoder.LdapFilterEncode(user) + \"))\");\n        return Ok(searcher.FindOne()?.Path);\n    }\n}"},"references":[{"title":"CWE-90: Improper Neutralization of Special Elements used in an LDAP Query","url":"https://cwe.mitre.org/data/definitions/90.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-xpath-injection","slug":"csharp-taint-xpath-injection","area":"sast","category":"security","title":"XPath injection from request input (C#)","severity":"high","language":"C#","what":"A value read from the HTTP request is placed in an XPath expression.","why":"A quote in the value changes which nodes the expression selects.","fix":"Compile the expression once with a variable ($name) and supply the value through an XsltArgumentList or a custom XsltContext, or select with LINQ to XML instead of a string expression.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-643: Improper Neutralization of Data within XPath Expressions"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"using System.Xml;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class CatalogController : Controller\n{\n    private readonly XmlDocument _doc;\n\n    public IActionResult Item(string sku)\n    {\n        var node = _doc.SelectSingleNode(\"/catalog/item[@sku='\" + sku + \"']\");\n        return Ok(node?.InnerText);\n    }\n}","fixed":"using System.Linq;\nusing System.Xml.Linq;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class CatalogController : Controller\n{\n    private readonly XDocument _doc;\n\n    public IActionResult Item(string sku)\n    {\n        var node = _doc.Descendants(\"item\").FirstOrDefault(e => (string)e.Attribute(\"sku\") == sku);\n        return Ok(node?.Value);\n    }\n}"},"references":[{"title":"CWE-643: Improper Neutralization of Data within XPath Expressions","url":"https://cwe.mitre.org/data/definitions/643.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-regex-injection","slug":"csharp-taint-regex-injection","area":"sast","category":"security","title":"Regex injection from request input (C#)","severity":"medium","language":"C#","what":"A value read from the HTTP request is compiled as a regular expression.","why":"The caller can supply a pattern that backtracks for minutes on a short input (ReDoS), or one that matches more than the code intended.","fix":"Escape the value with Regex.Escape when it is meant literally, and pass a matchTimeout (or RegexOptions.NonBacktracking) to every Regex built from data.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1333: Inefficient Regular Expression Complexity"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"using System.Text.RegularExpressions;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class SearchController : Controller\n{\n    public IActionResult Filter(string pattern, string text)\n    {\n        return Ok(Regex.IsMatch(text, pattern));\n    }\n}","fixed":"using System.Text.RegularExpressions;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class SearchController : Controller\n{\n    public IActionResult Filter(string pattern, string text)\n    {\n        return Ok(Regex.IsMatch(text, Regex.Escape(pattern)));\n    }\n}"},"references":[{"title":"CWE-1333: Inefficient Regular Expression Complexity","url":"https://cwe.mitre.org/data/definitions/1333.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-code-injection","slug":"csharp-taint-code-injection","area":"sast","category":"security","title":"Code injection from request input (C#)","severity":"high","language":"C#","what":"A value read from the HTTP request is compiled and run as C# script.","why":"That is arbitrary code execution on this server.","fix":"Do not evaluate request data as code. Map the request onto a fixed set of operations the server implements.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-94: Improper Control of Generation of Code ('Code Injection')"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"using System.Threading.Tasks;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.CodeAnalysis.CSharp.Scripting;\n\npublic class CalcController : Controller\n{\n    public async Task<IActionResult> Eval(string expression)\n    {\n        var result = await CSharpScript.EvaluateAsync<int>(expression);\n        return Ok(result);\n    }\n}","fixed":"using System.Data;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class CalcController : Controller\n{\n    public IActionResult Eval(int a, int b)\n    {\n        return Ok(a + b);\n    }\n}"},"references":[{"title":"CWE-94: Improper Control of Generation of Code ('Code Injection')","url":"https://cwe.mitre.org/data/definitions/94.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-nosql-injection","slug":"csharp-taint-nosql-injection","area":"sast","category":"security","title":"NoSQL injection from request input (C#)","severity":"high","language":"C#","what":"A value read from the HTTP request is parsed as a MongoDB query document.","why":"The caller can add operators such as $ne or $where and change what the query matches.","fix":"Build the filter with Builders<T>.Filter (Eq, In, ...) and pass the request value as the compared value, never as query text.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-943: Improper Neutralization of Special Elements in Data Query Logic"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"using MongoDB.Bson;\nusing MongoDB.Driver;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class UsersController : Controller\n{\n    private readonly IMongoCollection<BsonDocument> _users;\n\n    public IActionResult Find(string filter)\n    {\n        var doc = BsonDocument.Parse(filter);\n        return Ok(_users.Find(doc).FirstOrDefault());\n    }\n}","fixed":"using MongoDB.Bson;\nusing MongoDB.Driver;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class UsersController : Controller\n{\n    private readonly IMongoCollection<BsonDocument> _users;\n\n    public IActionResult Find(string email)\n    {\n        var filter = Builders<BsonDocument>.Filter.Eq(\"email\", email);\n        return Ok(_users.Find(filter).FirstOrDefault());\n    }\n}"},"references":[{"title":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","url":"https://cwe.mitre.org/data/definitions/943.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-template-injection","slug":"csharp-taint-template-injection","area":"sast","category":"security","title":"Template injection from request input (C#)","severity":"high","language":"C#","what":"A value read from the HTTP request is compiled as a template.","why":"Template languages reach objects and methods, so the caller can read data or run code on this server.","fix":"Keep template text on the server and pass the request value in the model the template renders.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"using Microsoft.AspNetCore.Mvc;\nusing Scriban;\n\npublic class MailController : Controller\n{\n    public IActionResult Preview(string body)\n    {\n        var template = Template.Parse(body);\n        return Content(template.Render(new { name = \"Ada\" }), \"text/plain\");\n    }\n}","fixed":"using Microsoft.AspNetCore.Mvc;\nusing Scriban;\n\npublic class MailController : Controller\n{\n    private static readonly Template Welcome = Template.Parse(\"Hello {{ name }}\");\n\n    public IActionResult Preview(string name)\n    {\n        return Content(Welcome.Render(new { name }), \"text/plain\");\n    }\n}"},"references":[{"title":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","url":"https://cwe.mitre.org/data/definitions/1336.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-taint-header-injection","slug":"csharp-taint-header-injection","area":"sast","category":"security","title":"Header injection from request input (C#)","severity":"medium","language":"C#","what":"A value read from the HTTP request is written into a response header.","why":"A line break in the value can add headers or split the response.","fix":"Validate the value against a strict pattern (no CR or LF) or choose the header value from a fixed set held by the server.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"using Microsoft.AspNetCore.Mvc;\n\npublic class LangController : Controller\n{\n    public IActionResult Set(string lang)\n    {\n        Response.Headers[\"Content-Language\"] = lang;\n        return Ok();\n    }\n}","fixed":"using Microsoft.AspNetCore.Mvc;\n\npublic class LangController : Controller\n{\n    public IActionResult Set(string lang)\n    {\n        Response.Headers[\"Content-Language\"] = lang == \"fr\" ? \"fr\" : \"en\";\n        return Ok();\n    }\n}"},"references":[{"title":"CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers","url":"https://cwe.mitre.org/data/definitions/113.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-sql-string-concatenation","slug":"csharp-sql-string-concatenation","area":"sast","category":"security","title":"SQL string concatenation (C#)","severity":"medium","language":"C#","what":"A SQL statement is built by concatenating or formatting a variable into its text.","why":"If that variable ever carries caller-supplied data, including through another method, this is SQL injection.","fix":"Keep the statement text constant and add values with Parameters.AddWithValue, or use EF Core's FromSqlInterpolated.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"using Microsoft.Data.SqlClient;\n\npublic class OrderRepository\n{\n    private readonly SqlConnection _conn;\n\n    public object ByCustomer(string customer)\n    {\n        var cmd = new SqlCommand(\"SELECT id FROM orders WHERE customer = '\" + customer + \"'\", _conn);\n        return cmd.ExecuteScalar();\n    }\n}","fixed":"using Microsoft.Data.SqlClient;\n\npublic class OrderRepository\n{\n    private readonly SqlConnection _conn;\n\n    public object ByCustomer(string customer)\n    {\n        var cmd = new SqlCommand(\"SELECT id FROM orders WHERE customer = @customer\", _conn);\n        cmd.Parameters.AddWithValue(\"@customer\", customer);\n        return cmd.ExecuteScalar();\n    }\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-binaryformatter-use","slug":"csharp-binaryformatter-use","area":"sast","category":"security","title":"BinaryFormatter use (C#)","severity":"high","language":"C#","what":"BinaryFormatter (and SoapFormatter, NetDataContractSerializer, LosFormatter) instantiate whatever type the serialised data names.","why":"Deserialising data an attacker can influence runs their code.","fix":"Replace the formatter with System.Text.Json or a contract-based serialiser bound to fixed types. Microsoft has removed BinaryFormatter from .NET 9.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"using System.IO;\nusing System.Runtime.Serialization.Formatters.Binary;\n\npublic static class Cache\n{\n    public static object Load(Stream s)\n    {\n        var formatter = new BinaryFormatter();\n        return formatter.Deserialize(s);\n    }\n}","fixed":"using System.IO;\nusing System.Text.Json;\n\npublic static class Cache\n{\n    public static CacheEntry Load(Stream s)\n    {\n        return JsonSerializer.Deserialize<CacheEntry>(s);\n    }\n}"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-json-type-name-handling","slug":"csharp-json-type-name-handling","area":"sast","category":"security","title":"Json type name handling (C#)","severity":"high","language":"C#","what":"Json.NET is told to honour type names written in the JSON ($type).","why":"A payload can then name a gadget type whose constructor or setters run code.","fix":"Leave TypeNameHandling at None. If polymorphism is needed, use a SerializationBinder that allows only your own types, or System.Text.Json's JsonDerivedType attributes.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"using Newtonsoft.Json;\n\npublic static class Messages\n{\n    public static object Read(string json)\n    {\n        var settings = new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.All };\n        return JsonConvert.DeserializeObject(json, settings);\n    }\n}","fixed":"using Newtonsoft.Json;\n\npublic static class Messages\n{\n    public static Message Read(string json)\n    {\n        var settings = new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.None };\n        return JsonConvert.DeserializeObject<Message>(json, settings);\n    }\n}"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-xxe-xml-resolver","slug":"csharp-xxe-xml-resolver","area":"sast","category":"security","title":"XXE XML resolver (C#)","severity":"high","language":"C#","what":"An XML parser is given a resolver that fetches external entities.","why":"A document can then read local files or make the server send requests (XXE).","fix":"Set XmlResolver = null on XmlDocument and XmlReaderSettings (the default on .NET Core and on .NET Framework 4.5.2 and later).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-611: Improper Restriction of XML External Entity Reference"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"using System.Xml;\n\npublic static class Feed\n{\n    public static XmlDocument Parse(string xml)\n    {\n        var doc = new XmlDocument();\n        doc.XmlResolver = new XmlUrlResolver();\n        doc.LoadXml(xml);\n        return doc;\n    }\n}","fixed":"using System.Xml;\n\npublic static class Feed\n{\n    public static XmlDocument Parse(string xml)\n    {\n        var doc = new XmlDocument();\n        doc.XmlResolver = null;\n        doc.LoadXml(xml);\n        return doc;\n    }\n}"},"references":[{"title":"CWE-611: Improper Restriction of XML External Entity Reference","url":"https://cwe.mitre.org/data/definitions/611.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-xxe-dtd-processing","slug":"csharp-xxe-dtd-processing","area":"sast","category":"security","title":"XXE DTD processing (C#)","severity":"high","language":"C#","what":"XmlReaderSettings enables DTD processing.","why":"A document can declare external entities that read local files or exhaust memory.","fix":"Keep DtdProcessing at Prohibit (the default) or Ignore.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-611: Improper Restriction of XML External Entity Reference"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"using System.IO;\nusing System.Xml;\n\npublic static class Feed\n{\n    public static XmlReader Open(Stream s)\n    {\n        var settings = new XmlReaderSettings();\n        settings.DtdProcessing = DtdProcessing.Parse;\n        return XmlReader.Create(s, settings);\n    }\n}","fixed":"using System.IO;\nusing System.Xml;\n\npublic static class Feed\n{\n    public static XmlReader Open(Stream s)\n    {\n        var settings = new XmlReaderSettings();\n        settings.DtdProcessing = DtdProcessing.Prohibit;\n        return XmlReader.Create(s, settings);\n    }\n}"},"references":[{"title":"CWE-611: Improper Restriction of XML External Entity Reference","url":"https://cwe.mitre.org/data/definitions/611.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-weak-hash","slug":"csharp-weak-hash","area":"sast","category":"security","title":"Weak hash (C#)","severity":"medium","language":"C#","what":"MD5 and SHA-1 are broken for collision resistance.","why":"They must not protect integrity, sign data or store passwords.","fix":"Use SHA256.Create() or SHA256.HashData for integrity, and a password hasher (ASP.NET Core Identity's PasswordHasher, or PBKDF2 with a high iteration count) for passwords.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-328: Use of Weak Hash"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"using System.Security.Cryptography;\n\npublic static class Checksums\n{\n    public static byte[] Of(byte[] data)\n    {\n        using var md5 = MD5.Create();\n        return md5.ComputeHash(data);\n    }\n}","fixed":"using System.Security.Cryptography;\n\npublic static class Checksums\n{\n    public static byte[] Of(byte[] data)\n    {\n        return SHA256.HashData(data);\n    }\n}"},"references":[{"title":"CWE-328: Use of Weak Hash","url":"https://cwe.mitre.org/data/definitions/328.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-weak-cipher","slug":"csharp-weak-cipher","area":"sast","category":"security","title":"Weak cipher (C#)","severity":"high","language":"C#","what":"DES, Triple DES and RC2 have keys or blocks small enough to break or to attack with birthday collisions.","why":"Data encrypted with these ciphers can be recovered by an attacker who captures enough of it, so the encryption no longer keeps it confidential.","fix":"Use AesGcm, or Aes with an authenticated construction.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"using System.Security.Cryptography;\n\npublic static class Vault\n{\n    public static ICryptoTransform Encryptor(byte[] key, byte[] iv)\n    {\n        var des = TripleDES.Create();\n        return des.CreateEncryptor(key, iv);\n    }\n}","fixed":"using System.Security.Cryptography;\n\npublic static class Vault\n{\n    public static AesGcm Encryptor(byte[] key)\n    {\n        return new AesGcm(key, 16);\n    }\n}"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-csharp-ecb-mode","slug":"csharp-ecb-mode","area":"sast","category":"security","title":"ECB mode (C#)","severity":"high","language":"C#","what":"ECB mode encrypts identical plaintext blocks to identical ciphertext blocks.","why":"The structure of the data shows through.","fix":"Use AesGcm, which authenticates as well as encrypts.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"using System.Security.Cryptography;\n\npublic static class Vault\n{\n    public static ICryptoTransform Encryptor(byte[] key)\n    {\n        var aes = Aes.Create();\n        aes.Key = key;\n        aes.Mode = CipherMode.ECB;\n        return aes.CreateEncryptor();\n    }\n}","fixed":"using System.Security.Cryptography;\n\npublic static class Vault\n{\n    public static ICryptoTransform Encryptor(byte[] key)\n    {\n        var aes = Aes.Create();\n        aes.Key = key;\n        aes.Mode = CipherMode.CBC;\n        aes.GenerateIV();\n        return aes.CreateEncryptor();\n    }\n}"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-static-iv","slug":"csharp-static-iv","area":"sast","category":"security","title":"Static IV (C#)","severity":"high","language":"C#","what":"The cipher's IV is a constant (an all-zero or literal byte array).","why":"Reusing an IV under one key leaks the relationship between messages.","fix":"Call GenerateIV() (or RandomNumberGenerator.Fill) for every message and store the IV beside the ciphertext.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-329: Generation of Predictable IV with CBC Mode"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"using System.Security.Cryptography;\n\npublic static class Vault\n{\n    public static ICryptoTransform Encryptor(byte[] key)\n    {\n        var aes = Aes.Create();\n        aes.Key = key;\n        aes.IV = new byte[16];\n        return aes.CreateEncryptor();\n    }\n}","fixed":"using System.Security.Cryptography;\n\npublic static class Vault\n{\n    public static ICryptoTransform Encryptor(byte[] key)\n    {\n        var aes = Aes.Create();\n        aes.Key = key;\n        aes.GenerateIV();\n        return aes.CreateEncryptor();\n    }\n}"},"references":[{"title":"CWE-329: Generation of Predictable IV with CBC Mode","url":"https://cwe.mitre.org/data/definitions/329.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-insecure-random-secret","slug":"csharp-insecure-random-secret","area":"sast","category":"security","title":"Insecure random secret (C#)","severity":"medium","language":"C#","what":"System.Random is used where a secret is generated.","why":"Its output is predictable from a few observed values, so the token, password or key can be guessed.","fix":"Use RandomNumberGenerator.GetBytes or RandomNumberGenerator.GetInt32.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"using System;\n\npublic static class Tokens\n{\n    public static string NewResetToken()\n    {\n        var rng = new Random();\n        return rng.Next().ToString(\"x8\");\n    }\n}","fixed":"using System;\nusing System.Security.Cryptography;\n\npublic static class Tokens\n{\n    public static string NewResetToken()\n    {\n        return Convert.ToHexString(RandomNumberGenerator.GetBytes(32));\n    }\n\n    public static int Jitter()\n    {\n        return new Random().Next(100);\n    }\n}"},"references":[{"title":"CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","url":"https://cwe.mitre.org/data/definitions/338.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-weak-rsa-key","slug":"csharp-weak-rsa-key","area":"sast","category":"security","title":"Weak RSA key (C#)","severity":"medium","language":"C#","what":"An RSA key shorter than 2048 bits is generated.","why":"Such keys are within reach of a well-funded attacker.","fix":"Generate RSA keys of at least 2048 bits (3072 for keys that must outlive 2030), or use ECDsa with P-256.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-326: Inadequate Encryption Strength"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"using System.Security.Cryptography;\n\npublic static class Keys\n{\n    public static RSA Generate()\n    {\n        return RSA.Create(1024);\n    }\n}","fixed":"using System.Security.Cryptography;\n\npublic static class Keys\n{\n    public static RSA Generate()\n    {\n        return RSA.Create(3072);\n    }\n}"},"references":[{"title":"CWE-326: Inadequate Encryption Strength","url":"https://cwe.mitre.org/data/definitions/326.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-weak-pbkdf2-iterations","slug":"csharp-weak-pbkdf2-iterations","area":"sast","category":"security","title":"Weak PBKDF2 iterations (C#)","severity":"medium","language":"C#","what":"PBKDF2 is run with fewer than 100,000 iterations.","why":"A stolen password hash can then be brute-forced quickly on commodity hardware.","fix":"Use at least 600,000 iterations with SHA-256 (OWASP's 2023 guidance), or ASP.NET Core Identity's PasswordHasher.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-916: Use of Password Hash With Insufficient Computational Effort"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"using System.Security.Cryptography;\n\npublic static class Passwords\n{\n    public static byte[] Hash(string password, byte[] salt)\n    {\n        return Rfc2898DeriveBytes.Pbkdf2(password, salt, 1000, HashAlgorithmName.SHA256, 32);\n    }\n}","fixed":"using System.Security.Cryptography;\n\npublic static class Passwords\n{\n    public static byte[] Hash(string password, byte[] salt)\n    {\n        return Rfc2898DeriveBytes.Pbkdf2(password, salt, 600000, HashAlgorithmName.SHA256, 32);\n    }\n}"},"references":[{"title":"CWE-916: Use of Password Hash With Insufficient Computational Effort","url":"https://cwe.mitre.org/data/definitions/916.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-tls-validation-disabled","slug":"csharp-tls-validation-disabled","area":"sast","category":"security","title":"TLS validation disabled (C#)","severity":"high","language":"C#","what":"Server certificate validation is replaced by a callback that accepts every certificate.","why":"Anyone on the network path can impersonate the server and read or change the traffic.","fix":"Remove the callback so the platform validates the chain. To trust a private CA, validate against that CA in the callback rather than returning true.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"using System.Net.Http;\n\npublic static class Clients\n{\n    public static HttpClient Create()\n    {\n        var handler = new HttpClientHandler();\n        handler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => true;\n        return new HttpClient(handler);\n    }\n}","fixed":"using System.Net.Http;\n\npublic static class Clients\n{\n    public static HttpClient Create()\n    {\n        var handler = new HttpClientHandler();\n        return new HttpClient(handler);\n    }\n}"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-insecure-tls-protocol","slug":"csharp-insecure-tls-protocol","area":"sast","category":"security","title":"Insecure TLS protocol (C#)","severity":"medium","language":"C#","what":"SSL 3.0, TLS 1.0 or TLS 1.1 is enabled.","why":"These protocol versions are deprecated (RFC 8996) and have practical attacks.","fix":"Leave the protocol choice to the operating system (SslProtocols.None), or require Tls12 | Tls13.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-326: Inadequate Encryption Strength"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"using System.Net;\n\npublic static class Startup\n{\n    public static void Configure()\n    {\n        ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11;\n    }\n}","fixed":"using System.Net;\n\npublic static class Startup\n{\n    public static void Configure()\n    {\n        ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13;\n    }\n}"},"references":[{"title":"CWE-326: Inadequate Encryption Strength","url":"https://cwe.mitre.org/data/definitions/326.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-hardcoded-password-connection-string","slug":"csharp-hardcoded-password-connection-string","area":"sast","category":"security","title":"Hardcoded password connection string (C#)","severity":"high","language":"C#","what":"A database connection string with a literal password is written in the source.","why":"Anyone who can read the repository or the compiled assembly can sign in to the database.","fix":"Read the connection string from configuration (IConfiguration.GetConnectionString) backed by a secret store, and rotate the password that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"using Microsoft.Data.SqlClient;\n\npublic static class Db\n{\n    public static SqlConnection Open()\n    {\n        return new SqlConnection(\"Server=db.internal;Database=shop;User Id=shop;Password=Sup3rS3cret!;\");\n    }\n}","fixed":"using Microsoft.Data.SqlClient;\nusing Microsoft.Extensions.Configuration;\n\npublic static class Db\n{\n    public static SqlConnection Open(IConfiguration config)\n    {\n        return new SqlConnection(config.GetConnectionString(\"Shop\"));\n    }\n}"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-jwt-hardcoded-secret","slug":"csharp-jwt-hardcoded-secret","area":"sast","category":"security","title":"JWT hardcoded secret (C#)","severity":"high","language":"C#","what":"The key that signs or validates JSON Web Tokens is a literal in the source.","why":"Anyone who reads it can mint tokens this service accepts.","fix":"Load the signing key from configuration backed by a secret store (or use an asymmetric key from a key vault), and rotate the key that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"using System.Text;\nusing Microsoft.IdentityModel.Tokens;\n\npublic static class Jwt\n{\n    public static SecurityKey SigningKey()\n    {\n        return new SymmetricSecurityKey(Encoding.UTF8.GetBytes(\"this-is-the-production-signing-key-2026\"));\n    }\n}","fixed":"using System.Text;\nusing Microsoft.Extensions.Configuration;\nusing Microsoft.IdentityModel.Tokens;\n\npublic static class Jwt\n{\n    public static SecurityKey SigningKey(IConfiguration config)\n    {\n        return new SymmetricSecurityKey(Encoding.UTF8.GetBytes(config[\"Jwt:SigningKey\"]));\n    }\n}"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-jwt-validation-disabled","slug":"csharp-jwt-validation-disabled","area":"sast","category":"security","title":"JWT validation disabled (C#)","severity":"high","language":"C#","what":"Token validation is configured to accept unsigned or expired tokens.","why":"A caller can forge a token or replay an old one.","fix":"Keep RequireSignedTokens, ValidateIssuerSigningKey and ValidateLifetime at true.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-347: Improper Verification of Cryptographic Signature"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"using Microsoft.IdentityModel.Tokens;\n\npublic static class Auth\n{\n    public static TokenValidationParameters Parameters(SecurityKey key)\n    {\n        return new TokenValidationParameters\n        {\n            IssuerSigningKey = key,\n            RequireSignedTokens = false,\n            ValidIssuer = \"https://login.example.com\",\n        };\n    }\n}","fixed":"using Microsoft.IdentityModel.Tokens;\n\npublic static class Auth\n{\n    public static TokenValidationParameters Parameters(SecurityKey key)\n    {\n        return new TokenValidationParameters\n        {\n            IssuerSigningKey = key,\n            ValidateIssuerSigningKey = true,\n            ValidIssuer = \"https://login.example.com\",\n        };\n    }\n}"},"references":[{"title":"CWE-347: Improper Verification of Cryptographic Signature","url":"https://cwe.mitre.org/data/definitions/347.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-csrf-antiforgery-ignored","slug":"csharp-csrf-antiforgery-ignored","area":"sast","category":"security","title":"CSRF anti-forgery ignored (C#)","severity":"medium","language":"C#","what":"[IgnoreAntiforgeryToken] turns off cross-site request forgery protection.","why":"A page on another site can submit this form with the user's cookies.","fix":"Remove the attribute and send the antiforgery token with the request. An API authenticated by a bearer header rather than a cookie does not need the token; mark that with [ApiController].","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-352: Cross-Site Request Forgery (CSRF)"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"using Microsoft.AspNetCore.Mvc;\n\npublic class ProfileController : Controller\n{\n    [HttpPost]\n    [IgnoreAntiforgeryToken]\n    public IActionResult Update(ProfileForm form)\n    {\n        return RedirectToAction(\"Index\");\n    }\n}","fixed":"using Microsoft.AspNetCore.Mvc;\n\npublic class ProfileController : Controller\n{\n    [HttpPost]\n    [ValidateAntiForgeryToken]\n    public IActionResult Update(ProfileForm form)\n    {\n        return RedirectToAction(\"Index\");\n    }\n}"},"references":[{"title":"CWE-352: Cross-Site Request Forgery (CSRF)","url":"https://cwe.mitre.org/data/definitions/352.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-cookie-flags-disabled","slug":"csharp-cookie-flags-disabled","area":"sast","category":"security","title":"Cookie flags disabled (C#)","severity":"medium","language":"C#","what":"A cookie is configured with HttpOnly or Secure turned off.","why":"Script on the page can read it, or it is sent over plain HTTP.","fix":"Set HttpOnly = true and Secure = true (or CookieSecurePolicy.Always) on session and authentication cookies.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"using Microsoft.AspNetCore.Http;\n\npublic static class Session\n{\n    public static void Issue(HttpResponse response, string id)\n    {\n        response.Cookies.Append(\"session\", id, new CookieOptions { HttpOnly = false, Secure = true });\n    }\n}","fixed":"using Microsoft.AspNetCore.Http;\n\npublic static class Session\n{\n    public static void Issue(HttpResponse response, string id)\n    {\n        response.Cookies.Append(\"session\", id, new CookieOptions { HttpOnly = true, Secure = true, SameSite = SameSiteMode.Lax });\n    }\n}"},"references":[{"title":"CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag","url":"https://cwe.mitre.org/data/definitions/1004.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-cors-any-origin-callback","slug":"csharp-cors-any-origin-callback","area":"sast","category":"security","title":"CORS any origin callback (C#)","severity":"medium","language":"C#","what":"The CORS policy allows every origin through a callback that always returns true.","why":"Combined with credentials, any site can read this API's responses with the user's cookies.","fix":"List the allowed origins with WithOrigins, and allow credentials only for those.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-942: Permissive Cross-domain Policy with Untrusted Domains"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"using Microsoft.Extensions.DependencyInjection;\n\npublic static class Cors\n{\n    public static void Add(IServiceCollection services)\n    {\n        services.AddCors(o => o.AddDefaultPolicy(p => p.SetIsOriginAllowed(origin => true).AllowCredentials()));\n    }\n}","fixed":"using Microsoft.Extensions.DependencyInjection;\n\npublic static class Cors\n{\n    public static void Add(IServiceCollection services)\n    {\n        services.AddCors(o => o.AddDefaultPolicy(p => p.WithOrigins(\"https://app.example.com\").AllowCredentials()));\n    }\n}"},"references":[{"title":"CWE-942: Permissive Cross-domain Policy with Untrusted Domains","url":"https://cwe.mitre.org/data/definitions/942.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-developer-exception-page","slug":"csharp-developer-exception-page","area":"sast","category":"security","title":"Developer exception page (C#)","severity":"medium","language":"C#","what":"The developer exception page is enabled outside a development check.","why":"In production it shows stack traces, source lines and configuration to any caller who triggers an error.","fix":"Call UseDeveloperExceptionPage only inside if (app.Environment.IsDevelopment()), and UseExceptionHandler otherwise.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-209: Generation of Error Message Containing Sensitive Information"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"using Microsoft.AspNetCore.Builder;\n\nvar builder = WebApplication.CreateBuilder(args);\nvar app = builder.Build();\napp.UseDeveloperExceptionPage();\napp.MapControllers();\napp.Run();","fixed":"using Microsoft.AspNetCore.Builder;\nusing Microsoft.Extensions.Hosting;\n\nvar builder = WebApplication.CreateBuilder(args);\nvar app = builder.Build();\nif (app.Environment.IsDevelopment())\n{\n    app.UseDeveloperExceptionPage();\n}\nelse\n{\n    app.UseExceptionHandler(\"/error\");\n}\napp.MapControllers();\napp.Run();"},"references":[{"title":"CWE-209: Generation of Error Message Containing Sensitive Information","url":"https://cwe.mitre.org/data/definitions/209.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-mass-assignment-tryupdatemodel","slug":"csharp-mass-assignment-tryupdatemodel","area":"sast","category":"security","title":"Mass assignment TryUpdateModel (C#)","severity":"medium","language":"C#","what":"TryUpdateModelAsync is called without a list of properties.","why":"Every public property of the entity can be set from the request, including ones such as IsAdmin or Balance the form never shows.","fix":"Pass the properties that may change (TryUpdateModelAsync(entity, \"\", e => e.Name, e => e.Email)), or bind a separate input model and copy its fields.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"using System.Threading.Tasks;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class UsersController : Controller\n{\n    private readonly ShopContext _db;\n\n    [HttpPost]\n    public async Task<IActionResult> Edit(int id)\n    {\n        var user = await _db.Users.FindAsync(id);\n        await TryUpdateModelAsync(user);\n        await _db.SaveChangesAsync();\n        return RedirectToAction(\"Index\");\n    }\n}","fixed":"using System.Threading.Tasks;\nusing Microsoft.AspNetCore.Mvc;\n\npublic class UsersController : Controller\n{\n    private readonly ShopContext _db;\n\n    [HttpPost]\n    public async Task<IActionResult> Edit(int id)\n    {\n        var user = await _db.Users.FindAsync(id);\n        await TryUpdateModelAsync(user, \"\", u => u.DisplayName, u => u.Email);\n        await _db.SaveChangesAsync();\n        return RedirectToAction(\"Index\");\n    }\n}"},"references":[{"title":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","url":"https://cwe.mitre.org/data/definitions/915.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-request-validation-disabled","slug":"csharp-request-validation-disabled","area":"sast","category":"security","title":"Request validation disabled (C#)","severity":"medium","language":"C#","what":"[ValidateInput(false)] turns off ASP.NET's request validation for this action.","why":"Markup in the request reaches the action unchecked.","fix":"Remove the attribute, and for the one field that must carry markup use [AllowHtml] with a sanitiser such as HtmlSanitizer.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"using System.Web.Mvc;\n\npublic class CommentsController : Controller\n{\n    [HttpPost]\n    [ValidateInput(false)]\n    public ActionResult Create(string body)\n    {\n        return RedirectToAction(\"Index\");\n    }\n}","fixed":"using System.Web.Mvc;\n\npublic class CommentsController : Controller\n{\n    [HttpPost]\n    [ValidateAntiForgeryToken]\n    public ActionResult Create(string body)\n    {\n        return RedirectToAction(\"Index\");\n    }\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-zip-slip","slug":"csharp-zip-slip","area":"sast","category":"security","title":"Zip slip (C#)","severity":"high","language":"C#","what":"A zip entry is extracted to a path built from the entry's own name.","why":"An entry named ../../app.dll writes outside the target directory.","fix":"Resolve the destination with Path.GetFullPath and refuse any entry whose result does not start with the target directory, or use ZipFile.ExtractToDirectory, which checks this.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"using System.IO;\nusing System.IO.Compression;\n\npublic static class Archives\n{\n    public static void Extract(string zipPath, string target)\n    {\n        using var archive = ZipFile.OpenRead(zipPath);\n        foreach (var entry in archive.Entries)\n        {\n            entry.ExtractToFile(Path.Combine(target, entry.FullName), true);\n        }\n    }\n}","fixed":"using System.IO.Compression;\n\npublic static class Archives\n{\n    public static void Extract(string zipPath, string target)\n    {\n        ZipFile.ExtractToDirectory(zipPath, target);\n    }\n}"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-csharp-process-shell-concatenation","slug":"csharp-process-shell-concatenation","area":"sast","category":"security","title":"Process shell concatenation (C#)","severity":"medium","language":"C#","what":"A shell is started with a command line built from a variable.","why":"If the variable ever carries caller-supplied data, including through another method, the caller can run their own commands.","fix":"Start the program directly (not through cmd.exe or /bin/sh) and pass each value through ProcessStartInfo.ArgumentList.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of C# source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"using System.Diagnostics;\n\npublic static class Backup\n{\n    public static void Run(string database)\n    {\n        Process.Start(\"/bin/sh\", \"-c pg_dump \" + database);\n    }\n}","fixed":"using System.Diagnostics;\n\npublic static class Backup\n{\n    public static void Run(string database)\n    {\n        var psi = new ProcessStartInfo(\"pg_dump\");\n        psi.ArgumentList.Add(database);\n        Process.Start(psi);\n    }\n}"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustowl-go-insecure-tls-skip-verify","slug":"go-insecure-tls-skip-verify","area":"sast","category":"security","title":"Insecure TLS skip verify (Go)","severity":"high","language":"Go","what":"TLS certificate verification is disabled (InsecureSkipVerify: true).","why":"Any TLS connection using this configuration accepts any certificate, which allows a man-in-the-middle attacker to impersonate the remote host undetected.","fix":"Remove InsecureSkipVerify, or set it to false. If a custom certificate authority must be trusted, configure RootCAs on the same tls.Config instead of disabling verification.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"package fixture\n\nimport \"crypto/tls\"\n\nfunc client() *tls.Config {\n\treturn &tls.Config{InsecureSkipVerify: true}\n}","fixed":"package fixture\n\nimport \"crypto/tls\"\n\nfunc client() *tls.Config {\n\treturn &tls.Config{MinVersion: tls.VersionTLS12}\n}"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-go-taint-sql-injection","slug":"go-taint-sql-injection","area":"sast","category":"security","title":"SQL injection from request input (Go)","severity":"high","language":"Go","what":"A value read from the HTTP request reaches the text of a SQL statement.","why":"The caller controls part of the statement, so they can change what it selects, updates or deletes.","fix":"Keep the statement text constant and pass the request value as a query argument ($1 or ?), which database/sql sends separately from the statement.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"package fixture\n\nimport (\n\t\"database/sql\"\n\t\"fmt\"\n\t\"net/http\"\n)\n\nfunc orders(db *sql.DB) http.HandlerFunc {\n\treturn func(w http.ResponseWriter, r *http.Request) {\n\t\tstatus := r.FormValue(\"status\")\n\t\tquery := fmt.Sprintf(\"SELECT id FROM orders WHERE status = '%s'\", status)\n\t\trows, err := db.Query(query)\n\t\tif err != nil {\n\t\t\thttp.Error(w, \"query failed\", http.StatusInternalServerError)\n\t\t\treturn\n\t\t}\n\t\tdefer rows.Close()\n\t}\n}","fixed":"package fixture\n\nimport (\n\t\"database/sql\"\n\t\"net/http\"\n)\n\nfunc orders(db *sql.DB) http.HandlerFunc {\n\treturn func(w http.ResponseWriter, r *http.Request) {\n\t\tstatus := r.FormValue(\"status\")\n\t\trows, err := db.Query(\"SELECT id FROM orders WHERE status = $1\", status)\n\t\tif err != nil {\n\t\t\thttp.Error(w, \"query failed\", http.StatusInternalServerError)\n\t\t\treturn\n\t\t}\n\t\tdefer rows.Close()\n\t}\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-go-taint-command-injection","slug":"go-taint-command-injection","area":"sast","category":"security","title":"Command injection from request input (Go)","severity":"high","language":"Go","what":"A value read from the HTTP request chooses the program to run, or is handed to a shell.","why":"The caller can run their own commands on this host.","fix":"Run a fixed program and pass the request value as one argument, with no shell in between. Validate the value against what the program accepts.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"package fixture\n\nimport (\n\t\"net/http\"\n\t\"os/exec\"\n)\n\nfunc ping(w http.ResponseWriter, r *http.Request) {\n\thost := r.URL.Query().Get(\"host\")\n\tout, _ := exec.Command(\"sh\", \"-c\", \"ping -c 1 \"+host).CombinedOutput()\n\t_, _ = w.Write(out)\n}","fixed":"package fixture\n\nimport (\n\t\"net\"\n\t\"net/http\"\n\t\"os/exec\"\n)\n\nfunc ping(w http.ResponseWriter, r *http.Request) {\n\thost := r.URL.Query().Get(\"host\")\n\tif net.ParseIP(host) == nil {\n\t\thttp.Error(w, \"host must be an IP address\", http.StatusBadRequest)\n\t\treturn\n\t}\n\tout, _ := exec.Command(\"ping\", \"-c\", \"1\", host).CombinedOutput()\n\t_, _ = w.Write(out)\n}"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-go-taint-path-traversal","slug":"go-taint-path-traversal","area":"sast","category":"security","title":"Path traversal from request input (Go)","severity":"high","language":"Go","what":"A value read from the HTTP request is used as a file path.","why":"A value such as ../../etc/passwd walks out of the intended directory, and filepath.Join does not prevent that.","fix":"Reduce the value to a bare file name with filepath.Base before joining it to a fixed directory, or open it through os.Root (Go 1.24), which refuses paths that escape.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"package fixture\n\nimport (\n\t\"net/http\"\n\t\"os\"\n\t\"path/filepath\"\n)\n\nfunc download(w http.ResponseWriter, r *http.Request) {\n\tname := r.URL.Query().Get(\"name\")\n\tdata, err := os.ReadFile(filepath.Join(\"/srv/uploads\", name))\n\tif err != nil {\n\t\thttp.NotFound(w, r)\n\t\treturn\n\t}\n\tw.Header().Set(\"Content-Type\", \"application/octet-stream\")\n\t_, _ = w.Write(data)\n}","fixed":"package fixture\n\nimport (\n\t\"net/http\"\n\t\"os\"\n\t\"path/filepath\"\n)\n\nfunc download(w http.ResponseWriter, r *http.Request) {\n\tname := filepath.Base(r.URL.Query().Get(\"name\"))\n\tdata, err := os.ReadFile(filepath.Join(\"/srv/uploads\", name))\n\tif err != nil {\n\t\thttp.NotFound(w, r)\n\t\treturn\n\t}\n\tw.Header().Set(\"Content-Type\", \"application/octet-stream\")\n\t_, _ = w.Write(data)\n}"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-go-taint-ssrf","slug":"go-taint-ssrf","area":"sast","category":"security","title":"SSRF from request input (Go)","severity":"high","language":"Go","what":"A value read from the HTTP request is used as the URL of an outbound request.","why":"The caller can make this server fetch internal addresses, such as a cloud metadata endpoint.","fix":"Choose the destination from an allowlist held by the server, and dial through a transport whose Control function refuses private, loopback and link-local addresses.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-918: Server-Side Request Forgery (SSRF)"],"owasp":["A10:2021 - Server-Side Request Forgery (SSRF)"],"taint":true,"example":{"vulnerable":"package fixture\n\nimport \"net/http\"\n\nfunc preview(w http.ResponseWriter, r *http.Request) {\n\ttarget := r.FormValue(\"url\")\n\tresp, err := http.Get(target)\n\tif err != nil {\n\t\thttp.Error(w, \"fetch failed\", http.StatusBadGateway)\n\t\treturn\n\t}\n\tdefer resp.Body.Close()\n\tw.WriteHeader(resp.StatusCode)\n}","fixed":"package fixture\n\nimport \"net/http\"\n\nvar feeds = map[string]string{\"news\": \"https://feeds.example.com/news\"}\n\nfunc preview(w http.ResponseWriter, r *http.Request) {\n\tif _, known := feeds[r.FormValue(\"feed\")]; !known {\n\t\thttp.Error(w, \"unknown feed\", http.StatusBadRequest)\n\t\treturn\n\t}\n\tresp, err := http.Get(\"https://feeds.example.com/news\")\n\tif err != nil {\n\t\thttp.Error(w, \"fetch failed\", http.StatusBadGateway)\n\t\treturn\n\t}\n\tdefer resp.Body.Close()\n\tw.WriteHeader(resp.StatusCode)\n}"},"references":[{"title":"CWE-918: Server-Side Request Forgery (SSRF)","url":"https://cwe.mitre.org/data/definitions/918.html"},{"title":"OWASP Top 10 A10:2021 - Server-Side Request Forgery (SSRF)","url":"https://owasp.org/Top10/2021/A10_2021-Server-Side_Request_Forgery_(SSRF)/"}],"updated":"2026-10-13"},{"id":"trustivan-go-taint-xss","slug":"go-taint-xss","area":"sast","category":"security","title":"XSS from request input (Go)","severity":"high","language":"Go","what":"A value read from the HTTP request is written into the response without escaping.","why":"If the response is served as HTML, markup in the value runs as script in the user's browser.","fix":"Render the value through html/template, which escapes for the context it lands in, or escape it with html.EscapeString. Do not convert request data to template.HTML.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"package fixture\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n)\n\nfunc hello(w http.ResponseWriter, r *http.Request) {\n\tname := r.FormValue(\"name\")\n\tfmt.Fprintf(w, \"<h1>Hello %s</h1>\", name)\n}","fixed":"package fixture\n\nimport (\n\t\"fmt\"\n\t\"html\"\n\t\"net/http\"\n)\n\nfunc hello(w http.ResponseWriter, r *http.Request) {\n\tname := html.EscapeString(r.FormValue(\"name\"))\n\tfmt.Fprintf(w, \"<h1>Hello %s</h1>\", name)\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-go-taint-deserialization","slug":"go-taint-deserialization","area":"sast","category":"security","title":"Deserialization from request input (Go)","severity":"medium","language":"Go","what":"The request body is decoded with encoding/gob. gob trusts the stream to describe its own types and sizes.","why":"A crafted body can make the decoder allocate without bound; the package documents that it is not hardened against adversarial input.","fix":"Accept JSON or protobuf from clients, and wrap the body in http.MaxBytesReader before decoding.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"package fixture\n\nimport (\n\t\"encoding/gob\"\n\t\"net/http\"\n)\n\ntype state struct{ Items []string }\n\nfunc restore(w http.ResponseWriter, r *http.Request) {\n\tvar s state\n\tif err := gob.NewDecoder(r.Body).Decode(&s); err != nil {\n\t\thttp.Error(w, \"bad body\", http.StatusBadRequest)\n\t}\n}","fixed":"package fixture\n\nimport (\n\t\"encoding/json\"\n\t\"net/http\"\n)\n\ntype state struct{ Items []string }\n\nfunc restore(w http.ResponseWriter, r *http.Request) {\n\tvar s state\n\tbody := http.MaxBytesReader(w, r.Body, 1<<20)\n\tif err := json.NewDecoder(body).Decode(&s); err != nil {\n\t\thttp.Error(w, \"bad body\", http.StatusBadRequest)\n\t}\n}"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-go-taint-open-redirect","slug":"go-taint-open-redirect","area":"sast","category":"security","title":"Open redirect from request input (Go)","severity":"medium","language":"Go","what":"A value read from the HTTP request is used as a redirect target.","why":"A link to this site can send a user to a site the attacker controls.","fix":"Redirect only to a path on this site: look the target up in an allowlist rather than passing the request value through.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-601: URL Redirection to Untrusted Site"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"package fixture\n\nimport \"net/http\"\n\nfunc done(w http.ResponseWriter, r *http.Request) {\n\thttp.Redirect(w, r, r.FormValue(\"next\"), http.StatusFound)\n}","fixed":"package fixture\n\nimport \"net/http\"\n\nvar pages = map[string]bool{\"/inbox\": true, \"/settings\": true}\n\nfunc done(w http.ResponseWriter, r *http.Request) {\n\tif pages[r.FormValue(\"next\")] {\n\t\thttp.Redirect(w, r, \"/settings\", http.StatusFound)\n\t\treturn\n\t}\n\thttp.Redirect(w, r, \"/inbox\", http.StatusFound)\n}"},"references":[{"title":"CWE-601: URL Redirection to Untrusted Site","url":"https://cwe.mitre.org/data/definitions/601.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-go-taint-template-injection","slug":"go-taint-template-injection","area":"sast","category":"security","title":"Template injection from request input (Go)","severity":"high","language":"Go","what":"A value read from the HTTP request is parsed as a template.","why":"Template actions in the value run on the server and can call any method the template data exposes.","fix":"Keep the template text constant and pass the request value as template data.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"package fixture\n\nimport (\n\t\"html/template\"\n\t\"net/http\"\n)\n\nfunc card(w http.ResponseWriter, r *http.Request) {\n\tlayout := r.FormValue(\"layout\")\n\tt, err := template.New(\"card\").Parse(layout)\n\tif err != nil {\n\t\thttp.Error(w, \"bad layout\", http.StatusBadRequest)\n\t\treturn\n\t}\n\t_ = t.Execute(w, nil)\n}","fixed":"package fixture\n\nimport (\n\t\"html/template\"\n\t\"net/http\"\n)\n\nvar cardTemplate = template.Must(template.New(\"card\").Parse(\"<p>{{.}}</p>\"))\n\nfunc card(w http.ResponseWriter, r *http.Request) {\n\t_ = cardTemplate.Execute(w, r.FormValue(\"greeting\"))\n}"},"references":[{"title":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","url":"https://cwe.mitre.org/data/definitions/1336.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-go-sql-string-formatting","slug":"go-sql-string-formatting","area":"sast","category":"security","title":"SQL string formatting (Go)","severity":"medium","language":"Go","what":"A SQL statement is assembled with fmt.Sprintf or string concatenation.","why":"If any operand carries input from outside the program, this is a SQL injection.","fix":"Use placeholders ($1 or ?) and pass the values as query arguments. Choose identifiers such as column names from a fixed list.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"package fixture\n\nimport (\n\t\"database/sql\"\n\t\"fmt\"\n)\n\nfunc countByColumn(db *sql.DB, column, value string) (*sql.Rows, error) {\n\treturn db.Query(fmt.Sprintf(\"SELECT count(*) FROM events WHERE %s = '%s'\", column, value))\n}","fixed":"package fixture\n\nimport \"database/sql\"\n\nfunc countByKind(db *sql.DB, value string) (*sql.Rows, error) {\n\treturn db.Query(\"SELECT count(*) FROM events WHERE kind = $1\", value)\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-go-weak-hash","slug":"go-weak-hash","area":"sast","category":"security","title":"Weak hash (Go)","severity":"medium","language":"Go","what":"MD5 and SHA-1 are broken for collision resistance and must not protect passwords, signatures or integrity checks.","why":"An attacker can produce two inputs with the same digest, so a signature or integrity check built on it can be forged, and fast hashes make stolen password digests quick to crack.","fix":"Use crypto/sha256 or stronger. For passwords use golang.org/x/crypto/argon2 or bcrypt.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"package fixture\n\nimport (\n\t\"crypto/md5\"\n\t\"encoding/hex\"\n)\n\nfunc fingerprint(password string) string {\n\tsum := md5.Sum([]byte(password))\n\treturn hex.EncodeToString(sum[:])\n}","fixed":"package fixture\n\nimport (\n\t\"crypto/sha256\"\n\t\"encoding/hex\"\n)\n\nfunc fingerprint(password string) string {\n\tsum := sha256.Sum256([]byte(password))\n\treturn hex.EncodeToString(sum[:])\n}"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-go-weak-cipher","slug":"go-weak-cipher","area":"sast","category":"security","title":"Weak cipher (Go)","severity":"high","language":"Go","what":"DES, Triple DES and RC4 are no longer safe for protecting data.","why":"Data encrypted with these ciphers can be recovered by an attacker who captures enough of it, so the encryption no longer keeps it confidential.","fix":"Use AES-GCM (crypto/aes with cipher.NewGCM) or golang.org/x/crypto/chacha20poly1305.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"package fixture\n\nimport (\n\t\"crypto/cipher\"\n\t\"crypto/des\"\n)\n\nfunc block(key []byte) (cipher.Block, error) {\n\treturn des.NewCipher(key)\n}","fixed":"package fixture\n\nimport (\n\t\"crypto/aes\"\n\t\"crypto/cipher\"\n)\n\nfunc aead(key []byte) (cipher.AEAD, error) {\n\tb, err := aes.NewCipher(key)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn cipher.NewGCM(b)\n}"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-go-math-rand-secret","slug":"go-math-rand-secret","area":"sast","category":"security","title":"Math rand secret (Go)","severity":"medium","language":"Go","what":"A value named like a secret is generated with math/rand, whose output is predictable from earlier output.","why":"Someone who sees a few outputs, or guesses the seed, can predict the token, password or key this value becomes.","fix":"Read secrets from crypto/rand (rand.Read or rand.Text).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"package fixture\n\nimport (\n\t\"fmt\"\n\t\"math/rand\"\n)\n\nfunc newResetToken() string {\n\tresetToken := fmt.Sprintf(\"%016x\", rand.Uint64())\n\treturn resetToken\n}","fixed":"package fixture\n\nimport (\n\t\"crypto/rand\"\n\t\"encoding/hex\"\n)\n\nfunc newResetToken() string {\n\tbuf := make([]byte, 16)\n\t_, _ = rand.Read(buf)\n\tresetToken := hex.EncodeToString(buf)\n\treturn resetToken\n}"},"references":[{"title":"CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator","url":"https://cwe.mitre.org/data/definitions/338.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-go-tls-old-minimum-version","slug":"go-tls-old-minimum-version","area":"sast","category":"security","title":"TLS old minimum version (Go)","severity":"medium","language":"Go","what":"The TLS configuration accepts TLS 1.0, TLS 1.1 or SSL 3.0, protocol versions with known attacks that current clients no longer need.","why":"An attacker on the network path can force a connection down to the oldest version both sides accept and then attack that version.","fix":"Set MinVersion to tls.VersionTLS12 or tls.VersionTLS13.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-326: Inadequate Encryption Strength"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"package fixture\n\nimport \"crypto/tls\"\n\nfunc server() *tls.Config {\n\treturn &tls.Config{MinVersion: tls.VersionTLS10}\n}","fixed":"package fixture\n\nimport \"crypto/tls\"\n\nfunc server() *tls.Config {\n\treturn &tls.Config{MinVersion: tls.VersionTLS13}\n}"},"references":[{"title":"CWE-326: Inadequate Encryption Strength","url":"https://cwe.mitre.org/data/definitions/326.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-go-ssh-host-key-not-verified","slug":"go-ssh-host-key-not-verified","area":"sast","category":"security","title":"SSH host key not verified (Go)","severity":"high","language":"Go","what":"The SSH client accepts any host key.","why":"A machine in the network path can impersonate the server and read the session.","fix":"Verify the host key with ssh.FixedHostKey or a knownhosts callback (golang.org/x/crypto/ssh/knownhosts).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"package fixture\n\nimport \"golang.org/x/crypto/ssh\"\n\nfunc config(user string) *ssh.ClientConfig {\n\treturn &ssh.ClientConfig{User: user, HostKeyCallback: ssh.InsecureIgnoreHostKey()}\n}","fixed":"package fixture\n\nimport \"golang.org/x/crypto/ssh\"\n\nfunc config(user string, hostKey ssh.PublicKey) *ssh.ClientConfig {\n\treturn &ssh.ClientConfig{User: user, HostKeyCallback: ssh.FixedHostKey(hostKey)}\n}"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-go-http-server-without-timeouts","slug":"go-http-server-without-timeouts","area":"sast","category":"security","title":"HTTP server without timeouts (Go)","severity":"medium","language":"Go","what":"http.ListenAndServe starts a server with no read or write timeouts.","why":"A client that sends its request one byte at a time holds a connection open indefinitely, and enough of them exhaust the server.","fix":"Construct an http.Server with ReadHeaderTimeout, ReadTimeout, WriteTimeout and IdleTimeout set, and call its ListenAndServe.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-400: Uncontrolled Resource Consumption"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"package fixture\n\nimport \"net/http\"\n\nfunc serve(handler http.Handler) error {\n\treturn http.ListenAndServe(\":8080\", handler)\n}","fixed":"package fixture\n\nimport (\n\t\"net/http\"\n\t\"time\"\n)\n\nfunc serve(handler http.Handler) error {\n\tserver := &http.Server{\n\t\tAddr:              \":8080\",\n\t\tHandler:           handler,\n\t\tReadHeaderTimeout: 5 * time.Second,\n\t\tReadTimeout:       30 * time.Second,\n\t\tWriteTimeout:      30 * time.Second,\n\t\tIdleTimeout:       2 * time.Minute,\n\t}\n\treturn server.ListenAndServe()\n}"},"references":[{"title":"CWE-400: Uncontrolled Resource Consumption","url":"https://cwe.mitre.org/data/definitions/400.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-go-world-writable-file-mode","slug":"go-world-writable-file-mode","area":"sast","category":"security","title":"World writable file mode (Go)","severity":"medium","language":"Go","what":"The file or directory is created writable by every user on the host.","why":"Any local account can change what this program later reads.","fix":"Use 0o600 for files and 0o700 or 0o750 for directories.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-732: Incorrect Permission Assignment for Critical Resource"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"package fixture\n\nimport \"os\"\n\nfunc save(path string, data []byte) error {\n\treturn os.WriteFile(path, data, 0666)\n}","fixed":"package fixture\n\nimport \"os\"\n\nfunc save(path string, data []byte) error {\n\tif err := os.MkdirAll(\"/var/lib/app\", 0o750); err != nil {\n\t\treturn err\n\t}\n\treturn os.WriteFile(path, data, 0o600)\n}"},"references":[{"title":"CWE-732: Incorrect Permission Assignment for Critical Resource","url":"https://cwe.mitre.org/data/definitions/732.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-go-zip-slip","slug":"go-zip-slip","area":"sast","category":"security","title":"Zip slip (Go)","severity":"high","language":"Go","what":"An archive entry's name is joined to the destination directory without checking where the result points.","why":"An entry named ../../x is written outside the destination.","fix":"Reject the entry unless filepath.IsLocal(name) is true, or check that the joined path still has the destination as its prefix.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"package fixture\n\nimport (\n\t\"archive/zip\"\n\t\"os\"\n\t\"path/filepath\"\n)\n\nfunc unpack(reader *zip.Reader, dest string) error {\n\tfor _, entry := range reader.File {\n\t\ttarget := filepath.Join(dest, entry.Name)\n\t\tif err := os.MkdirAll(filepath.Dir(target), 0o750); err != nil {\n\t\t\treturn err\n\t\t}\n\t}\n\treturn nil\n}","fixed":"package fixture\n\nimport (\n\t\"archive/zip\"\n\t\"errors\"\n\t\"os\"\n\t\"path/filepath\"\n)\n\nfunc unpack(reader *zip.Reader, dest string) error {\n\tfor _, entry := range reader.File {\n\t\tif !filepath.IsLocal(entry.Name) {\n\t\t\treturn errors.New(\"archive entry escapes the destination\")\n\t\t}\n\t\ttarget := filepath.Join(dest, entry.Name)\n\t\tif err := os.MkdirAll(filepath.Dir(target), 0o750); err != nil {\n\t\t\treturn err\n\t\t}\n\t}\n\treturn nil\n}"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-go-jwt-parse-unverified","slug":"go-jwt-parse-unverified","area":"sast","category":"security","title":"JWT parse unverified (Go)","severity":"high","language":"Go","what":"The token is parsed without verifying its signature.","why":"Its claims are whatever the sender wrote.","fix":"Parse with a key function and jwt.WithValidMethods, and use the claims only when the returned token is valid.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-347: Improper Verification of Cryptographic Signature"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"package fixture\n\nimport \"github.com/golang-jwt/jwt/v5\"\n\nfunc subject(raw string) (string, error) {\n\tclaims := jwt.MapClaims{}\n\tif _, _, err := jwt.NewParser().ParseUnverified(raw, claims); err != nil {\n\t\treturn \"\", err\n\t}\n\treturn claims.GetSubject()\n}","fixed":"package fixture\n\nimport \"github.com/golang-jwt/jwt/v5\"\n\nfunc subject(raw string, key []byte) (string, error) {\n\tclaims := jwt.MapClaims{}\n\t_, err := jwt.ParseWithClaims(raw, claims, func(*jwt.Token) (any, error) {\n\t\treturn key, nil\n\t}, jwt.WithValidMethods([]string{\"HS256\"}))\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\treturn claims.GetSubject()\n}"},"references":[{"title":"CWE-347: Improper Verification of Cryptographic Signature","url":"https://cwe.mitre.org/data/definitions/347.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-go-hardcoded-password-connection-string","slug":"go-hardcoded-password-connection-string","area":"sast","category":"security","title":"Hardcoded password connection string (Go)","severity":"high","language":"Go","what":"The connection string in the source contains a password.","why":"Anyone who can read the repository can connect to the database.","fix":"Read the connection string from the environment or a secret manager, and rotate the password that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"package fixture\n\nimport \"database/sql\"\n\nfunc open() (*sql.DB, error) {\n\treturn sql.Open(\"postgres\", \"postgres://billing:fixture-not-a-real-password@db.internal:5432/billing\")\n}","fixed":"package fixture\n\nimport (\n\t\"database/sql\"\n\t\"os\"\n)\n\nfunc open() (*sql.DB, error) {\n\treturn sql.Open(\"postgres\", os.Getenv(\"DATABASE_URL\"))\n}"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-go-cookie-without-httponly","slug":"go-cookie-without-httponly","area":"sast","category":"security","title":"Cookie without HttpOnly (Go)","severity":"medium","language":"Go","what":"The cookie is created without HttpOnly, so script on the page can read it.","why":"A cross-site scripting flaw then yields the session.","fix":"Set HttpOnly: true, Secure: true and a SameSite mode on the cookie.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"package fixture\n\nimport \"net/http\"\n\nfunc remember(w http.ResponseWriter, session string) {\n\thttp.SetCookie(w, &http.Cookie{Name: \"sid\", Value: session, Secure: true})\n}","fixed":"package fixture\n\nimport \"net/http\"\n\nfunc remember(w http.ResponseWriter, session string) {\n\thttp.SetCookie(w, &http.Cookie{\n\t\tName: \"sid\", Value: session, Secure: true, HttpOnly: true, SameSite: http.SameSiteLaxMode,\n\t})\n}"},"references":[{"title":"CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag","url":"https://cwe.mitre.org/data/definitions/1004.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-go-grpc-insecure-transport","slug":"go-grpc-insecure-transport","area":"sast","category":"security","title":"GRPC insecure transport (Go)","severity":"medium","language":"Go","what":"The gRPC connection is opened without transport security.","why":"Requests and credentials cross the network unencrypted and unauthenticated.","fix":"Dial with grpc.WithTransportCredentials(credentials.NewTLS(...)).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-319: Cleartext Transmission of Sensitive Information"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"package fixture\n\nimport \"google.golang.org/grpc\"\n\nfunc dial(target string) (*grpc.ClientConn, error) {\n\treturn grpc.Dial(target, grpc.WithInsecure())\n}","fixed":"package fixture\n\nimport (\n\t\"crypto/tls\"\n\n\t\"google.golang.org/grpc\"\n\t\"google.golang.org/grpc/credentials\"\n)\n\nfunc dial(target string) (*grpc.ClientConn, error) {\n\tcreds := credentials.NewTLS(&tls.Config{MinVersion: tls.VersionTLS12})\n\treturn grpc.NewClient(target, grpc.WithTransportCredentials(creds))\n}"},"references":[{"title":"CWE-319: Cleartext Transmission of Sensitive Information","url":"https://cwe.mitre.org/data/definitions/319.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-go-pprof-exposed","slug":"go-pprof-exposed","area":"sast","category":"security","title":"Pprof exposed (Go)","severity":"medium","language":"Go","what":"Importing net/http/pprof registers profiling handlers on the default mux.","why":"If that mux serves a public port, anyone can download heap and goroutine dumps, which contain request data.","fix":"Register the pprof handlers explicitly on a separate mux bound to localhost or an authenticated admin listener.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-489: Active Debug Code"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"package fixture\n\nimport (\n\t\"net/http\"\n\t_ \"net/http/pprof\"\n)\n\nfunc handler() http.Handler { return http.DefaultServeMux }","fixed":"package fixture\n\nimport (\n\t\"net/http\"\n\t\"net/http/pprof\"\n)\n\nfunc adminMux() *http.ServeMux {\n\tmux := http.NewServeMux()\n\tmux.HandleFunc(\"/debug/pprof/\", pprof.Index)\n\treturn mux\n}"},"references":[{"title":"CWE-489: Active Debug Code","url":"https://cwe.mitre.org/data/definitions/489.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-go-text-template-html-response","slug":"go-text-template-html-response","area":"sast","category":"security","title":"Text template HTML response (Go)","severity":"medium","language":"Go","what":"A text/template is executed into an HTTP response. text/template does not escape.","why":"Any value in the data that a user supplied is rendered as markup.","fix":"Import html/template instead; its API is the same.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"package fixture\n\nimport (\n\t\"net/http\"\n\t\"text/template\"\n)\n\nvar page = template.Must(template.New(\"page\").Parse(\"<p>{{.}}</p>\"))\n\nfunc show(w http.ResponseWriter, r *http.Request) {\n\t_ = page.Execute(w, r.FormValue(\"note\"))\n}","fixed":"package fixture\n\nimport (\n\t\"html/template\"\n\t\"net/http\"\n)\n\nvar page = template.Must(template.New(\"page\").Parse(\"<p>{{.}}</p>\"))\n\nfunc show(w http.ResponseWriter, r *http.Request) {\n\t_ = page.Execute(w, r.FormValue(\"note\"))\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-go-taint-ldap-injection","slug":"go-taint-ldap-injection","area":"sast","category":"security","title":"LDAP injection from request input (Go)","severity":"high","language":"Go","what":"A value read from the HTTP request is placed in an LDAP search filter.","why":"Characters such as * ( ) change which directory entries it matches.","fix":"Escape the value with ldap.EscapeFilter before building the filter.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-90: Improper Neutralization of Special Elements used in an LDAP Query"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"package dir\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/go-ldap/ldap/v3\"\n)\n\nfunc Find(w http.ResponseWriter, r *http.Request) {\n\tuser := r.URL.Query().Get(\"user\")\n\treq := ldap.NewSearchRequest(\"dc=example,dc=com\", ldap.ScopeWholeSubtree, ldap.NeverDerefAliases, 0, 0, false,\n\t\t\"(uid=\"+user+\")\", []string{\"dn\"}, nil)\n\t_ = req\n}","fixed":"package dir\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/go-ldap/ldap/v3\"\n)\n\nfunc Find(w http.ResponseWriter, r *http.Request) {\n\tuser := r.URL.Query().Get(\"user\")\n\treq := ldap.NewSearchRequest(\"dc=example,dc=com\", ldap.ScopeWholeSubtree, ldap.NeverDerefAliases, 0, 0, false,\n\t\t\"(uid=\"+ldap.EscapeFilter(user)+\")\", []string{\"dn\"}, nil)\n\t_ = req\n}"},"references":[{"title":"CWE-90: Improper Neutralization of Special Elements used in an LDAP Query","url":"https://cwe.mitre.org/data/definitions/90.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-go-taint-xpath-injection","slug":"go-taint-xpath-injection","area":"sast","category":"security","title":"XPath injection from request input (Go)","severity":"high","language":"Go","what":"A value read from the HTTP request is placed in an XPath expression.","why":"A quote in the value changes which nodes it selects.","fix":"Validate the value against a strict pattern (for example digits only) before placing it in the expression, or walk the tree in code.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-643: Improper Neutralization of Data within XPath Expressions"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"package catalog\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/antchfx/xmlquery\"\n)\n\nfunc Item(w http.ResponseWriter, r *http.Request, doc *xmlquery.Node) {\n\tsku := r.FormValue(\"sku\")\n\tnode := xmlquery.FindOne(doc, \"//item[@sku='\"+sku+\"']\")\n\t_, _ = w.Write([]byte(node.InnerText()))\n}","fixed":"package catalog\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/antchfx/xmlquery\"\n)\n\nfunc Item(w http.ResponseWriter, r *http.Request, doc *xmlquery.Node) {\n\tsku := r.FormValue(\"sku\")\n\tfor _, n := range xmlquery.Find(doc, \"//item\") {\n\t\tif n.SelectAttr(\"sku\") == sku {\n\t\t\t_, _ = w.Write([]byte(n.InnerText()))\n\t\t}\n\t}\n}"},"references":[{"title":"CWE-643: Improper Neutralization of Data within XPath Expressions","url":"https://cwe.mitre.org/data/definitions/643.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-go-taint-regex-injection","slug":"go-taint-regex-injection","area":"sast","category":"security","title":"Regex injection from request input (Go)","severity":"medium","language":"Go","what":"A value read from the HTTP request is compiled as a regular expression.","why":"Go's engine does not backtrack, but the caller decides what matches and can submit a very large pattern to compile.","fix":"Quote the value with regexp.QuoteMeta when it is meant literally, or use strings.Contains.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-185: Incorrect Regular Expression"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"package search\n\nimport (\n\t\"net/http\"\n\t\"regexp\"\n)\n\nfunc Filter(w http.ResponseWriter, r *http.Request) {\n\tre, err := regexp.Compile(r.URL.Query().Get(\"q\"))\n\tif err != nil {\n\t\treturn\n\t}\n\t_ = re\n}","fixed":"package search\n\nimport (\n\t\"net/http\"\n\t\"regexp\"\n)\n\nfunc Filter(w http.ResponseWriter, r *http.Request) {\n\tre, err := regexp.Compile(regexp.QuoteMeta(r.URL.Query().Get(\"q\")))\n\tif err != nil {\n\t\treturn\n\t}\n\t_ = re\n}"},"references":[{"title":"CWE-185: Incorrect Regular Expression","url":"https://cwe.mitre.org/data/definitions/185.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-go-taint-nosql-injection","slug":"go-taint-nosql-injection","area":"sast","category":"security","title":"NoSQL injection from request input (Go)","severity":"high","language":"Go","what":"A value read from the HTTP request becomes a MongoDB $where clause, which is JavaScript evaluated by the database for every document.","why":"The caller writes code the database runs, so they can match documents they should not see or slow the database down for everyone.","fix":"Express the condition with query operators (bson.M{\"field\": bson.M{\"$eq\": value}}) and never $where.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-943: Improper Neutralization of Special Elements in Data Query Logic"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"package users\n\nimport (\n\t\"net/http\"\n\n\t\"go.mongodb.org/mongo-driver/bson\"\n)\n\nfunc Search(w http.ResponseWriter, r *http.Request) {\n\tcond := r.URL.Query().Get(\"cond\")\n\tfilter := bson.M{\"$where\": cond}\n\t_ = filter\n}","fixed":"package users\n\nimport (\n\t\"net/http\"\n\n\t\"go.mongodb.org/mongo-driver/bson\"\n)\n\nfunc Search(w http.ResponseWriter, r *http.Request) {\n\temail := r.URL.Query().Get(\"email\")\n\tfilter := bson.M{\"email\": bson.M{\"$eq\": email}}\n\t_ = filter\n}"},"references":[{"title":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","url":"https://cwe.mitre.org/data/definitions/943.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-11-07"},{"id":"trustivan-go-taint-code-injection","slug":"go-taint-code-injection","area":"sast","category":"security","title":"Code injection from request input (Go)","severity":"high","language":"Go","what":"A value read from the HTTP request is evaluated by an embedded interpreter or expression engine.","why":"The caller can run code, or read anything the environment passed to the engine exposes.","fix":"Do not evaluate request data. If users must supply expressions, compile a server-held expression and pass the value as a variable, with an environment that exposes nothing else.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-94: Improper Control of Generation of Code ('Code Injection')"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"package calc\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/expr-lang/expr\"\n)\n\nfunc Eval(w http.ResponseWriter, r *http.Request) {\n\tout, err := expr.Eval(r.FormValue(\"expr\"), nil)\n\t_, _ = out, err\n}","fixed":"package calc\n\nimport (\n\t\"net/http\"\n\t\"strconv\"\n\n\t\"github.com/expr-lang/expr\"\n)\n\nfunc Eval(w http.ResponseWriter, r *http.Request) {\n\ta, _ := strconv.Atoi(r.FormValue(\"a\"))\n\tout, err := expr.Eval(\"a * 2\", map[string]any{\"a\": a})\n\t_, _ = out, err\n}"},"references":[{"title":"CWE-94: Improper Control of Generation of Code ('Code Injection')","url":"https://cwe.mitre.org/data/definitions/94.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-go-jwt-none-algorithm","slug":"go-jwt-none-algorithm","area":"sast","category":"security","title":"JWT none algorithm (Go)","severity":"high","language":"Go","what":"The \"none\" JWT algorithm is allowed.","why":"An unsigned token is accepted as valid.","fix":"Remove SigningMethodNone / UnsafeAllowNoneSignatureType and pin the expected algorithm with jwt.WithValidMethods.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-347: Improper Verification of Cryptographic Signature"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"package auth\n\nimport \"github.com/golang-jwt/jwt/v5\"\n\nfunc Parse(token string) (*jwt.Token, error) {\n\treturn jwt.Parse(token, func(t *jwt.Token) (any, error) {\n\t\treturn jwt.UnsafeAllowNoneSignatureType, nil\n\t})\n}","fixed":"package auth\n\nimport \"github.com/golang-jwt/jwt/v5\"\n\nfunc Parse(token string, key []byte) (*jwt.Token, error) {\n\treturn jwt.Parse(token, func(t *jwt.Token) (any, error) {\n\t\treturn key, nil\n\t}, jwt.WithValidMethods([]string{\"HS256\"}))\n}"},"references":[{"title":"CWE-347: Improper Verification of Cryptographic Signature","url":"https://cwe.mitre.org/data/definitions/347.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-go-weak-rsa-key","slug":"go-weak-rsa-key","area":"sast","category":"security","title":"Weak RSA key (Go)","severity":"medium","language":"Go","what":"An RSA key shorter than 2048 bits is generated.","why":"Such keys are within reach of a well-funded attacker.","fix":"Generate at least 2048-bit keys (3072 for long-lived keys), or use ed25519 / ECDSA P-256.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-326: Inadequate Encryption Strength"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"package keys\n\nimport (\n\t\"crypto/rand\"\n\t\"crypto/rsa\"\n)\n\nfunc New() (*rsa.PrivateKey, error) {\n\treturn rsa.GenerateKey(rand.Reader, 1024)\n}","fixed":"package keys\n\nimport (\n\t\"crypto/rand\"\n\t\"crypto/rsa\"\n)\n\nfunc New() (*rsa.PrivateKey, error) {\n\treturn rsa.GenerateKey(rand.Reader, 3072)\n}"},"references":[{"title":"CWE-326: Inadequate Encryption Strength","url":"https://cwe.mitre.org/data/definitions/326.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-go-cors-wildcard-credentials","slug":"go-cors-wildcard-credentials","area":"sast","category":"security","title":"CORS wildcard credentials (Go)","severity":"high","language":"Go","what":"The CORS middleware allows every origin together with credentials.","why":"Any site can read this API's responses with the user's cookies.","fix":"List the allowed origins explicitly when AllowCredentials is true.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-942: Permissive Cross-domain Policy with Untrusted Domains"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"package main\n\nimport \"github.com/rs/cors\"\n\nvar c = cors.New(cors.Options{\n\tAllowedOrigins:   []string{\"*\"},\n\tAllowCredentials: true,\n})","fixed":"package main\n\nimport \"github.com/rs/cors\"\n\nvar c = cors.New(cors.Options{\n\tAllowedOrigins:   []string{\"https://app.example.com\"},\n\tAllowCredentials: true,\n})"},"references":[{"title":"CWE-942: Permissive Cross-domain Policy with Untrusted Domains","url":"https://cwe.mitre.org/data/definitions/942.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-go-jwt-hardcoded-secret","slug":"go-jwt-hardcoded-secret","area":"sast","category":"security","title":"JWT hardcoded secret (Go)","severity":"high","language":"Go","what":"The key that signs or verifies JSON Web Tokens is a literal in the source.","why":"Anyone who reads it can mint tokens this service accepts.","fix":"Load the key from a secret store or the environment at start-up and rotate the key that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"package auth\n\nimport \"github.com/golang-jwt/jwt/v5\"\n\nfunc Issue(sub string) (string, error) {\n\tt := jwt.NewWithClaims(jwt.SigningMethodHS256, jwt.MapClaims{\"sub\": sub})\n\treturn t.SignedString([]byte(\"production-signing-key-2026\"))\n}","fixed":"package auth\n\nimport (\n\t\"os\"\n\n\t\"github.com/golang-jwt/jwt/v5\"\n)\n\nfunc Issue(sub string) (string, error) {\n\tt := jwt.NewWithClaims(jwt.SigningMethodHS256, jwt.MapClaims{\"sub\": sub})\n\treturn t.SignedString([]byte(os.Getenv(\"JWT_KEY\")))\n}"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-go-csrf-insecure-cookie","slug":"go-csrf-insecure-cookie","area":"sast","category":"security","title":"CSRF insecure cookie (Go)","severity":"medium","language":"Go","what":"gorilla/csrf is configured with Secure(false).","why":"The CSRF cookie is sent over plain HTTP where it can be read and replayed.","fix":"Leave Secure at its default (true) outside local development.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"package main\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/gorilla/csrf\"\n)\n\nfunc Protect(h http.Handler, key []byte) http.Handler {\n\treturn csrf.Protect(key, csrf.Secure(false))(h)\n}","fixed":"package main\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/gorilla/csrf\"\n)\n\nfunc Protect(h http.Handler, key []byte) http.Handler {\n\treturn csrf.Protect(key, csrf.SameSite(csrf.SameSiteLaxMode))(h)\n}"},"references":[{"title":"CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute","url":"https://cwe.mitre.org/data/definitions/614.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-go-template-html-non-literal","slug":"go-template-html-non-literal","area":"sast","category":"security","title":"Template HTML non literal (Go)","severity":"medium","language":"Go","what":"A runtime value is converted to template.HTML (or JS / URL), which tells html/template not to escape it.","why":"If any part comes from a user, this is cross-site scripting.","fix":"Pass the value as a plain string so html/template escapes it, or sanitise it with bluemonday before the conversion.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"package view\n\nimport \"html/template\"\n\nfunc Bio(raw string) template.HTML {\n\treturn template.HTML(raw)\n}","fixed":"package view\n\nimport (\n\t\"html/template\"\n\n\t\"github.com/microcosm-cc/bluemonday\"\n)\n\nvar policy = bluemonday.UGCPolicy()\n\nfunc Bio(raw string) template.HTML {\n\treturn template.HTML(policy.Sanitize(raw))\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-11-18"},{"id":"trustivan-go-ai-sdk-use","slug":"go-ai-sdk-use","area":"sast","category":"security","title":"Ai sdk use (Go)","severity":"low","language":"Go","what":"This code imports $MOD, the SDK of an AI model provider or framework.","why":"Listed so that AI use in code is inventoried and reviewed; it is not a vulnerability by itself.","fix":"Confirm the provider is approved for the data this code sends to it, and record it in your AI inventory. Suppress the finding once reviewed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1357: Reliance on Insufficiently Trustworthy Component"],"owasp":["LLM03:2025 Supply Chain"],"example":{"vulnerable":"package fixture\n\nimport \"github.com/anthropics/anthropic-sdk-go\"\n\nvar client = anthropic.NewClient()","fixed":"package fixture\n\nimport \"net/http\"\n\nvar client = &http.Client{}"},"references":[{"title":"CWE-1357: Reliance on Insufficiently Trustworthy Component","url":"https://cwe.mitre.org/data/definitions/1357.html"},{"title":"OWASP Top 10 for LLM Applications LLM03:2025 Supply Chain","url":"https://genai.owasp.org/llm-top-10/"}],"updated":"2026-11-18"},{"id":"trustivan-go-taint-llm-output-to-sink","slug":"go-taint-llm-output-to-sink","area":"sast","category":"security","title":"Llm output to sink from request input (Go)","severity":"high","language":"Go","what":"Text generated by a language model reaches a shell command, a SQL statement or template.HTML.","why":"Model output follows instructions planted in its input (prompt injection), so treat it as untrusted user input.","fix":"Never run model output as a command. Parse it into a fixed structure (JSON into a struct, an allow-list of actions), pass values to SQL as query arguments, and let html/template escape it instead of converting it to template.HTML.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"owasp":["LLM05:2025 Improper Output Handling","A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"package fixture\n\nimport (\n\t\"context\"\n\t\"os/exec\"\n\n\t\"github.com/openai/openai-go\"\n)\n\nfunc runSuggested(ctx context.Context, client openai.Client, task string) error {\n\tresp, err := client.Chat.Completions.New(ctx, openai.ChatCompletionNewParams{\n\t\tModel:    openai.ChatModelGPT4oMini,\n\t\tMessages: []openai.ChatCompletionMessageParamUnion{openai.UserMessage(task)},\n\t})\n\tif err != nil {\n\t\treturn err\n\t}\n\treturn exec.Command(\"sh\", \"-c\", resp.Choices[0].Message.Content).Run()\n}","fixed":"package fixture\n\nimport (\n\t\"context\"\n\t\"os/exec\"\n\n\t\"github.com/openai/openai-go\"\n)\n\nvar allowed = map[string][]string{\"status\": {\"git\", \"status\"}}\n\nfunc runSuggested(ctx context.Context, client openai.Client, task string) error {\n\tresp, err := client.Chat.Completions.New(ctx, openai.ChatCompletionNewParams{\n\t\tModel:    openai.ChatModelGPT4oMini,\n\t\tMessages: []openai.ChatCompletionMessageParamUnion{openai.UserMessage(task)},\n\t})\n\tif err != nil {\n\t\treturn err\n\t}\n\t_, ok := allowed[resp.Choices[0].Message.Content]\n\tif !ok {\n\t\treturn nil\n\t}\n\treturn exec.Command(\"git\", \"status\").Run()\n}"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 for LLM Applications LLM05:2025 Improper Output Handling","url":"https://genai.owasp.org/llm-top-10/"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-11-18"},{"id":"trustivan-go-taint-llm-prompt-injection-system","slug":"go-taint-llm-prompt-injection-system","area":"sast","category":"security","title":"Llm prompt injection system from request input (Go)","severity":"medium","language":"Go","what":"A value read from the HTTP request is written into the system prompt of a language-model call.","why":"The system prompt carries the instructions the model trusts most, so the caller can override them (prompt injection). Request data belongs in a user message.","fix":"Keep the system prompt constant (or built only from server-side values) and pass the request value as the content of a user message.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Go source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')"],"owasp":["LLM01:2025 Prompt Injection"],"taint":true,"example":{"vulnerable":"package fixture\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/openai/openai-go\"\n)\n\nfunc ask(client openai.Client, w http.ResponseWriter, r *http.Request) {\n\tpersona := r.URL.Query().Get(\"persona\")\n\t_, _ = client.Chat.Completions.New(r.Context(), openai.ChatCompletionNewParams{\n\t\tModel: openai.ChatModelGPT4oMini,\n\t\tMessages: []openai.ChatCompletionMessageParamUnion{\n\t\t\topenai.SystemMessage(\"You are \" + persona + \". Never reveal internal data.\"),\n\t\t\topenai.UserMessage(\"Hello\"),\n\t\t},\n\t})\n}","fixed":"package fixture\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/openai/openai-go\"\n)\n\nfunc ask(client openai.Client, w http.ResponseWriter, r *http.Request) {\n\tquestion := r.URL.Query().Get(\"q\")\n\t_, _ = client.Chat.Completions.New(r.Context(), openai.ChatCompletionNewParams{\n\t\tModel: openai.ChatModelGPT4oMini,\n\t\tMessages: []openai.ChatCompletionMessageParamUnion{\n\t\t\topenai.SystemMessage(\"You are a support assistant. Never reveal internal data.\"),\n\t\t\topenai.UserMessage(question),\n\t\t},\n\t})\n}"},"references":[{"title":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","url":"https://cwe.mitre.org/data/definitions/77.html"},{"title":"OWASP Top 10 for LLM Applications LLM01:2025 Prompt Injection","url":"https://genai.owasp.org/llm-top-10/"}],"updated":"2026-11-18"},{"id":"trustowl-java-weak-hash","slug":"java-weak-hash","area":"sast","category":"security","title":"Weak hash (Java)","severity":"medium","language":"Java","what":"MessageDigest.getInstance is called with MD5 or SHA-1.","why":"Both are cryptographically broken for collision resistance and must not be used for password hashing, digital signatures, or integrity checks that an attacker could exploit.","fix":"Use SHA-256 or stronger (MessageDigest.getInstance(\"SHA-256\")) for integrity checks, and a dedicated password hashing function (bcrypt, scrypt, Argon2) for passwords.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import java.security.MessageDigest;\n\npublic class Bad {\n    public static byte[] hash(byte[] data) throws Exception {\n        MessageDigest md = MessageDigest.getInstance(\"MD5\");\n        return md.digest(data);\n    }\n}","fixed":"import java.security.MessageDigest;\n\npublic class Ok {\n    public static byte[] hash(byte[] data) throws Exception {\n        MessageDigest md = MessageDigest.getInstance(\"SHA-256\");\n        return md.digest(data);\n    }\n}"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-java-taint-sql-injection","slug":"java-taint-sql-injection","area":"sast","category":"security","title":"SQL injection from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request reaches the text of a SQL statement.","why":"The caller controls part of the statement, so they can change what it selects, updates or deletes.","fix":"Use a PreparedStatement with ? placeholders (or named parameters in JPA) and bind the request value with setString.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import java.sql.Connection;\nimport java.sql.ResultSet;\nimport java.sql.Statement;\nimport javax.servlet.http.HttpServletRequest;\nimport javax.servlet.http.HttpServletResponse;\n\npublic class Bad {\n    private Connection connection;\n\n    public void orders(HttpServletRequest request, HttpServletResponse response) throws Exception {\n        String status = request.getParameter(\"status\");\n        String query = \"SELECT id FROM orders WHERE status = '\" + status + \"'\";\n        Statement statement = connection.createStatement();\n        ResultSet rows = statement.executeQuery(query);\n        rows.close();\n    }\n}","fixed":"import java.sql.Connection;\nimport java.sql.PreparedStatement;\nimport java.sql.ResultSet;\nimport javax.servlet.http.HttpServletRequest;\nimport javax.servlet.http.HttpServletResponse;\n\npublic class Ok {\n    private Connection connection;\n\n    public void orders(HttpServletRequest request, HttpServletResponse response) throws Exception {\n        String status = request.getParameter(\"status\");\n        PreparedStatement statement = connection.prepareStatement(\"SELECT id FROM orders WHERE status = ?\");\n        statement.setString(1, status);\n        ResultSet rows = statement.executeQuery();\n        rows.close();\n    }\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-java-taint-command-injection","slug":"java-taint-command-injection","area":"sast","category":"security","title":"Command injection from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request reaches a command line.","why":"The caller can run their own commands on this host.","fix":"Run a fixed program through ProcessBuilder with each argument as a separate list element and no shell, after validating the value.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\nimport org.springframework.web.bind.annotation.RestController;\n\n@RestController\npublic class Bad {\n    @GetMapping(\"/ping\")\n    public String ping(@RequestParam String host) throws Exception {\n        Process process = Runtime.getRuntime().exec(\"ping -c 1 \" + host);\n        return String.valueOf(process.waitFor());\n    }\n}","fixed":"import org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\nimport org.springframework.web.bind.annotation.RestController;\n\n@RestController\npublic class Ok {\n    @GetMapping(\"/ping\")\n    public String ping(@RequestParam String host) throws Exception {\n        if (!host.matches(\"^[0-9.]{7,15}$\")) {\n            return \"host must be an IPv4 address\";\n        }\n        Process process = new ProcessBuilder(\"ping\", \"-c\", \"1\", host).start();\n        return String.valueOf(process.waitFor());\n    }\n}"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-java-taint-path-traversal","slug":"java-taint-path-traversal","area":"sast","category":"security","title":"Path traversal from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request is used as a file path.","why":"A value such as ../../etc/passwd walks out of the intended directory.","fix":"Reduce the value to a bare file name (FilenameUtils.getName, or Path.getFileName) before resolving it against a fixed directory, then check the normalised result still starts with that directory.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"import java.io.File;\nimport java.nio.file.Files;\nimport javax.servlet.http.HttpServletRequest;\n\npublic class Bad {\n    public byte[] download(HttpServletRequest request) throws Exception {\n        String name = request.getParameter(\"name\");\n        File file = new File(\"/srv/uploads\", name);\n        return Files.readAllBytes(file.toPath());\n    }\n}","fixed":"import java.io.File;\nimport java.nio.file.Files;\nimport javax.servlet.http.HttpServletRequest;\nimport org.apache.commons.io.FilenameUtils;\n\npublic class Ok {\n    public byte[] download(HttpServletRequest request) throws Exception {\n        String name = FilenameUtils.getName(request.getParameter(\"name\"));\n        File file = new File(\"/srv/uploads\", name);\n        return Files.readAllBytes(file.toPath());\n    }\n}"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-java-taint-ssrf","slug":"java-taint-ssrf","area":"sast","category":"security","title":"SSRF from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request is used as the URL of an outbound request.","why":"The caller can make this server fetch internal addresses, such as a cloud metadata endpoint.","fix":"Choose the destination from an allowlist held by the server, and refuse private, loopback and link-local addresses after resolving the host name.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-918: Server-Side Request Forgery (SSRF)"],"owasp":["A10:2021 - Server-Side Request Forgery (SSRF)"],"taint":true,"example":{"vulnerable":"import java.io.InputStream;\nimport java.net.URL;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\n\npublic class Bad {\n    @GetMapping(\"/preview\")\n    public int preview(@RequestParam(\"url\") String target) throws Exception {\n        InputStream in = new URL(target).openStream();\n        return in.read();\n    }\n}","fixed":"import java.io.InputStream;\nimport java.net.URL;\nimport java.util.Set;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\n\npublic class Ok {\n    private static final Set<String> FEEDS = Set.of(\"news\");\n\n    @GetMapping(\"/preview\")\n    public int preview(@RequestParam(\"feed\") String feed) throws Exception {\n        if (!FEEDS.contains(feed)) {\n            return -1;\n        }\n        InputStream in = new URL(\"https://feeds.example.com/news\").openStream();\n        return in.read();\n    }\n}"},"references":[{"title":"CWE-918: Server-Side Request Forgery (SSRF)","url":"https://cwe.mitre.org/data/definitions/918.html"},{"title":"OWASP Top 10 A10:2021 - Server-Side Request Forgery (SSRF)","url":"https://owasp.org/Top10/2021/A10_2021-Server-Side_Request_Forgery_(SSRF)/"}],"updated":"2026-10-13"},{"id":"trustivan-java-taint-xss","slug":"java-taint-xss","area":"sast","category":"security","title":"XSS from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request is written into the response without escaping.","why":"If the response is served as HTML, markup in the value runs as script in the user's browser.","fix":"Render the value through a template that escapes by default (Thymeleaf th:text, JSP c:out), or encode it with the OWASP Java Encoder (Encode.forHtml) before writing.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import javax.servlet.http.HttpServlet;\nimport javax.servlet.http.HttpServletRequest;\nimport javax.servlet.http.HttpServletResponse;\n\npublic class Bad extends HttpServlet {\n    @Override\n    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException {\n        String name = request.getParameter(\"name\");\n        response.setContentType(\"text/html\");\n        response.getWriter().println(\"<h1>Hello \" + name + \"</h1>\");\n    }\n}","fixed":"import javax.servlet.http.HttpServlet;\nimport javax.servlet.http.HttpServletRequest;\nimport javax.servlet.http.HttpServletResponse;\nimport org.owasp.encoder.Encode;\n\npublic class Ok extends HttpServlet {\n    @Override\n    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException {\n        String name = Encode.forHtml(request.getParameter(\"name\"));\n        response.setContentType(\"text/html\");\n        response.getWriter().println(\"<h1>Hello \" + name + \"</h1>\");\n    }\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-java-taint-deserialization","slug":"java-taint-deserialization","area":"sast","category":"security","title":"Deserialization from request input (Java)","severity":"high","language":"Java","what":"Bytes read from the HTTP request are deserialised with a mechanism that instantiates arbitrary classes.","why":"With a suitable class on the classpath, loading them runs code chosen by the caller.","fix":"Accept JSON bound to a concrete class instead. If Java serialisation cannot be avoided, install an ObjectInputFilter that allows only the expected classes.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"import java.io.ObjectInputStream;\nimport javax.servlet.http.HttpServletRequest;\n\npublic class Bad {\n    public Object restore(HttpServletRequest request) throws Exception {\n        ObjectInputStream in = new ObjectInputStream(request.getInputStream());\n        return in.readObject();\n    }\n}","fixed":"import com.fasterxml.jackson.databind.ObjectMapper;\nimport javax.servlet.http.HttpServletRequest;\n\npublic class Ok {\n    public static class State { public java.util.List<String> items; }\n\n    public Object restore(HttpServletRequest request) throws Exception {\n        return new ObjectMapper().readValue(request.getInputStream(), State.class);\n    }\n}"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-java-taint-open-redirect","slug":"java-taint-open-redirect","area":"sast","category":"security","title":"Open redirect from request input (Java)","severity":"medium","language":"Java","what":"A value read from the HTTP request is used as a redirect target.","why":"A link to this site can send a user to a site the attacker controls.","fix":"Redirect only to a path on this site: look the target up in an allowlist rather than passing the request value through.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-601: URL Redirection to Untrusted Site"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"import javax.servlet.http.HttpServletRequest;\nimport javax.servlet.http.HttpServletResponse;\n\npublic class Bad {\n    public void done(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException {\n        response.sendRedirect(request.getParameter(\"next\"));\n    }\n}","fixed":"import java.util.Set;\nimport javax.servlet.http.HttpServletRequest;\nimport javax.servlet.http.HttpServletResponse;\n\npublic class Ok {\n    private static final Set<String> PAGES = Set.of(\"/inbox\", \"/settings\");\n\n    public void done(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException {\n        response.sendRedirect(PAGES.contains(request.getParameter(\"next\")) ? \"/settings\" : \"/inbox\");\n    }\n}"},"references":[{"title":"CWE-601: URL Redirection to Untrusted Site","url":"https://cwe.mitre.org/data/definitions/601.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-java-taint-ldap-injection","slug":"java-taint-ldap-injection","area":"sast","category":"security","title":"LDAP injection from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request is placed in an LDAP search filter.","why":"Filter metacharacters in the value change which entries match, which can bypass a login check.","fix":"Use the search overload that takes filter arguments ({0}) so the value is escaped, or encode it with an LDAP filter encoder.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-90: Improper Neutralization of Special Elements used in an LDAP Query"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import javax.naming.directory.DirContext;\nimport javax.naming.directory.SearchControls;\nimport javax.servlet.http.HttpServletRequest;\n\npublic class Bad {\n    private DirContext directory;\n\n    public boolean exists(HttpServletRequest request) throws Exception {\n        String user = request.getParameter(\"user\");\n        String filter = \"(&(objectClass=person)(uid=\" + user + \"))\";\n        return directory.search(\"ou=people,dc=example,dc=com\", filter, new SearchControls()).hasMore();\n    }\n}","fixed":"import javax.naming.directory.DirContext;\nimport javax.naming.directory.SearchControls;\nimport javax.servlet.http.HttpServletRequest;\n\npublic class Ok {\n    private DirContext directory;\n\n    public boolean exists(HttpServletRequest request) throws Exception {\n        Object[] arguments = {request.getParameter(\"user\")};\n        return directory.search(\"ou=people,dc=example,dc=com\",\n                \"(&(objectClass=person)(uid={0}))\", arguments, new SearchControls()).hasMore();\n    }\n}"},"references":[{"title":"CWE-90: Improper Neutralization of Special Elements used in an LDAP Query","url":"https://cwe.mitre.org/data/definitions/90.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-java-taint-xpath-injection","slug":"java-taint-xpath-injection","area":"sast","category":"security","title":"XPath injection from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request is compiled into an XPath expression.","why":"The caller can change which nodes it selects.","fix":"Keep the expression constant and supply the value through an XPathVariableResolver.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-643: Improper Neutralization of Data within XPath Expressions"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import javax.servlet.http.HttpServletRequest;\nimport javax.xml.xpath.XPath;\nimport javax.xml.xpath.XPathFactory;\nimport org.xml.sax.InputSource;\n\npublic class Bad {\n    public String role(HttpServletRequest request, InputSource users) throws Exception {\n        String user = request.getParameter(\"user\");\n        XPath xpath = XPathFactory.newInstance().newXPath();\n        return xpath.evaluate(\"/users/user[@name='\" + user + \"']/role\", users);\n    }\n}","fixed":"import javax.servlet.http.HttpServletRequest;\nimport javax.xml.namespace.QName;\nimport javax.xml.xpath.XPath;\nimport javax.xml.xpath.XPathFactory;\nimport org.xml.sax.InputSource;\n\npublic class Ok {\n    public String role(HttpServletRequest request, InputSource users) throws Exception {\n        final String user = request.getParameter(\"user\");\n        XPath xpath = XPathFactory.newInstance().newXPath();\n        xpath.setXPathVariableResolver((QName name) -> \"user\".equals(name.getLocalPart()) ? user : null);\n        return xpath.evaluate(\"/users/user[@name=$user]/role\", users);\n    }\n}"},"references":[{"title":"CWE-643: Improper Neutralization of Data within XPath Expressions","url":"https://cwe.mitre.org/data/definitions/643.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-java-taint-expression-injection","slug":"java-taint-expression-injection","area":"sast","category":"security","title":"Expression injection from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request is evaluated as an expression or script.","why":"The caller can invoke any method reachable from the evaluation context, which leads to code execution.","fix":"Do not evaluate request data. If a small expression language is a product feature, evaluate it with SimpleEvaluationContext, which exposes no types or methods.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import org.springframework.expression.ExpressionParser;\nimport org.springframework.expression.spel.standard.SpelExpressionParser;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\n\npublic class Bad {\n    @GetMapping(\"/calc\")\n    public Object calc(@RequestParam String expr) {\n        ExpressionParser parser = new SpelExpressionParser();\n        return parser.parseExpression(expr).getValue();\n    }\n}","fixed":"import org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\n\npublic class Ok {\n    @GetMapping(\"/calc\")\n    public Object calc(@RequestParam String expr) {\n        return Integer.parseInt(expr) * 2;\n    }\n}"},"references":[{"title":"CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement","url":"https://cwe.mitre.org/data/definitions/917.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-java-sql-string-concatenation","slug":"java-sql-string-concatenation","area":"sast","category":"security","title":"SQL string concatenation (Java)","severity":"medium","language":"Java","what":"A SQL statement is assembled by concatenation or String.format.","why":"If any operand carries input from outside the program, this is a SQL injection.","fix":"Use a PreparedStatement with ? placeholders and bind each value.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"import java.sql.Connection;\nimport java.sql.ResultSet;\nimport java.sql.Statement;\n\npublic class Bad {\n    public ResultSet byKind(Connection connection, String kind) throws Exception {\n        Statement statement = connection.createStatement();\n        return statement.executeQuery(\"SELECT id FROM events WHERE kind = '\" + kind + \"'\");\n    }\n}","fixed":"import java.sql.Connection;\nimport java.sql.PreparedStatement;\nimport java.sql.ResultSet;\n\npublic class Ok {\n    public ResultSet byKind(Connection connection, String kind) throws Exception {\n        PreparedStatement statement = connection.prepareStatement(\"SELECT id FROM events WHERE kind = ?\");\n        statement.setString(1, kind);\n        return statement.executeQuery();\n    }\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-java-xxe-document-builder","slug":"java-xxe-document-builder","area":"sast","category":"security","title":"XXE document builder (Java)","severity":"high","language":"Java","what":"This XML parser factory is used with its defaults, which resolve external entities.","why":"An XML document can then read local files or reach internal hosts through an entity declaration.","fix":"Call setFeature(\"http://apache.org/xml/features/disallow-doctype-decl\", true) on the factory before creating a parser.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-611: Improper Restriction of XML External Entity Reference"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"import java.io.InputStream;\nimport javax.xml.parsers.DocumentBuilderFactory;\nimport org.w3c.dom.Document;\n\npublic class Bad {\n    public Document parse(InputStream in) throws Exception {\n        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n        return factory.newDocumentBuilder().parse(in);\n    }\n}","fixed":"import java.io.InputStream;\nimport javax.xml.parsers.DocumentBuilderFactory;\nimport org.w3c.dom.Document;\n\npublic class Ok {\n    public Document parse(InputStream in) throws Exception {\n        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n        factory.setFeature(\"http://apache.org/xml/features/disallow-doctype-decl\", true);\n        return factory.newDocumentBuilder().parse(in);\n    }\n}"},"references":[{"title":"CWE-611: Improper Restriction of XML External Entity Reference","url":"https://cwe.mitre.org/data/definitions/611.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-java-xxe-xml-input-factory","slug":"java-xxe-xml-input-factory","area":"sast","category":"security","title":"XXE XML input factory (Java)","severity":"high","language":"Java","what":"This StAX factory is used with its defaults, which process DTDs and external entities.","why":"An XML document can then read local files or reach internal hosts.","fix":"Set XMLInputFactory.SUPPORT_DTD and XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES to false on the factory.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-611: Improper Restriction of XML External Entity Reference"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"import java.io.InputStream;\nimport javax.xml.stream.XMLInputFactory;\nimport javax.xml.stream.XMLStreamReader;\n\npublic class Bad {\n    public XMLStreamReader open(InputStream in) throws Exception {\n        XMLInputFactory factory = XMLInputFactory.newInstance();\n        return factory.createXMLStreamReader(in);\n    }\n}","fixed":"import java.io.InputStream;\nimport javax.xml.stream.XMLInputFactory;\nimport javax.xml.stream.XMLStreamReader;\n\npublic class Ok {\n    public XMLStreamReader open(InputStream in) throws Exception {\n        XMLInputFactory factory = XMLInputFactory.newInstance();\n        factory.setProperty(XMLInputFactory.SUPPORT_DTD, false);\n        factory.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, false);\n        return factory.createXMLStreamReader(in);\n    }\n}"},"references":[{"title":"CWE-611: Improper Restriction of XML External Entity Reference","url":"https://cwe.mitre.org/data/definitions/611.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-java-weak-cipher","slug":"java-weak-cipher","area":"sast","category":"security","title":"Weak cipher (Java)","severity":"high","language":"Java","what":"DES, Triple DES, RC4, RC2 and Blowfish are no longer safe for protecting data.","why":"Data encrypted with these ciphers can be recovered by an attacker who captures enough of it, so the encryption no longer keeps it confidential.","fix":"Use Cipher.getInstance(\"AES/GCM/NoPadding\") with a random 12-byte IV.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import javax.crypto.Cipher;\n\npublic class Bad {\n    public Cipher cipher() throws Exception {\n        return Cipher.getInstance(\"DES/CBC/PKCS5Padding\");\n    }\n}","fixed":"import javax.crypto.Cipher;\n\npublic class Ok {\n    public Cipher cipher() throws Exception {\n        return Cipher.getInstance(\"AES/GCM/NoPadding\");\n    }\n}"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-java-ecb-mode","slug":"java-ecb-mode","area":"sast","category":"security","title":"ECB mode (Java)","severity":"high","language":"Java","what":"The cipher runs in ECB mode (the default when only \"AES\" is named).","why":"Equal plaintext blocks encrypt to equal ciphertext blocks, which reveals the structure of the data.","fix":"Use Cipher.getInstance(\"AES/GCM/NoPadding\") with a random 12-byte IV.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import javax.crypto.Cipher;\n\npublic class Bad {\n    public Cipher cipher() throws Exception {\n        return Cipher.getInstance(\"AES/ECB/PKCS5Padding\");\n    }\n}","fixed":"import javax.crypto.Cipher;\n\npublic class Ok {\n    public Cipher cipher() throws Exception {\n        return Cipher.getInstance(\"AES/GCM/NoPadding\");\n    }\n}"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-java-insecure-random-secret","slug":"java-insecure-random-secret","area":"sast","category":"security","title":"Insecure random secret (Java)","severity":"medium","language":"Java","what":"A value named like a secret is generated with java.util.Random, whose output is predictable from earlier output.","why":"Someone who sees a few outputs can predict the token, password or key this value becomes.","fix":"Use java.security.SecureRandom.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import java.util.Random;\n\npublic class Bad {\n    public String newResetToken() {\n        Random random = new Random();\n        String resetToken = Long.toHexString(random.nextLong());\n        return resetToken;\n    }\n}","fixed":"import java.security.SecureRandom;\nimport java.util.Random;\n\npublic class Ok {\n    public String newResetToken() {\n        SecureRandom random = new SecureRandom();\n        String resetToken = Long.toHexString(random.nextLong());\n        return resetToken;\n    }\n\n    public int jitter() {\n        Random random = new Random();\n        int delay = random.nextInt(500);\n        return delay;\n    }\n}"},"references":[{"title":"CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator","url":"https://cwe.mitre.org/data/definitions/338.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-java-trust-all-certificates","slug":"java-trust-all-certificates","area":"sast","category":"security","title":"Trust all certificates (Java)","severity":"high","language":"Java","what":"This trust manager accepts every certificate.","why":"Any server can impersonate the intended one.","fix":"Use the default trust manager. To trust a private certificate authority, load it into a KeyStore and build a TrustManagerFactory from that.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import java.security.cert.X509Certificate;\nimport javax.net.ssl.X509TrustManager;\n\npublic class Bad implements X509TrustManager {\n    public void checkClientTrusted(X509Certificate[] chain, String authType) { }\n\n    public void checkServerTrusted(X509Certificate[] chain, String authType) { }\n\n    public X509Certificate[] getAcceptedIssuers() {\n        return new X509Certificate[0];\n    }\n}","fixed":"import java.security.KeyStore;\nimport javax.net.ssl.TrustManager;\nimport javax.net.ssl.TrustManagerFactory;\n\npublic class Ok {\n    public TrustManager[] managers(KeyStore privateAuthorities) throws Exception {\n        TrustManagerFactory factory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());\n        factory.init(privateAuthorities);\n        return factory.getTrustManagers();\n    }\n}"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-java-hostname-verification-disabled","slug":"java-hostname-verification-disabled","area":"sast","category":"security","title":"Hostname verification disabled (Java)","severity":"high","language":"Java","what":"Host name verification is switched off.","why":"A valid certificate for any other domain is accepted for this connection.","fix":"Remove the custom verifier and keep the default one.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-297: Improper Validation of Certificate with Host Mismatch"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import javax.net.ssl.HttpsURLConnection;\n\npublic class Bad {\n    public void configure(HttpsURLConnection connection) {\n        connection.setHostnameVerifier((hostname, session) -> true);\n    }\n}","fixed":"import javax.net.ssl.HttpsURLConnection;\n\npublic class Ok {\n    public void configure(HttpsURLConnection connection) {\n        connection.setConnectTimeout(5000);\n    }\n}"},"references":[{"title":"CWE-297: Improper Validation of Certificate with Host Mismatch","url":"https://cwe.mitre.org/data/definitions/297.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-java-hardcoded-secret-key","slug":"java-hardcoded-secret-key","area":"sast","category":"security","title":"Hardcoded secret key (Java)","severity":"high","language":"Java","what":"The encryption key is a string literal in the source.","why":"Anyone who can read the repository or the compiled class can decrypt the data.","fix":"Load the key from a key management service or a secret manager, and re-encrypt data protected by the committed key.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-321: Use of Hard-coded Cryptographic Key"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import java.nio.charset.StandardCharsets;\nimport javax.crypto.spec.SecretKeySpec;\n\npublic class Bad {\n    public SecretKeySpec key() {\n        return new SecretKeySpec(\"fixture-key-0123\".getBytes(StandardCharsets.UTF_8), \"AES\");\n    }\n}","fixed":"import javax.crypto.spec.SecretKeySpec;\n\npublic class Ok {\n    public SecretKeySpec key(byte[] fromKeyManagementService) {\n        return new SecretKeySpec(fromKeyManagementService, \"AES\");\n    }\n}"},"references":[{"title":"CWE-321: Use of Hard-coded Cryptographic Key","url":"https://cwe.mitre.org/data/definitions/321.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-java-static-iv","slug":"java-static-iv","area":"sast","category":"security","title":"Static IV (Java)","severity":"high","language":"Java","what":"The initialisation vector is constant.","why":"Reusing an IV with the same key reveals relationships between messages, and in GCM it reveals the authentication key.","fix":"Generate a fresh IV per message with SecureRandom and store it next to the ciphertext.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-329: Generation of Predictable IV with CBC Mode"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import javax.crypto.spec.IvParameterSpec;\n\npublic class Bad {\n    public IvParameterSpec iv() {\n        return new IvParameterSpec(new byte[16]);\n    }\n}","fixed":"import java.security.SecureRandom;\nimport javax.crypto.spec.GCMParameterSpec;\n\npublic class Ok {\n    public GCMParameterSpec iv() {\n        byte[] nonce = new byte[12];\n        new SecureRandom().nextBytes(nonce);\n        return new GCMParameterSpec(128, nonce);\n    }\n}"},"references":[{"title":"CWE-329: Generation of Predictable IV with CBC Mode","url":"https://cwe.mitre.org/data/definitions/329.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-java-spring-csrf-disabled","slug":"java-spring-csrf-disabled","area":"sast","category":"security","title":"Spring CSRF disabled (Java)","severity":"medium","language":"Java","what":"Spring Security's CSRF protection is switched off.","why":"If the application authenticates browsers with a session cookie, another site can submit requests as the signed-in user.","fix":"Leave CSRF protection on for cookie-authenticated endpoints. Disable it only for a stateless API authenticated by a bearer token.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-352: Cross-Site Request Forgery (CSRF)"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"import org.springframework.security.config.annotation.web.builders.HttpSecurity;\nimport org.springframework.security.web.SecurityFilterChain;\n\npublic class Bad {\n    public SecurityFilterChain chain(HttpSecurity http) throws Exception {\n        http.csrf(csrf -> csrf.disable());\n        return http.build();\n    }\n}","fixed":"import org.springframework.security.config.Customizer;\nimport org.springframework.security.config.annotation.web.builders.HttpSecurity;\nimport org.springframework.security.web.SecurityFilterChain;\n\npublic class Ok {\n    public SecurityFilterChain chain(HttpSecurity http) throws Exception {\n        http.csrf(Customizer.withDefaults());\n        return http.build();\n    }\n}"},"references":[{"title":"CWE-352: Cross-Site Request Forgery (CSRF)","url":"https://cwe.mitre.org/data/definitions/352.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-java-cookie-flags-disabled","slug":"java-cookie-flags-disabled","area":"sast","category":"security","title":"Cookie flags disabled (Java)","severity":"medium","language":"Java","what":"The cookie is explicitly marked not Secure or not HttpOnly.","why":"It is sent over plain HTTP or readable by script on the page.","fix":"Call setSecure(true) and setHttpOnly(true) on session cookies.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"import javax.servlet.http.Cookie;\nimport javax.servlet.http.HttpServletResponse;\n\npublic class Bad {\n    public void remember(HttpServletResponse response, String session) {\n        Cookie cookie = new Cookie(\"sid\", session);\n        cookie.setHttpOnly(false);\n        response.addCookie(cookie);\n    }\n}","fixed":"import javax.servlet.http.Cookie;\nimport javax.servlet.http.HttpServletResponse;\n\npublic class Ok {\n    public void remember(HttpServletResponse response, String session) {\n        Cookie cookie = new Cookie(\"sid\", session);\n        cookie.setHttpOnly(true);\n        cookie.setSecure(true);\n        response.addCookie(cookie);\n    }\n}"},"references":[{"title":"CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute","url":"https://cwe.mitre.org/data/definitions/614.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-java-jwt-unsigned-parse","slug":"java-jwt-unsigned-parse","area":"sast","category":"security","title":"JWT unsigned parse (Java)","severity":"high","language":"Java","what":"parseClaimsJwt and parsePlaintextJwt accept only tokens that carry no signature.","why":"The claims are whatever the sender wrote.","fix":"Configure the parser with the verification key and call parseClaimsJws (parseSignedClaims in jjwt 0.12).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-347: Improper Verification of Cryptographic Signature"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import io.jsonwebtoken.Claims;\nimport io.jsonwebtoken.Jwts;\n\npublic class Bad {\n    public Claims claims(String token) {\n        return Jwts.parser().parseClaimsJwt(token).getBody();\n    }\n}","fixed":"import io.jsonwebtoken.Claims;\nimport io.jsonwebtoken.Jwts;\nimport java.security.Key;\n\npublic class Ok {\n    public Claims claims(String token, Key key) {\n        return Jwts.parserBuilder().setSigningKey(key).build().parseClaimsJws(token).getBody();\n    }\n}"},"references":[{"title":"CWE-347: Improper Verification of Cryptographic Signature","url":"https://cwe.mitre.org/data/definitions/347.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-java-insecure-tls-protocol","slug":"java-insecure-tls-protocol","area":"sast","category":"security","title":"Insecure TLS protocol (Java)","severity":"medium","language":"Java","what":"The SSL context is requested for SSL 3.0, TLS 1.0 or TLS 1.1, protocol versions with known attacks that current clients no longer need.","why":"An attacker on the network path can force a connection down to the oldest version both sides accept and then attack that version.","fix":"Request \"TLSv1.3\" or \"TLSv1.2\".","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-326: Inadequate Encryption Strength"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import javax.net.ssl.SSLContext;\n\npublic class Bad {\n    public SSLContext context() throws Exception {\n        return SSLContext.getInstance(\"TLSv1\");\n    }\n}","fixed":"import javax.net.ssl.SSLContext;\n\npublic class Ok {\n    public SSLContext context() throws Exception {\n        return SSLContext.getInstance(\"TLSv1.3\");\n    }\n}"},"references":[{"title":"CWE-326: Inadequate Encryption Strength","url":"https://cwe.mitre.org/data/definitions/326.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-java-weak-rsa-key","slug":"java-weak-rsa-key","area":"sast","category":"security","title":"Weak RSA key (Java)","severity":"medium","language":"Java","what":"The RSA key is shorter than 2048 bits, which is within reach of factoring.","why":"Signatures made with the key can be forged and data encrypted to it can be read by whoever factors it.","fix":"Initialise the generator with 2048 bits or more (3072 for new keys).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-326: Inadequate Encryption Strength"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import java.security.KeyPair;\nimport java.security.KeyPairGenerator;\n\npublic class Bad {\n    public KeyPair generate() throws Exception {\n        KeyPairGenerator generator = KeyPairGenerator.getInstance(\"RSA\");\n        generator.initialize(1024);\n        return generator.generateKeyPair();\n    }\n}","fixed":"import java.security.KeyPair;\nimport java.security.KeyPairGenerator;\n\npublic class Ok {\n    public KeyPair generate() throws Exception {\n        KeyPairGenerator generator = KeyPairGenerator.getInstance(\"RSA\");\n        generator.initialize(3072);\n        return generator.generateKeyPair();\n    }\n}"},"references":[{"title":"CWE-326: Inadequate Encryption Strength","url":"https://cwe.mitre.org/data/definitions/326.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-java-runtime-exec-concatenation","slug":"java-runtime-exec-concatenation","area":"sast","category":"security","title":"Runtime exec concatenation (Java)","severity":"medium","language":"Java","what":"A command line is assembled by concatenation and passed to Runtime.exec.","why":"Any operand that comes from outside the program can add arguments, and with a shell in the command, whole commands.","fix":"Use ProcessBuilder with each argument as its own list element.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"public class Bad {\n    public Process archive(String directory) throws Exception {\n        return Runtime.getRuntime().exec(\"tar czf backup.tgz \" + directory);\n    }\n}","fixed":"public class Ok {\n    public Process archive(String directory) throws Exception {\n        return new ProcessBuilder(\"tar\", \"czf\", \"backup.tgz\", directory).start();\n    }\n}"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-java-taint-template-injection","slug":"java-taint-template-injection","area":"sast","category":"security","title":"Template injection from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request is compiled as a Velocity or FreeMarker template.","why":"Template code reaches Java objects, so the caller can run code on this server.","fix":"Keep template text on the server and put the request value in the model the template renders.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import java.io.StringReader;\nimport freemarker.template.Configuration;\nimport freemarker.template.Template;\nimport org.springframework.web.bind.annotation.*;\n\n@RestController\npublic class Bad {\n    private Configuration cfg;\n\n    @PostMapping(\"/preview\")\n    public String preview(@RequestBody String body) throws Exception {\n        Template t = new Template(\"preview\", new StringReader(body), cfg);\n        java.io.StringWriter out = new java.io.StringWriter();\n        t.process(java.util.Map.of(\"name\", \"Ada\"), out);\n        return out.toString();\n    }\n}","fixed":"import freemarker.template.Configuration;\nimport freemarker.template.Template;\nimport org.springframework.web.bind.annotation.*;\n\n@RestController\npublic class Ok {\n    private Configuration cfg;\n\n    @PostMapping(\"/preview\")\n    public String preview(@RequestBody String name) throws Exception {\n        Template t = cfg.getTemplate(\"welcome.ftl\");\n        java.io.StringWriter out = new java.io.StringWriter();\n        t.process(java.util.Map.of(\"name\", name), out);\n        return out.toString();\n    }\n}"},"references":[{"title":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","url":"https://cwe.mitre.org/data/definitions/1336.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-java-taint-regex-injection","slug":"java-taint-regex-injection","area":"sast","category":"security","title":"Regex injection from request input (Java)","severity":"medium","language":"Java","what":"A value read from the HTTP request is compiled as a regular expression.","why":"The caller can supply a pattern that backtracks for minutes on a short input (ReDoS).","fix":"Quote the value with Pattern.quote when it is meant literally.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1333: Inefficient Regular Expression Complexity"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import java.util.regex.Pattern;\nimport org.springframework.web.bind.annotation.*;\n\n@RestController\npublic class Bad {\n    @GetMapping(\"/search\")\n    public boolean search(@RequestParam(\"q\") String q, @RequestParam(\"text\") String text) {\n        return Pattern.compile(q).matcher(text).find();\n    }\n}","fixed":"import java.util.regex.Pattern;\nimport org.springframework.web.bind.annotation.*;\n\n@RestController\npublic class Ok {\n    @GetMapping(\"/search\")\n    public boolean search(@RequestParam(\"q\") String q, @RequestParam(\"text\") String text) {\n        return Pattern.compile(Pattern.quote(q)).matcher(text).find();\n    }\n}"},"references":[{"title":"CWE-1333: Inefficient Regular Expression Complexity","url":"https://cwe.mitre.org/data/definitions/1333.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-java-taint-nosql-injection","slug":"java-taint-nosql-injection","area":"sast","category":"security","title":"NoSQL injection from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request is parsed as a MongoDB query document or used as a $where clause.","why":"The caller can add operators and change what the query matches.","fix":"Build the filter with Filters.eq(field, value) and never parse query text from the request.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-943: Improper Neutralization of Special Elements in Data Query Logic"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import org.bson.Document;\nimport org.springframework.web.bind.annotation.*;\n\n@RestController\npublic class Bad {\n    @PostMapping(\"/users/search\")\n    public Object search(@RequestBody String filter) {\n        return users.find(Document.parse(filter)).first();\n    }\n}","fixed":"import com.mongodb.client.model.Filters;\nimport org.springframework.web.bind.annotation.*;\n\n@RestController\npublic class Ok {\n    @GetMapping(\"/users/search\")\n    public Object search(@RequestParam(\"email\") String email) {\n        return users.find(Filters.eq(\"email\", email)).first();\n    }\n}"},"references":[{"title":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","url":"https://cwe.mitre.org/data/definitions/943.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-java-taint-code-injection","slug":"java-taint-code-injection","area":"sast","category":"security","title":"Code injection from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request is evaluated by a script engine (JavaScript, Groovy, MVEL).","why":"That is code execution on this server.","fix":"Do not evaluate request data; map the request onto operations the server implements.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-94: Improper Control of Generation of Code ('Code Injection')"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import groovy.lang.GroovyShell;\nimport org.springframework.web.bind.annotation.*;\n\n@RestController\npublic class Bad {\n    @PostMapping(\"/rules/run\")\n    public Object run(@RequestBody String script) {\n        GroovyShell shell = new GroovyShell();\n        return shell.evaluate(script);\n    }\n}","fixed":"import org.springframework.web.bind.annotation.*;\n\n@RestController\npublic class Ok {\n    @PostMapping(\"/rules/run\")\n    public Object run(@RequestParam(\"rule\") String rule) {\n        return RULES.getOrDefault(rule, Rules.NOOP).apply();\n    }\n}"},"references":[{"title":"CWE-94: Improper Control of Generation of Code ('Code Injection')","url":"https://cwe.mitre.org/data/definitions/94.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-java-taint-unsafe-reflection","slug":"java-taint-unsafe-reflection","area":"sast","category":"security","title":"Unsafe reflection from request input (Java)","severity":"high","language":"Java","what":"A value read from the HTTP request chooses which class is loaded or which method is invoked.","why":"The caller can reach classes with dangerous constructors or side effects.","fix":"Look the class or handler up in a Map held by the server instead of loading it by name.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import javax.servlet.http.HttpServletRequest;\n\npublic class Bad {\n    public Object export(HttpServletRequest request) throws Exception {\n        Class<?> cls = Class.forName(request.getParameter(\"exporter\"));\n        return cls.getDeclaredConstructor().newInstance();\n    }\n}","fixed":"import java.util.Map;\nimport java.util.function.Supplier;\nimport javax.servlet.http.HttpServletRequest;\n\npublic class Ok {\n    private static final Map<String, Supplier<Object>> EXPORTERS = Map.of(\"csv\", CsvExporter::new);\n\n    public Object export(HttpServletRequest request) {\n        return EXPORTERS.getOrDefault(request.getParameter(\"exporter\"), CsvExporter::new).get();\n    }\n}"},"references":[{"title":"CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')","url":"https://cwe.mitre.org/data/definitions/470.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-java-cors-wildcard-credentials","slug":"java-cors-wildcard-credentials","area":"sast","category":"security","title":"CORS wildcard credentials (Java)","severity":"high","language":"Java","what":"CORS allows every origin together with credentials.","why":"Any site can read this API's responses with the user's cookies.","fix":"List allowed origins explicitly when credentials are allowed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-942: Permissive Cross-domain Policy with Untrusted Domains"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"import org.springframework.web.bind.annotation.*;\n\n@RestController\n@CrossOrigin(origins = \"*\", allowCredentials = \"true\")\npublic class Bad {\n    @GetMapping(\"/me\")\n    public String me() {\n        return \"ok\";\n    }\n}","fixed":"import org.springframework.web.bind.annotation.*;\n\n@RestController\n@CrossOrigin(origins = \"https://app.example.com\", allowCredentials = \"true\")\npublic class Ok {\n    @GetMapping(\"/me\")\n    public String me() {\n        return \"ok\";\n    }\n}"},"references":[{"title":"CWE-942: Permissive Cross-domain Policy with Untrusted Domains","url":"https://cwe.mitre.org/data/definitions/942.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-java-jackson-default-typing","slug":"java-jackson-default-typing","area":"sast","category":"security","title":"Jackson default typing (Java)","severity":"high","language":"Java","what":"Jackson polymorphic default typing is enabled, so JSON can name the class to instantiate.","why":"Known gadget classes then give code execution.","fix":"Remove default typing; for polymorphism use @JsonTypeInfo with @JsonSubTypes, or a PolymorphicTypeValidator that allows only your own base package.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"import com.fasterxml.jackson.databind.ObjectMapper;\n\npublic class Bad {\n    public static ObjectMapper mapper() {\n        ObjectMapper m = new ObjectMapper();\n        m.enableDefaultTyping();\n        return m;\n    }\n}","fixed":"import com.fasterxml.jackson.databind.ObjectMapper;\n\npublic class Ok {\n    public static ObjectMapper mapper() {\n        return new ObjectMapper().findAndRegisterModules();\n    }\n}"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-java-jwt-hardcoded-secret","slug":"java-jwt-hardcoded-secret","area":"sast","category":"security","title":"JWT hardcoded secret (Java)","severity":"high","language":"Java","what":"The key that signs or verifies JSON Web Tokens is a literal in the source.","why":"Anyone who reads it can mint tokens this service accepts.","fix":"Load the key from a key store or secret manager and rotate the committed value.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"import com.auth0.jwt.JWT;\nimport com.auth0.jwt.algorithms.Algorithm;\n\npublic class Bad {\n    public static String issue(String sub) {\n        return JWT.create().withSubject(sub).sign(Algorithm.HMAC256(\"production-signing-key-2026\"));\n    }\n}","fixed":"import com.auth0.jwt.JWT;\nimport com.auth0.jwt.algorithms.Algorithm;\n\npublic class Ok {\n    public static String issue(String sub) {\n        return JWT.create().withSubject(sub).sign(Algorithm.HMAC256(System.getenv(\"JWT_KEY\")));\n    }\n}"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-java-weak-pbkdf2-iterations","slug":"java-weak-pbkdf2-iterations","area":"sast","category":"security","title":"Weak PBKDF2 iterations (Java)","severity":"medium","language":"Java","what":"PBKDF2 is run with fewer than 100,000 iterations.","why":"A stolen password hash can then be brute-forced quickly.","fix":"Use at least 600,000 iterations with PBKDF2WithHmacSHA256, or Argon2 / bcrypt via Spring Security's encoders.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-916: Use of Password Hash With Insufficient Computational Effort"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import javax.crypto.SecretKeyFactory;\nimport javax.crypto.spec.PBEKeySpec;\n\npublic class Bad {\n    public static byte[] hash(char[] password, byte[] salt) throws Exception {\n        PBEKeySpec spec = new PBEKeySpec(password, salt, 1000, 256);\n        return SecretKeyFactory.getInstance(\"PBKDF2WithHmacSHA256\").generateSecret(spec).getEncoded();\n    }\n}","fixed":"import javax.crypto.SecretKeyFactory;\nimport javax.crypto.spec.PBEKeySpec;\n\npublic class Ok {\n    public static byte[] hash(char[] password, byte[] salt) throws Exception {\n        PBEKeySpec spec = new PBEKeySpec(password, salt, 600000, 256);\n        return SecretKeyFactory.getInstance(\"PBKDF2WithHmacSHA256\").generateSecret(spec).getEncoded();\n    }\n}"},"references":[{"title":"CWE-916: Use of Password Hash With Insufficient Computational Effort","url":"https://cwe.mitre.org/data/definitions/916.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-java-xstream-unrestricted","slug":"java-xstream-unrestricted","area":"sast","category":"security","title":"XStream unrestricted (Java)","severity":"medium","language":"Java","what":"XStream deserialises XML without a type allowlist.","why":"A document can name gadget classes to instantiate.","fix":"Call xstream.addPermission(NoTypePermission.NONE) and then allowTypes for your own classes before fromXML.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"import com.thoughtworks.xstream.XStream;\n\npublic class Bad {\n    public static Object load(String xml) {\n        XStream xstream = new XStream();\n        return xstream.fromXML(xml);\n    }\n}","fixed":"import com.thoughtworks.xstream.XStream;\nimport com.thoughtworks.xstream.security.NoTypePermission;\n\npublic class Ok {\n    public static Object load(String xml) {\n        XStream xstream = new XStream();\n        xstream.addPermission(NoTypePermission.NONE);\n        xstream.allowTypes(new Class[] { Order.class });\n        return xstream.fromXML(xml);\n    }\n}"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-11-18"},{"id":"trustivan-java-ai-sdk-use","slug":"java-ai-sdk-use","area":"sast","category":"security","title":"Ai sdk use (Java)","severity":"low","language":"Java","what":"This code imports $MOD, from the SDK of an AI model provider or framework.","why":"Listed so that AI use in code is inventoried and reviewed; it is not a vulnerability by itself.","fix":"Confirm the provider is approved for the data this code sends to it, and record it in your AI inventory. Suppress the finding once reviewed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Java source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1357: Reliance on Insufficiently Trustworthy Component"],"owasp":["LLM03:2025 Supply Chain"],"example":{"vulnerable":"import com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\n\nclass Bad {\n    OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n}","fixed":"import java.net.http.HttpClient;\n\nclass Ok {\n    HttpClient client = HttpClient.newHttpClient();\n}"},"references":[{"title":"CWE-1357: Reliance on Insufficiently Trustworthy Component","url":"https://cwe.mitre.org/data/definitions/1357.html"},{"title":"OWASP Top 10 for LLM Applications LLM03:2025 Supply Chain","url":"https://genai.owasp.org/llm-top-10/"}],"updated":"2026-11-18"},{"id":"trustowl-javascript-eval-use","slug":"javascript-eval-use","area":"sast","category":"security","title":"Eval use (JavaScript)","severity":"high","language":"JavaScript","what":"eval() executes a string as code.","why":"If any part of that string can be influenced by user input, this is arbitrary code execution in the page or the Node.js process.","fix":"Replace eval() with a parser for the specific data format expected (for example JSON.parse for JSON), or restructure the code so no dynamic evaluation is needed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"function run(input) {\n  return eval(input);\n}","fixed":"function run(input) {\n  return JSON.parse(input);\n}"},"references":[{"title":"CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code","url":"https://cwe.mitre.org/data/definitions/95.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-sql-injection","slug":"javascript-taint-sql-injection","area":"sast","category":"security","title":"SQL injection from request input (JavaScript)","severity":"high","language":"JavaScript","what":"A value read from the HTTP request reaches the text of a SQL statement.","why":"The caller controls part of the statement, so they can change what it selects, updates or deletes.","fix":"Keep the statement text constant and pass the request value in the driver's parameter array (the second argument of query).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"const express = require(\"express\");\nconst app = express();\n\napp.get(\"/orders\", async (req, res) => {\n  const sql = \"SELECT id FROM orders WHERE status = '\" + req.query.status + \"'\";\n  const rows = await app.locals.db.query(sql);\n  res.json(rows);\n});","fixed":"const express = require(\"express\");\nconst app = express();\n\napp.get(\"/orders\", async (req, res) => {\n  const rows = await app.locals.db.query(\n    \"SELECT id FROM orders WHERE status = $1\",\n    [req.query.status],\n  );\n  res.json(rows);\n});"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-command-injection","slug":"javascript-taint-command-injection","area":"sast","category":"security","title":"Command injection from request input (JavaScript)","severity":"high","language":"JavaScript","what":"A value read from the HTTP request reaches a shell command line.","why":"The caller can append their own commands with shell metacharacters.","fix":"Use execFile or spawn with an argument array and no shell, so the value is delivered as one argument and never parsed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import { exec } from \"child_process\";\nimport express from \"express\";\n\nconst app = express();\n\napp.get(\"/ping\", (req, res) => {\n  exec(\"ping -c 1 \" + req.query.host, (_err, stdout) => {\n    res.json({ stdout });\n  });\n});","fixed":"import { execFile } from \"child_process\";\nimport express from \"express\";\n\nconst app = express();\n\napp.get(\"/ping\", (req, res) => {\n  execFile(\"ping\", [\"-c\", \"1\", String(req.query.host)], (_err, stdout) => {\n    res.json({ stdout });\n  });\n});"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-path-traversal","slug":"javascript-taint-path-traversal","area":"sast","category":"security","title":"Path traversal from request input (JavaScript)","severity":"high","language":"JavaScript","what":"A value read from the HTTP request is used as a file path.","why":"A value such as ../../etc/passwd walks out of the intended directory.","fix":"Reduce the value to a bare file name with path.basename before joining it to a fixed directory, or pass a root option to sendFile.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"const fs = require(\"fs\");\nconst path = require(\"path\");\nconst express = require(\"express\");\nconst app = express();\n\napp.get(\"/download\", (req, res) => {\n  const file = path.join(\"/srv/uploads\", req.query.name);\n  fs.readFile(file, (_err, data) => res.json({ size: data.length }));\n});","fixed":"const fs = require(\"fs\");\nconst path = require(\"path\");\nconst express = require(\"express\");\nconst app = express();\n\napp.get(\"/download\", (req, res) => {\n  const file = path.join(\"/srv/uploads\", path.basename(req.query.name));\n  fs.readFile(file, (_err, data) => res.json({ size: data.length }));\n});"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-ssrf","slug":"javascript-taint-ssrf","area":"sast","category":"security","title":"SSRF from request input (JavaScript)","severity":"high","language":"JavaScript","what":"A value read from the HTTP request is used as the URL of an outbound request.","why":"The caller can make this server fetch internal addresses, such as a cloud metadata endpoint.","fix":"Choose the destination from an allowlist held by the server, and refuse private, loopback and link-local addresses after resolving the host name.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-918: Server-Side Request Forgery (SSRF)"],"owasp":["A10:2021 - Server-Side Request Forgery (SSRF)"],"taint":true,"example":{"vulnerable":"const express = require(\"express\");\nconst app = express();\n\napp.get(\"/preview\", async (req, res) => {\n  const upstream = await fetch(req.query.url);\n  res.json({ status: upstream.status });\n});","fixed":"const express = require(\"express\");\nconst app = express();\nconst FEEDS = { news: \"https://feeds.example.com/news\" };\n\napp.get(\"/preview\", async (req, res) => {\n  const target = FEEDS[String(req.query.feed)] ? \"https://feeds.example.com/news\" : \"https://feeds.example.com/health\";\n  const upstream = await fetch(target);\n  res.json({ status: upstream.status });\n});"},"references":[{"title":"CWE-918: Server-Side Request Forgery (SSRF)","url":"https://cwe.mitre.org/data/definitions/918.html"},{"title":"OWASP Top 10 A10:2021 - Server-Side Request Forgery (SSRF)","url":"https://owasp.org/Top10/2021/A10_2021-Server-Side_Request_Forgery_(SSRF)/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-reflected-xss","slug":"javascript-taint-reflected-xss","area":"sast","category":"security","title":"Reflected XSS from request input (JavaScript)","severity":"high","language":"JavaScript","what":"A value read from the HTTP request is written into the response body without escaping.","why":"Express serves a string as HTML, so markup in the value runs as script in the user's browser.","fix":"Render the value through a template engine that escapes by default, return it with res.json, or escape it before writing.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"const express = require(\"express\");\nconst app = express();\n\napp.get(\"/hello\", (req, res) => {\n  res.send(\"<h1>Hello \" + req.query.name + \"</h1>\");\n});","fixed":"const express = require(\"express\");\nconst escapeHtml = require(\"escape-html\");\nconst app = express();\n\napp.get(\"/hello\", (req, res) => {\n  res.send(\"<h1>Hello \" + escapeHtml(req.query.name) + \"</h1>\");\n});"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-dom-xss","slug":"javascript-taint-dom-xss","area":"sast","category":"security","title":"DOM XSS from request input (JavaScript)","severity":"high","language":"JavaScript","what":"A value the page's visitor does not control (the URL, the referrer or the window name) is written into the document as HTML.","why":"A crafted link runs script in the visitor's session.","fix":"Assign the value to textContent, or sanitise it with DOMPurify before it is parsed as HTML.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"function showBanner() {\n  const message = decodeURIComponent(location.hash.slice(1));\n  document.getElementById(\"banner\").innerHTML = message;\n}","fixed":"function showBanner() {\n  const message = decodeURIComponent(location.hash.slice(1));\n  document.getElementById(\"banner\").textContent = message;\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-deserialization","slug":"javascript-taint-deserialization","area":"sast","category":"security","title":"Deserialization from request input (JavaScript)","severity":"high","language":"JavaScript","what":"Data read from the HTTP request is passed to a deserialiser that can rebuild functions or arbitrary objects.","why":"Loading it can run code chosen by the caller.","fix":"Accept JSON and parse it with JSON.parse, then validate the result against a schema.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"const serialize = require(\"node-serialize\");\nconst express = require(\"express\");\nconst app = express();\n\napp.post(\"/restore\", (req, res) => {\n  const state = serialize.unserialize(req.body.state);\n  res.json({ keys: Object.keys(state) });\n});","fixed":"const express = require(\"express\");\nconst app = express();\n\napp.post(\"/restore\", (req, res) => {\n  const state = JSON.parse(req.body.state);\n  res.json({ keys: Object.keys(state) });\n});"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-code-injection","slug":"javascript-taint-code-injection","area":"sast","category":"security","title":"Code injection from request input (JavaScript)","severity":"high","language":"JavaScript","what":"A value read from the HTTP request is evaluated as JavaScript.","why":"The caller can run any code with this process's privileges.","fix":"Do not evaluate request data. Map the value to a known operation with an object lookup, or parse it as data.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"const vm = require(\"vm\");\nconst express = require(\"express\");\nconst app = express();\n\napp.post(\"/formula\", (req, res) => {\n  const result = vm.runInNewContext(req.body.formula, {});\n  res.json({ result });\n});","fixed":"const express = require(\"express\");\nconst app = express();\nconst OPERATIONS = { double: (n) => n * 2, negate: (n) => -n };\n\napp.post(\"/formula\", (req, res) => {\n  const operation = OPERATIONS[String(req.body.formula)] || OPERATIONS.double;\n  res.json({ result: operation(21) });\n});"},"references":[{"title":"CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code","url":"https://cwe.mitre.org/data/definitions/95.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-open-redirect","slug":"javascript-taint-open-redirect","area":"sast","category":"security","title":"Open redirect from request input (JavaScript)","severity":"medium","language":"JavaScript","what":"A value read from the HTTP request is used as a redirect target.","why":"A link to this site can send a user to a site the attacker controls.","fix":"Redirect only to paths on this site: look the target up in an allowlist rather than passing the request value through.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-601: URL Redirection to Untrusted Site"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"const express = require(\"express\");\nconst app = express();\n\napp.get(\"/login/done\", (req, res) => {\n  res.redirect(req.query.next);\n});","fixed":"const express = require(\"express\");\nconst app = express();\nconst PAGES = new Set([\"/inbox\", \"/settings\"]);\n\napp.get(\"/login/done\", (req, res) => {\n  res.redirect(PAGES.has(req.query.next) ? \"/settings\" : \"/inbox\");\n});"},"references":[{"title":"CWE-601: URL Redirection to Untrusted Site","url":"https://cwe.mitre.org/data/definitions/601.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-nosql-injection","slug":"javascript-taint-nosql-injection","area":"sast","category":"security","title":"NoSQL injection from request input (JavaScript)","severity":"high","language":"JavaScript","what":"An object taken from the HTTP request is used as a database filter.","why":"The caller can send operators such as {\"$ne\": null} in place of a value and match records they should not see.","fix":"Convert each request value to the type the query expects (String(value)) and build the filter object yourself.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-943: Improper Neutralization of Special Elements in Data Query Logic"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"const express = require(\"express\");\nconst app = express();\n\napp.post(\"/login\", async (req, res) => {\n  const user = await app.locals.users.findOne({\n    email: req.body.email,\n    password: req.body.password,\n  });\n  res.json({ ok: Boolean(user) });\n});","fixed":"const express = require(\"express\");\nconst app = express();\n\napp.post(\"/login\", async (req, res) => {\n  const user = await app.locals.users.findOne({\n    email: String(req.body.email),\n  });\n  res.json({ ok: Boolean(user) });\n});"},"references":[{"title":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","url":"https://cwe.mitre.org/data/definitions/943.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-taint-regex-injection","slug":"javascript-taint-regex-injection","area":"sast","category":"security","title":"Regex injection from request input (JavaScript)","severity":"medium","language":"JavaScript","what":"A value read from the HTTP request is compiled as a regular expression.","why":"A pattern with nested quantifiers can hold the event loop for seconds per request.","fix":"Escape the value before compiling it, or match with a plain string method such as includes.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1333: Inefficient Regular Expression Complexity"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"const express = require(\"express\");\nconst app = express();\n\napp.get(\"/search\", (req, res) => {\n  const matcher = new RegExp(req.query.q, \"i\");\n  res.json(app.locals.titles.filter((title) => matcher.test(title)));\n});","fixed":"const express = require(\"express\");\nconst app = express();\n\napp.get(\"/search\", (req, res) => {\n  const needle = String(req.query.q).toLowerCase();\n  res.json(app.locals.titles.filter((title) => title.toLowerCase().includes(needle)));\n});"},"references":[{"title":"CWE-1333: Inefficient Regular Expression Complexity","url":"https://cwe.mitre.org/data/definitions/1333.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-child-process-exec-interpolation","slug":"javascript-child-process-exec-interpolation","area":"sast","category":"security","title":"Child process exec interpolation (JavaScript)","severity":"medium","language":"JavaScript","what":"A shell command line is assembled from a variable.","why":"Any part of it that comes from outside the program is parsed for shell metacharacters.","fix":"Use execFile or spawn with an argument array, so each value is delivered as one argument.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"const { exec } = require(\"child_process\");\n\nfunction archive(directory, done) {\n  exec(`tar czf backup.tgz ${directory}`, done);\n}","fixed":"const { execFile } = require(\"child_process\");\n\nfunction archive(directory, done) {\n  execFile(\"tar\", [\"czf\", \"backup.tgz\", directory], done);\n}"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-react-dangerous-html","slug":"javascript-react-dangerous-html","area":"sast","category":"security","title":"React dangerous HTML (JavaScript)","severity":"medium","language":"JavaScript","what":"dangerouslySetInnerHTML renders a value as HTML without React's escaping.","why":"If the value holds anything a user typed, it runs as script.","fix":"Render the value as a child so React escapes it, or sanitise it with DOMPurify.sanitize at the point of use.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"export function Comment({ comment }) {\n  return <div className=\"comment\" dangerouslySetInnerHTML={{ __html: comment.body }} />;\n}","fixed":"export function Comment({ comment }) {\n  return <div className=\"comment\">{comment.body}</div>;\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-tls-verification-disabled","slug":"javascript-tls-verification-disabled","area":"sast","category":"security","title":"TLS verification disabled (JavaScript)","severity":"high","language":"JavaScript","what":"Certificate verification is switched off.","why":"Any server can impersonate the intended one.","fix":"Remove rejectUnauthorized: false. To trust a private certificate authority, pass its certificate in the ca option.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"const https = require(\"https\");\n\nconst agent = new https.Agent({ rejectUnauthorized: false });\n\nmodule.exports = { agent };","fixed":"const fs = require(\"fs\");\nconst https = require(\"https\");\n\nconst agent = new https.Agent({ ca: fs.readFileSync(\"/etc/ssl/private-ca.pem\") });\n\nmodule.exports = { agent };"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-weak-hash","slug":"javascript-weak-hash","area":"sast","category":"security","title":"Weak hash (JavaScript)","severity":"medium","language":"JavaScript","what":"MD5 and SHA-1 are broken for collision resistance and must not protect passwords, signatures or integrity checks.","why":"An attacker can produce two inputs with the same digest, so a signature or integrity check built on it can be forged, and fast hashes make stolen password digests quick to crack.","fix":"Use sha256 or stronger. For passwords use a password hash (argon2, bcrypt, scrypt).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"const crypto = require(\"crypto\");\n\nfunction fingerprint(password) {\n  return crypto.createHash(\"md5\").update(password).digest(\"hex\");\n}","fixed":"const crypto = require(\"crypto\");\n\nfunction fingerprint(password) {\n  return crypto.createHash(\"sha256\").update(password).digest(\"hex\");\n}"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-javascript-weak-cipher","slug":"javascript-weak-cipher","area":"sast","category":"security","title":"Weak cipher (JavaScript)","severity":"high","language":"JavaScript","what":"This cipher is no longer safe: DES, Triple DES and RC4 are broken, ECB mode reveals repeated blocks, and createCipher derives its key with one MD5 pass and no salt.","why":"Data encrypted this way can be read or patterned by an attacker who captures enough of it, so the encryption no longer keeps it confidential.","fix":"Use crypto.createCipheriv(\"aes-256-gcm\", key, iv) with a random 12-byte IV per message.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"const crypto = require(\"crypto\");\n\nfunction seal(key, text) {\n  const cipher = crypto.createCipheriv(\"aes-128-ecb\", key, null);\n  return Buffer.concat([cipher.update(text), cipher.final()]);\n}","fixed":"const crypto = require(\"crypto\");\n\nfunction seal(key, text) {\n  const iv = crypto.randomBytes(12);\n  const cipher = crypto.createCipheriv(\"aes-256-gcm\", key, iv);\n  return Buffer.concat([iv, cipher.update(text), cipher.final(), cipher.getAuthTag()]);\n}"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-javascript-insecure-random-secret","slug":"javascript-insecure-random-secret","area":"sast","category":"security","title":"Insecure random secret (JavaScript)","severity":"medium","language":"JavaScript","what":"A value named like a secret is generated with Math.random, whose output is predictable from earlier output.","why":"Someone who sees a few outputs can predict the token, password or key this value becomes.","fix":"Use crypto.randomBytes or crypto.randomUUID in Node.js, or crypto.getRandomValues in the browser.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"function newResetToken() {\n  const resetToken = Math.random().toString(36).slice(2);\n  return resetToken;\n}","fixed":"const crypto = require(\"crypto\");\n\nfunction newResetToken() {\n  const resetToken = crypto.randomBytes(32).toString(\"hex\");\n  return resetToken;\n}\n\nfunction jitter() {\n  const delay = Math.random() * 500;\n  return delay;\n}"},"references":[{"title":"CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator","url":"https://cwe.mitre.org/data/definitions/338.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-javascript-jwt-none-algorithm","slug":"javascript-jwt-none-algorithm","area":"sast","category":"security","title":"JWT none algorithm (JavaScript)","severity":"high","language":"JavaScript","what":"The \"none\" algorithm produces and accepts tokens with no signature.","why":"Anyone can write the claims.","fix":"Sign with HS256, RS256 or ES256, and give verify an explicit algorithms list that does not contain \"none\".","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-347: Improper Verification of Cryptographic Signature"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"const jwt = require(\"jsonwebtoken\");\n\nfunction claims(token, key) {\n  return jwt.verify(token, key, { algorithms: [\"RS256\", \"none\"] });\n}","fixed":"const jwt = require(\"jsonwebtoken\");\n\nfunction claims(token, key) {\n  return jwt.verify(token, key, { algorithms: [\"RS256\"] });\n}"},"references":[{"title":"CWE-347: Improper Verification of Cryptographic Signature","url":"https://cwe.mitre.org/data/definitions/347.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-jwt-hardcoded-secret","slug":"javascript-jwt-hardcoded-secret","area":"sast","category":"security","title":"JWT hardcoded secret (JavaScript)","severity":"high","language":"JavaScript","what":"The token signing key is a string literal in the source.","why":"Anyone who can read the repository can mint tokens the service accepts.","fix":"Read the key from the environment or a secret manager, and rotate the one that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"const jwt = require(\"jsonwebtoken\");\n\nfunction issue(user) {\n  return jwt.sign({ sub: user.id }, \"change-me-before-launch\", { expiresIn: \"1h\" });\n}","fixed":"const jwt = require(\"jsonwebtoken\");\n\nfunction issue(user) {\n  return jwt.sign({ sub: user.id }, process.env.JWT_SIGNING_KEY, { expiresIn: \"1h\" });\n}"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-cors-reflected-origin-with-credentials","slug":"javascript-cors-reflected-origin-with-credentials","area":"sast","category":"security","title":"CORS reflected origin with credentials (JavaScript)","severity":"high","language":"JavaScript","what":"CORS is configured to echo any Origin and to allow credentials.","why":"Any website can call this API with the visitor's cookies and read the response.","fix":"List the origins that may send credentials in the origin option instead of reflecting the request's.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-942: Permissive Cross-domain Policy with Untrusted Domains"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"const express = require(\"express\");\nconst cors = require(\"cors\");\nconst app = express();\n\napp.use(cors({ origin: true, credentials: true }));","fixed":"const express = require(\"express\");\nconst cors = require(\"cors\");\nconst app = express();\n\napp.use(cors({ origin: [\"https://app.example.com\"], credentials: true }));"},"references":[{"title":"CWE-942: Permissive Cross-domain Policy with Untrusted Domains","url":"https://cwe.mitre.org/data/definitions/942.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-cookie-httponly-disabled","slug":"javascript-cookie-httponly-disabled","area":"sast","category":"security","title":"Cookie HttpOnly disabled (JavaScript)","severity":"medium","language":"JavaScript","what":"The cookie is set with httpOnly: false, so script on the page can read it.","why":"A cross-site scripting flaw then yields the session.","fix":"Set httpOnly: true (and secure: true) on session cookies.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"function remember(res, sessionId) {\n  res.cookie(\"sid\", sessionId, { httpOnly: false, secure: true });\n}","fixed":"function remember(res, sessionId) {\n  res.cookie(\"sid\", sessionId, { httpOnly: true, secure: true, sameSite: \"lax\" });\n}"},"references":[{"title":"CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag","url":"https://cwe.mitre.org/data/definitions/1004.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-postmessage-wildcard-origin","slug":"javascript-postmessage-wildcard-origin","area":"sast","category":"security","title":"PostMessage wildcard origin (JavaScript)","severity":"medium","language":"JavaScript","what":"postMessage is sent with target origin \"*\".","why":"Whatever document is loaded in that window receives the message, including one the user was navigated to by an attacker.","fix":"Pass the exact origin of the intended recipient.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-201: Insertion of Sensitive Information Into Sent Data"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"function publish(frame, profile) {\n  frame.contentWindow.postMessage({ type: \"profile\", profile }, \"*\");\n}","fixed":"function publish(frame, profile) {\n  frame.contentWindow.postMessage({ type: \"profile\", profile }, \"https://widgets.example.com\");\n}"},"references":[{"title":"CWE-201: Insertion of Sensitive Information Into Sent Data","url":"https://cwe.mitre.org/data/definitions/201.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-session-hardcoded-secret","slug":"javascript-session-hardcoded-secret","area":"sast","category":"security","title":"Session hardcoded secret (JavaScript)","severity":"high","language":"JavaScript","what":"The session signing secret is a string literal in the source.","why":"Anyone who can read the repository can forge a session cookie.","fix":"Read the secret from the environment or a secret manager, and rotate the one that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"const express = require(\"express\");\nconst session = require(\"express-session\");\nconst app = express();\n\napp.use(session({ secret: \"keyboard cat\", resave: false, saveUninitialized: false }));","fixed":"const express = require(\"express\");\nconst session = require(\"express-session\");\nconst app = express();\n\napp.use(session({ secret: process.env.SESSION_SECRET, resave: false, saveUninitialized: false }));"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-deprecated-buffer-constructor","slug":"javascript-deprecated-buffer-constructor","area":"sast","category":"security","title":"Deprecated buffer constructor (JavaScript)","severity":"medium","language":"JavaScript","what":"new Buffer(value) allocates uninitialised memory when the value is a number.","why":"If a caller can choose the type, the response can leak earlier contents of the process heap.","fix":"Use Buffer.from(value) for data and Buffer.alloc(size) for a size.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-908: Use of Uninitialized Resource"],"owasp":["A04:2021 - Insecure Design"],"example":{"vulnerable":"function decode(payload) {\n  return new Buffer(payload.data).toString(\"base64\");\n}","fixed":"function decode(payload) {\n  return Buffer.from(String(payload.data)).toString(\"base64\");\n}"},"references":[{"title":"CWE-908: Use of Uninitialized Resource","url":"https://cwe.mitre.org/data/definitions/908.html"},{"title":"OWASP Top 10 A04:2021 - Insecure Design","url":"https://owasp.org/Top10/2021/A04_2021-Insecure_Design/"}],"updated":"2026-10-13"},{"id":"trustivan-javascript-inner-html-non-literal","slug":"javascript-inner-html-non-literal","area":"sast","category":"security","title":"Inner HTML non literal (JavaScript)","severity":"medium","language":"JavaScript","what":"A value that is not a constant string is assigned to innerHTML and parsed as markup.","why":"If it holds anything a user typed, it runs as script.","fix":"Assign to textContent, build the nodes with createElement, or sanitise the value with DOMPurify.sanitize.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"function render(panel, note) {\n  panel.innerHTML = \"<p>\" + note.text + \"</p>\";\n}","fixed":"function render(panel, note) {\n  panel.innerHTML = \"\";\n  const paragraph = document.createElement(\"p\");\n  paragraph.textContent = note.text;\n  panel.appendChild(paragraph);\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-javascript-taint-template-injection","slug":"javascript-taint-template-injection","area":"sast","category":"security","title":"Template injection from request input (JavaScript)","severity":"high","language":"JavaScript","what":"A value read from the HTTP request is compiled as a template (EJS, Handlebars, Pug, Nunjucks, lodash).","why":"Template code runs JavaScript, so the caller can execute code on this server.","fix":"Keep template text in files on the server and pass the request value as data to res.render or template(data).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"const ejs = require(\"ejs\");\nconst express = require(\"express\");\nconst app = express();\n\napp.post(\"/preview\", (req, res) => {\n  res.send(ejs.render(req.body.template, { name: \"Ada\" }));\n});","fixed":"const express = require(\"express\");\nconst app = express();\n\napp.post(\"/preview\", (req, res) => {\n  res.render(\"preview\", { name: String(req.body.name) });\n});"},"references":[{"title":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","url":"https://cwe.mitre.org/data/definitions/1336.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-javascript-taint-prototype-pollution","slug":"javascript-taint-prototype-pollution","area":"sast","category":"security","title":"Prototype pollution from request input (JavaScript)","severity":"high","language":"JavaScript","what":"Request data is deep-merged or assigned by path into an object.","why":"A key such as \"__proto__\" or \"constructor.prototype\" changes every object in the process, which has led to privilege escalation and code execution.","fix":"Validate the body against a schema and copy known fields; never deep-merge request data, or merge into Object.create(null).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"const _ = require(\"lodash\");\nconst express = require(\"express\");\nconst app = express();\nconst settings = {};\n\napp.patch(\"/settings\", (req, res) => {\n  _.merge(settings, req.body);\n  res.json(settings);\n});","fixed":"const express = require(\"express\");\nconst app = express();\nconst settings = {};\n\napp.patch(\"/settings\", (req, res) => {\n  if (req.body.theme === \"dark\" || req.body.theme === \"light\") {\n    settings.theme = req.body.theme;\n  }\n  res.json(settings);\n});"},"references":[{"title":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","url":"https://cwe.mitre.org/data/definitions/1321.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-javascript-taint-xpath-injection","slug":"javascript-taint-xpath-injection","area":"sast","category":"security","title":"XPath injection from request input (JavaScript)","severity":"high","language":"JavaScript","what":"A value read from the HTTP request is placed in an XPath expression.","why":"A quote in the value changes which nodes it selects.","fix":"Use xpath.parse(expr).select({ node, variables: { sku: value } }) with a $sku variable in a constant expression.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-643: Improper Neutralization of Data within XPath Expressions"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"const xpath = require(\"xpath\");\nconst express = require(\"express\");\nconst app = express();\n\napp.get(\"/item\", (req, res) => {\n  const nodes = xpath.select(\"//item[@sku='\" + req.query.sku + \"']/name/text()\", CATALOG);\n  res.json({ name: nodes.length ? nodes[0].toString() : null });\n});","fixed":"const xpath = require(\"xpath\");\nconst express = require(\"express\");\nconst app = express();\n\napp.get(\"/item\", (req, res) => {\n  const nodes = xpath.select(\"//item[@id=\" + Number(req.query.id) + \"]/name/text()\", CATALOG);\n  res.json({ name: nodes.length ? nodes[0].toString() : null });\n});"},"references":[{"title":"CWE-643: Improper Neutralization of Data within XPath Expressions","url":"https://cwe.mitre.org/data/definitions/643.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-javascript-taint-ldap-injection","slug":"javascript-taint-ldap-injection","area":"sast","category":"security","title":"LDAP injection from request input (JavaScript)","severity":"high","language":"JavaScript","what":"A value read from the HTTP request is placed in an LDAP search filter.","why":"Characters such as * ( ) change which directory entries it matches.","fix":"Build the filter with new EqualityFilter({ attribute, value }) from ldapjs, which escapes the value, instead of a string.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-90: Improper Neutralization of Special Elements used in an LDAP Query"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"const express = require(\"express\");\nconst app = express();\n\napp.get(\"/people\", (req, res) => {\n  client.search(\"ou=people,dc=example,dc=com\", { filter: \"(uid=\" + req.query.user + \")\", scope: \"sub\" }, (err, out) => {\n    res.json({ ok: !err });\n  });\n});","fixed":"const { EqualityFilter } = require(\"ldapjs\");\nconst express = require(\"express\");\nconst app = express();\n\napp.get(\"/people\", (req, res) => {\n  const filter = new EqualityFilter({ attribute: \"uid\", value: String(req.query.user) });\n  client.search(\"ou=people,dc=example,dc=com\", { filter: filter, scope: \"sub\" }, (err, out) => {\n    res.json({ ok: !err });\n  });\n});"},"references":[{"title":"CWE-90: Improper Neutralization of Special Elements used in an LDAP Query","url":"https://cwe.mitre.org/data/definitions/90.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-javascript-taint-xxe","slug":"javascript-taint-xxe","area":"sast","category":"security","title":"XXE from request input (JavaScript)","severity":"high","language":"JavaScript","what":"Request data is parsed as XML with external entity substitution turned on.","why":"A document can read local files or make the server send requests (XXE).","fix":"Parse without noent (the default), or use a parser that does not resolve entities, such as fast-xml-parser.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-611: Improper Restriction of XML External Entity Reference"],"owasp":["A05:2021 - Security Misconfiguration"],"taint":true,"example":{"vulnerable":"const libxmljs = require(\"libxmljs\");\nconst express = require(\"express\");\nconst app = express();\n\napp.post(\"/import\", express.text({ type: \"application/xml\" }), (req, res) => {\n  const doc = libxmljs.parseXml(req.body, { noent: true });\n  res.json({ root: doc.root().name() });\n});","fixed":"const libxmljs = require(\"libxmljs\");\nconst express = require(\"express\");\nconst app = express();\n\napp.post(\"/import\", express.text({ type: \"application/xml\" }), (req, res) => {\n  const doc = libxmljs.parseXml(req.body);\n  res.json({ root: doc.root().name() });\n});"},"references":[{"title":"CWE-611: Improper Restriction of XML External Entity Reference","url":"https://cwe.mitre.org/data/definitions/611.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-javascript-sql-template-literal","slug":"javascript-sql-template-literal","area":"sast","category":"security","title":"SQL template literal (JavaScript)","severity":"medium","language":"JavaScript","what":"A SQL statement is built with a template literal and passed to a query method.","why":"Any interpolated value that carries user data, including through another function, is SQL injection.","fix":"Keep the statement constant and pass the values in the driver's parameter array ($1 or ?).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"async function ordersFor(pool, customer) {\n  return pool.query(`SELECT id FROM orders WHERE customer = '${customer}'`);\n}","fixed":"async function ordersFor(pool, customer) {\n  return pool.query(\"SELECT id FROM orders WHERE customer = $1\", [customer]);\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-javascript-helmet-csp-disabled","slug":"javascript-helmet-csp-disabled","area":"sast","category":"security","title":"Helmet CSP disabled (JavaScript)","severity":"medium","language":"JavaScript","what":"helmet is configured with contentSecurityPolicy (or frameguard) turned off, removing the browser-side defence against script injection and clickjacking.","why":"Without these headers an injected script runs with nothing to stop it, and the site can be framed by another page to trick clicks.","fix":"Keep helmet's default CSP and adjust its directives for the sources the page needs.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1021: Improper Restriction of Rendered UI Layers or Frames"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"const helmet = require(\"helmet\");\napp.use(helmet({ contentSecurityPolicy: false }));","fixed":"const helmet = require(\"helmet\");\napp.use(helmet({ contentSecurityPolicy: { directives: { \"img-src\": [\"'self'\", \"data:\"] } } }));"},"references":[{"title":"CWE-1021: Improper Restriction of Rendered UI Layers or Frames","url":"https://cwe.mitre.org/data/definitions/1021.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-11-07"},{"id":"trustivan-javascript-electron-node-integration","slug":"javascript-electron-node-integration","area":"sast","category":"security","title":"Electron node integration (JavaScript)","severity":"high","language":"JavaScript","what":"An Electron window enables Node.js integration or disables context isolation.","why":"Any script in the page, including injected content, gets full access to the user's machine.","fix":"Keep nodeIntegration false, contextIsolation and sandbox true, and expose a narrow API through a preload script with contextBridge.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-829: Inclusion of Functionality from Untrusted Control Sphere"],"owasp":["A04:2021 - Insecure Design"],"example":{"vulnerable":"const { BrowserWindow } = require(\"electron\");\n\nconst win = new BrowserWindow({ webPreferences: { nodeIntegration: true } });","fixed":"const path = require(\"path\");\nconst { BrowserWindow } = require(\"electron\");\n\nconst win = new BrowserWindow({\n  webPreferences: { preload: path.join(__dirname, \"preload.js\"), sandbox: true },\n});"},"references":[{"title":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","url":"https://cwe.mitre.org/data/definitions/829.html"},{"title":"OWASP Top 10 A04:2021 - Insecure Design","url":"https://owasp.org/Top10/2021/A04_2021-Insecure_Design/"}],"updated":"2026-10-29"},{"id":"trustivan-javascript-world-writable-permissions","slug":"javascript-world-writable-permissions","area":"sast","category":"security","title":"World writable permissions (JavaScript)","severity":"medium","language":"JavaScript","what":"A file or directory is created or changed to be writable by every user on the machine (mode 0o777 / 0o666).","why":"Another local process can modify it.","fix":"Use 0o600 for files and 0o700 for directories that hold private data, or 0o644 / 0o755 for public ones.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-732: Incorrect Permission Assignment for Critical Resource"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"const fs = require(\"fs\");\nfs.chmodSync(\"/var/lib/app/cache\", 0o777);","fixed":"const fs = require(\"fs\");\nfs.chmodSync(\"/var/lib/app/cache\", 0o700);"},"references":[{"title":"CWE-732: Incorrect Permission Assignment for Critical Resource","url":"https://cwe.mitre.org/data/definitions/732.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-javascript-bcrypt-low-rounds","slug":"javascript-bcrypt-low-rounds","area":"sast","category":"security","title":"Bcrypt low rounds (JavaScript)","severity":"medium","language":"JavaScript","what":"bcrypt is run with fewer than 10 salt rounds, which makes a stolen password hash quick to brute-force.","why":"Every step below 10 halves the work of guessing, so a leaked table of these hashes gives up its common passwords quickly.","fix":"Use 12 rounds or more.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-916: Use of Password Hash With Insufficient Computational Effort"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"const bcrypt = require(\"bcrypt\");\n\nasync function store(password) {\n  return bcrypt.hash(password, 4);\n}","fixed":"const bcrypt = require(\"bcrypt\");\n\nasync function store(password) {\n  return bcrypt.hash(password, 12);\n}"},"references":[{"title":"CWE-916: Use of Password Hash With Insufficient Computational Effort","url":"https://cwe.mitre.org/data/definitions/916.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-18"},{"id":"trustivan-javascript-ai-sdk-use","slug":"javascript-ai-sdk-use","area":"sast","category":"security","title":"Ai sdk use (JavaScript)","severity":"low","language":"JavaScript","what":"This code imports $MOD, the SDK of an AI model provider or framework.","why":"Listed so that AI use in code is inventoried and reviewed; it is not a vulnerability by itself.","fix":"Confirm the provider is approved for the data this code sends to it, and record it in your AI inventory. Suppress the finding once reviewed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1357: Reliance on Insufficiently Trustworthy Component"],"owasp":["LLM03:2025 Supply Chain"],"example":{"vulnerable":"import Anthropic from \"@anthropic-ai/sdk\";\n\nexport const client = new Anthropic();","fixed":"import axios from \"axios\";\n\nexport const fetchJson = (url) => axios.get(url).then((r) => r.data);"},"references":[{"title":"CWE-1357: Reliance on Insufficiently Trustworthy Component","url":"https://cwe.mitre.org/data/definitions/1357.html"},{"title":"OWASP Top 10 for LLM Applications LLM03:2025 Supply Chain","url":"https://genai.owasp.org/llm-top-10/"}],"updated":"2026-11-18"},{"id":"trustivan-javascript-taint-llm-output-to-sink","slug":"javascript-taint-llm-output-to-sink","area":"sast","category":"security","title":"Llm output to sink from request input (JavaScript)","severity":"high","language":"JavaScript","what":"Text generated by a language model reaches code execution, a shell command, a SQL query or raw HTML.","why":"Model output follows instructions planted in its input (prompt injection), so treat it as untrusted user input.","fix":"Never eval or shell out model output. Parse it into a fixed structure (JSON schema, an enum of allowed actions), pass values to SQL as bound parameters, and render it as text (textContent, JSX children) or through a sanitiser such as DOMPurify.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-94: Improper Control of Generation of Code ('Code Injection')","CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"owasp":["LLM05:2025 Improper Output Handling","A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import OpenAI from \"openai\";\n\nconst client = new OpenAI();\n\nexport async function renderAnswer(el, question) {\n  const resp = await client.chat.completions.create({\n    model: \"gpt-4o-mini\",\n    max_tokens: 300,\n    messages: [{ role: \"user\", content: question }],\n  });\n  el.innerHTML = resp.choices[0].message.content;\n}","fixed":"import OpenAI from \"openai\";\n\nconst client = new OpenAI();\n\nexport async function renderAnswer(el, question) {\n  const resp = await client.chat.completions.create({\n    model: \"gpt-4o-mini\",\n    max_tokens: 300,\n    messages: [{ role: \"user\", content: question }],\n  });\n  el.textContent = resp.choices[0].message.content;\n}"},"references":[{"title":"CWE-94: Improper Control of Generation of Code ('Code Injection')","url":"https://cwe.mitre.org/data/definitions/94.html"},{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 for LLM Applications LLM05:2025 Improper Output Handling","url":"https://genai.owasp.org/llm-top-10/"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-11-18"},{"id":"trustivan-javascript-taint-llm-prompt-injection-system","slug":"javascript-taint-llm-prompt-injection-system","area":"sast","category":"security","title":"Llm prompt injection system from request input (JavaScript)","severity":"medium","language":"JavaScript","what":"A value read from the HTTP request is written into the system prompt of a language-model call.","why":"The system prompt carries the instructions the model trusts most, so the caller can override them (prompt injection). Request data belongs in a user message.","fix":"Keep the system prompt constant (or built only from server-side values) and pass the request value as the content of a user message.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')"],"owasp":["LLM01:2025 Prompt Injection"],"taint":true,"example":{"vulnerable":"const express = require(\"express\");\nconst OpenAI = require(\"openai\");\n\nconst app = express();\nconst client = new OpenAI();\n\napp.get(\"/ask\", async (req, res) => {\n  const resp = await client.chat.completions.create({\n    model: \"gpt-4o-mini\",\n    max_tokens: 300,\n    messages: [\n      { role: \"system\", content: \"You are \" + req.query.persona + \". Never reveal internal data.\" },\n      { role: \"user\", content: \"Hello\" },\n    ],\n  });\n  res.send(resp.choices[0].message.content);\n});","fixed":"const express = require(\"express\");\nconst OpenAI = require(\"openai\");\n\nconst app = express();\nconst client = new OpenAI();\n\napp.get(\"/ask\", async (req, res) => {\n  const resp = await client.chat.completions.create({\n    model: \"gpt-4o-mini\",\n    max_tokens: 300,\n    messages: [\n      { role: \"system\", content: \"You are a support assistant. Never reveal internal data.\" },\n      { role: \"user\", content: req.query.q },\n    ],\n  });\n  res.send(resp.choices[0].message.content);\n});"},"references":[{"title":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","url":"https://cwe.mitre.org/data/definitions/77.html"},{"title":"OWASP Top 10 for LLM Applications LLM01:2025 Prompt Injection","url":"https://genai.owasp.org/llm-top-10/"}],"updated":"2026-11-18"},{"id":"trustivan-javascript-llm-unbounded-output-tokens","slug":"javascript-llm-unbounded-output-tokens","area":"sast","category":"security","title":"Llm unbounded output tokens (JavaScript)","severity":"low","language":"JavaScript","what":"A chat-completion call sets no max_tokens or max_completion_tokens, so the response may run to the model's full output limit.","why":"A caller who can trigger this call repeatedly can run up cost and latency.","fix":"Set max_tokens (or max_completion_tokens) to the longest answer the feature needs, and rate-limit the endpoint that triggers the call.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of JavaScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-770: Allocation of Resources Without Limits or Throttling"],"owasp":["LLM10:2025 Unbounded Consumption"],"example":{"vulnerable":"import OpenAI from \"openai\";\n\nconst client = new OpenAI();\n\nexport const summarise = (text) =>\n  client.chat.completions.create({\n    model: \"gpt-4o-mini\",\n    messages: [{ role: \"user\", content: text }],\n  });","fixed":"import OpenAI from \"openai\";\n\nconst client = new OpenAI();\n\nexport const summarise = (text) =>\n  client.chat.completions.create({\n    model: \"gpt-4o-mini\",\n    max_tokens: 400,\n    messages: [{ role: \"user\", content: text }],\n  });"},"references":[{"title":"CWE-770: Allocation of Resources Without Limits or Throttling","url":"https://cwe.mitre.org/data/definitions/770.html"},{"title":"OWASP Top 10 for LLM Applications LLM10:2025 Unbounded Consumption","url":"https://genai.owasp.org/llm-top-10/"}],"updated":"2026-11-18"},{"id":"trustivan-kotlin-taint-sql-injection","slug":"kotlin-taint-sql-injection","area":"sast","category":"security","title":"SQL injection from request input (Kotlin)","severity":"high","language":"Kotlin","what":"A value read from the HTTP request reaches the text of a SQL statement.","why":"The caller controls part of the statement, so they can change what it selects, updates or deletes.","fix":"Keep the statement text constant and pass the value as a bind parameter (JdbcTemplate's varargs, PreparedStatement.setString, or Exposed's DSL).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"@RestController\nclass OrderController(private val jdbc: JdbcTemplate) {\n    @GetMapping(\"/orders\")\n    fun list(@RequestParam(\"status\") status: String): List<Map<String, Any>> =\n        jdbc.queryForList(\"SELECT id FROM orders WHERE status = '$status'\")\n}","fixed":"@RestController\nclass OrderController(private val jdbc: JdbcTemplate) {\n    @GetMapping(\"/orders\")\n    fun list(@RequestParam(\"status\") status: String): List<Map<String, Any>> =\n        jdbc.queryForList(\"SELECT id FROM orders WHERE status = ?\", status)\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-command-injection","slug":"kotlin-taint-command-injection","area":"sast","category":"security","title":"Command injection from request input (Kotlin)","severity":"high","language":"Kotlin","what":"A value read from the HTTP request reaches a command line.","why":"The caller chooses what runs, or adds arguments of their own.","fix":"Run a fixed program with ProcessBuilder(listOf(\"ping\", \"-c\", \"1\", host)), never through sh -c and never from one concatenated string.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"fun Application.ping() {\n    routing {\n        get(\"/ping\") {\n            val host = call.parameters[\"host\"]\n            val p = Runtime.getRuntime().exec(\"ping -c 1 \" + host)\n            call.respondText(p.inputStream.bufferedReader().readText())\n        }\n    }\n}","fixed":"fun Application.ping() {\n    routing {\n        get(\"/ping\") {\n            val host = call.parameters[\"host\"] ?: \"localhost\"\n            val p = ProcessBuilder(listOf(\"ping\", \"-c\", \"1\", host)).start()\n            call.respondText(p.inputStream.bufferedReader().readText())\n        }\n    }\n}"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-path-traversal","slug":"kotlin-taint-path-traversal","area":"sast","category":"security","title":"Path traversal from request input (Kotlin)","severity":"high","language":"Kotlin","what":"A value read from the HTTP request is used as a file path.","why":"A value such as ../../etc/passwd walks out of the intended directory.","fix":"Reduce the value to a bare name (File(value).name) before resolving it against a fixed directory, and check that the normalised path still starts with that directory.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"fun Application.files() {\n    routing {\n        get(\"/download\") {\n            val name = call.request.queryParameters[\"name\"]\n            call.respondFile(File(\"/srv/uploads\", name))\n        }\n    }\n}","fixed":"fun Application.files() {\n    routing {\n        get(\"/download\") {\n            val name = File(call.request.queryParameters[\"name\"]).name\n            call.respondFile(File(\"/srv/uploads\", name))\n        }\n    }\n}"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-ssrf","slug":"kotlin-taint-ssrf","area":"sast","category":"security","title":"SSRF from request input (Kotlin)","severity":"high","language":"Kotlin","what":"A value read from the HTTP request is used as the URL of an outbound request.","why":"The caller can make this server fetch internal addresses, such as a cloud metadata endpoint.","fix":"Choose the destination from an allowlist held by the server, and refuse private, loopback and link-local addresses after resolving the host name.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-918: Server-Side Request Forgery (SSRF)"],"owasp":["A10:2021 - Server-Side Request Forgery (SSRF)"],"taint":true,"example":{"vulnerable":"@RestController\nclass PreviewController(private val rest: RestTemplate) {\n    @GetMapping(\"/preview\")\n    fun preview(@RequestParam url: String): String? = rest.getForObject(url, String::class.java)\n}","fixed":"@RestController\nclass PreviewController(private val rest: RestTemplate) {\n    @GetMapping(\"/preview\")\n    fun preview(@RequestParam id: String): String? =\n        rest.getForObject(\"https://cdn.example.com/previews.json\", String::class.java)\n}"},"references":[{"title":"CWE-918: Server-Side Request Forgery (SSRF)","url":"https://cwe.mitre.org/data/definitions/918.html"},{"title":"OWASP Top 10 A10:2021 - Server-Side Request Forgery (SSRF)","url":"https://owasp.org/Top10/2021/A10_2021-Server-Side_Request_Forgery_(SSRF)/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-xss","slug":"kotlin-taint-xss","area":"sast","category":"security","title":"XSS from request input (Kotlin)","severity":"high","language":"Kotlin","what":"A value read from the HTTP request is written into an HTML response without encoding.","why":"The caller can run script in another user's browser.","fix":"Render through a template engine that escapes by default (Thymeleaf th:text, kotlinx.html), or encode with HtmlUtils.htmlEscape first.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"fun Application.greet() {\n    routing {\n        get(\"/hello\") {\n            val name = call.request.queryParameters[\"name\"]\n            call.respondText(\"<h1>Hello $name</h1>\", ContentType.Text.Html)\n        }\n    }\n}","fixed":"fun Application.greet() {\n    routing {\n        get(\"/hello\") {\n            val name = HtmlUtils.htmlEscape(call.request.queryParameters[\"name\"])\n            call.respondText(\"<h1>Hello $name</h1>\", ContentType.Text.Html)\n        }\n    }\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-deserialization","slug":"kotlin-taint-deserialization","area":"sast","category":"security","title":"Deserialization from request input (Kotlin)","severity":"high","language":"Kotlin","what":"Data read from the HTTP request is deserialised with Java serialisation, which instantiates whatever classes the stream names.","why":"A crafted payload runs code on this server.","fix":"Exchange the data as JSON with kotlinx.serialization or Jackson into a fixed type; never ObjectInputStream on request data.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"@RestController\nclass ImportController {\n    @PostMapping(\"/import\")\n    fun import(@RequestBody body: ByteArray): String {\n        val obj = ObjectInputStream(ByteArrayInputStream(body)).readObject()\n        return obj.javaClass.name\n    }\n}","fixed":"@RestController\nclass ImportController {\n    @PostMapping(\"/import\")\n    fun import(@RequestBody body: String): String {\n        val batch = Json.decodeFromString<ImportBatch>(body)\n        return batch.id\n    }\n}"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-open-redirect","slug":"kotlin-taint-open-redirect","area":"sast","category":"security","title":"Open redirect from request input (Kotlin)","severity":"medium","language":"Kotlin","what":"A value read from the HTTP request is used as a redirect target.","why":"An attacker can send a link on this site that lands the user on theirs.","fix":"Redirect to a path chosen by the server, or accept only a relative path that starts with a single \"/\".","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-601: URL Redirection to Untrusted Site ('Open Redirect')"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"fun Application.login() {\n    routing {\n        get(\"/login\") {\n            call.respondRedirect(call.request.queryParameters[\"next\"] ?: \"/\")\n        }\n    }\n}","fixed":"fun Application.login() {\n    routing {\n        get(\"/login\") {\n            call.respondRedirect(\"/dashboard\")\n        }\n    }\n}"},"references":[{"title":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","url":"https://cwe.mitre.org/data/definitions/601.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-ldap-injection","slug":"kotlin-taint-ldap-injection","area":"sast","category":"security","title":"LDAP injection from request input (Kotlin)","severity":"high","language":"Kotlin","what":"A value read from the HTTP request is placed in an LDAP search filter.","why":"Characters such as * ( ) change which entries it matches.","fix":"Use a filter with {0} placeholders and pass the value as a filter argument, or escape it with LdapEncoder.filterEncode.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-90: Improper Neutralization of Special Elements used in an LDAP Query"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"@RestController\nclass DirectoryController(private val ldap: LdapTemplate) {\n    @GetMapping(\"/people\")\n    fun find(@RequestParam user: String): Any =\n        ldap.search(\"ou=people\", \"(uid=$user)\", PersonMapper())\n}","fixed":"@RestController\nclass DirectoryController(private val ldap: LdapTemplate) {\n    @GetMapping(\"/people\")\n    fun find(@RequestParam user: String): Any =\n        ldap.search(\"ou=people\", \"(uid=\" + LdapEncoder.filterEncode(user) + \")\", PersonMapper())\n}"},"references":[{"title":"CWE-90: Improper Neutralization of Special Elements used in an LDAP Query","url":"https://cwe.mitre.org/data/definitions/90.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-xpath-injection","slug":"kotlin-taint-xpath-injection","area":"sast","category":"security","title":"XPath injection from request input (Kotlin)","severity":"high","language":"Kotlin","what":"A value read from the HTTP request is placed in an XPath expression.","why":"A quote in the value changes which nodes it selects.","fix":"Use an XPathVariableResolver and a $variable in a constant expression.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-643: Improper Neutralization of Data within XPath Expressions"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"@RestController\nclass CatalogController(private val xpath: XPath, private val doc: Document) {\n    @GetMapping(\"/item\")\n    fun item(@RequestParam sku: String): String =\n        xpath.evaluate(\"/catalog/item[@sku='$sku']/name\", doc)\n}","fixed":"@RestController\nclass CatalogController(private val xpath: XPath, private val doc: Document) {\n    @GetMapping(\"/item\")\n    fun item(@RequestParam id: String): String =\n        xpath.evaluate(\"/catalog/item[@id=\" + id.toInt() + \"]/name\", doc)\n}"},"references":[{"title":"CWE-643: Improper Neutralization of Data within XPath Expressions","url":"https://cwe.mitre.org/data/definitions/643.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-expression-injection","slug":"kotlin-taint-expression-injection","area":"sast","category":"security","title":"Expression injection from request input (Kotlin)","severity":"high","language":"Kotlin","what":"A value read from the HTTP request is parsed as a Spring Expression Language expression.","why":"SpEL can call any method, so the caller can run code on this server.","fix":"Do not evaluate request data. If an expression is unavoidable, evaluate a constant expression against a SimpleEvaluationContext holding the value as a variable.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"@RestController\nclass CalcController {\n    private val parser = SpelExpressionParser()\n\n    @GetMapping(\"/calc\")\n    fun calc(@RequestParam expr: String): Any? = parser.parseExpression(expr).value\n}","fixed":"@RestController\nclass CalcController {\n    @GetMapping(\"/calc\")\n    fun calc(@RequestParam a: String, @RequestParam b: String): Long = a.toLong() + b.toLong()\n}"},"references":[{"title":"CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement","url":"https://cwe.mitre.org/data/definitions/917.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-regex-injection","slug":"kotlin-taint-regex-injection","area":"sast","category":"security","title":"Regex injection from request input (Kotlin)","severity":"medium","language":"Kotlin","what":"A value read from the HTTP request is compiled as a regular expression.","why":"The caller can supply a pattern that backtracks for minutes on a short input (ReDoS).","fix":"Escape the value with Regex.escape when it is meant literally.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1333: Inefficient Regular Expression Complexity"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"@RestController\nclass SearchController {\n    @GetMapping(\"/search\")\n    fun search(@RequestParam q: String, @RequestParam text: String): Boolean = Regex(q).containsMatchIn(text)\n}","fixed":"@RestController\nclass SearchController {\n    @GetMapping(\"/search\")\n    fun search(@RequestParam q: String, @RequestParam text: String): Boolean =\n        Regex(Regex.escape(q)).containsMatchIn(text)\n}"},"references":[{"title":"CWE-1333: Inefficient Regular Expression Complexity","url":"https://cwe.mitre.org/data/definitions/1333.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-taint-header-injection","slug":"kotlin-taint-header-injection","area":"sast","category":"security","title":"Header injection from request input (Kotlin)","severity":"medium","language":"Kotlin","what":"A value read from the HTTP request is written into a response header.","why":"A line break in the value can add headers or split the response.","fix":"Choose the header value from a fixed set held by the server, or refuse a value containing CR or LF.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"fun Application.lang() {\n    routing {\n        get(\"/lang\") {\n            call.response.header(\"Content-Language\", call.request.queryParameters[\"lang\"] ?: \"en\")\n            call.respondText(\"ok\")\n        }\n    }\n}","fixed":"fun Application.lang() {\n    routing {\n        get(\"/lang\") {\n            val lang = if (call.request.queryParameters[\"lang\"] == \"fr\") \"fr\" else \"en\"\n            call.response.header(\"Content-Language\", lang)\n            call.respondText(\"ok\")\n        }\n    }\n}"},"references":[{"title":"CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers","url":"https://cwe.mitre.org/data/definitions/113.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-sql-string-template","slug":"kotlin-sql-string-template","area":"sast","category":"security","title":"SQL string template (Kotlin)","severity":"medium","language":"Kotlin","what":"A SQL statement is built with a string template or concatenation.","why":"If any interpolated value ever carries caller-supplied data, including through another function, this is SQL injection.","fix":"Keep the statement constant and bind the values.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"class OrderRepository(private val conn: Connection) {\n    fun byCustomer(customer: String): ResultSet =\n        conn.createStatement().executeQuery(\"SELECT id FROM orders WHERE customer = '$customer'\")\n}","fixed":"class OrderRepository(private val conn: Connection) {\n    fun byCustomer(customer: String): ResultSet {\n        val ps = conn.prepareStatement(\"SELECT id FROM orders WHERE customer = ?\")\n        ps.setString(1, customer)\n        return ps.executeQuery()\n    }\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-weak-hash","slug":"kotlin-weak-hash","area":"sast","category":"security","title":"Weak hash (Kotlin)","severity":"medium","language":"Kotlin","what":"MD5 and SHA-1 are broken for collision resistance.","why":"They must not protect integrity, sign data or store passwords.","fix":"Use MessageDigest.getInstance(\"SHA-256\") for integrity and bcrypt or Argon2 for passwords.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-328: Use of Weak Hash"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"fun fingerprint(data: ByteArray): ByteArray = MessageDigest.getInstance(\"MD5\").digest(data)","fixed":"fun fingerprint(data: ByteArray): ByteArray = MessageDigest.getInstance(\"SHA-256\").digest(data)"},"references":[{"title":"CWE-328: Use of Weak Hash","url":"https://cwe.mitre.org/data/definitions/328.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-weak-cipher","slug":"kotlin-weak-cipher","area":"sast","category":"security","title":"Weak cipher (Kotlin)","severity":"high","language":"Kotlin","what":"A cipher is created with DES, Triple DES, RC2, RC4, Blowfish or ECB mode (including bare \"AES\", which defaults to ECB).","why":"These ciphers and ECB mode no longer keep data confidential: the first can be broken outright and the second shows which blocks of the plaintext repeat.","fix":"Use Cipher.getInstance(\"AES/GCM/NoPadding\") with a random 12-byte IV.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"fun encryptor(key: SecretKey): Cipher {\n    val c = Cipher.getInstance(\"AES/ECB/PKCS5Padding\")\n    c.init(Cipher.ENCRYPT_MODE, key)\n    return c\n}","fixed":"fun encryptor(key: SecretKey, iv: ByteArray): Cipher {\n    val c = Cipher.getInstance(\"AES/GCM/NoPadding\")\n    c.init(Cipher.ENCRYPT_MODE, key, GCMParameterSpec(128, iv))\n    return c\n}"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-kotlin-insecure-random-secret","slug":"kotlin-insecure-random-secret","area":"sast","category":"security","title":"Insecure random secret (Kotlin)","severity":"medium","language":"Kotlin","what":"kotlin.random.Random or java.util.Random is used where a secret is generated.","why":"Its output is predictable, so the token can be guessed.","fix":"Use java.security.SecureRandom.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"fun newResetToken(): String = Random.nextLong().toString(16)","fixed":"private val secure = SecureRandom()\n\nfun newResetToken(): String {\n    val b = ByteArray(32)\n    secure.nextBytes(b)\n    return b.joinToString(\"\") { \"%02x\".format(it) }\n}\n\nfun jitterMillis(): Long {\n    return Random.nextLong(100)\n}"},"references":[{"title":"CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","url":"https://cwe.mitre.org/data/definitions/338.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-trust-all-certificates","slug":"kotlin-trust-all-certificates","area":"sast","category":"security","title":"Trust all certificates (Kotlin)","severity":"high","language":"Kotlin","what":"A TrustManager accepts every server certificate, or a host-name verifier accepts every host.","why":"Anyone on the network path can impersonate the server.","fix":"Use the platform's default trust manager; to trust a private CA, load it into a KeyStore and build the trust manager from that.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"val trustAll = object : X509TrustManager {\n    override fun checkClientTrusted(chain: Array<X509Certificate>, authType: String) {}\n    override fun checkServerTrusted(chain: Array<X509Certificate>, authType: String) {}\n    override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf()\n}","fixed":"fun client(): OkHttpClient = OkHttpClient.Builder()\n    .connectionSpecs(listOf(ConnectionSpec.MODERN_TLS))\n    .build()"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-hardcoded-secret-key","slug":"kotlin-hardcoded-secret-key","area":"sast","category":"security","title":"Hardcoded secret key (Kotlin)","severity":"high","language":"Kotlin","what":"A cryptographic key is built from a literal in the source.","why":"Anyone who reads the code or the compiled class has the key.","fix":"Load the key from a key store or secret manager at runtime, and rotate the key that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"val signingKey = SecretKeySpec(\"production-signing-key-2026\".toByteArray(), \"HmacSHA256\")","fixed":"val signingKey = SecretKeySpec(System.getenv(\"SIGNING_KEY\").toByteArray(), \"HmacSHA256\")"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-hardcoded-password-datasource","slug":"kotlin-hardcoded-password-datasource","area":"sast","category":"security","title":"Hardcoded password datasource (Kotlin)","severity":"high","language":"Kotlin","what":"A database connection is opened with a literal password.","why":"Anyone who can read the repository can sign in to the database.","fix":"Read the password from the environment or a secret store, and rotate the password that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"fun connect(): Connection =\n    DriverManager.getConnection(\"jdbc:postgresql://db.internal/shop\", \"shop\", \"Sup3rS3cret!\")","fixed":"fun connect(): Connection =\n    DriverManager.getConnection(\"jdbc:postgresql://db.internal/shop\", \"shop\", System.getenv(\"DB_PASSWORD\"))"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-jwt-unverified-decode","slug":"kotlin-jwt-unverified-decode","area":"sast","category":"security","title":"JWT unverified decode (Kotlin)","severity":"high","language":"Kotlin","what":"A JSON Web Token is decoded without its signature being verified.","why":"Any claims a caller writes are trusted.","fix":"Verify with JWT.require(algorithm).build().verify(token), or jjwt's parser().verifyWith(key).build().parseSignedClaims(token).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-347: Improper Verification of Cryptographic Signature"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"fun subject(token: String): String = JWT.decode(token).subject","fixed":"fun subject(token: String, algorithm: Algorithm): String =\n    JWT.require(algorithm).build().verify(token).subject"},"references":[{"title":"CWE-347: Improper Verification of Cryptographic Signature","url":"https://cwe.mitre.org/data/definitions/347.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-spring-csrf-disabled","slug":"kotlin-spring-csrf-disabled","area":"sast","category":"security","title":"Spring CSRF disabled (Kotlin)","severity":"medium","language":"Kotlin","what":"Spring Security's CSRF protection is disabled.","why":"If this application authenticates browsers with a session cookie, another site can submit requests with the user's session.","fix":"Keep CSRF on for cookie-authenticated routes; disable it only for a stateless API authenticated by a bearer header, and scope that with ignoringRequestMatchers.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-352: Cross-Site Request Forgery (CSRF)"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"@Bean\nfun filterChain(http: HttpSecurity): SecurityFilterChain {\n    http.csrf { it.disable() }\n    return http.build()\n}","fixed":"@Bean\nfun filterChain(http: HttpSecurity): SecurityFilterChain {\n    http.csrf { it.ignoringRequestMatchers(\"/webhooks/**\") }\n    return http.build()\n}"},"references":[{"title":"CWE-352: Cross-Site Request Forgery (CSRF)","url":"https://cwe.mitre.org/data/definitions/352.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-webview-javascript-interface","slug":"kotlin-webview-javascript-interface","area":"sast","category":"security","title":"WebView JavaScript interface (Kotlin)","severity":"medium","language":"Kotlin","what":"A WebView exposes a Kotlin object to JavaScript and runs script.","why":"Any page the WebView loads, including one injected through a redirect, can call the object's methods.","fix":"Load only your own HTTPS content in a WebView with a JavaScript interface, check the URL in shouldOverrideUrlLoading, and prefer WebMessagePort / WebViewCompat.addWebMessageListener with an origin allowlist.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-749: Exposed Dangerous Method or Function"],"owasp":["A04:2021 - Insecure Design"],"example":{"vulnerable":"fun setup(webView: WebView) {\n    webView.settings.javaScriptEnabled = true\n    webView.addJavascriptInterface(Bridge(), \"Android\")\n}","fixed":"fun setup(webView: WebView) {\n    webView.settings.javaScriptEnabled = true\n    WebViewCompat.addWebMessageListener(webView, \"bridge\", setOf(\"https://app.example.com\"), listener)\n}"},"references":[{"title":"CWE-749: Exposed Dangerous Method or Function","url":"https://cwe.mitre.org/data/definitions/749.html"},{"title":"OWASP Top 10 A04:2021 - Insecure Design","url":"https://owasp.org/Top10/2021/A04_2021-Insecure_Design/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-webview-file-access","slug":"kotlin-webview-file-access","area":"sast","category":"security","title":"WebView file access (Kotlin)","severity":"medium","language":"Kotlin","what":"A WebView may read local files from pages loaded over file:// URLs, which lets a malicious page read the app's private storage.","why":"A page that gets into the WebView, through a link or an injected script, can read files the app keeps for itself, such as tokens and databases.","fix":"Leave allowFileAccessFromFileURLs and allowUniversalAccessFromFileURLs false, and serve local content through WebViewAssetLoader.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"fun setup(webView: WebView) {\n    webView.settings.allowUniversalAccessFromFileURLs = true\n}","fixed":"fun setup(webView: WebView) {\n    webView.settings.allowUniversalAccessFromFileURLs = false\n}"},"references":[{"title":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","url":"https://cwe.mitre.org/data/definitions/200.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-11-07"},{"id":"trustivan-kotlin-world-readable-mode","slug":"kotlin-world-readable-mode","area":"sast","category":"security","title":"World readable mode (Kotlin)","severity":"medium","language":"Kotlin","what":"A file or shared preferences store is opened MODE_WORLD_READABLE or MODE_WORLD_WRITEABLE.","why":"Any app on the device can read or change it.","fix":"Use MODE_PRIVATE and share data through a ContentProvider with permissions.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-732: Incorrect Permission Assignment for Critical Resource"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"fun prefs(context: Context): SharedPreferences =\n    context.getSharedPreferences(\"session\", Context.MODE_WORLD_READABLE)","fixed":"fun prefs(context: Context): SharedPreferences =\n    context.getSharedPreferences(\"session\", Context.MODE_PRIVATE)"},"references":[{"title":"CWE-732: Incorrect Permission Assignment for Critical Resource","url":"https://cwe.mitre.org/data/definitions/732.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-cookie-flags-disabled","slug":"kotlin-cookie-flags-disabled","area":"sast","category":"security","title":"Cookie flags disabled (Kotlin)","severity":"medium","language":"Kotlin","what":"A cookie is created with HttpOnly or Secure turned off.","why":"Script on the page can read it, or it is sent over plain HTTP.","fix":"Set isHttpOnly = true and secure = true on session and authentication cookies.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"fun session(response: HttpServletResponse, id: String) {\n    val cookie = Cookie(\"session\", id)\n    cookie.isHttpOnly = false\n    response.addCookie(cookie)\n}","fixed":"fun session(response: HttpServletResponse, id: String) {\n    val cookie = Cookie(\"session\", id)\n    cookie.isHttpOnly = true\n    cookie.secure = true\n    response.addCookie(cookie)\n}"},"references":[{"title":"CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag","url":"https://cwe.mitre.org/data/definitions/1004.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-xxe-document-builder","slug":"kotlin-xxe-document-builder","area":"sast","category":"security","title":"XXE document builder (Kotlin)","severity":"high","language":"Kotlin","what":"An XML parser is created without disabling DOCTYPE declarations.","why":"A document can declare external entities that read local files or make the server send requests (XXE).","fix":"Call setFeature(\"http://apache.org/xml/features/disallow-doctype-decl\", true) on the factory before creating the parser.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-611: Improper Restriction of XML External Entity Reference"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"fun parse(input: InputStream): Document {\n    val factory = DocumentBuilderFactory.newInstance()\n    return factory.newDocumentBuilder().parse(input)\n}","fixed":"fun parse(input: InputStream): Document {\n    val factory = DocumentBuilderFactory.newInstance()\n    factory.setFeature(\"http://apache.org/xml/features/disallow-doctype-decl\", true)\n    return factory.newDocumentBuilder().parse(input)\n}"},"references":[{"title":"CWE-611: Improper Restriction of XML External Entity Reference","url":"https://cwe.mitre.org/data/definitions/611.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-kotlin-insecure-tls-protocol","slug":"kotlin-insecure-tls-protocol","area":"sast","category":"security","title":"Insecure TLS protocol (Kotlin)","severity":"medium","language":"Kotlin","what":"SSL 3.0, TLS 1.0 or TLS 1.1 is requested.","why":"These protocol versions are deprecated (RFC 8996) and have practical attacks.","fix":"Request TLSv1.3 (or TLSv1.2), or use ConnectionSpec.MODERN_TLS.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Kotlin source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-326: Inadequate Encryption Strength"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"fun context(): SSLContext = SSLContext.getInstance(\"TLSv1\")","fixed":"fun context(): SSLContext = SSLContext.getInstance(\"TLSv1.3\")"},"references":[{"title":"CWE-326: Inadequate Encryption Strength","url":"https://cwe.mitre.org/data/definitions/326.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-sql-injection","slug":"php-taint-sql-injection","area":"sast","category":"security","title":"SQL injection from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request reaches the text of a SQL statement.","why":"The caller controls part of the statement, so they can change what it selects, updates or deletes.","fix":"Prepare the statement with placeholders and bind the value ($pdo->prepare('... WHERE id = ?')->execute([$id]), or Laravel's query builder / DB::select('... ?', [$id])).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"<?php\n$status = $_GET['status'];\n$result = mysqli_query($conn, \"SELECT id FROM orders WHERE status = '\" . $status . \"'\");","fixed":"<?php\n$stmt = $pdo->prepare(\"SELECT id FROM orders WHERE status = ?\");\n$stmt->execute([$_GET['status']]);"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-command-injection","slug":"php-taint-command-injection","area":"sast","category":"security","title":"Command injection from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request reaches a shell command line.","why":"The caller can append their own commands with shell metacharacters.","fix":"Pass the command as an array to proc_open (PHP 7.4+) or Symfony Process, which run it without a shell; otherwise quote each value with escapeshellarg.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"<?php\n$host = $_GET['host'];\n$out = shell_exec(\"ping -c 1 \" . $host);\necho htmlspecialchars($out);","fixed":"<?php\n$host = $_GET['host'];\n$out = shell_exec(\"ping -c 1 \" . escapeshellarg($host));\necho htmlspecialchars($out);"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-path-traversal","slug":"php-taint-path-traversal","area":"sast","category":"security","title":"Path traversal from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request is used as a file path.","why":"A value such as ../../.env walks out of the intended directory.","fix":"Reduce the value to a bare file name with basename() before joining it to a fixed directory, then check that realpath() of the result still starts with that directory.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"<?php\n$name = $_GET['file'];\nreadfile(\"/srv/uploads/\" . $name);","fixed":"<?php\n$name = basename($_GET['file']);\nreadfile(\"/srv/uploads/\" . $name);"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-file-inclusion","slug":"php-taint-file-inclusion","area":"sast","category":"security","title":"File inclusion from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request chooses which file is included and run as PHP.","why":"The caller can run another script, read local files through a wrapper (php://filter), or include a remote URL.","fix":"Map the request value onto a fixed list of files held by the server (a match or an array lookup), and include only from that list.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"<?php\n$page = $_GET['page'];\ninclude \"pages/\" . $page . \".php\";","fixed":"<?php\n$pages = ['home' => 'pages/home.php', 'about' => 'pages/about.php'];\n$page = $pages[$_GET['page']] ?? 'pages/home.php';\ninclude 'pages/home.php';"},"references":[{"title":"CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program","url":"https://cwe.mitre.org/data/definitions/98.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-ssrf","slug":"php-taint-ssrf","area":"sast","category":"security","title":"SSRF from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request is used as the URL of an outbound request.","why":"The caller can make this server fetch internal addresses, such as a cloud metadata endpoint.","fix":"Choose the destination from an allowlist held by the server, and refuse private, loopback and link-local addresses after resolving the host name.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-918: Server-Side Request Forgery (SSRF)"],"owasp":["A10:2021 - Server-Side Request Forgery (SSRF)"],"taint":true,"example":{"vulnerable":"<?php\nnamespace App\\Http\\Controllers;\n\nuse Illuminate\\Http\\Request;\n\nclass PreviewController extends Controller\n{\n    public function show(Request $request)\n    {\n        $ch = curl_init($request->input('url'));\n        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n        return response()->json(['body' => curl_exec($ch)]);\n    }\n}","fixed":"<?php\nnamespace App\\Http\\Controllers;\n\nuse Illuminate\\Http\\Request;\nuse Illuminate\\Support\\Facades\\Http;\n\nclass PreviewController extends Controller\n{\n    public function show(Request $request)\n    {\n        $id = $request->get('id');\n        $body = Http::get('https://cdn.example.com/previews.json')->json();\n        return response()->json(['body' => $body[$id] ?? null]);\n    }\n}"},"references":[{"title":"CWE-918: Server-Side Request Forgery (SSRF)","url":"https://cwe.mitre.org/data/definitions/918.html"},{"title":"OWASP Top 10 A10:2021 - Server-Side Request Forgery (SSRF)","url":"https://owasp.org/Top10/2021/A10_2021-Server-Side_Request_Forgery_(SSRF)/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-xss","slug":"php-taint-xss","area":"sast","category":"security","title":"XSS from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request is written into the page without HTML encoding.","why":"The caller can run script in another user's browser.","fix":"Encode with htmlspecialchars($value, ENT_QUOTES, 'UTF-8') at the point of output, or render through Blade {{ }} or Twig, which encode by default.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"<?php\n$name = $_GET['name'];\necho \"<h1>Hello \" . $name . \"</h1>\";","fixed":"<?php\n$name = $_GET['name'];\necho \"<h1>Hello \" . htmlspecialchars($name, ENT_QUOTES, 'UTF-8') . \"</h1>\";"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-deserialization","slug":"php-taint-deserialization","area":"sast","category":"security","title":"Deserialization from request input (PHP)","severity":"high","language":"PHP","what":"Data read from the HTTP request is passed to unserialize().","why":"A crafted payload instantiates objects whose magic methods (__wakeup, __destruct) run attacker-chosen code paths.","fix":"Exchange data as JSON (json_decode) instead. If unserialize is unavoidable, pass ['allowed_classes' => false].","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"<?php\n$prefs = unserialize($_COOKIE['prefs']);","fixed":"<?php\n$prefs = json_decode($_COOKIE['prefs'], true);"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-open-redirect","slug":"php-taint-open-redirect","area":"sast","category":"security","title":"Open redirect from request input (PHP)","severity":"medium","language":"PHP","what":"A value read from the HTTP request is used as a redirect target.","why":"An attacker can send a link on this site that lands the user on theirs.","fix":"Redirect to a path chosen by the server, or accept only a relative path (starts with a single \"/\") and route names you know.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-601: URL Redirection to Untrusted Site ('Open Redirect')"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"<?php\nheader(\"Location: \" . $_GET['next']);\nexit;","fixed":"<?php\n$next = $_GET['next'] ?? '';\nheader(\"Location: /dashboard\");\nexit;"},"references":[{"title":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","url":"https://cwe.mitre.org/data/definitions/601.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-ldap-injection","slug":"php-taint-ldap-injection","area":"sast","category":"security","title":"LDAP injection from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request is placed in an LDAP search filter.","why":"Characters such as * ( ) change which directory entries the filter matches.","fix":"Escape the value with ldap_escape($value, '', LDAP_ESCAPE_FILTER) before building the filter.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-90: Improper Neutralization of Special Elements used in an LDAP Query"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"<?php\n$user = $_POST['user'];\n$res = ldap_search($link, \"dc=example,dc=com\", \"(uid=\" . $user . \")\");","fixed":"<?php\n$user = ldap_escape($_POST['user'], '', LDAP_ESCAPE_FILTER);\n$res = ldap_search($link, \"dc=example,dc=com\", \"(uid=\" . $user . \")\");"},"references":[{"title":"CWE-90: Improper Neutralization of Special Elements used in an LDAP Query","url":"https://cwe.mitre.org/data/definitions/90.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-xpath-injection","slug":"php-taint-xpath-injection","area":"sast","category":"security","title":"XPath injection from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request is placed in an XPath expression.","why":"A quote in the value changes which nodes the expression selects.","fix":"Validate the value against a strict pattern (for example digits only) before it is placed in the expression, or walk the DOM instead of building a query string.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-643: Improper Neutralization of Data within XPath Expressions"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"<?php\n$doc = new DOMDocument();\n$doc->load('catalog.xml');\n$xp = new DOMXPath($doc);\n$items = $xp->query(\"//item[@sku='\" . $_GET['sku'] . \"']\");","fixed":"<?php\n$doc = new DOMDocument();\n$doc->load('catalog.xml');\n$xp = new DOMXPath($doc);\n$items = $xp->query(\"//item[@id=\" . intval($_GET['id']) . \"]\");"},"references":[{"title":"CWE-643: Improper Neutralization of Data within XPath Expressions","url":"https://cwe.mitre.org/data/definitions/643.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-code-injection","slug":"php-taint-code-injection","area":"sast","category":"security","title":"Code injection from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request is evaluated as PHP code.","why":"That is arbitrary code execution on this server.","fix":"Do not evaluate request data. Map the request onto a fixed set of operations, and never pass request data to eval, assert, create_function or a dynamic call_user_func target.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"<?php\n$expr = $_GET['expr'];\n$result = eval(\"return \" . $expr . \";\");","fixed":"<?php\n$a = (int) $_GET['a'];\n$b = (int) $_GET['b'];\n$result = $a + $b;"},"references":[{"title":"CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code","url":"https://cwe.mitre.org/data/definitions/95.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-regex-injection","slug":"php-taint-regex-injection","area":"sast","category":"security","title":"Regex injection from request input (PHP)","severity":"medium","language":"PHP","what":"A value read from the HTTP request is compiled as a regular expression.","why":"The caller can supply a pattern that backtracks for minutes on a short input (ReDoS), or one that matches more than the code intended.","fix":"Quote the value with preg_quote($value, '/') when it is meant literally.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1333: Inefficient Regular Expression Complexity"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"<?php\n$matches = preg_match(\"/\" . $_GET['q'] . \"/\", $text);","fixed":"<?php\n$matches = preg_match(\"/\" . preg_quote($_GET['q'], '/') . \"/\", $text);"},"references":[{"title":"CWE-1333: Inefficient Regular Expression Complexity","url":"https://cwe.mitre.org/data/definitions/1333.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-template-injection","slug":"php-taint-template-injection","area":"sast","category":"security","title":"Template injection from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request is compiled as a Twig or Blade template.","why":"Template code reaches objects and filters, so the caller can read data or run code on this server.","fix":"Keep template text in files on the server and pass the request value in the context the template renders.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"<?php\nnamespace App\\Controller;\n\nuse Symfony\\Component\\HttpFoundation\\Request;\nuse Symfony\\Component\\HttpFoundation\\Response;\n\nclass MailController\n{\n    public function preview(Request $request, \\Twig\\Environment $twig): Response\n    {\n        $template = $twig->createTemplate($request->request->get('body'));\n        return new Response($template->render(['name' => 'Ada']));\n    }\n}","fixed":"<?php\nnamespace App\\Controller;\n\nuse Symfony\\Component\\HttpFoundation\\Request;\nuse Symfony\\Component\\HttpFoundation\\Response;\n\nclass MailController\n{\n    public function preview(Request $request, \\Twig\\Environment $twig): Response\n    {\n        return new Response($twig->render('mail/welcome.html.twig', ['name' => $request->request->get('name')]));\n    }\n}"},"references":[{"title":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","url":"https://cwe.mitre.org/data/definitions/1336.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-taint-nosql-injection","slug":"php-taint-nosql-injection","area":"sast","category":"security","title":"NoSQL injection from request input (PHP)","severity":"high","language":"PHP","what":"A value read from the HTTP request is used in a MongoDB query without being forced to a string.","why":"PHP turns ?user[$ne]=x into an array, so the caller can add query operators and match any document.","fix":"Cast each request value to the type the query expects ((string) $value) before it is placed in the filter.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-943: Improper Neutralization of Special Elements in Data Query Logic"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"<?php\n$user = $users->findOne(['email' => $_POST['email'], 'password' => $_POST['password']]);","fixed":"<?php\n$user = $users->findOne(['email' => (string) $_POST['email']]);"},"references":[{"title":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","url":"https://cwe.mitre.org/data/definitions/943.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-sql-string-concatenation","slug":"php-sql-string-concatenation","area":"sast","category":"security","title":"SQL string concatenation (PHP)","severity":"medium","language":"PHP","what":"A SQL statement is built by concatenating or interpolating a variable into its text.","why":"If that variable ever carries caller-supplied data, including through another function, this is SQL injection.","fix":"Prepare the statement with placeholders and bind the values.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"<?php\nfunction ordersFor(PDO $db, string $customer): array\n{\n    return $db->query(\"SELECT id FROM orders WHERE customer = '\" . $customer . \"'\")->fetchAll();\n}","fixed":"<?php\nfunction ordersFor(PDO $db, string $customer): array\n{\n    $stmt = $db->prepare(\"SELECT id FROM orders WHERE customer = ?\");\n    $stmt->execute([$customer]);\n    return $stmt->fetchAll();\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-php-weak-password-hash","slug":"php-weak-password-hash","area":"sast","category":"security","title":"Weak password hash (PHP)","severity":"high","language":"PHP","what":"A password is hashed with MD5, SHA-1 or a plain SHA-2 digest.","why":"These are fast by design, so a stolen hash is brute-forced at billions of guesses per second.","fix":"Use password_hash($password, PASSWORD_DEFAULT) and password_verify().","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-916: Use of Password Hash With Insufficient Computational Effort"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"<?php\nfunction register(PDO $db, string $email, string $password): void\n{\n    $stmt = $db->prepare(\"INSERT INTO users (email, pw) VALUES (?, ?)\");\n    $stmt->execute([$email, md5($password)]);\n}","fixed":"<?php\nfunction register(PDO $db, string $email, string $password): void\n{\n    $stmt = $db->prepare(\"INSERT INTO users (email, pw) VALUES (?, ?)\");\n    $stmt->execute([$email, password_hash($password, PASSWORD_DEFAULT)]);\n}"},"references":[{"title":"CWE-916: Use of Password Hash With Insufficient Computational Effort","url":"https://cwe.mitre.org/data/definitions/916.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-insecure-random-secret","slug":"php-insecure-random-secret","area":"sast","category":"security","title":"Insecure random secret (PHP)","severity":"medium","language":"PHP","what":"rand(), mt_rand() or uniqid() is used where a secret is generated.","why":"Their output is predictable, so the token, password or key can be guessed.","fix":"Use random_bytes() (bin2hex(random_bytes(32))) or random_int().","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"<?php\n$resetToken = md5(uniqid((string) mt_rand(), true));","fixed":"<?php\n$resetToken = bin2hex(random_bytes(32));\n$shuffleSeed = mt_rand(1, 6);"},"references":[{"title":"CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","url":"https://cwe.mitre.org/data/definitions/338.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-weak-cipher","slug":"php-weak-cipher","area":"sast","category":"security","title":"Weak cipher (PHP)","severity":"high","language":"PHP","what":"openssl_encrypt is called with DES, RC2, RC4, Blowfish or an ECB mode.","why":"These ciphers are broken or leak the structure of the data.","fix":"Use 'aes-256-gcm' with a random IV and keep the tag, or libsodium's sodium_crypto_secretbox.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"<?php\n$ciphertext = openssl_encrypt($plaintext, \"des-ede3-cbc\", $key, 0, $iv);","fixed":"<?php\n$ciphertext = openssl_encrypt($plaintext, \"aes-256-gcm\", $key, 0, $iv, $tag);"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-mcrypt-use","slug":"php-mcrypt-use","area":"sast","category":"security","title":"Mcrypt use (PHP)","severity":"medium","language":"PHP","what":"The mcrypt extension is unmaintained since 2007 and was removed in PHP 7.2.","why":"Its defaults are unsafe and it receives no fixes.","fix":"Move to libsodium (sodium_crypto_secretbox) or openssl_encrypt with 'aes-256-gcm'.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"<?php\n$ciphertext = mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $plaintext, MCRYPT_MODE_CBC, $iv);","fixed":"<?php\n$nonce = random_bytes(SODIUM_CRYPTO_SECRETBOX_NONCEBYTES);\n$ciphertext = sodium_crypto_secretbox($plaintext, $nonce, $key);"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-tls-verification-disabled","slug":"php-tls-verification-disabled","area":"sast","category":"security","title":"TLS verification disabled (PHP)","severity":"high","language":"PHP","what":"TLS certificate or host-name verification is turned off for an outbound connection.","why":"Anyone on the network path can impersonate the server and read or change the traffic.","fix":"Remove the option so verification stays on; to trust a private CA, point CURLOPT_CAINFO (or Guzzle's 'verify') at its certificate.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"<?php\n$ch = curl_init(\"https://api.example.com/v1/orders\");\ncurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);\n$body = curl_exec($ch);","fixed":"<?php\n$ch = curl_init(\"https://api.example.com/v1/orders\");\ncurl_setopt($ch, CURLOPT_CAINFO, \"/etc/ssl/certs/internal-ca.pem\");\n$body = curl_exec($ch);"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-unserialize-without-allowed-classes","slug":"php-unserialize-without-allowed-classes","area":"sast","category":"security","title":"Unserialize without allowed classes (PHP)","severity":"medium","language":"PHP","what":"unserialize() is called without restricting the classes it may create.","why":"If the data can ever be influenced by a user (a cookie, a cache entry, a queued job), a crafted payload builds objects whose magic methods run attacker-chosen code paths.","fix":"Store the data as JSON, or pass ['allowed_classes' => false] (or the exact list of classes you expect).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"<?php\nfunction cached(Redis $redis, string $key)\n{\n    return unserialize($redis->get($key));\n}","fixed":"<?php\nfunction cached(Redis $redis, string $key)\n{\n    return unserialize($redis->get($key), ['allowed_classes' => false]);\n}"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-xxe-libxml-noent","slug":"php-xxe-libxml-noent","area":"sast","category":"security","title":"XXE libxml NOENT (PHP)","severity":"high","language":"PHP","what":"XML is parsed with LIBXML_NOENT or LIBXML_DTDLOAD, which substitutes external entities.","why":"A document can read local files or make the server send requests (XXE).","fix":"Parse without LIBXML_NOENT and LIBXML_DTDLOAD; libxml 2.9+ does not load external entities otherwise.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-611: Improper Restriction of XML External Entity Reference"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"<?php\nfunction parseFeed(string $xml): SimpleXMLElement\n{\n    return simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOENT);\n}","fixed":"<?php\nfunction parseFeed(string $xml): SimpleXMLElement\n{\n    return simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NONET);\n}"},"references":[{"title":"CWE-611: Improper Restriction of XML External Entity Reference","url":"https://cwe.mitre.org/data/definitions/611.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-php-extract-request-data","slug":"php-extract-request-data","area":"sast","category":"security","title":"Extract request data (PHP)","severity":"high","language":"PHP","what":"extract() or parse_str() without a result array turns request fields into local variables.","why":"The caller can overwrite any variable in scope, such as $isAdmin or $userId.","fix":"Read the fields you need explicitly, and always pass parse_str a second argument that receives the result.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-621: Variable Extraction Error"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"<?php\n$isAdmin = false;\nextract($_POST);","fixed":"<?php\n$isAdmin = false;\nparse_str($_SERVER['QUERY_STRING'] ?? '', $query);\n$name = $query['name'] ?? '';"},"references":[{"title":"CWE-621: Variable Extraction Error","url":"https://cwe.mitre.org/data/definitions/621.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-hardcoded-password-database-connection","slug":"php-hardcoded-password-database-connection","area":"sast","category":"security","title":"Hardcoded password database connection (PHP)","severity":"high","language":"PHP","what":"A database connection is opened with a literal password.","why":"Anyone who can read the repository can sign in to the database.","fix":"Read the password from the environment (getenv) or a secret store, and rotate the password that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"<?php\n$pdo = new PDO(\"mysql:host=db.internal;dbname=shop\", \"shop\", \"Sup3rS3cret!\");","fixed":"<?php\n$pdo = new PDO(getenv(\"DB_DSN\"), getenv(\"DB_USER\"), getenv(\"DB_PASSWORD\"));"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-jwt-hardcoded-secret","slug":"php-jwt-hardcoded-secret","area":"sast","category":"security","title":"JWT hardcoded secret (PHP)","severity":"high","language":"PHP","what":"The key that signs or verifies JSON Web Tokens is a literal in the source.","why":"Anyone who reads it can mint tokens this service accepts.","fix":"Load the key from the environment or a secret store, and rotate the key that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"<?php\nuse Firebase\\JWT\\JWT;\n\n$token = JWT::encode(['sub' => $userId], \"production-signing-key-2026\", 'HS256');","fixed":"<?php\nuse Firebase\\JWT\\JWT;\n\n$token = JWT::encode(['sub' => $userId], getenv(\"JWT_SIGNING_KEY\"), 'HS256');"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-laravel-csrf-except-all","slug":"php-laravel-csrf-except-all","area":"sast","category":"security","title":"Laravel CSRF except all (PHP)","severity":"medium","language":"PHP","what":"The CSRF middleware's $except list contains a wildcard, which turns off cross-site request forgery protection for every matching route.","why":"Another site can make a signed-in user's browser submit requests to those routes, and the application treats them as the user's own.","fix":"List only the specific webhook paths that authenticate by signature, never '*' or a whole prefix used by browser forms.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-352: Cross-Site Request Forgery (CSRF)"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"<?php\nnamespace App\\Http\\Middleware;\n\nuse Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken as Middleware;\n\nclass VerifyCsrfToken extends Middleware\n{\n    protected $except = [\n        '*',\n    ];\n}","fixed":"<?php\nnamespace App\\Http\\Middleware;\n\nuse Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken as Middleware;\n\nclass VerifyCsrfToken extends Middleware\n{\n    protected $except = [\n        'webhooks/stripe',\n    ];\n}"},"references":[{"title":"CWE-352: Cross-Site Request Forgery (CSRF)","url":"https://cwe.mitre.org/data/definitions/352.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-11-07"},{"id":"trustivan-php-phpinfo-call","slug":"php-phpinfo-call","area":"sast","category":"security","title":"Phpinfo call (PHP)","severity":"medium","language":"PHP","what":"phpinfo() prints the server's configuration, loaded modules, environment variables and request headers, including credentials passed through the environment.","why":"Anyone who can reach the page learns the server's software versions and any secrets passed through the environment.","fix":"Remove the call from code that is deployed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"<?php\nif (isset($_GET['debug'])) {\n    phpinfo();\n}","fixed":"<?php\nif (isset($_GET['debug'])) {\n    error_log('debug requested');\n}"},"references":[{"title":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","url":"https://cwe.mitre.org/data/definitions/200.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-11-07"},{"id":"trustivan-php-display-errors-enabled","slug":"php-display-errors-enabled","area":"sast","category":"security","title":"Display errors enabled (PHP)","severity":"medium","language":"PHP","what":"display_errors is switched on in code.","why":"Errors then reach the page, with file paths, SQL text and stack frames.","fix":"Keep display_errors off in production and send errors to the log (log_errors = On).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-209: Generation of Error Message Containing Sensitive Information"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"<?php\nini_set(\"display_errors\", \"1\");\nerror_reporting(E_ALL);","fixed":"<?php\nini_set(\"display_errors\", \"0\");\nini_set(\"log_errors\", \"1\");"},"references":[{"title":"CWE-209: Generation of Error Message Containing Sensitive Information","url":"https://cwe.mitre.org/data/definitions/209.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-php-cookie-httponly-disabled","slug":"php-cookie-httponly-disabled","area":"sast","category":"security","title":"Cookie HttpOnly disabled (PHP)","severity":"medium","language":"PHP","what":"A cookie (or the session cookie) is set without HttpOnly.","why":"Script on the page can read it and an XSS flaw becomes a session theft.","fix":"Pass ['httponly' => true, 'secure' => true, 'samesite' => 'Lax'] to setcookie, and set session.cookie_httponly = 1.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"<?php\nsetcookie(\"session\", $sessionId, ['expires' => time() + 3600, 'secure' => true, 'httponly' => false]);","fixed":"<?php\nsetcookie(\"session\", $sessionId, ['expires' => time() + 3600, 'secure' => true, 'httponly' => true, 'samesite' => 'Lax']);"},"references":[{"title":"CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag","url":"https://cwe.mitre.org/data/definitions/1004.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-php-upload-original-filename","slug":"php-upload-original-filename","area":"sast","category":"security","title":"Upload original filename (PHP)","severity":"high","language":"PHP","what":"An uploaded file is stored under the name the client sent.","why":"The caller chooses the file name and extension, so they can upload shell.php into a web-served directory or overwrite another file.","fix":"Generate the stored name on the server (bin2hex(random_bytes(16)) plus an extension chosen from an allowlist after checking the content), and store uploads outside the web root.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-434: Unrestricted Upload of File with Dangerous Type"],"owasp":["A04:2021 - Insecure Design"],"example":{"vulnerable":"<?php\nmove_uploaded_file($_FILES['avatar']['tmp_name'], \"/var/www/html/uploads/\" . $_FILES['avatar']['name']);","fixed":"<?php\n$name = bin2hex(random_bytes(16)) . \".png\";\nmove_uploaded_file($_FILES['avatar']['tmp_name'], \"/srv/uploads/\" . $name);"},"references":[{"title":"CWE-434: Unrestricted Upload of File with Dangerous Type","url":"https://cwe.mitre.org/data/definitions/434.html"},{"title":"OWASP Top 10 A04:2021 - Insecure Design","url":"https://owasp.org/Top10/2021/A04_2021-Insecure_Design/"}],"updated":"2026-10-29"},{"id":"trustivan-php-laravel-mass-assignment-request-all","slug":"php-laravel-mass-assignment-request-all","area":"sast","category":"security","title":"Laravel mass assignment request all (PHP)","severity":"medium","language":"PHP","what":"A model is created or updated from every field of the request.","why":"The caller can set columns the form never shows, such as is_admin or balance, unless the model's $fillable list is exactly right.","fix":"Pass $request->validated() from a FormRequest, or $request->only([...]) with the fields that may change.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"<?php\nnamespace App\\Http\\Controllers;\n\nuse App\\Models\\User;\nuse Illuminate\\Http\\Request;\n\nclass UserController extends Controller\n{\n    public function update(Request $request, User $user)\n    {\n        $user->update($request->all());\n        return redirect()->route('users.show', $user);\n    }\n}","fixed":"<?php\nnamespace App\\Http\\Controllers;\n\nuse App\\Http\\Requests\\UpdateUserRequest;\nuse App\\Models\\User;\n\nclass UserController extends Controller\n{\n    public function update(UpdateUserRequest $request, User $user)\n    {\n        $user->update($request->validated());\n        return redirect()->route('users.show', $user);\n    }\n}"},"references":[{"title":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","url":"https://cwe.mitre.org/data/definitions/915.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-laravel-guarded-empty","slug":"php-laravel-guarded-empty","area":"sast","category":"security","title":"Laravel guarded empty (PHP)","severity":"medium","language":"PHP","what":"The model's $guarded list is empty, which makes every column mass-assignable.","why":"Any create or update from request data can then set is_admin, balance or a foreign key.","fix":"List the assignable columns in $fillable instead.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"<?php\nnamespace App\\Models;\n\nuse Illuminate\\Database\\Eloquent\\Model;\n\nclass Account extends Model\n{\n    protected $guarded = [];\n}","fixed":"<?php\nnamespace App\\Models;\n\nuse Illuminate\\Database\\Eloquent\\Model;\n\nclass Account extends Model\n{\n    protected $fillable = ['name', 'email'];\n}"},"references":[{"title":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","url":"https://cwe.mitre.org/data/definitions/915.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-php-preg-replace-eval-modifier","slug":"php-preg-replace-eval-modifier","area":"sast","category":"security","title":"Preg replace eval modifier (PHP)","severity":"high","language":"PHP","what":"preg_replace is called with the /e modifier, which evaluates the replacement as PHP code for every match.","why":"Text matched from input becomes PHP code that runs on the server, which is remote code execution.","fix":"Use preg_replace_callback with a function.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"<?php\n$html = preg_replace(\"/\\{(\\w+)\\}/e\", '$vars[\"$1\"]', $template);","fixed":"<?php\n$html = preg_replace_callback(\"/\\{(\\w+)\\}/\", fn ($m) => $vars[$m[1]] ?? '', $template);"},"references":[{"title":"CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code","url":"https://cwe.mitre.org/data/definitions/95.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-11-07"},{"id":"trustivan-php-cors-reflected-origin","slug":"php-cors-reflected-origin","area":"sast","category":"security","title":"CORS reflected origin (PHP)","severity":"medium","language":"PHP","what":"The request's Origin header is echoed into Access-Control-Allow-Origin.","why":"Any site can then read this endpoint's responses, with the user's cookies if credentials are allowed.","fix":"Compare the Origin header with an allowlist and send only an origin from that list.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of PHP source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-942: Permissive Cross-domain Policy with Untrusted Domains"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"<?php\nheader(\"Access-Control-Allow-Origin: \" . $_SERVER['HTTP_ORIGIN']);\nheader(\"Access-Control-Allow-Credentials: true\");","fixed":"<?php\n$allowed = ['https://app.example.com'];\nif (in_array($_SERVER['HTTP_ORIGIN'] ?? '', $allowed, true)) {\n    header(\"Access-Control-Allow-Origin: https://app.example.com\");\n}"},"references":[{"title":"CWE-942: Permissive Cross-domain Policy with Untrusted Domains","url":"https://cwe.mitre.org/data/definitions/942.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustowl-python-sql-injection","slug":"python-sql-injection","area":"sast","category":"security","title":"SQL injection (Python)","severity":"high","language":"Python","what":"A SQL statement is built by concatenating a variable into the query string.","why":"If the variable carries user input, this is a SQL injection: an attacker can supply input that changes the statement's structure.","fix":"Use a parameterised query (pass values through the DB-API's own placeholder syntax) instead of building SQL with string concatenation or an f-string.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"def lookup(conn, user_id):\n    cursor = conn.cursor()\n    cursor.execute(\"SELECT * FROM users WHERE id = \" + user_id)\n    return cursor.fetchall()","fixed":"def lookup(conn, user_id):\n    cursor = conn.cursor()\n    cursor.execute(\"SELECT * FROM users WHERE id = ?\", (user_id,))\n    return cursor.fetchall()"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-python-taint-sql-injection","slug":"python-taint-sql-injection","area":"sast","category":"security","title":"SQL injection from request input (Python)","severity":"high","language":"Python","what":"A value read from the HTTP request reaches the text of a SQL statement.","why":"The caller controls part of the statement, so they can change what it selects, updates or deletes.","fix":"Keep the statement text constant and pass the request value as a bound parameter (the second argument of execute, or a bindparam in SQLAlchemy).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"from flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/orders\")\ndef orders():\n    status = request.args.get(\"status\")\n    query = \"SELECT id FROM orders WHERE status = '%s'\" % status\n    cur = app.db.cursor()\n    cur.execute(query)\n    return str(cur.fetchall())","fixed":"from flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/orders\")\ndef orders():\n    status = request.args.get(\"status\")\n    cur = app.db.cursor()\n    cur.execute(\"SELECT id FROM orders WHERE status = %s\", (status,))\n    return str(cur.fetchall())"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-python-taint-command-injection","slug":"python-taint-command-injection","area":"sast","category":"security","title":"Command injection from request input (Python)","severity":"high","language":"Python","what":"A value read from the HTTP request reaches a shell command line.","why":"The caller can append their own commands with shell metacharacters.","fix":"Run the program with an argument list and no shell (subprocess.run([...])), so the value is one argument and never parsed. If a shell is unavoidable, quote the value with shlex.quote.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import os\n\nfrom flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/ping\")\ndef ping():\n    host = request.args[\"host\"]\n    os.system(\"ping -c 1 \" + host)\n    return \"done\"","fixed":"import subprocess\n\nfrom flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/ping\")\ndef ping():\n    host = request.args[\"host\"]\n    subprocess.run([\"ping\", \"-c\", \"1\", host], check=False)\n    return \"done\""},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-python-taint-path-traversal","slug":"python-taint-path-traversal","area":"sast","category":"security","title":"Path traversal from request input (Python)","severity":"high","language":"Python","what":"A value read from the HTTP request is used as a file path.","why":"A value such as ../../etc/passwd walks out of the intended directory.","fix":"Reduce the value to a bare file name (werkzeug's secure_filename or os.path.basename) before joining it to a fixed directory, or serve the file with send_from_directory.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"import os\n\nfrom flask import Flask, request\n\napp = Flask(__name__)\nUPLOADS = \"/srv/uploads\"\n\n\n@app.route(\"/download\")\ndef download():\n    name = request.args.get(\"name\")\n    with open(os.path.join(UPLOADS, name), \"rb\") as handle:\n        return handle.read()","fixed":"import os\n\nfrom flask import Flask, request\nfrom werkzeug.utils import secure_filename\n\napp = Flask(__name__)\nUPLOADS = \"/srv/uploads\"\n\n\n@app.route(\"/download\")\ndef download():\n    name = secure_filename(request.args.get(\"name\"))\n    with open(os.path.join(UPLOADS, name), \"rb\") as handle:\n        return handle.read()"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-python-taint-ssrf","slug":"python-taint-ssrf","area":"sast","category":"security","title":"SSRF from request input (Python)","severity":"high","language":"Python","what":"A value read from the HTTP request is used as the URL of an outbound request.","why":"The caller can make this server fetch internal addresses, such as a cloud metadata endpoint.","fix":"Choose the destination from an allowlist held by the server, and refuse private, loopback and link-local addresses after resolving the host name.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-918: Server-Side Request Forgery (SSRF)"],"owasp":["A10:2021 - Server-Side Request Forgery (SSRF)"],"taint":true,"example":{"vulnerable":"import requests\nfrom flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/preview\")\ndef preview():\n    target = request.args.get(\"url\")\n    return requests.get(target, timeout=5).text","fixed":"import requests\nfrom flask import Flask, request\n\napp = Flask(__name__)\nFEEDS = {\"news\": \"https://feeds.example.com/news\"}\n\n\n@app.route(\"/preview\")\ndef preview():\n    feed = FEEDS.get(request.args.get(\"feed\"), FEEDS[\"news\"])\n    return requests.get(\"https://feeds.example.com/health\", timeout=5).text + feed"},"references":[{"title":"CWE-918: Server-Side Request Forgery (SSRF)","url":"https://cwe.mitre.org/data/definitions/918.html"},{"title":"OWASP Top 10 A10:2021 - Server-Side Request Forgery (SSRF)","url":"https://owasp.org/Top10/2021/A10_2021-Server-Side_Request_Forgery_(SSRF)/"}],"updated":"2026-10-13"},{"id":"trustivan-python-taint-xss","slug":"python-taint-xss","area":"sast","category":"security","title":"XSS from request input (Python)","severity":"high","language":"Python","what":"A value read from the HTTP request is written into an HTML response without escaping.","why":"The caller can supply markup that runs as script in another user's browser.","fix":"Render the value through a template with autoescaping on, or escape it with html.escape / markupsafe.escape before it reaches the response. Do not wrap request data in Markup or mark_safe.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"from flask import Flask, request\nfrom markupsafe import Markup\n\napp = Flask(__name__)\n\n\n@app.route(\"/hello\")\ndef hello():\n    name = request.args.get(\"name\", \"\")\n    return Markup(\"<h1>Hello \" + name + \"</h1>\")","fixed":"import html\n\nfrom flask import Flask, request\nfrom markupsafe import Markup\n\napp = Flask(__name__)\n\n\n@app.route(\"/hello\")\ndef hello():\n    name = html.escape(request.args.get(\"name\", \"\"))\n    return Markup(\"<h1>Hello \" + name + \"</h1>\")"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-python-taint-deserialization","slug":"python-taint-deserialization","area":"sast","category":"security","title":"Deserialization from request input (Python)","severity":"high","language":"Python","what":"Bytes read from the HTTP request are deserialised with a format that can construct arbitrary objects.","why":"Loading them can run code chosen by the caller.","fix":"Accept a data-only format (JSON) from clients. For YAML use yaml.safe_load. Never unpickle bytes a client supplied.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"import pickle\n\nfrom flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/restore\", methods=[\"POST\"])\ndef restore():\n    state = pickle.loads(request.data)\n    return str(state)","fixed":"import json\n\nfrom flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/restore\", methods=[\"POST\"])\ndef restore():\n    state = json.loads(request.data)\n    return str(state)"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-python-taint-template-injection","slug":"python-taint-template-injection","area":"sast","category":"security","title":"Template injection from request input (Python)","severity":"high","language":"Python","what":"A value read from the HTTP request is compiled as a template.","why":"Template syntax in the value is evaluated on the server, which leads to code execution.","fix":"Keep the template text constant and pass the request value as a template variable.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"from flask import Flask, render_template_string, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/card\")\ndef card():\n    greeting = request.args.get(\"greeting\", \"\")\n    return render_template_string(\"<p>\" + greeting + \"</p>\")","fixed":"from flask import Flask, render_template_string, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/card\")\ndef card():\n    greeting = request.args.get(\"greeting\", \"\")\n    return render_template_string(\"<p>{{ greeting }}</p>\", greeting=greeting)"},"references":[{"title":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","url":"https://cwe.mitre.org/data/definitions/1336.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-python-taint-code-injection","slug":"python-taint-code-injection","area":"sast","category":"security","title":"Code injection from request input (Python)","severity":"high","language":"Python","what":"A value read from the HTTP request is evaluated as Python source.","why":"The caller can run any code with this process's privileges.","fix":"Do not evaluate request data. Parse literals with ast.literal_eval, or map the value to a known operation with a dictionary lookup.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"from flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/calc\")\ndef calc():\n    expression = request.args.get(\"expr\")\n    return str(eval(expression))","fixed":"import ast\n\nfrom flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/calc\")\ndef calc():\n    expression = request.args.get(\"expr\")\n    return str(ast.literal_eval(expression))"},"references":[{"title":"CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code","url":"https://cwe.mitre.org/data/definitions/95.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-python-taint-open-redirect","slug":"python-taint-open-redirect","area":"sast","category":"security","title":"Open redirect from request input (Python)","severity":"medium","language":"Python","what":"A value read from the HTTP request is used as a redirect target.","why":"A link to this site can send a user to a site the attacker controls.","fix":"Redirect only to a path on this site: check the target against an allowlist, or use url_has_allowed_host_and_scheme before redirecting.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-601: URL Redirection to Untrusted Site"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"from flask import Flask, redirect, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/login/done\")\ndef done():\n    return redirect(request.args.get(\"next\"))","fixed":"from flask import Flask, redirect, request, url_for\n\napp = Flask(__name__)\nPAGES = {\"inbox\", \"settings\"}\n\n\n@app.route(\"/login/done\")\ndef done():\n    page = request.args.get(\"next\")\n    if page not in PAGES:\n        page = \"inbox\"\n    return redirect(url_for(page))"},"references":[{"title":"CWE-601: URL Redirection to Untrusted Site","url":"https://cwe.mitre.org/data/definitions/601.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-python-yaml-unsafe-load","slug":"python-yaml-unsafe-load","area":"sast","category":"security","title":"YAML unsafe load (Python)","severity":"high","language":"Python","what":"yaml.load is called without a safe loader.","why":"A YAML document can name Python objects to construct, so loading an untrusted document runs code.","fix":"Use yaml.safe_load, or pass Loader=yaml.SafeLoader.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"import yaml\n\n\ndef read_config(text):\n    return yaml.load(text)","fixed":"import yaml\n\n\ndef read_config(text):\n    first = yaml.safe_load(text)\n    second = yaml.load(text, Loader=yaml.SafeLoader)\n    return first, second"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-python-subprocess-shell-true","slug":"python-subprocess-shell-true","area":"sast","category":"security","title":"Subprocess shell true (Python)","severity":"medium","language":"Python","what":"A command line that is not a constant string is run through a shell.","why":"Any part of it that comes from outside the program is parsed for shell metacharacters.","fix":"Pass the command as a list and drop shell=True, so each value is delivered as one argument.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"import subprocess\n\n\ndef archive(directory):\n    subprocess.run(\"tar czf backup.tgz \" + directory, shell=True, check=True)","fixed":"import subprocess\n\n\ndef archive(directory):\n    subprocess.run([\"tar\", \"czf\", \"backup.tgz\", directory], check=True)\n    subprocess.run(\"date\", shell=True, check=True)"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-13"},{"id":"trustivan-python-weak-hash","slug":"python-weak-hash","area":"sast","category":"security","title":"Weak hash (Python)","severity":"medium","language":"Python","what":"MD5 and SHA-1 are broken for collision resistance and must not protect passwords, signatures or integrity checks.","why":"An attacker can produce two inputs with the same digest, so a signature or integrity check built on it can be forged, and fast hashes make stolen password digests quick to crack.","fix":"Use hashlib.sha256 or stronger. For passwords use a password hash (argon2, bcrypt, scrypt). If the digest is not a security control, say so with usedforsecurity=False.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import hashlib\n\n\ndef fingerprint(password):\n    return hashlib.md5(password.encode()).hexdigest()","fixed":"import hashlib\n\n\ndef fingerprint(password):\n    return hashlib.sha256(password.encode()).hexdigest()\n\n\ndef cache_key(blob):\n    return hashlib.md5(blob, usedforsecurity=False).hexdigest()"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-python-tls-verification-disabled","slug":"python-tls-verification-disabled","area":"sast","category":"security","title":"TLS verification disabled (Python)","severity":"high","language":"Python","what":"Certificate verification is switched off for this HTTPS request.","why":"Any server can impersonate the intended one.","fix":"Remove verify=False. To trust a private certificate authority, pass its bundle path as verify instead.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import requests\n\n\ndef fetch(url):\n    return requests.get(url, verify=False, timeout=5)","fixed":"import requests\n\n\ndef fetch(url):\n    return requests.get(url, verify=\"/etc/ssl/private-ca.pem\", timeout=5)"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-python-ssl-unverified-context","slug":"python-ssl-unverified-context","area":"sast","category":"security","title":"SSL unverified context (Python)","severity":"high","language":"Python","what":"This TLS context does not verify the peer certificate.","why":"Any server can impersonate the intended one.","fix":"Use ssl.create_default_context(), which verifies the certificate and the host name.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import ssl\nimport urllib.request\n\n\ndef fetch(url):\n    context = ssl._create_unverified_context()\n    return urllib.request.urlopen(url, context=context).read()","fixed":"import ssl\nimport urllib.request\n\n\ndef fetch(url):\n    context = ssl.create_default_context()\n    return urllib.request.urlopen(url, context=context).read()"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-python-flask-debug-enabled","slug":"python-flask-debug-enabled","area":"sast","category":"security","title":"Flask debug enabled (Python)","severity":"high","language":"Python","what":"The Flask development server runs with debug=True.","why":"The debugger it exposes executes Python sent by anyone who can reach the port.","fix":"Remove debug=True, and serve the application with a production WSGI server.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-489: Active Debug Code"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"from flask import Flask\n\napp = Flask(__name__)\n\nif __name__ == \"__main__\":\n    app.run(debug=True)","fixed":"from flask import Flask\n\napp = Flask(__name__)\n\nif __name__ == \"__main__\":\n    app.run()"},"references":[{"title":"CWE-489: Active Debug Code","url":"https://cwe.mitre.org/data/definitions/489.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-python-jwt-verification-disabled","slug":"python-jwt-verification-disabled","area":"sast","category":"security","title":"JWT verification disabled (Python)","severity":"high","language":"Python","what":"The JSON Web Token is decoded without checking its signature.","why":"Its claims are whatever the sender wrote.","fix":"Decode with the verification key and an explicit algorithms list, and leave signature verification on.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-347: Improper Verification of Cryptographic Signature"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import jwt\n\n\ndef claims(token):\n    return jwt.decode(token, options={\"verify_signature\": False})","fixed":"import jwt\n\n\ndef claims(token, key):\n    return jwt.decode(token, key, algorithms=[\"RS256\"])"},"references":[{"title":"CWE-347: Improper Verification of Cryptographic Signature","url":"https://cwe.mitre.org/data/definitions/347.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-python-insecure-random-secret","slug":"python-insecure-random-secret","area":"sast","category":"security","title":"Insecure random secret (Python)","severity":"medium","language":"Python","what":"A value named like a secret is generated with the random module, whose output is predictable from earlier output.","why":"Someone who sees a few outputs can predict the token, password or key this value becomes.","fix":"Generate secrets with the secrets module (secrets.token_urlsafe).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"import random\nimport string\n\n\ndef new_reset_token():\n    reset_token = \"\".join(random.choice(string.ascii_letters) for _ in range(32))\n    return reset_token","fixed":"import random\nimport secrets\n\n\ndef new_reset_token():\n    reset_token = secrets.token_urlsafe(32)\n    return reset_token\n\n\ndef jitter():\n    delay = random.uniform(0.1, 0.5)\n    return delay"},"references":[{"title":"CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator","url":"https://cwe.mitre.org/data/definitions/338.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-python-tempfile-mktemp","slug":"python-tempfile-mktemp","area":"sast","category":"security","title":"Tempfile mktemp (Python)","severity":"medium","language":"Python","what":"tempfile.mktemp returns a name without creating the file.","why":"Another process can create it first and control what this program reads or writes.","fix":"Use tempfile.mkstemp or tempfile.NamedTemporaryFile.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-377: Insecure Temporary File"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"import tempfile\n\n\ndef scratch():\n    path = tempfile.mktemp()\n    with open(path, \"w\") as handle:\n        handle.write(\"x\")","fixed":"import os\nimport tempfile\n\n\ndef scratch():\n    descriptor, path = tempfile.mkstemp()\n    with os.fdopen(descriptor, \"w\") as handle:\n        handle.write(\"x\")\n    return path"},"references":[{"title":"CWE-377: Insecure Temporary File","url":"https://cwe.mitre.org/data/definitions/377.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-python-xml-external-entities","slug":"python-xml-external-entities","area":"sast","category":"security","title":"XML external entities (Python)","severity":"medium","language":"Python","what":"This lxml parser resolves external entities.","why":"An XML document can then read local files or reach internal hosts through an entity declaration.","fix":"Construct the parser with resolve_entities=False and no_network=True, or parse untrusted XML with defusedxml.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-611: Improper Restriction of XML External Entity Reference"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"from lxml import etree\n\n\ndef parse(document):\n    parser = etree.XMLParser()\n    return etree.fromstring(document, parser)","fixed":"from lxml import etree\n\n\ndef parse(document):\n    parser = etree.XMLParser(resolve_entities=False, no_network=True)\n    return etree.fromstring(document, parser)"},"references":[{"title":"CWE-611: Improper Restriction of XML External Entity Reference","url":"https://cwe.mitre.org/data/definitions/611.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-13"},{"id":"trustivan-python-tarfile-extractall","slug":"python-tarfile-extractall","area":"sast","category":"security","title":"Tarfile extractall (Python)","severity":"medium","language":"Python","what":"extractall writes every member of the archive where its name says.","why":"A member named ../../x is written outside the destination directory.","fix":"Pass filter=\"data\" (Python 3.12, and security releases of earlier versions), or check each member's resolved path before extracting.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"import tarfile\n\n\ndef unpack(archive, destination):\n    with tarfile.open(archive) as tar:\n        tar.extractall(destination)","fixed":"import tarfile\n\n\ndef unpack(archive, destination):\n    with tarfile.open(archive) as tar:\n        tar.extractall(destination, filter=\"data\")"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-python-django-csrf-exempt","slug":"python-django-csrf-exempt","area":"sast","category":"security","title":"Django CSRF exempt (Python)","severity":"medium","language":"Python","what":"This view opts out of CSRF protection.","why":"Another site can submit a request to it with the user's session cookie.","fix":"Remove the decorator. If the endpoint is called by another service, authenticate it with a token rather than the session cookie.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-352: Cross-Site Request Forgery (CSRF)"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"from django.http import HttpResponse\nfrom django.views.decorators.csrf import csrf_exempt\n\n\n@csrf_exempt\ndef transfer(request):\n    return HttpResponse(\"ok\")","fixed":"from django.http import HttpResponse\nfrom django.views.decorators.http import require_POST\n\n\n@require_POST\ndef transfer(request):\n    return HttpResponse(\"ok\")"},"references":[{"title":"CWE-352: Cross-Site Request Forgery (CSRF)","url":"https://cwe.mitre.org/data/definitions/352.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-13"},{"id":"trustivan-python-weak-cipher","slug":"python-weak-cipher","area":"sast","category":"security","title":"Weak cipher (Python)","severity":"high","language":"Python","what":"DES, Triple DES, RC4 and Blowfish are no longer safe, and ECB mode reveals which plaintext blocks repeat.","why":"Data encrypted this way can be read or patterned by an attacker who captures enough of it, so the encryption no longer keeps it confidential.","fix":"Use AES in GCM mode, or ChaCha20-Poly1305.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"from Crypto.Cipher import AES\n\n\ndef seal(key, block):\n    cipher = AES.new(key, AES.MODE_ECB)\n    return cipher.encrypt(block)","fixed":"from Crypto.Cipher import AES\n\n\ndef seal(key, nonce, block):\n    cipher = AES.new(key, AES.MODE_GCM, nonce=nonce)\n    return cipher.encrypt_and_digest(block)"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-python-ssh-host-key-not-verified","slug":"python-ssh-host-key-not-verified","area":"sast","category":"security","title":"SSH host key not verified (Python)","severity":"high","language":"Python","what":"The SSH client accepts any host key.","why":"A machine in the network path can impersonate the server and read the session.","fix":"Load known host keys (load_system_host_keys) and keep the default RejectPolicy.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"import paramiko\n\n\ndef connect(host):\n    client = paramiko.SSHClient()\n    client.set_missing_host_key_policy(paramiko.AutoAddPolicy())\n    client.connect(host)\n    return client","fixed":"import paramiko\n\n\ndef connect(host):\n    client = paramiko.SSHClient()\n    client.load_system_host_keys()\n    client.connect(host)\n    return client"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-13"},{"id":"trustivan-python-bind-all-interfaces-debug-server","slug":"python-bind-all-interfaces-debug-server","area":"sast","category":"security","title":"Bind all interfaces debug server (Python)","severity":"medium","language":"Python","what":"The development server listens on every network interface, which exposes it to any host that can route to this machine.","why":"The development server is not built to face a network, and with debugging on it can run code sent to it.","fix":"Bind the development server to 127.0.0.1, and put a production server behind a reverse proxy for anything reachable from a network.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-668: Exposure of Resource to Wrong Sphere"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"from flask import Flask\n\napp = Flask(__name__)\n\nif __name__ == \"__main__\":\n    app.run(host=\"0.0.0.0\", port=8080)","fixed":"from flask import Flask\n\napp = Flask(__name__)\n\nif __name__ == \"__main__\":\n    app.run(host=\"127.0.0.1\", port=8080)"},"references":[{"title":"CWE-668: Exposure of Resource to Wrong Sphere","url":"https://cwe.mitre.org/data/definitions/668.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-11-07"},{"id":"trustivan-python-eval-non-literal","slug":"python-eval-non-literal","area":"sast","category":"security","title":"Eval non literal (Python)","severity":"medium","language":"Python","what":"eval or exec is called on something other than a constant string.","why":"If any part of that value comes from outside the program, it runs as code.","fix":"Parse literals with ast.literal_eval, or replace the dynamic evaluation with an explicit dispatch table.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"def apply(formula, row):\n    return eval(formula, {\"row\": row})","fixed":"import ast\n\n\ndef apply(formula):\n    return ast.literal_eval(formula)\n\n\ndef version():\n    return eval(\"1 + 1\")"},"references":[{"title":"CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code","url":"https://cwe.mitre.org/data/definitions/95.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-python-taint-ldap-injection","slug":"python-taint-ldap-injection","area":"sast","category":"security","title":"LDAP injection from request input (Python)","severity":"high","language":"Python","what":"A value read from the HTTP request is placed in an LDAP search filter.","why":"Characters such as * ( ) change which directory entries it matches.","fix":"Escape the value with ldap3.utils.conv.escape_filter_chars (or ldap.filter.escape_filter_chars) before building the filter.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-90: Improper Neutralization of Special Elements used in an LDAP Query"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"from flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/people\")\ndef people():\n    user = request.args.get(\"user\")\n    conn.search(\"ou=people,dc=example,dc=com\", \"(uid=\" + user + \")\", attributes=[\"cn\"])\n    return {\"n\": len(conn.entries)}","fixed":"from flask import Flask, request\nfrom ldap3.utils.conv import escape_filter_chars\n\napp = Flask(__name__)\n\n\n@app.route(\"/people\")\ndef people():\n    user = escape_filter_chars(request.args.get(\"user\"))\n    conn.search(\"ou=people,dc=example,dc=com\", \"(uid=\" + user + \")\", attributes=[\"cn\"])\n    return {\"n\": len(conn.entries)}"},"references":[{"title":"CWE-90: Improper Neutralization of Special Elements used in an LDAP Query","url":"https://cwe.mitre.org/data/definitions/90.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-python-taint-xpath-injection","slug":"python-taint-xpath-injection","area":"sast","category":"security","title":"XPath injection from request input (Python)","severity":"high","language":"Python","what":"A value read from the HTTP request is placed in an XPath expression.","why":"A quote in the value changes which nodes it selects.","fix":"Pass the value as an XPath variable: tree.xpath(\"//item[@sku=$sku]\", sku=value).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-643: Improper Neutralization of Data within XPath Expressions"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"from flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/item\")\ndef item():\n    sku = request.args.get(\"sku\")\n    nodes = CATALOG.xpath(\"//item[@sku='\" + sku + \"']/name/text()\")\n    return {\"name\": nodes[0] if nodes else None}","fixed":"from flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/item\")\ndef item():\n    sku = request.args.get(\"sku\")\n    nodes = CATALOG.xpath(\"//item[@sku=$sku]/name/text()\", sku=sku)\n    return {\"name\": nodes[0] if nodes else None}"},"references":[{"title":"CWE-643: Improper Neutralization of Data within XPath Expressions","url":"https://cwe.mitre.org/data/definitions/643.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-python-taint-regex-injection","slug":"python-taint-regex-injection","area":"sast","category":"security","title":"Regex injection from request input (Python)","severity":"medium","language":"Python","what":"A value read from the HTTP request is compiled as a regular expression.","why":"The caller can supply a pattern that backtracks for minutes on a short input (ReDoS).","fix":"Escape the value with re.escape when it is meant literally.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1333: Inefficient Regular Expression Complexity"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import re\n\nfrom flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/search\")\ndef search():\n    pattern = re.compile(request.args.get(\"q\", \"\"))\n    return {\"hits\": [i for i in ITEMS if pattern.search(i)]}","fixed":"import re\n\nfrom flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/search\")\ndef search():\n    pattern = re.compile(re.escape(request.args.get(\"q\", \"\")))\n    return {\"hits\": [i for i in ITEMS if pattern.search(i)]}"},"references":[{"title":"CWE-1333: Inefficient Regular Expression Complexity","url":"https://cwe.mitre.org/data/definitions/1333.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-python-taint-nosql-injection","slug":"python-taint-nosql-injection","area":"sast","category":"security","title":"NoSQL injection from request input (Python)","severity":"high","language":"Python","what":"A value read from the HTTP request is used as a MongoDB filter, or as a $where clause.","why":"The caller can add operators such as $ne or run JavaScript in the database.","fix":"Build the filter in code from str() values ({\"email\": str(value)}) and never use $where.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-943: Improper Neutralization of Special Elements in Data Query Logic"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"from flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/login\", methods=[\"POST\"])\ndef login():\n    user = db.users.find_one(request.json)\n    return {\"ok\": user is not None}","fixed":"from flask import Flask, request\n\napp = Flask(__name__)\n\n\n@app.route(\"/login\", methods=[\"POST\"])\ndef login():\n    user = db.users.find_one({\"email\": str(request.json.get(\"email\"))})\n    return {\"ok\": user is not None}"},"references":[{"title":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","url":"https://cwe.mitre.org/data/definitions/943.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-python-taint-mass-assignment","slug":"python-taint-mass-assignment","area":"sast","category":"security","title":"Mass assignment from request input (Python)","severity":"medium","language":"Python","what":"Every field of the request is passed as keyword arguments to a model constructor or update.","why":"The caller can set columns the form never shows, such as is_staff or balance.","fix":"Validate the request with a form or schema (Django ModelForm with fields=[...], pydantic) and pass only its cleaned fields.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"from django.http import JsonResponse\n\nfrom .models import Account\n\n\ndef create(request):\n    account = Account.objects.create(**request.POST.dict())\n    return JsonResponse({\"id\": account.pk})","fixed":"from django.http import JsonResponse\n\nfrom .forms import AccountForm\n\n\ndef create(request):\n    form = AccountForm(request.POST)\n    if not form.is_valid():\n        return JsonResponse({\"errors\": form.errors}, status=400)\n    account = form.save()\n    return JsonResponse({\"id\": account.pk})"},"references":[{"title":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","url":"https://cwe.mitre.org/data/definitions/915.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-python-django-mark-safe-non-literal","slug":"python-django-mark-safe-non-literal","area":"sast","category":"security","title":"Django mark safe non literal (Python)","severity":"medium","language":"Python","what":"mark_safe (or SafeString) is applied to a value built at runtime, which turns off Django's escaping for it.","why":"If any part comes from a user, this is cross-site scripting.","fix":"Use format_html(\"<b>{}</b>\", value), which escapes the arguments.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"from django.utils.safestring import mark_safe\n\n\ndef badge(label):\n    return mark_safe(\"<span class='badge'>%s</span>\" % label)","fixed":"from django.utils.html import format_html\n\n\ndef badge(label):\n    return format_html(\"<span class='badge'>{}</span>\", label)"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-python-flask-hardcoded-secret-key","slug":"python-flask-hardcoded-secret-key","area":"sast","category":"security","title":"Flask hardcoded secret key (Python)","severity":"high","language":"Python","what":"The Flask (or Django) secret key is a literal in the source.","why":"Anyone who reads it can forge session cookies and signed tokens.","fix":"Read the key from the environment or a secret store and rotate the committed value.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"from flask import Flask\n\napp = Flask(__name__)\napp.secret_key = \"dev-secret-that-shipped-to-production\"","fixed":"import os\n\nfrom flask import Flask\n\napp = Flask(__name__)\napp.secret_key = os.environ[\"FLASK_SECRET_KEY\"]"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-python-jwt-hardcoded-secret","slug":"python-jwt-hardcoded-secret","area":"sast","category":"security","title":"JWT hardcoded secret (Python)","severity":"high","language":"Python","what":"The key that signs or verifies JSON Web Tokens is a literal in the source.","why":"Anyone who reads it can mint tokens this service accepts.","fix":"Load the key from the environment or a secret store, and rotate the committed value.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"import jwt\n\n\ndef issue(user_id):\n    return jwt.encode({\"sub\": user_id}, \"production-signing-key-2026\", algorithm=\"HS256\")","fixed":"import os\n\nimport jwt\n\n\ndef issue(user_id):\n    return jwt.encode({\"sub\": user_id}, os.environ[\"JWT_KEY\"], algorithm=\"HS256\")"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-python-weak-rsa-key","slug":"python-weak-rsa-key","area":"sast","category":"security","title":"Weak RSA key (Python)","severity":"medium","language":"Python","what":"An RSA key shorter than 2048 bits is generated.","why":"Such keys are within reach of a well-funded attacker.","fix":"Use key_size=3072 (at least 2048), or Ed25519.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-326: Inadequate Encryption Strength"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"from cryptography.hazmat.primitives.asymmetric import rsa\n\nkey = rsa.generate_private_key(public_exponent=65537, key_size=1024)","fixed":"from cryptography.hazmat.primitives.asymmetric import rsa\n\nkey = rsa.generate_private_key(public_exponent=65537, key_size=3072)"},"references":[{"title":"CWE-326: Inadequate Encryption Strength","url":"https://cwe.mitre.org/data/definitions/326.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-python-cors-wildcard-credentials","slug":"python-cors-wildcard-credentials","area":"sast","category":"security","title":"CORS wildcard credentials (Python)","severity":"high","language":"Python","what":"CORS allows every origin together with credentials.","why":"Any site can read this API's responses with the user's cookies.","fix":"List the allowed origins explicitly when credentials are allowed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-942: Permissive Cross-domain Policy with Untrusted Domains"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"from fastapi import FastAPI\nfrom fastapi.middleware.cors import CORSMiddleware\n\napp = FastAPI()\napp.add_middleware(CORSMiddleware, allow_origins=[\"*\"], allow_credentials=True, allow_methods=[\"*\"])","fixed":"from fastapi import FastAPI\nfrom fastapi.middleware.cors import CORSMiddleware\n\napp = FastAPI()\napp.add_middleware(CORSMiddleware, allow_origins=[\"https://app.example.com\"], allow_credentials=True)"},"references":[{"title":"CWE-942: Permissive Cross-domain Policy with Untrusted Domains","url":"https://cwe.mitre.org/data/definitions/942.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-11-18"},{"id":"trustivan-python-ai-sdk-use","slug":"python-ai-sdk-use","area":"sast","category":"security","title":"Ai sdk use (Python)","severity":"low","language":"Python","what":"This code imports $MOD, the SDK of an AI model provider or framework.","why":"Listed so that AI use in code is inventoried and reviewed; it is not a vulnerability by itself.","fix":"Confirm the provider is approved for the data this code sends to it, and record it in your AI inventory. Suppress the finding once reviewed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1357: Reliance on Insufficiently Trustworthy Component"],"owasp":["LLM03:2025 Supply Chain"],"example":{"vulnerable":"from openai import OpenAI\n\nclient = OpenAI()","fixed":"import requests\n\n\ndef fetch(url):\n    return requests.get(url, timeout=5).json()"},"references":[{"title":"CWE-1357: Reliance on Insufficiently Trustworthy Component","url":"https://cwe.mitre.org/data/definitions/1357.html"},{"title":"OWASP Top 10 for LLM Applications LLM03:2025 Supply Chain","url":"https://genai.owasp.org/llm-top-10/"}],"updated":"2026-11-18"},{"id":"trustivan-python-taint-llm-output-to-sink","slug":"python-taint-llm-output-to-sink","area":"sast","category":"security","title":"Llm output to sink from request input (Python)","severity":"high","language":"Python","what":"Text generated by a language model reaches code execution, a shell command, a SQL statement or an unescaped HTML/template sink.","why":"Model output follows instructions planted in its input (prompt injection), so treat it as untrusted user input.","fix":"Never eval, exec or shell out model output. Parse it into a fixed structure (JSON schema, an enum of allowed actions), pass values to SQL as bound parameters, and let the template engine escape it.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-94: Improper Control of Generation of Code ('Code Injection')","CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"owasp":["LLM05:2025 Improper Output Handling","A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import subprocess\n\nfrom openai import OpenAI\n\nclient = OpenAI()\n\n\ndef run_suggested_command(task):\n    resp = client.chat.completions.create(\n        model=\"gpt-4o-mini\",\n        max_tokens=200,\n        messages=[{\"role\": \"user\", \"content\": task}],\n    )\n    command = resp.choices[0].message.content\n    subprocess.run(command, shell=True)","fixed":"import json\nimport subprocess\n\nfrom openai import OpenAI\n\nclient = OpenAI()\nALLOWED = {\"status\": [\"git\", \"status\"], \"log\": [\"git\", \"log\", \"-5\"]}\n\n\ndef run_suggested_command(task):\n    resp = client.chat.completions.create(\n        model=\"gpt-4o-mini\",\n        max_tokens=200,\n        messages=[{\"role\": \"user\", \"content\": task}],\n    )\n    action = json.loads(resp.choices[0].message.content)[\"action\"]\n    print(action)\n    subprocess.run(ALLOWED[\"status\"], check=True)"},"references":[{"title":"CWE-94: Improper Control of Generation of Code ('Code Injection')","url":"https://cwe.mitre.org/data/definitions/94.html"},{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 for LLM Applications LLM05:2025 Improper Output Handling","url":"https://genai.owasp.org/llm-top-10/"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-11-18"},{"id":"trustivan-python-taint-llm-prompt-injection-system","slug":"python-taint-llm-prompt-injection-system","area":"sast","category":"security","title":"Llm prompt injection system from request input (Python)","severity":"medium","language":"Python","what":"A value read from the HTTP request is written into the system prompt of a language-model call.","why":"The system prompt carries the instructions the model trusts most, so the caller can override them (prompt injection). Request data belongs in a user message.","fix":"Keep the system prompt constant (or built only from server-side values) and pass the request value as the content of a user message.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')"],"owasp":["LLM01:2025 Prompt Injection"],"taint":true,"example":{"vulnerable":"from flask import Flask, request\nfrom openai import OpenAI\n\napp = Flask(__name__)\nclient = OpenAI()\n\n\n@app.route(\"/ask\")\ndef ask():\n    persona = request.args.get(\"persona\")\n    resp = client.chat.completions.create(\n        model=\"gpt-4o-mini\",\n        max_tokens=300,\n        messages=[\n            {\"role\": \"system\", \"content\": f\"You are {persona}. Never reveal internal data.\"},\n            {\"role\": \"user\", \"content\": \"Hello\"},\n        ],\n    )\n    return resp.choices[0].message.content","fixed":"from flask import Flask, request\nfrom openai import OpenAI\n\napp = Flask(__name__)\nclient = OpenAI()\n\n\n@app.route(\"/ask\")\ndef ask():\n    question = request.args.get(\"q\")\n    resp = client.chat.completions.create(\n        model=\"gpt-4o-mini\",\n        max_tokens=300,\n        messages=[\n            {\"role\": \"system\", \"content\": \"You are a support assistant. Never reveal internal data.\"},\n            {\"role\": \"user\", \"content\": question},\n        ],\n    )\n    return resp.choices[0].message.content"},"references":[{"title":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","url":"https://cwe.mitre.org/data/definitions/77.html"},{"title":"OWASP Top 10 for LLM Applications LLM01:2025 Prompt Injection","url":"https://genai.owasp.org/llm-top-10/"}],"updated":"2026-11-18"},{"id":"trustivan-python-llm-tool-shell-execution","slug":"python-llm-tool-shell-execution","area":"sast","category":"security","title":"Llm tool shell execution (Python)","severity":"medium","language":"Python","what":"A language-model agent is given a tool that runs shell commands or arbitrary Python.","why":"Whatever the model is persuaded to write, including by instructions in a document or web page it reads, runs on this host.","fix":"Give the agent narrow tools that do one fixed action with validated arguments. If code execution is required, run it in a disposable sandbox with no credentials or network, and require human approval.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-250: Execution with Unnecessary Privileges"],"owasp":["LLM06:2025 Excessive Agency"],"example":{"vulnerable":"import subprocess\n\nfrom langchain_core.tools import tool\n\n\n@tool\ndef run_shell(command: str) -> str:\n    \"\"\"Run a shell command and return its output.\"\"\"\n    return subprocess.run(command, shell=True, capture_output=True, text=True).stdout","fixed":"from langchain_core.tools import tool\n\nORDERS = {\"1001\": \"shipped\"}\n\n\n@tool\ndef order_status(order_id: str) -> str:\n    \"\"\"Look up the status of an order by its ID.\"\"\"\n    return ORDERS.get(order_id, \"unknown\")"},"references":[{"title":"CWE-250: Execution with Unnecessary Privileges","url":"https://cwe.mitre.org/data/definitions/250.html"},{"title":"OWASP Top 10 for LLM Applications LLM06:2025 Excessive Agency","url":"https://genai.owasp.org/llm-top-10/"}],"updated":"2026-11-18"},{"id":"trustivan-python-llm-unbounded-output-tokens","slug":"python-llm-unbounded-output-tokens","area":"sast","category":"security","title":"Llm unbounded output tokens (Python)","severity":"low","language":"Python","what":"A chat-completion call sets no max_tokens or max_completion_tokens, so the response may run to the model's full output limit.","why":"A caller who can trigger this call repeatedly can run up cost and latency.","fix":"Set max_tokens (or max_completion_tokens) to the longest answer the feature needs, and rate-limit the endpoint that triggers the call.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Python source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-770: Allocation of Resources Without Limits or Throttling"],"owasp":["LLM10:2025 Unbounded Consumption"],"example":{"vulnerable":"from openai import OpenAI\n\nclient = OpenAI()\n\n\ndef summarise(text):\n    return client.chat.completions.create(\n        model=\"gpt-4o-mini\",\n        messages=[{\"role\": \"user\", \"content\": text}],\n    )","fixed":"from openai import OpenAI\n\nclient = OpenAI()\n\n\ndef summarise(text):\n    return client.chat.completions.create(\n        model=\"gpt-4o-mini\",\n        max_tokens=400,\n        messages=[{\"role\": \"user\", \"content\": text}],\n    )"},"references":[{"title":"CWE-770: Allocation of Resources Without Limits or Throttling","url":"https://cwe.mitre.org/data/definitions/770.html"},{"title":"OWASP Top 10 for LLM Applications LLM10:2025 Unbounded Consumption","url":"https://genai.owasp.org/llm-top-10/"}],"updated":"2026-11-18"},{"id":"trustivan-ruby-taint-sql-injection","slug":"ruby-taint-sql-injection","area":"sast","category":"security","title":"SQL injection from request input (Ruby)","severity":"high","language":"Ruby","what":"A value read from the HTTP request is interpolated into the text of a SQL fragment.","why":"The caller controls part of the statement, so they can change what it selects, updates or deletes.","fix":"Pass the value as a bind parameter (where(\"status = ?\", value) or where(status: value)) instead of interpolating it into the string.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"class OrdersController < ApplicationController\n  def index\n    @orders = Order.where(\"status = '#{params[:status]}'\")\n  end\nend","fixed":"class OrdersController < ApplicationController\n  def index\n    @orders = Order.where(status: params[:status])\n  end\nend"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-command-injection","slug":"ruby-taint-command-injection","area":"sast","category":"security","title":"Command injection from request input (Ruby)","severity":"high","language":"Ruby","what":"A value read from the HTTP request reaches a shell command line.","why":"The caller can append their own commands with shell metacharacters.","fix":"Pass the program and each argument separately (system(\"ping\", \"-c\", \"1\", host) or Open3.capture2(\"ping\", host)), which runs without a shell; otherwise quote with Shellwords.escape.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"class PingController < ApplicationController\n  def show\n    output = `ping -c 1 #{params[:host]}`\n    render plain: output\n  end\nend","fixed":"require \"open3\"\n\nclass PingController < ApplicationController\n  def show\n    output, _status = Open3.capture2(\"ping\", \"-c\", \"1\", params[:host].to_s)\n    render plain: output\n  end\nend"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-path-traversal","slug":"ruby-taint-path-traversal","area":"sast","category":"security","title":"Path traversal from request input (Ruby)","severity":"high","language":"Ruby","what":"A value read from the HTTP request is used as a file path.","why":"A value such as ../../config/master.key walks out of the intended directory.","fix":"Reduce the value to a bare file name with File.basename before joining it to a fixed directory, and check the expanded path still starts with that directory.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"class DownloadsController < ApplicationController\n  def show\n    send_file Rails.root.join(\"uploads\", params[:name]).to_s\n  end\nend","fixed":"class DownloadsController < ApplicationController\n  def show\n    name = File.basename(params[:name].to_s)\n    send_file Rails.root.join(\"uploads\", name).to_s\n  end\nend"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-ssrf","slug":"ruby-taint-ssrf","area":"sast","category":"security","title":"SSRF from request input (Ruby)","severity":"high","language":"Ruby","what":"A value read from the HTTP request is used as the URL of an outbound request.","why":"The caller can make this server fetch internal addresses, such as a cloud metadata endpoint.","fix":"Choose the destination from an allowlist held by the server, and refuse private, loopback and link-local addresses after resolving the host name.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-918: Server-Side Request Forgery (SSRF)"],"owasp":["A10:2021 - Server-Side Request Forgery (SSRF)"],"taint":true,"example":{"vulnerable":"class PreviewController < ApplicationController\n  def show\n    body = HTTParty.get(params[:url]).body\n    render plain: body\n  end\nend","fixed":"class PreviewController < ApplicationController\n  def show\n    body = HTTParty.get(\"https://cdn.example.com/previews.json\").body\n    render json: JSON.parse(body)[params[:id].to_s]\n  end\nend"},"references":[{"title":"CWE-918: Server-Side Request Forgery (SSRF)","url":"https://cwe.mitre.org/data/definitions/918.html"},{"title":"OWASP Top 10 A10:2021 - Server-Side Request Forgery (SSRF)","url":"https://owasp.org/Top10/2021/A10_2021-Server-Side_Request_Forgery_(SSRF)/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-xss","slug":"ruby-taint-xss","area":"sast","category":"security","title":"XSS from request input (Ruby)","severity":"high","language":"Ruby","what":"A value read from the HTTP request is marked as safe HTML or rendered without escaping.","why":"The caller can run script in another user's browser.","fix":"Let the template escape the value (<%= value %>), or sanitize it with sanitize() before calling html_safe or raw.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"class GreetController < ApplicationController\n  def show\n    render html: \"<h1>Hello #{params[:name]}</h1>\".html_safe\n  end\nend","fixed":"class GreetController < ApplicationController\n  def show\n    @name = params[:name]\n    render :show\n  end\nend"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-deserialization","slug":"ruby-taint-deserialization","area":"sast","category":"security","title":"Deserialization from request input (Ruby)","severity":"high","language":"Ruby","what":"Data read from the HTTP request is passed to Marshal.load or an unsafe YAML loader, which instantiate arbitrary objects.","why":"A crafted payload runs code on this server.","fix":"Exchange the data as JSON (JSON.parse), or use YAML.safe_load with an explicit permitted_classes list.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"class PrefsController < ApplicationController\n  def show\n    prefs = Marshal.load(Base64.decode64(cookies[:prefs]))\n    render json: prefs\n  end\nend","fixed":"class PrefsController < ApplicationController\n  def show\n    prefs = JSON.parse(cookies[:prefs].to_s)\n    render json: prefs\n  end\nend"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-open-redirect","slug":"ruby-taint-open-redirect","area":"sast","category":"security","title":"Open redirect from request input (Ruby)","severity":"medium","language":"Ruby","what":"A value read from the HTTP request is used as a redirect target.","why":"An attacker can send a link on this site that lands the user on theirs.","fix":"Redirect to a route helper, or leave Rails 7's raise_on_open_redirects on and never pass allow_other_host: true with request data.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-601: URL Redirection to Untrusted Site ('Open Redirect')"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"class SessionsController < ApplicationController\n  def create\n    redirect_to params[:return_to], allow_other_host: true\n  end\nend","fixed":"class SessionsController < ApplicationController\n  def create\n    redirect_to dashboard_path\n  end\nend"},"references":[{"title":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","url":"https://cwe.mitre.org/data/definitions/601.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-code-injection","slug":"ruby-taint-code-injection","area":"sast","category":"security","title":"Code injection from request input (Ruby)","severity":"high","language":"Ruby","what":"A value read from the HTTP request is evaluated as Ruby code or used to choose which method runs.","why":"That is code execution on this server.","fix":"Never evaluate request data. Map the request onto an explicit list of allowed methods (case value when \"a\" then a end) instead of send.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-94: Improper Control of Generation of Code ('Code Injection')"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"class ReportsController < ApplicationController\n  def show\n    render json: Report.new.send(params[:kind])\n  end\nend","fixed":"class ReportsController < ApplicationController\n  def show\n    report = Report.new\n    data = params[:kind] == \"weekly\" ? report.weekly : report.daily\n    render json: data\n  end\nend"},"references":[{"title":"CWE-94: Improper Control of Generation of Code ('Code Injection')","url":"https://cwe.mitre.org/data/definitions/94.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-unsafe-reflection","slug":"ruby-taint-unsafe-reflection","area":"sast","category":"security","title":"Unsafe reflection from request input (Ruby)","severity":"high","language":"Ruby","what":"A value read from the HTTP request is turned into a class with constantize or const_get.","why":"The caller chooses which class is instantiated, which can reach classes with dangerous constructors.","fix":"Look the class up in an explicit hash of allowed names ({ \"csv\" => CsvExport }.fetch(value)).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"class ExportsController < ApplicationController\n  def create\n    exporter = params[:format].constantize.new\n    render plain: exporter.call\n  end\nend","fixed":"class ExportsController < ApplicationController\n  EXPORTERS = { \"csv\" => CsvExport, \"json\" => JsonExport }.freeze\n\n  def create\n    exporter = EXPORTERS.fetch(params[:format].to_s, CsvExport).new\n    render plain: exporter.call\n  end\nend"},"references":[{"title":"CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')","url":"https://cwe.mitre.org/data/definitions/470.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-template-injection","slug":"ruby-taint-template-injection","area":"sast","category":"security","title":"Template injection from request input (Ruby)","severity":"high","language":"Ruby","what":"A value read from the HTTP request is compiled as an ERB template.","why":"ERB runs Ruby, so the caller can execute code on this server.","fix":"Keep template text in files on the server and pass the request value as a local the template renders.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"class MailPreviewController < ApplicationController\n  def show\n    render inline: params[:body]\n  end\nend","fixed":"class MailPreviewController < ApplicationController\n  def show\n    render :welcome, locals: { body: params[:body] }\n  end\nend"},"references":[{"title":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","url":"https://cwe.mitre.org/data/definitions/1336.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-regex-injection","slug":"ruby-taint-regex-injection","area":"sast","category":"security","title":"Regex injection from request input (Ruby)","severity":"medium","language":"Ruby","what":"A value read from the HTTP request is compiled as a regular expression.","why":"The caller can supply a pattern that backtracks for minutes on a short input (ReDoS).","fix":"Quote the value with Regexp.escape when it is meant literally, and set Regexp.timeout (Ruby 3.2+).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1333: Inefficient Regular Expression Complexity"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"class SearchController < ApplicationController\n  def index\n    pattern = Regexp.new(params[:q])\n    render json: Item.all.select { |i| pattern.match?(i.name) }\n  end\nend","fixed":"class SearchController < ApplicationController\n  def index\n    pattern = Regexp.new(Regexp.escape(params[:q].to_s))\n    render json: Item.all.select { |i| pattern.match?(i.name) }\n  end\nend"},"references":[{"title":"CWE-1333: Inefficient Regular Expression Complexity","url":"https://cwe.mitre.org/data/definitions/1333.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-ldap-injection","slug":"ruby-taint-ldap-injection","area":"sast","category":"security","title":"LDAP injection from request input (Ruby)","severity":"high","language":"Ruby","what":"A value read from the HTTP request is placed in an LDAP filter string.","why":"Characters such as * ( ) change which entries it matches.","fix":"Build the filter with Net::LDAP::Filter.eq(attribute, value), which escapes the value, rather than parsing a string.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-90: Improper Neutralization of Special Elements used in an LDAP Query"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"class DirectoryController < ApplicationController\n  def show\n    filter = Net::LDAP::Filter.construct(\"(uid=#{params[:user]})\")\n    render json: LDAP.search(filter: filter)\n  end\nend","fixed":"class DirectoryController < ApplicationController\n  def show\n    filter = Net::LDAP::Filter.construct(\"(uid=#{Net::LDAP::Filter.escape(params[:user].to_s)})\")\n    render json: LDAP.search(filter: filter)\n  end\nend"},"references":[{"title":"CWE-90: Improper Neutralization of Special Elements used in an LDAP Query","url":"https://cwe.mitre.org/data/definitions/90.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-taint-xpath-injection","slug":"ruby-taint-xpath-injection","area":"sast","category":"security","title":"XPath injection from request input (Ruby)","severity":"high","language":"Ruby","what":"A value read from the HTTP request is placed in an XPath expression.","why":"A quote in the value changes which nodes it selects.","fix":"Pass the value as an XPath variable (doc.xpath(\"//item[@sku=$sku]\", nil, sku: value)).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-643: Improper Neutralization of Data within XPath Expressions"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"class CatalogController < ApplicationController\n  def show\n    node = CATALOG.at_xpath(\"//item[@sku='#{params[:sku]}']\")\n    render plain: node&.text\n  end\nend","fixed":"class CatalogController < ApplicationController\n  def show\n    node = CATALOG.at_xpath(\"//item[@id=#{params[:id].to_i}]\")\n    render plain: node&.text\n  end\nend"},"references":[{"title":"CWE-643: Improper Neutralization of Data within XPath Expressions","url":"https://cwe.mitre.org/data/definitions/643.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-sql-string-interpolation","slug":"ruby-sql-string-interpolation","area":"sast","category":"security","title":"SQL string interpolation (Ruby)","severity":"medium","language":"Ruby","what":"An ActiveRecord query fragment interpolates a variable into its text.","why":"If that variable ever carries caller-supplied data, including through another method, this is SQL injection.","fix":"Use placeholders (where(\"name = ?\", name)) or a hash condition.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"class OrderQuery\n  def by_customer(customer)\n    Order.where(\"customer = '#{customer}'\")\n  end\nend","fixed":"class OrderQuery\n  def by_customer(customer)\n    Order.where(\"customer = ?\", customer)\n  end\nend"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-mass-assignment-permit-all","slug":"ruby-mass-assignment-permit-all","area":"sast","category":"security","title":"Mass assignment permit all (Ruby)","severity":"high","language":"Ruby","what":"params.permit! marks every request parameter as safe for mass assignment.","why":"The caller can set any column, such as admin or account_id.","fix":"Permit the attributes that may change: params.require(:user).permit(:name, :email).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"class UsersController < ApplicationController\n  def update\n    User.find(params[:id]).update(params.require(:user).permit!)\n  end\nend","fixed":"class UsersController < ApplicationController\n  def update\n    User.find(params[:id]).update(params.require(:user).permit(:name, :email))\n  end\nend"},"references":[{"title":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","url":"https://cwe.mitre.org/data/definitions/915.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-csrf-protection-disabled","slug":"ruby-csrf-protection-disabled","area":"sast","category":"security","title":"CSRF protection disabled (Ruby)","severity":"medium","language":"Ruby","what":"Cross-site request forgery protection is turned off for this controller.","why":"A page on another site can submit forms here with the user's session cookie.","fix":"Keep protect_from_forgery with: :exception. An API authenticated by a token header rather than a cookie should inherit from ActionController::API instead of skipping the check.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-352: Cross-Site Request Forgery (CSRF)"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"class PaymentsController < ApplicationController\n  skip_before_action :verify_authenticity_token\nend","fixed":"class PaymentsController < ApplicationController\n  protect_from_forgery with: :exception\nend"},"references":[{"title":"CWE-352: Cross-Site Request Forgery (CSRF)","url":"https://cwe.mitre.org/data/definitions/352.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-weak-hash","slug":"ruby-weak-hash","area":"sast","category":"security","title":"Weak hash (Ruby)","severity":"medium","language":"Ruby","what":"MD5 and SHA-1 are broken for collision resistance.","why":"They must not protect integrity, sign data or store passwords.","fix":"Use Digest::SHA256 (or OpenSSL::Digest::SHA256) for integrity and bcrypt or argon2 for passwords.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-328: Use of Weak Hash"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"def fingerprint(data)\n  Digest::MD5.hexdigest(data)\nend","fixed":"def fingerprint(data)\n  Digest::SHA256.hexdigest(data)\nend"},"references":[{"title":"CWE-328: Use of Weak Hash","url":"https://cwe.mitre.org/data/definitions/328.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-weak-cipher","slug":"ruby-weak-cipher","area":"sast","category":"security","title":"Weak cipher (Ruby)","severity":"high","language":"Ruby","what":"An OpenSSL cipher is created with DES, RC2, RC4, Blowfish or ECB mode.","why":"These are broken or leak the structure of the data.","fix":"Use OpenSSL::Cipher.new(\"aes-256-gcm\") with a random IV, or ActiveSupport::MessageEncryptor.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-327: Use of a Broken or Risky Cryptographic Algorithm"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"def encryptor\n  OpenSSL::Cipher.new(\"des-ede3-cbc\").encrypt\nend","fixed":"def encryptor\n  OpenSSL::Cipher.new(\"aes-256-gcm\").encrypt\nend"},"references":[{"title":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","url":"https://cwe.mitre.org/data/definitions/327.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-insecure-random-secret","slug":"ruby-insecure-random-secret","area":"sast","category":"security","title":"Insecure random secret (Ruby)","severity":"medium","language":"Ruby","what":"rand or Random is used where a secret is generated.","why":"Its output is predictable, so the token, password or key can be guessed.","fix":"Use SecureRandom.hex, SecureRandom.urlsafe_base64 or SecureRandom.random_number.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"def issue\n  reset_token = rand(36**16).to_s(36)\n  reset_token\nend","fixed":"def issue\n  reset_token = SecureRandom.urlsafe_base64(32)\n  jitter = rand(100)\n  [reset_token, jitter]\nend"},"references":[{"title":"CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","url":"https://cwe.mitre.org/data/definitions/338.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-tls-verification-disabled","slug":"ruby-tls-verification-disabled","area":"sast","category":"security","title":"TLS verification disabled (Ruby)","severity":"high","language":"Ruby","what":"TLS certificate verification is turned off.","why":"Anyone on the network path can impersonate the server and read or change the traffic.","fix":"Keep OpenSSL::SSL::VERIFY_PEER; to trust a private CA, set ca_file to its certificate.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-295: Improper Certificate Validation"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"def client\n  http = Net::HTTP.new(\"api.example.com\", 443)\n  http.use_ssl = true\n  http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n  http\nend","fixed":"def client\n  http = Net::HTTP.new(\"api.example.com\", 443)\n  http.use_ssl = true\n  http.verify_mode = OpenSSL::SSL::VERIFY_PEER\n  http\nend"},"references":[{"title":"CWE-295: Improper Certificate Validation","url":"https://cwe.mitre.org/data/definitions/295.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-marshal-load","slug":"ruby-marshal-load","area":"sast","category":"security","title":"Marshal load (Ruby)","severity":"medium","language":"Ruby","what":"Marshal.load instantiates whatever objects the data describes.","why":"If the data can ever come from a user (a cookie, a cache entry, a queued job), a crafted payload runs code.","fix":"Store the data as JSON, or verify a MAC over it (ActiveSupport::MessageVerifier) before loading.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"example":{"vulnerable":"def cached(key)\n  Marshal.load(REDIS.get(key))\nend","fixed":"def cached(key)\n  JSON.parse(REDIS.get(key))\nend"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-kernel-open","slug":"ruby-kernel-open","area":"sast","category":"security","title":"Kernel open (Ruby)","severity":"high","language":"Ruby","what":"Kernel#open is called with a non-literal argument.","why":"A value starting with \"|\" makes open run it as a shell command.","fix":"Use File.open for files and URI.open (or Net::HTTP) for URLs; both refuse the pipe form.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"def fetch(source)\n  open(source).read\nend","fixed":"def fetch(source)\n  File.open(source).read\nend"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-html-safe-non-literal","slug":"ruby-html-safe-non-literal","area":"sast","category":"security","title":"HTML safe non literal (Ruby)","severity":"medium","language":"Ruby","what":"html_safe or raw is applied to a value built at runtime, which turns off Rails' output escaping for it.","why":"If any part of the value comes from a user, this is cross-site scripting.","fix":"Build markup with content_tag / tag helpers, or sanitize() the value first.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"module BadgeHelper\n  def badge(label)\n    \"<span class='badge'>#{label}</span>\".html_safe\n  end\nend","fixed":"module BadgeHelper\n  def badge(label)\n    content_tag(:span, label, class: \"badge\")\n  end\nend"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-force-ssl-disabled","slug":"ruby-force-ssl-disabled","area":"sast","category":"security","title":"Force SSL disabled (Ruby)","severity":"medium","language":"Ruby","what":"config.force_ssl is false.","why":"The application accepts plain HTTP and does not send HSTS or mark cookies secure.","fix":"Set config.force_ssl = true in production.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-319: Cleartext Transmission of Sensitive Information"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"Rails.application.configure do\n  config.force_ssl = false\nend","fixed":"Rails.application.configure do\n  config.force_ssl = true\nend"},"references":[{"title":"CWE-319: Cleartext Transmission of Sensitive Information","url":"https://cwe.mitre.org/data/definitions/319.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-cookie-httponly-disabled","slug":"ruby-cookie-httponly-disabled","area":"sast","category":"security","title":"Cookie HttpOnly disabled (Ruby)","severity":"medium","language":"Ruby","what":"A cookie is set with httponly: false (or the session store is).","why":"Script on the page can read it and an XSS flaw becomes a session theft.","fix":"Set httponly: true and secure: true on session and authentication cookies.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"class SessionsController < ApplicationController\n  def create\n    cookies[:remember] = { value: SecureRandom.hex(16), httponly: false, secure: true }\n  end\nend","fixed":"class SessionsController < ApplicationController\n  def create\n    cookies[:remember] = { value: SecureRandom.hex(16), httponly: true, secure: true }\n  end\nend"},"references":[{"title":"CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag","url":"https://cwe.mitre.org/data/definitions/1004.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-jwt-hardcoded-secret","slug":"ruby-jwt-hardcoded-secret","area":"sast","category":"security","title":"JWT hardcoded secret (Ruby)","severity":"high","language":"Ruby","what":"The key that signs or verifies JSON Web Tokens is a literal in the source.","why":"Anyone who reads it can mint tokens this service accepts.","fix":"Read the key from Rails credentials or the environment, and rotate the key that was committed.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"def token_for(user)\n  JWT.encode({ sub: user.id }, \"production-signing-key-2026\", \"HS256\")\nend","fixed":"def token_for(user)\n  JWT.encode({ sub: user.id }, Rails.application.credentials.jwt_key, \"HS256\")\nend"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-jwt-verification-disabled","slug":"ruby-jwt-verification-disabled","area":"sast","category":"security","title":"JWT verification disabled (Ruby)","severity":"high","language":"Ruby","what":"JWT.decode is called with verification turned off.","why":"A token with any signature, or none, is accepted.","fix":"Pass the key, true, and an explicit algorithm (JWT.decode(token, key, true, algorithm: \"HS256\")).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-347: Improper Verification of Cryptographic Signature"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"def claims(token)\n  JWT.decode(token, nil, false).first\nend","fixed":"def claims(token)\n  JWT.decode(token, ENV.fetch(\"JWT_KEY\"), true, algorithm: \"HS256\").first\nend"},"references":[{"title":"CWE-347: Improper Verification of Cryptographic Signature","url":"https://cwe.mitre.org/data/definitions/347.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-hardcoded-secret-key-base","slug":"ruby-hardcoded-secret-key-base","area":"sast","category":"security","title":"Hardcoded secret key base (Ruby)","severity":"high","language":"Ruby","what":"secret_key_base is a literal in the source.","why":"Anyone who reads it can forge signed and encrypted cookies, including the session.","fix":"Keep it in encrypted credentials or SECRET_KEY_BASE, and rotate it.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"Rails.application.configure do\n  config.secret_key_base = \"8d3f1c0e9b7a6f5e4d3c2b1a0f9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e\"\nend","fixed":"Rails.application.configure do\n  config.secret_key_base = ENV.fetch(\"SECRET_KEY_BASE\")\nend"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-hardcoded-password-basic-auth","slug":"ruby-hardcoded-password-basic-auth","area":"sast","category":"security","title":"Hardcoded password basic auth (Ruby)","severity":"high","language":"Ruby","what":"HTTP basic authentication checks a password written in the source.","why":"Anyone who reads the repository can sign in.","fix":"Read the password from credentials or the environment and compare it with ActiveSupport::SecurityUtils.secure_compare.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"class AdminController < ApplicationController\n  http_basic_authenticate_with name: \"admin\", password: \"hunter2-admin\"\nend","fixed":"class AdminController < ApplicationController\n  http_basic_authenticate_with name: \"admin\", password: ENV.fetch(\"ADMIN_PASSWORD\")\nend"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-ruby-bcrypt-low-cost","slug":"ruby-bcrypt-low-cost","area":"sast","category":"security","title":"Bcrypt low cost (Ruby)","severity":"medium","language":"Ruby","what":"bcrypt is run with a cost below 10, which makes a stolen password hash quick to brute-force.","why":"Every step below 10 halves the work of guessing, so a leaked table of these hashes gives up its common passwords quickly.","fix":"Use the default cost (12) or higher.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-916: Use of Password Hash With Insufficient Computational Effort"],"owasp":["A02:2021 - Cryptographic Failures"],"example":{"vulnerable":"def store(password)\n  BCrypt::Password.create(password, cost: 4)\nend","fixed":"def store(password)\n  BCrypt::Password.create(password, cost: 12)\nend"},"references":[{"title":"CWE-916: Use of Password Hash With Insufficient Computational Effort","url":"https://cwe.mitre.org/data/definitions/916.html"},{"title":"OWASP Top 10 A02:2021 - Cryptographic Failures","url":"https://owasp.org/Top10/2021/A02_2021-Cryptographic_Failures/"}],"updated":"2026-11-07"},{"id":"trustivan-ruby-render-file-dynamic","slug":"ruby-render-file-dynamic","area":"sast","category":"security","title":"Render file dynamic (Ruby)","severity":"medium","language":"Ruby","what":"render file: is given a path built at runtime.","why":"If any part comes from the request, the caller can render arbitrary files from the server.","fix":"Render a named template (render :show) chosen by the server.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of Ruby source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"class PagesController < ApplicationController\n  def show\n    render file: \"app/views/pages/#{params[:page]}.html.erb\"\n  end\nend","fixed":"class PagesController < ApplicationController\n  def show\n    render :about\n  end\nend"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-sql-injection","slug":"typescript-taint-sql-injection","area":"sast","category":"security","title":"SQL injection from request input (TypeScript)","severity":"high","language":"TypeScript","what":"A value from a Next.js request reaches the text of a SQL statement.","why":"The caller controls part of the statement.","fix":"Use Prisma's tagged $queryRaw`...${value}` (which parameterises), the ORM's query builder, or the driver's parameter array.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"export async function GET(request: NextRequest) {\n  const status = request.nextUrl.searchParams.get(\"status\");\n  const rows = await prisma.$queryRawUnsafe(`SELECT id FROM orders WHERE status = '${status}'`);\n  return NextResponse.json(rows);\n}","fixed":"export async function GET(request: NextRequest) {\n  const status = request.nextUrl.searchParams.get(\"status\");\n  const rows = await prisma.$queryRaw`SELECT id FROM orders WHERE status = ${status}`;\n  return NextResponse.json(rows);\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-command-injection","slug":"typescript-taint-command-injection","area":"sast","category":"security","title":"Command injection from request input (TypeScript)","severity":"high","language":"TypeScript","what":"A value from a Next.js request reaches a shell command line.","why":"The caller can append commands of their own.","fix":"Use execFile or spawn with an argument array and no shell.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-78: Improper Neutralization of Special Elements used in an OS Command"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"import { exec } from \"node:child_process\";\n\nexport async function POST(request: Request) {\n  const { host } = await request.json();\n  exec(`ping -c 1 ${host}`);\n  return new Response(\"queued\");\n}","fixed":"import { execFile } from \"node:child_process\";\n\nexport async function POST(request: Request) {\n  const { host } = await request.json();\n  execFile(\"ping\", [\"-c\", \"1\", String(host)]);\n  return new Response(\"queued\");\n}"},"references":[{"title":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","url":"https://cwe.mitre.org/data/definitions/78.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-path-traversal","slug":"typescript-taint-path-traversal","area":"sast","category":"security","title":"Path traversal from request input (TypeScript)","severity":"high","language":"TypeScript","what":"A value from a Next.js request is used as a file path.","why":"A value such as ../../.env walks out of the intended directory.","fix":"Reduce the value with path.basename before joining it to a fixed directory, and check the resolved path still starts with it.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-22: Improper Limitation of a Pathname to a Restricted Directory"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"import { readFile } from \"node:fs/promises\";\n\nexport async function GET(request: NextRequest) {\n  const name = request.nextUrl.searchParams.get(\"file\");\n  const data = await readFile(`/srv/uploads/${name}`);\n  return new Response(data);\n}","fixed":"import { readFile } from \"node:fs/promises\";\nimport path from \"node:path\";\n\nexport async function GET(request: NextRequest) {\n  const name = path.basename(request.nextUrl.searchParams.get(\"file\") ?? \"\");\n  const data = await readFile(`/srv/uploads/${name}`);\n  return new Response(data);\n}"},"references":[{"title":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","url":"https://cwe.mitre.org/data/definitions/22.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-ssrf","slug":"typescript-taint-ssrf","area":"sast","category":"security","title":"SSRF from request input (TypeScript)","severity":"high","language":"TypeScript","what":"A value from a Next.js request is used as the URL of a server-side fetch.","why":"The caller can make the server reach internal addresses.","fix":"Choose the destination from an allowlist held by the server and refuse private, loopback and link-local addresses.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-918: Server-Side Request Forgery (SSRF)"],"owasp":["A10:2021 - Server-Side Request Forgery (SSRF)"],"taint":true,"example":{"vulnerable":"export async function POST(request: Request) {\n  const body = await request.json();\n  const upstream = await fetch(body.url);\n  return new Response(await upstream.text());\n}","fixed":"export async function POST(request: Request) {\n  const body = await request.json();\n  const upstream = await fetch(\"https://cdn.example.com/previews.json\");\n  const all = await upstream.json();\n  return Response.json(all[String(body.id)]);\n}"},"references":[{"title":"CWE-918: Server-Side Request Forgery (SSRF)","url":"https://cwe.mitre.org/data/definitions/918.html"},{"title":"OWASP Top 10 A10:2021 - Server-Side Request Forgery (SSRF)","url":"https://owasp.org/Top10/2021/A10_2021-Server-Side_Request_Forgery_(SSRF)/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-xss","slug":"typescript-taint-xss","area":"sast","category":"security","title":"XSS from request input (TypeScript)","severity":"high","language":"TypeScript","what":"A value from the URL or a Next.js request is rendered as raw HTML.","why":"The caller can run script in another user's browser.","fix":"Render the value as text ({value}); if HTML is required, sanitise it with DOMPurify.sanitize first.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"\"use client\";\nimport { useSearchParams } from \"next/navigation\";\n\nexport function Banner() {\n  const params = useSearchParams();\n  return <div dangerouslySetInnerHTML={{ __html: params.get(\"message\") }} />;\n}","fixed":"\"use client\";\nimport { useSearchParams } from \"next/navigation\";\n\nexport function Banner() {\n  const params = useSearchParams();\n  return <div>{params.get(\"message\")}</div>;\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-deserialization","slug":"typescript-taint-deserialization","area":"sast","category":"security","title":"Deserialization from request input (TypeScript)","severity":"high","language":"TypeScript","what":"Data from a Next.js request is passed to a deserialiser that can rebuild functions or arbitrary objects.","why":"A crafted payload runs code.","fix":"Parse with JSON.parse into a schema-validated type (zod); never node-serialize, serialize-javascript eval, or js-yaml's unsafe schemas on request data.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-502: Deserialization of Untrusted Data"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"import serialize from \"node-serialize\";\n\nexport async function POST(request: Request) {\n  const raw = await request.text();\n  const state = serialize.unserialize(raw);\n  return Response.json(state);\n}","fixed":"import { z } from \"zod\";\n\nconst State = z.object({ step: z.number() });\n\nexport async function POST(request: Request) {\n  const raw = await request.text();\n  const state = State.parse(JSON.parse(raw));\n  return Response.json(state);\n}"},"references":[{"title":"CWE-502: Deserialization of Untrusted Data","url":"https://cwe.mitre.org/data/definitions/502.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-open-redirect","slug":"typescript-taint-open-redirect","area":"sast","category":"security","title":"Open redirect from request input (TypeScript)","severity":"medium","language":"TypeScript","what":"A value from the URL or a Next.js request is used as a redirect target.","why":"A link on this site can land the user on an attacker's.","fix":"Redirect only to a relative path that starts with a single \"/\", or to a route chosen by the server.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-601: URL Redirection to Untrusted Site ('Open Redirect')"],"owasp":["A01:2021 - Broken Access Control"],"taint":true,"example":{"vulnerable":"import { redirect } from \"next/navigation\";\n\nexport default async function LoginDone({ searchParams }: { searchParams: { next?: string } }) {\n  redirect(searchParams.next ?? \"/\");\n}","fixed":"import { redirect } from \"next/navigation\";\n\nexport default async function LoginDone({ searchParams }: { searchParams: { next?: string } }) {\n  redirect(\"/dashboard\");\n}"},"references":[{"title":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","url":"https://cwe.mitre.org/data/definitions/601.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-code-injection","slug":"typescript-taint-code-injection","area":"sast","category":"security","title":"Code injection from request input (TypeScript)","severity":"high","language":"TypeScript","what":"A value from a Next.js request is evaluated as JavaScript.","why":"That is code execution on the server or in the user's browser.","fix":"Do not evaluate request data; map it onto operations the code implements.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"export async function POST(request: Request) {\n  const { expr } = await request.json();\n  return Response.json({ result: eval(expr) });\n}","fixed":"export async function POST(request: Request) {\n  const { a, b } = await request.json();\n  return Response.json({ result: Number(a) + Number(b) });\n}"},"references":[{"title":"CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code","url":"https://cwe.mitre.org/data/definitions/95.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-nosql-injection","slug":"typescript-taint-nosql-injection","area":"sast","category":"security","title":"NoSQL injection from request input (TypeScript)","severity":"high","language":"TypeScript","what":"A parsed request body is used as a MongoDB filter.","why":"The caller can send operators such as {\"$ne\": null} and match any document.","fix":"Validate the body with a schema that forces strings (zod z.string()) and build the filter from those fields with $eq.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-943: Improper Neutralization of Special Elements in Data Query Logic"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"export async function POST(request: Request) {\n  const filter = await request.json();\n  const user = await User.findOne(filter);\n  return Response.json({ id: user?.id });\n}","fixed":"import { z } from \"zod\";\n\nconst Login = z.object({ email: z.string() });\n\nexport async function POST(request: Request) {\n  const { email } = Login.parse(await request.json());\n  const user = await User.findOne({ email: { $eq: email } });\n  return Response.json({ id: user?.id });\n}"},"references":[{"title":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","url":"https://cwe.mitre.org/data/definitions/943.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-prototype-pollution","slug":"typescript-taint-prototype-pollution","area":"sast","category":"security","title":"Prototype pollution from request input (TypeScript)","severity":"high","language":"TypeScript","what":"A parsed request body is deep-merged or assigned by path into an object.","why":"A key such as \"__proto__\" or \"constructor.prototype\" changes every object in the process.","fix":"Validate the body against a schema and copy known fields; never deep-merge request data, or merge into Object.create(null).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')"],"owasp":["A08:2021 - Software and Data Integrity Failures"],"taint":true,"example":{"vulnerable":"import _ from \"lodash\";\n\nconst settings = {};\n\nexport async function PATCH(request: Request) {\n  const patch = await request.json();\n  _.merge(settings, patch);\n  return Response.json(settings);\n}","fixed":"import { z } from \"zod\";\n\nconst Patch = z.object({ theme: z.enum([\"light\", \"dark\"]) });\nconst settings: { theme?: string } = {};\n\nexport async function PATCH(request: Request) {\n  const patch = Patch.parse(await request.json());\n  settings.theme = patch.theme;\n  return Response.json(settings);\n}"},"references":[{"title":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","url":"https://cwe.mitre.org/data/definitions/1321.html"},{"title":"OWASP Top 10 A08:2021 - Software and Data Integrity Failures","url":"https://owasp.org/Top10/2021/A08_2021-Software_and_Data_Integrity_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-regex-injection","slug":"typescript-taint-regex-injection","area":"sast","category":"security","title":"Regex injection from request input (TypeScript)","severity":"medium","language":"TypeScript","what":"A value from a Next.js request is compiled as a regular expression.","why":"The caller can supply a pattern that blocks the event loop (ReDoS).","fix":"Escape the value (escape-string-regexp, or value.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\")) before compiling it.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1333: Inefficient Regular Expression Complexity"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"export async function GET(request: NextRequest) {\n  const q = request.nextUrl.searchParams.get(\"q\") ?? \"\";\n  const re = new RegExp(q);\n  return Response.json(ITEMS.filter((i) => re.test(i.name)));\n}","fixed":"import escapeStringRegexp from \"escape-string-regexp\";\n\nexport async function GET(request: NextRequest) {\n  const q = request.nextUrl.searchParams.get(\"q\") ?? \"\";\n  const re = new RegExp(escapeStringRegexp(q));\n  return Response.json(ITEMS.filter((i) => re.test(i.name)));\n}"},"references":[{"title":"CWE-1333: Inefficient Regular Expression Complexity","url":"https://cwe.mitre.org/data/definitions/1333.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-taint-javascript-url","slug":"typescript-taint-javascript-url","area":"sast","category":"security","title":"JavaScript URL from request input (TypeScript)","severity":"high","language":"TypeScript","what":"A value from the URL is used as a link or frame address.","why":"A \"javascript:\" value runs script when the user clicks or the frame loads.","fix":"Parse the value with new URL() and allow only http: and https: schemes (or only relative paths) before rendering it.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A03:2021 - Injection"],"taint":true,"example":{"vulnerable":"\"use client\";\nimport { useSearchParams } from \"next/navigation\";\n\nexport function BackLink() {\n  const params = useSearchParams();\n  return <a href={params.get(\"back\")}>Back</a>;\n}","fixed":"\"use client\";\nimport { useSearchParams } from \"next/navigation\";\n\nexport function BackLink() {\n  const params = useSearchParams();\n  const back = params.get(\"back\");\n  return <a href=\"/dashboard\">Back {back ? \"\" : \"\"}</a>;\n}"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-sql-template-literal","slug":"typescript-sql-template-literal","area":"sast","category":"security","title":"SQL template literal (TypeScript)","severity":"medium","language":"TypeScript","what":"A SQL statement is built with a template literal and passed to a method that does not parameterise it.","why":"Any interpolated value that carries user data is SQL injection.","fix":"Use Prisma's tagged $queryRaw`...`, or pass values in the driver's parameter array ($1, ?).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"export async function ordersFor(customer: string) {\n  return dataSource.query(`SELECT id FROM orders WHERE customer = '${customer}'`);\n}","fixed":"export async function ordersFor(customer: string) {\n  return dataSource.query(\"SELECT id FROM orders WHERE customer = $1\", [customer]);\n}"},"references":[{"title":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","url":"https://cwe.mitre.org/data/definitions/89.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-next-public-secret","slug":"typescript-next-public-secret","area":"sast","category":"security","title":"Next.js public secret (TypeScript)","severity":"high","language":"TypeScript","what":"An environment variable whose name says it is a secret is prefixed NEXT_PUBLIC_.","why":"Next.js inlines its value into the JavaScript sent to every browser.","fix":"Drop the NEXT_PUBLIC_ prefix, read the secret only in server code (route handlers, server actions, server components), and rotate it.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"export const stripe = new Stripe(process.env.NEXT_PUBLIC_STRIPE_SECRET_KEY!);","fixed":"export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!);\nexport const publishable = process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY;"},"references":[{"title":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","url":"https://cwe.mitre.org/data/definitions/200.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-next-image-any-host","slug":"typescript-next-image-any-host","area":"sast","category":"security","title":"Next.js image any host (TypeScript)","severity":"medium","language":"TypeScript","what":"next.config allows the image optimiser to fetch from any host.","why":"Anyone can make the server download and transform arbitrary URLs, including internal ones.","fix":"List the exact image hosts in images.remotePatterns.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-918: Server-Side Request Forgery (SSRF)"],"owasp":["A10:2021 - Server-Side Request Forgery (SSRF)"],"example":{"vulnerable":"const config: NextConfig = {\n  images: { remotePatterns: [{ protocol: \"https\", hostname: \"**\" }] },\n};\nexport default config;","fixed":"const config: NextConfig = {\n  images: { remotePatterns: [{ protocol: \"https\", hostname: \"images.example.com\" }] },\n};\nexport default config;"},"references":[{"title":"CWE-918: Server-Side Request Forgery (SSRF)","url":"https://cwe.mitre.org/data/definitions/918.html"},{"title":"OWASP Top 10 A10:2021 - Server-Side Request Forgery (SSRF)","url":"https://owasp.org/Top10/2021/A10_2021-Server-Side_Request_Forgery_(SSRF)/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-next-image-svg-allowed","slug":"typescript-next-image-svg-allowed","area":"sast","category":"security","title":"Next.js image SVG allowed (TypeScript)","severity":"medium","language":"TypeScript","what":"next.config sets dangerouslyAllowSVG.","why":"The image optimiser serves SVG files, which can carry script, from this origin.","fix":"Remove dangerouslyAllowSVG, or pair it with contentDispositionType: \"attachment\" and a contentSecurityPolicy of \"script-src 'none'\".","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-79: Improper Neutralization of Input During Web Page Generation"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"const config: NextConfig = {\n  images: { dangerouslyAllowSVG: true },\n};\nexport default config;","fixed":"const config: NextConfig = {\n  images: {\n    dangerouslyAllowSVG: true,\n    contentDispositionType: \"attachment\",\n    contentSecurityPolicy: \"default-src 'self'; script-src 'none'; sandbox;\",\n  },\n};\nexport default config;"},"references":[{"title":"CWE-79: Improper Neutralization of Input During Web Page Generation","url":"https://cwe.mitre.org/data/definitions/79.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-jwt-decode-unverified","slug":"typescript-jwt-decode-unverified","area":"sast","category":"security","title":"JWT decode unverified (TypeScript)","severity":"high","language":"TypeScript","what":"A JSON Web Token is decoded with jwt.decode or jwt-decode, which does not check the signature, and the claims are used.","why":"A caller can write any claims they like.","fix":"Verify with jwt.verify(token, key, { algorithms: [...] }) or jose's jwtVerify on the server before trusting any claim.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-347: Improper Verification of Cryptographic Signature"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"import jwt from \"jsonwebtoken\";\n\nexport function currentUser(token: string) {\n  const claims = jwt.decode(token) as { sub: string };\n  return claims.sub;\n}","fixed":"import jwt from \"jsonwebtoken\";\n\nexport function currentUser(token: string) {\n  const claims = jwt.verify(token, process.env.JWT_KEY!, { algorithms: [\"HS256\"] }) as { sub: string };\n  return claims.sub;\n}"},"references":[{"title":"CWE-347: Improper Verification of Cryptographic Signature","url":"https://cwe.mitre.org/data/definitions/347.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-token-in-localstorage","slug":"typescript-token-in-localstorage","area":"sast","category":"security","title":"Token in localStorage (TypeScript)","severity":"medium","language":"TypeScript","what":"An authentication token is stored in localStorage or sessionStorage, where any script on the origin, including one injected through XSS, can read it.","why":"One cross-site scripting flaw anywhere on the origin is then enough to steal the token and use the account from elsewhere.","fix":"Keep session tokens in an HttpOnly, Secure, SameSite cookie set by the server.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-922: Insecure Storage of Sensitive Information"],"owasp":["A04:2021 - Insecure Design"],"example":{"vulnerable":"export function onLogin(accessToken: string) {\n  localStorage.setItem(\"access_token\", accessToken);\n}","fixed":"export function onLogin(theme: string) {\n  localStorage.setItem(\"theme\", theme);\n}"},"references":[{"title":"CWE-922: Insecure Storage of Sensitive Information","url":"https://cwe.mitre.org/data/definitions/922.html"},{"title":"OWASP Top 10 A04:2021 - Insecure Design","url":"https://owasp.org/Top10/2021/A04_2021-Insecure_Design/"}],"updated":"2026-11-07"},{"id":"trustivan-typescript-target-blank-noopener","slug":"typescript-target-blank-noopener","area":"sast","category":"security","title":"Target blank noopener (TypeScript)","severity":"low","language":"TypeScript","what":"A link opens a new tab with target=\"_blank\" and rel set without noopener.","why":"The opened page gets window.opener and can redirect this tab (reverse tabnabbing).","fix":"Add rel=\"noopener noreferrer\" to every target=\"_blank\" link.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1022: Use of Web Link to Untrusted Target with window.opener Access"],"owasp":["A04:2021 - Insecure Design"],"example":{"vulnerable":"export function Docs() {\n  return <a href=\"https://docs.example.com\" target=\"_blank\" rel=\"external\">Docs</a>;\n}","fixed":"export function Docs() {\n  return <a href=\"https://docs.example.com\" target=\"_blank\" rel=\"noopener noreferrer\">Docs</a>;\n}"},"references":[{"title":"CWE-1022: Use of Web Link to Untrusted Target with window.opener Access","url":"https://cwe.mitre.org/data/definitions/1022.html"},{"title":"OWASP Top 10 A04:2021 - Insecure Design","url":"https://owasp.org/Top10/2021/A04_2021-Insecure_Design/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-express-render-request-object","slug":"typescript-express-render-request-object","area":"sast","category":"security","title":"Express render request object (TypeScript)","severity":"high","language":"TypeScript","what":"A whole request object is passed as the locals of res.render.","why":"View engines read options such as settings, layout or outputFunctionName from the locals, which has given remote code execution in EJS and Handlebars.","fix":"Pass an object built from the specific fields the view needs (res.render(\"page\", { name: req.body.name })).","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"],"owasp":["A03:2021 - Injection"],"example":{"vulnerable":"import express, { Request, Response } from \"express\";\n\nconst app = express();\napp.get(\"/profile\", (req: Request, res: Response) => {\n  res.render(\"profile\", req.query);\n});","fixed":"import express, { Request, Response } from \"express\";\n\nconst app = express();\napp.get(\"/profile\", (req: Request, res: Response) => {\n  res.render(\"profile\", { name: String(req.query.name ?? \"\") });\n});"},"references":[{"title":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","url":"https://cwe.mitre.org/data/definitions/1336.html"},{"title":"OWASP Top 10 A03:2021 - Injection","url":"https://owasp.org/Top10/2021/A03_2021-Injection/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-error-stack-in-response","slug":"typescript-error-stack-in-response","area":"sast","category":"security","title":"Error stack in response (TypeScript)","severity":"medium","language":"TypeScript","what":"An error's stack trace is sent in the response.","why":"It discloses file paths, dependency versions and code structure to the caller.","fix":"Log the stack on the server and return a generic message with a correlation ID.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-209: Generation of Error Message Containing Sensitive Information"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"import { NextFunction, Request, Response } from \"express\";\n\nexport function onError(err: Error, _req: Request, res: Response, _next: NextFunction) {\n  res.status(500).json({ error: err.message, stack: err.stack });\n}","fixed":"import { NextFunction, Request, Response } from \"express\";\n\nexport function onError(err: Error, req: Request, res: Response, _next: NextFunction) {\n  logger.error({ err, id: req.id });\n  res.status(500).json({ error: \"internal error\", id: req.id });\n}"},"references":[{"title":"CWE-209: Generation of Error Message Containing Sensitive Information","url":"https://cwe.mitre.org/data/definitions/209.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-express-static-dotfiles","slug":"typescript-express-static-dotfiles","area":"sast","category":"security","title":"Express static dotfiles (TypeScript)","severity":"medium","language":"TypeScript","what":"express.static serves dotfiles.","why":"Files such as .env or .git/config in the served directory are downloadable.","fix":"Leave dotfiles at its default (\"ignore\") or set \"deny\".","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"import express from \"express\";\n\nconst app = express();\napp.use(express.static(\"public\", { dotfiles: \"allow\" }));","fixed":"import express from \"express\";\n\nconst app = express();\napp.use(express.static(\"public\", { dotfiles: \"deny\" }));"},"references":[{"title":"CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory","url":"https://cwe.mitre.org/data/definitions/538.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-redos-nested-quantifier","slug":"typescript-redos-nested-quantifier","area":"sast","category":"security","title":"ReDoS nested quantifier (TypeScript)","severity":"medium","language":"TypeScript","what":"A regular expression nests a quantifier inside a quantified group, such as (a+)+ or (\\w*)*.","why":"On a crafted input that almost matches, the backtracking engine takes exponential time and blocks the event loop.","fix":"Remove the inner quantifier or make the alternatives unambiguous ((a+)+ is a+); for untrusted input consider the re2 package.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1333: Inefficient Regular Expression Complexity"],"owasp":["A06:2021 - Vulnerable and Outdated Components"],"example":{"vulnerable":"export const isSlugList = (s: string) => /^([a-z0-9]+-?)+$/.test(s);","fixed":"export const isSlugList = (s: string) => /^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(s);"},"references":[{"title":"CWE-1333: Inefficient Regular Expression Complexity","url":"https://cwe.mitre.org/data/definitions/1333.html"},{"title":"OWASP Top 10 A06:2021 - Vulnerable and Outdated Components","url":"https://owasp.org/Top10/2021/A06_2021-Vulnerable_and_Outdated_Components/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-cookie-flags-disabled","slug":"typescript-cookie-flags-disabled","area":"sast","category":"security","title":"Cookie flags disabled (TypeScript)","severity":"medium","language":"TypeScript","what":"A cookie is set through Next.js cookies() or NextResponse with httpOnly or secure turned off.","why":"Script can read it, or it is sent over plain HTTP.","fix":"Set httpOnly: true, secure: true and sameSite: \"lax\" on session cookies.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"export async function POST() {\n  const res = NextResponse.json({ ok: true });\n  res.cookies.set(\"session\", crypto.randomUUID(), { httpOnly: false, secure: true });\n  return res;\n}","fixed":"export async function POST() {\n  const res = NextResponse.json({ ok: true });\n  res.cookies.set(\"session\", crypto.randomUUID(), { httpOnly: true, secure: true, sameSite: \"lax\" });\n  return res;\n}"},"references":[{"title":"CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag","url":"https://cwe.mitre.org/data/definitions/1004.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-server-action-env-leak","slug":"typescript-server-action-env-leak","area":"sast","category":"security","title":"Server action env leak (TypeScript)","severity":"high","language":"TypeScript","what":"A client component reads a server-only secret from process.env.","why":"In a \"use client\" file the value is either undefined or, if prefixed for the browser, shipped to every visitor.","fix":"Move the call that needs the secret into a route handler or server action and call that from the client.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"],"owasp":["A01:2021 - Broken Access Control"],"example":{"vulnerable":"\"use client\";\n\nexport function Checkout() {\n  const key = process.env.STRIPE_SECRET_KEY;\n  return <button onClick={() => pay(key)}>Pay</button>;\n}","fixed":"\"use client\";\n\nexport function Checkout() {\n  const key = process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY;\n  return <button onClick={() => pay(key)}>Pay</button>;\n}"},"references":[{"title":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","url":"https://cwe.mitre.org/data/definitions/200.html"},{"title":"OWASP Top 10 A01:2021 - Broken Access Control","url":"https://owasp.org/Top10/2021/A01_2021-Broken_Access_Control/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-cors-wildcard-credentials","slug":"typescript-cors-wildcard-credentials","area":"sast","category":"security","title":"CORS wildcard credentials (TypeScript)","severity":"high","language":"TypeScript","what":"A Next.js response allows every origin and credentials.","why":"Any site can then read this endpoint's responses with the user's cookies (the browser refuses the literal \"*\", so this is usually paired with reflecting the Origin header).","fix":"Compare the Origin header with an allowlist and echo only an allowed origin.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-942: Permissive Cross-domain Policy with Untrusted Domains"],"owasp":["A05:2021 - Security Misconfiguration"],"example":{"vulnerable":"export async function GET(request: Request) {\n  return Response.json({ ok: true }, {\n    headers: {\n      \"Access-Control-Allow-Origin\": request.headers.get(\"origin\"),\n      \"Access-Control-Allow-Credentials\": \"true\",\n    },\n  });\n}","fixed":"export async function GET(request: Request) {\n  return Response.json({ ok: true }, {\n    headers: {\n      \"Access-Control-Allow-Origin\": \"https://app.example.com\",\n      \"Access-Control-Allow-Credentials\": \"true\",\n    },\n  });\n}"},"references":[{"title":"CWE-942: Permissive Cross-domain Policy with Untrusted Domains","url":"https://cwe.mitre.org/data/definitions/942.html"},{"title":"OWASP Top 10 A05:2021 - Security Misconfiguration","url":"https://owasp.org/Top10/2021/A05_2021-Security_Misconfiguration/"}],"updated":"2026-10-29"},{"id":"trustivan-typescript-hardcoded-secret-nextauth","slug":"typescript-hardcoded-secret-nextauth","area":"sast","category":"security","title":"Hardcoded secret NextAuth (TypeScript)","severity":"high","language":"TypeScript","what":"The NextAuth / Auth.js secret, which signs and encrypts session tokens, is a literal in the source.","why":"Anyone who reads it can forge a session.","fix":"Read it from AUTH_SECRET / NEXTAUTH_SECRET in the environment and rotate the committed value.","evidence":[{"scope":"source","status":"collected","note":"Runs on repository scans of TypeScript source once static analysis is turned on (SAST_RULES and the separately built analyzer image); it is off by default."}],"cwe":["CWE-798: Use of Hard-coded Credentials"],"owasp":["A07:2021 - Identification and Authentication Failures"],"example":{"vulnerable":"export const { handlers, auth } = NextAuth({\n  providers: [GitHub],\n  secret: \"a-very-long-production-session-secret-2026\",\n});","fixed":"export const { handlers, auth } = NextAuth({\n  providers: [GitHub],\n  secret: process.env.AUTH_SECRET,\n});"},"references":[{"title":"CWE-798: Use of Hard-coded Credentials","url":"https://cwe.mitre.org/data/definitions/798.html"},{"title":"OWASP Top 10 A07:2021 - Identification and Authentication Failures","url":"https://owasp.org/Top10/2021/A07_2021-Identification_and_Authentication_Failures/"}],"updated":"2026-10-29"},{"id":"secrets.aws.access-key-id","slug":"aws-access-key-id","area":"secrets","category":"credential","title":"AWS access key ID","severity":"high","provider":"Amazon Web Services","what":"Finds AWS access key ID values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Deactivate the access key in IAM (Security credentials), then delete it once nothing depends on it: console.aws.amazon.com/iam -> Users -> Security credentials.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"updated":"2026-11-07"},{"id":"secrets.gcp.api-key","slug":"gcp-api-key","area":"secrets","category":"credential","title":"Google Cloud API key","severity":"high","provider":"Google Cloud","what":"Finds Google Cloud API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Regenerate or restrict the key in the Google Cloud Console: APIs & Services -> Credentials.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"updated":"2026-11-07"},{"id":"secrets.github.token","slug":"github-token","area":"secrets","category":"credential","title":"GitHub access token","severity":"high","provider":"GitHub","what":"Finds GitHub access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke the token: github.com/settings/tokens (personal) or the organization's Developer settings for an app-issued token.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.github.com/user","updated":"2026-11-07"},{"id":"secrets.gitlab.token","slug":"gitlab-token","area":"secrets","category":"credential","title":"GitLab access token","severity":"high","provider":"GitLab","what":"Finds GitLab access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke the token: your GitLab instance -> User Settings -> Access Tokens.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://gitlab.com/api/v4/user","updated":"2026-11-07"},{"id":"secrets.stripe.secret-key","slug":"stripe-secret-key","area":"secrets","category":"credential","title":"Stripe secret key","severity":"high","provider":"Stripe","what":"Finds Stripe secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Roll the key in the Stripe Dashboard: Developers -> API keys -> \"Roll key\". Rolling, not deleting, keeps the old key working for a grace window while services migrate.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.stripe.com/v1/balance","updated":"2026-11-07"},{"id":"secrets.pem.private-key","slug":"pem-private-key","area":"secrets","category":"credential","title":"PEM private key","severity":"high","provider":"Private keys","what":"Finds PEM private key values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Generate a new key pair and revoke or remove the old public key from every place that trusted it (authorized_keys, a CA, a load balancer's certificate).","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"updated":"2026-11-07"},{"id":"secrets.slack.token","slug":"slack-token","area":"secrets","category":"credential","title":"Slack API token","severity":"high","provider":"Slack","what":"Finds Slack API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke the token from the Slack app's configuration (api.slack.com/apps) or, for a user token, from the user's Slack account settings.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"POST https://slack.com/api/auth.test","updated":"2026-11-07"},{"id":"secrets.npm.token","slug":"npm-token","area":"secrets","category":"credential","title":"npm access token","severity":"high","provider":"npm","what":"Finds npm access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke the token: npmjs.com -> Access Tokens, or `npm token revoke <id>`.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://registry.npmjs.org/-/whoami","updated":"2026-11-07"},{"id":"secrets.pypi.token","slug":"pypi-token","area":"secrets","category":"credential","title":"PyPI API token","severity":"high","provider":"PyPI","what":"Finds PyPI API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke the token: pypi.org -> Account settings -> API tokens.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"updated":"2026-11-07"},{"id":"secrets.jwt","slug":"jwt","area":"secrets","category":"credential","title":"JSON Web Token","severity":"high","provider":"JSON Web Tokens","what":"Finds JSON Web Token values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"A JWT cannot be \"rotated\" — it expires or it does not. If its expiry is long-lived or absent, rotate the SIGNING KEY that issued it, which invalidates every token that key ever signed.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"updated":"2026-11-07"},{"id":"secrets.database.url","slug":"database-url","area":"secrets","category":"credential","title":"Database connection string with embedded credentials","severity":"high","provider":"Database connection strings","what":"Finds Database connection string with embedded credentials values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Rotate the database password or user, then update every service's configuration before removing the old credential's access — removing it first causes an outage.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"updated":"2026-11-07"},{"id":"secrets.generic.high-entropy","slug":"generic-high-entropy","area":"secrets","category":"credential","title":"High-entropy value assigned to a credential-named variable","severity":"high","provider":"Generic credentials","what":"Finds High-entropy value assigned to a credential-named variable values in every commit of a repository's git history and in lines staged for a commit, with a pattern written and tested by TrustIvan.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Rotate the credential at whichever service the surrounding code names; the format did not match a specific provider closely enough to name one here.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"updated":"2026-11-07"},{"id":"secrets.1password.secret-key","slug":"1password-secret-key","area":"secrets","category":"credential","title":"1Password secret key","severity":"high","provider":"1Password","what":"Finds 1Password secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this 1Password secret key at 1Password and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["a3-"],"pattern":"\\bA3-[A-Z0-9]{6}-(?:(?:[A-Z0-9]{11})|(?:[A-Z0-9]{6}-[A-Z0-9]{5}))-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}\\b","entropy":3.8,"upstream":"1password-secret-key"},"updated":"2026-10-13"},{"id":"secrets.1password.service-account-token","slug":"1password-service-account-token","area":"secrets","category":"credential","title":"1Password service account token","severity":"high","provider":"1Password","what":"Finds 1Password service account token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this 1Password service account token at 1Password and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["ops_"],"pattern":"ops_eyJ[a-zA-Z0-9+/]{250,}={0,3}","entropy":4,"upstream":"1password-service-account-token"},"updated":"2026-10-13"},{"id":"secrets.adafruit.api-key","slug":"adafruit-api-key","area":"secrets","category":"credential","title":"Adafruit API key","severity":"high","provider":"Adafruit","what":"Finds Adafruit API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Adafruit API key at Adafruit and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["adafruit"],"pattern":"(?i)[\\w.-]{0,50}?(?:adafruit)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9_-]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"adafruit-api-key"},"updated":"2026-10-13"},{"id":"secrets.adobe.client-secret","slug":"adobe-client-secret","area":"secrets","category":"credential","title":"Adobe client secret","severity":"high","provider":"Adobe","what":"Finds Adobe client secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Adobe client secret at Adobe and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["p8e-"],"pattern":"\\b(p8e-(?i)[a-z0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"adobe-client-secret"},"updated":"2026-10-13"},{"id":"secrets.age.secret-key","slug":"age-secret-key","area":"secrets","category":"credential","title":"age secret key","severity":"high","provider":"age","what":"Finds age secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this age secret key at age and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["age-secret-key-1"],"pattern":"AGE-SECRET-KEY-1[QPZRY9X8GF2TVDW0S3JN54KHCE6MUA7L]{58}","upstream":"age-secret-key"},"updated":"2026-10-13"},{"id":"secrets.airtable.api-key","slug":"airtable-api-key","area":"secrets","category":"credential","title":"Airtable API key","severity":"high","provider":"Airtable","what":"Finds Airtable API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Airtable API key at Airtable and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["airtable"],"pattern":"(?i)[\\w.-]{0,50}?(?:airtable)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{17})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"airtable-api-key"},"updated":"2026-10-13"},{"id":"secrets.airtable.personnal-access-token","slug":"airtable-personnal-access-token","area":"secrets","category":"credential","title":"Airtable personal access token","severity":"high","provider":"Airtable","what":"Finds Airtable personal access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Airtable personal access token at Airtable and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.airtable.com/v0/meta/whoami","detection":{"keywords":["airtable"],"pattern":"\\b(pat[[:alnum:]]{14}\\.[a-f0-9]{64})\\b","upstream":"airtable-personnal-access-token"},"updated":"2026-11-11"},{"id":"secrets.algolia.api-key","slug":"algolia-api-key","area":"secrets","category":"credential","title":"Algolia API key","severity":"high","provider":"Algolia","what":"Finds Algolia API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Algolia API key at Algolia and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["algolia"],"pattern":"(?i)[\\w.-]{0,50}?(?:algolia)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"algolia-api-key"},"updated":"2026-10-13"},{"id":"secrets.alibaba.secret-key","slug":"alibaba-secret-key","area":"secrets","category":"credential","title":"Alibaba Cloud secret key","severity":"high","provider":"Alibaba Cloud","what":"Finds Alibaba Cloud secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Alibaba Cloud secret key at Alibaba Cloud and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["alibaba"],"pattern":"(?i)[\\w.-]{0,50}?(?:alibaba)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{30})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"alibaba-secret-key"},"updated":"2026-10-13"},{"id":"secrets.anthropic.admin-api-key","slug":"anthropic-admin-api-key","area":"secrets","category":"credential","title":"Anthropic admin API key","severity":"high","provider":"Anthropic","what":"Finds Anthropic admin API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Anthropic admin API key at Anthropic and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.anthropic.com/v1/organizations/me","detection":{"keywords":["sk-ant-admin01"],"pattern":"\\b(sk-ant-admin01-[a-zA-Z0-9_\\-]{93}AA)(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"anthropic-admin-api-key"},"updated":"2026-11-11"},{"id":"secrets.anthropic.api-key","slug":"anthropic-api-key","area":"secrets","category":"credential","title":"Anthropic API key","severity":"high","provider":"Anthropic","what":"Finds Anthropic API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Anthropic API key at Anthropic and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.anthropic.com/v1/models","detection":{"keywords":["sk-ant-api03"],"pattern":"\\b(sk-ant-api03-[a-zA-Z0-9_\\-]{93}AA)(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"anthropic-api-key"},"updated":"2026-10-13"},{"id":"secrets.artifactory.api-key","slug":"artifactory-api-key","area":"secrets","category":"credential","title":"Artifactory API key","severity":"high","provider":"Artifactory","what":"Finds Artifactory API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Artifactory API key at Artifactory and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["akcp"],"pattern":"\\bAKCp[A-Za-z0-9]{69}\\b","entropy":4.5,"upstream":"artifactory-api-key"},"updated":"2026-10-13"},{"id":"secrets.artifactory.reference-token","slug":"artifactory-reference-token","area":"secrets","category":"credential","title":"Artifactory reference token","severity":"high","provider":"Artifactory","what":"Finds Artifactory reference token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Artifactory reference token at Artifactory and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["cmvmd"],"pattern":"\\bcmVmd[A-Za-z0-9]{59}\\b","entropy":4.5,"upstream":"artifactory-reference-token"},"updated":"2026-10-13"},{"id":"secrets.asana.client-secret","slug":"asana-client-secret","area":"secrets","category":"credential","title":"Asana client secret","severity":"high","provider":"Asana","what":"Finds Asana client secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Asana client secret at Asana and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["asana"],"pattern":"(?i)[\\w.-]{0,50}?(?:asana)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"asana-client-secret"},"updated":"2026-10-13"},{"id":"secrets.atlassian.api-token","slug":"atlassian-api-token","area":"secrets","category":"credential","title":"Atlassian API token","severity":"high","provider":"Atlassian","what":"Finds Atlassian API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Atlassian API token at Atlassian and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["atatt3","atlassian","confluence","jira"],"pattern":"(?i)[\\w.-]{0,50}?(?:(?-i:ATLASSIAN|[Aa]tlassian)|(?-i:CONFLUENCE|[Cc]onfluence)|(?-i:JIRA|[Jj]ira))(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{20}[a-f0-9]{4})(?:[\\x60'\"\\s;]|\\\\[nr]|$)|\\b(ATATT3[A-Za-z0-9_\\-=]{186})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3.5,"upstream":"atlassian-api-token"},"updated":"2026-10-13"},{"id":"secrets.authress.service-client-access-key","slug":"authress-service-client-access-key","area":"secrets","category":"credential","title":"Authress service client access key","severity":"high","provider":"Authress","what":"Finds Authress service client access key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Authress service client access key at Authress and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["authress_","ext_","sc_","scauth_"],"pattern":"\\b((?:sc|ext|scauth|authress)_(?i)[a-z0-9]{5,30}\\.[a-z0-9]{4,6}\\.(?-i:acc)[_-][a-z0-9-]{10,32}\\.[a-z0-9+/_=-]{30,120})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"authress-service-client-access-key"},"updated":"2026-10-13"},{"id":"secrets.aws-amazon-bedrock.api-key-long-lived","slug":"aws-amazon-bedrock-api-key-long-lived","area":"secrets","category":"credential","title":"Amazon Bedrock API key long lived","severity":"high","provider":"Amazon Bedrock","what":"Finds Amazon Bedrock API key long lived values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Amazon Bedrock API key long lived at Amazon Bedrock and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["absk"],"pattern":"\\b(ABSK[A-Za-z0-9+/]{109,269}={0,2})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"aws-amazon-bedrock-api-key-long-lived"},"updated":"2026-10-13"},{"id":"secrets.aws-amazon-bedrock.api-key-short-lived","slug":"aws-amazon-bedrock-api-key-short-lived","area":"secrets","category":"credential","title":"Amazon Bedrock API key short lived","severity":"high","provider":"Amazon Bedrock","what":"Finds Amazon Bedrock API key short lived values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Amazon Bedrock API key short lived at Amazon Bedrock and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["bedrock-api-key-"],"pattern":"bedrock-api-key-YmVkcm9jay5hbWF6b25hd3MuY29t","entropy":3,"upstream":"aws-amazon-bedrock-api-key-short-lived"},"updated":"2026-10-13"},{"id":"secrets.azure-ad.client-secret","slug":"azure-ad-client-secret","area":"secrets","category":"credential","title":"Microsoft Entra ID client secret","severity":"high","provider":"Microsoft Entra ID","what":"Finds Microsoft Entra ID client secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Microsoft Entra ID client secret at Microsoft Entra ID and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["q~"],"pattern":"(?:^|[\\\\'\"\\x60\\s>=:(,)])([a-zA-Z0-9_~.]{3}\\dQ~[a-zA-Z0-9_~.-]{31,34})(?:$|[\\\\'\"\\x60\\s<),])","entropy":3,"upstream":"azure-ad-client-secret"},"updated":"2026-10-13"},{"id":"secrets.beamer.api-token","slug":"beamer-api-token","area":"secrets","category":"credential","title":"Beamer API token","severity":"high","provider":"Beamer","what":"Finds Beamer API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Beamer API token at Beamer and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["beamer"],"pattern":"(?i)[\\w.-]{0,50}?(?:beamer)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(b_[a-z0-9=_\\-]{44})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"beamer-api-token"},"updated":"2026-10-13"},{"id":"secrets.bitbucket.client-secret","slug":"bitbucket-client-secret","area":"secrets","category":"credential","title":"Bitbucket client secret","severity":"high","provider":"Bitbucket","what":"Finds Bitbucket client secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Bitbucket client secret at Bitbucket and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["bitbucket"],"pattern":"(?i)[\\w.-]{0,50}?(?:bitbucket)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9=_\\-]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"bitbucket-client-secret"},"updated":"2026-10-13"},{"id":"secrets.bittrex.secret-key","slug":"bittrex-secret-key","area":"secrets","category":"credential","title":"Bittrex secret key","severity":"high","provider":"Bittrex","what":"Finds Bittrex secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Bittrex secret key at Bittrex and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["bittrex"],"pattern":"(?i)[\\w.-]{0,50}?(?:bittrex)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"bittrex-secret-key"},"updated":"2026-10-13"},{"id":"secrets.cisco-meraki.api-key","slug":"cisco-meraki-api-key","area":"secrets","category":"credential","title":"Cisco Meraki API key","severity":"high","provider":"Cisco Meraki","what":"Finds Cisco Meraki API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Cisco Meraki API key at Cisco Meraki and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["meraki"],"pattern":"[\\w.-]{0,50}?(?i:[\\w.-]{0,50}?(?:(?-i:[Mm]eraki|MERAKI))(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3})(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([0-9a-f]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"cisco-meraki-api-key"},"updated":"2026-10-13"},{"id":"secrets.clickhouse-cloud.api-secret-key","slug":"clickhouse-cloud-api-secret-key","area":"secrets","category":"credential","title":"ClickHouse Cloud API secret key","severity":"high","provider":"ClickHouse Cloud","what":"Finds ClickHouse Cloud API secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this ClickHouse Cloud API secret key at ClickHouse Cloud and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["4b1d"],"pattern":"\\b(4b1d[A-Za-z0-9]{38})\\b","entropy":3,"upstream":"clickhouse-cloud-api-secret-key"},"updated":"2026-10-13"},{"id":"secrets.clojars.api-token","slug":"clojars-api-token","area":"secrets","category":"credential","title":"Clojars API token","severity":"high","provider":"Clojars","what":"Finds Clojars API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Clojars API token at Clojars and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["clojars_"],"pattern":"(?i)CLOJARS_[a-z0-9]{60}","entropy":2,"upstream":"clojars-api-token"},"updated":"2026-10-13"},{"id":"secrets.cloudflare.api-key","slug":"cloudflare-api-key","area":"secrets","category":"credential","title":"Cloudflare API key","severity":"high","provider":"Cloudflare","what":"Finds Cloudflare API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Cloudflare API key at Cloudflare and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["cloudflare"],"pattern":"(?i)[\\w.-]{0,50}?(?:cloudflare)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9_-]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"cloudflare-api-key"},"updated":"2026-10-13"},{"id":"secrets.cloudflare.global-api-key","slug":"cloudflare-global-api-key","area":"secrets","category":"credential","title":"Cloudflare global API key","severity":"high","provider":"Cloudflare","what":"Finds Cloudflare global API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Cloudflare global API key at Cloudflare and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["cloudflare"],"pattern":"(?i)[\\w.-]{0,50}?(?:cloudflare)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-f0-9]{37})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"cloudflare-global-api-key"},"updated":"2026-10-13"},{"id":"secrets.cloudflare.origin-ca-key","slug":"cloudflare-origin-ca-key","area":"secrets","category":"credential","title":"Cloudflare origin CA key","severity":"high","provider":"Cloudflare","what":"Finds Cloudflare origin CA key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Cloudflare origin CA key at Cloudflare and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["cloudflare","v1.0-"],"pattern":"\\b(v1\\.0-[a-f0-9]{24}-[a-f0-9]{146})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"cloudflare-origin-ca-key"},"updated":"2026-10-13"},{"id":"secrets.codecov.access-token","slug":"codecov-access-token","area":"secrets","category":"credential","title":"Codecov access token","severity":"high","provider":"Codecov","what":"Finds Codecov access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Codecov access token at Codecov and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["codecov"],"pattern":"(?i)[\\w.-]{0,50}?(?:codecov)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"codecov-access-token"},"updated":"2026-10-13"},{"id":"secrets.cohere.api-token","slug":"cohere-api-token","area":"secrets","category":"credential","title":"Cohere API token","severity":"high","provider":"Cohere","what":"Finds Cohere API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Cohere API token at Cohere and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.cohere.com/v1/models","detection":{"keywords":["co_api_key","cohere"],"pattern":"[\\w.-]{0,50}?(?i:[\\w.-]{0,50}?(?:cohere|CO_API_KEY)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3})(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-zA-Z0-9]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":4,"upstream":"cohere-api-token"},"updated":"2026-11-11"},{"id":"secrets.coinbase.access-token","slug":"coinbase-access-token","area":"secrets","category":"credential","title":"Coinbase access token","severity":"high","provider":"Coinbase","what":"Finds Coinbase access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Coinbase access token at Coinbase and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["coinbase"],"pattern":"(?i)[\\w.-]{0,50}?(?:coinbase)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9_-]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"coinbase-access-token"},"updated":"2026-10-13"},{"id":"secrets.confluent.access-token","slug":"confluent-access-token","area":"secrets","category":"credential","title":"Confluent access token","severity":"high","provider":"Confluent","what":"Finds Confluent access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Confluent access token at Confluent and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["confluent"],"pattern":"(?i)[\\w.-]{0,50}?(?:confluent)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{16})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"confluent-access-token"},"updated":"2026-10-13"},{"id":"secrets.confluent.secret-key","slug":"confluent-secret-key","area":"secrets","category":"credential","title":"Confluent secret key","severity":"high","provider":"Confluent","what":"Finds Confluent secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Confluent secret key at Confluent and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["confluent"],"pattern":"(?i)[\\w.-]{0,50}?(?:confluent)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"confluent-secret-key"},"updated":"2026-10-13"},{"id":"secrets.contentful.delivery-api-token","slug":"contentful-delivery-api-token","area":"secrets","category":"credential","title":"Contentful delivery API token","severity":"high","provider":"Contentful","what":"Finds Contentful delivery API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Contentful delivery API token at Contentful and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["contentful"],"pattern":"(?i)[\\w.-]{0,50}?(?:contentful)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9=_\\-]{43})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"contentful-delivery-api-token"},"updated":"2026-10-13"},{"id":"secrets.databricks.api-token","slug":"databricks-api-token","area":"secrets","category":"credential","title":"Databricks API token","severity":"high","provider":"Databricks","what":"Finds Databricks API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Databricks API token at Databricks and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["dapi"],"pattern":"\\b(dapi[a-f0-9]{32}(?:-\\d)?)(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"databricks-api-token"},"updated":"2026-10-13"},{"id":"secrets.datadog.access-token","slug":"datadog-access-token","area":"secrets","category":"credential","title":"Datadog access token","severity":"high","provider":"Datadog","what":"Finds Datadog access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Datadog access token at Datadog and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["datadog"],"pattern":"(?i)[\\w.-]{0,50}?(?:datadog)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"datadog-access-token"},"updated":"2026-10-13"},{"id":"secrets.defined-networking.api-token","slug":"defined-networking-api-token","area":"secrets","category":"credential","title":"Defined Networking API token","severity":"high","provider":"Defined Networking","what":"Finds Defined Networking API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Defined Networking API token at Defined Networking and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["dnkey"],"pattern":"(?i)[\\w.-]{0,50}?(?:dnkey)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(dnkey-[a-z0-9=_\\-]{26}-[a-z0-9=_\\-]{52})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"defined-networking-api-token"},"updated":"2026-10-13"},{"id":"secrets.digitalocean.access-token","slug":"digitalocean-access-token","area":"secrets","category":"credential","title":"DigitalOcean access token","severity":"high","provider":"DigitalOcean","what":"Finds DigitalOcean access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this DigitalOcean access token at DigitalOcean and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.digitalocean.com/v2/account","detection":{"keywords":["doo_v1_"],"pattern":"\\b(doo_v1_[a-f0-9]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"digitalocean-access-token"},"updated":"2026-11-11"},{"id":"secrets.digitalocean.pat","slug":"digitalocean-pat","area":"secrets","category":"credential","title":"DigitalOcean personal access token","severity":"high","provider":"DigitalOcean","what":"Finds DigitalOcean personal access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this DigitalOcean personal access token at DigitalOcean and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.digitalocean.com/v2/account","detection":{"keywords":["dop_v1_"],"pattern":"\\b(dop_v1_[a-f0-9]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"digitalocean-pat"},"updated":"2026-10-13"},{"id":"secrets.digitalocean.refresh-token","slug":"digitalocean-refresh-token","area":"secrets","category":"credential","title":"DigitalOcean refresh token","severity":"high","provider":"DigitalOcean","what":"Finds DigitalOcean refresh token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this DigitalOcean refresh token at DigitalOcean and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["dor_v1_"],"pattern":"(?i)\\b(dor_v1_[a-f0-9]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"digitalocean-refresh-token"},"updated":"2026-10-13"},{"id":"secrets.discord.api-token","slug":"discord-api-token","area":"secrets","category":"credential","title":"Discord API token","severity":"high","provider":"Discord","what":"Finds Discord API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Discord API token at Discord and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["discord"],"pattern":"(?i)[\\w.-]{0,50}?(?:discord)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-f0-9]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"discord-api-token"},"updated":"2026-10-13"},{"id":"secrets.discord.client-secret","slug":"discord-client-secret","area":"secrets","category":"credential","title":"Discord client secret","severity":"high","provider":"Discord","what":"Finds Discord client secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Discord client secret at Discord and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["discord"],"pattern":"(?i)[\\w.-]{0,50}?(?:discord)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9=_\\-]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"discord-client-secret"},"updated":"2026-10-13"},{"id":"secrets.doppler.api-token","slug":"doppler-api-token","area":"secrets","category":"credential","title":"Doppler API token","severity":"high","provider":"Doppler","what":"Finds Doppler API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Doppler API token at Doppler and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.doppler.com/v3/me","detection":{"keywords":["dp.pt."],"pattern":"dp\\.pt\\.(?i)[a-z0-9]{43}","entropy":2,"upstream":"doppler-api-token"},"updated":"2026-11-11"},{"id":"secrets.droneci.access-token","slug":"droneci-access-token","area":"secrets","category":"credential","title":"Drone CI access token","severity":"high","provider":"Drone CI","what":"Finds Drone CI access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Drone CI access token at Drone CI and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["droneci"],"pattern":"(?i)[\\w.-]{0,50}?(?:droneci)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"droneci-access-token"},"updated":"2026-10-13"},{"id":"secrets.dropbox.api-token","slug":"dropbox-api-token","area":"secrets","category":"credential","title":"Dropbox API token","severity":"high","provider":"Dropbox","what":"Finds Dropbox API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Dropbox API token at Dropbox and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["dropbox"],"pattern":"(?i)[\\w.-]{0,50}?(?:dropbox)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{15})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"dropbox-api-token"},"updated":"2026-10-13"},{"id":"secrets.dropbox.long-lived-api-token","slug":"dropbox-long-lived-api-token","area":"secrets","category":"credential","title":"Dropbox long lived API token","severity":"high","provider":"Dropbox","what":"Finds Dropbox long lived API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Dropbox long lived API token at Dropbox and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"POST https://api.dropboxapi.com/2/users/get_current_account","detection":{"keywords":["dropbox"],"pattern":"(?i)[\\w.-]{0,50}?(?:dropbox)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{11}(AAAAAAAAAA)[a-z0-9\\-_=]{43})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"dropbox-long-lived-api-token"},"updated":"2026-11-11"},{"id":"secrets.dropbox.short-lived-api-token","slug":"dropbox-short-lived-api-token","area":"secrets","category":"credential","title":"Dropbox short lived API token","severity":"high","provider":"Dropbox","what":"Finds Dropbox short lived API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Dropbox short lived API token at Dropbox and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"POST https://api.dropboxapi.com/2/users/get_current_account","detection":{"keywords":["dropbox"],"pattern":"(?i)[\\w.-]{0,50}?(?:dropbox)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(sl\\.[a-z0-9\\-=_]{135})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"dropbox-short-lived-api-token"},"updated":"2026-11-11"},{"id":"secrets.duffel.api-token","slug":"duffel-api-token","area":"secrets","category":"credential","title":"Duffel API token","severity":"high","provider":"Duffel","what":"Finds Duffel API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Duffel API token at Duffel and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["duffel_"],"pattern":"duffel_(?:test|live)_(?i)[a-z0-9_\\-=]{43}","entropy":2,"upstream":"duffel-api-token"},"updated":"2026-10-13"},{"id":"secrets.dynatrace.api-token","slug":"dynatrace-api-token","area":"secrets","category":"credential","title":"Dynatrace API token","severity":"high","provider":"Dynatrace","what":"Finds Dynatrace API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Dynatrace API token at Dynatrace and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["dt0c01."],"pattern":"dt0c01\\.(?i)[a-z0-9]{24}\\.[a-z0-9]{64}","entropy":4,"upstream":"dynatrace-api-token"},"updated":"2026-10-13"},{"id":"secrets.easypost.api-token","slug":"easypost-api-token","area":"secrets","category":"credential","title":"EasyPost API token","severity":"high","provider":"EasyPost","what":"Finds EasyPost API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this EasyPost API token at EasyPost and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["ezak"],"pattern":"\\bEZAK(?i)[a-z0-9]{54}\\b","entropy":2,"upstream":"easypost-api-token"},"updated":"2026-10-13"},{"id":"secrets.easypost.test-api-token","slug":"easypost-test-api-token","area":"secrets","category":"credential","title":"EasyPost test API token","severity":"high","provider":"EasyPost","what":"Finds EasyPost test API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this EasyPost test API token at EasyPost and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["eztk"],"pattern":"\\bEZTK(?i)[a-z0-9]{54}\\b","entropy":2,"upstream":"easypost-test-api-token"},"updated":"2026-10-13"},{"id":"secrets.etsy.access-token","slug":"etsy-access-token","area":"secrets","category":"credential","title":"Etsy access token","severity":"high","provider":"Etsy","what":"Finds Etsy access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Etsy access token at Etsy and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["etsy"],"pattern":"(?i)[\\w.-]{0,50}?(?:(?-i:ETSY|[Ee]tsy))(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{24})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"etsy-access-token"},"updated":"2026-10-13"},{"id":"secrets.facebook.access-token","slug":"facebook-access-token","area":"secrets","category":"credential","title":"Facebook access token","severity":"high","provider":"Facebook","what":"Finds Facebook access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Facebook access token at Facebook and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["facebook"],"pattern":"(?i)\\b(\\d{15,16}(\\||%)[0-9a-z\\-_]{27,40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"facebook-access-token"},"updated":"2026-10-13"},{"id":"secrets.facebook.page-access-token","slug":"facebook-page-access-token","area":"secrets","category":"credential","title":"Facebook page access token","severity":"high","provider":"Facebook","what":"Finds Facebook page access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Facebook page access token at Facebook and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["eaac","eaam"],"pattern":"\\b(EAA[MC](?i)[a-z0-9]{100,})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":4,"upstream":"facebook-page-access-token"},"updated":"2026-10-13"},{"id":"secrets.facebook.secret","slug":"facebook-secret","area":"secrets","category":"credential","title":"Facebook secret","severity":"high","provider":"Facebook","what":"Finds Facebook secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Facebook secret at Facebook and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["facebook"],"pattern":"(?i)[\\w.-]{0,50}?(?:facebook)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-f0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"facebook-secret"},"updated":"2026-10-13"},{"id":"secrets.fastly.api-token","slug":"fastly-api-token","area":"secrets","category":"credential","title":"Fastly API token","severity":"high","provider":"Fastly","what":"Finds Fastly API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Fastly API token at Fastly and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.fastly.com/tokens/self","detection":{"keywords":["fastly"],"pattern":"(?i)[\\w.-]{0,50}?(?:fastly)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9=_\\-]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"fastly-api-token"},"updated":"2026-11-11"},{"id":"secrets.finicity.api-token","slug":"finicity-api-token","area":"secrets","category":"credential","title":"Finicity API token","severity":"high","provider":"Finicity","what":"Finds Finicity API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Finicity API token at Finicity and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["finicity"],"pattern":"(?i)[\\w.-]{0,50}?(?:finicity)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-f0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"finicity-api-token"},"updated":"2026-10-13"},{"id":"secrets.finicity.client-secret","slug":"finicity-client-secret","area":"secrets","category":"credential","title":"Finicity client secret","severity":"high","provider":"Finicity","what":"Finds Finicity client secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Finicity client secret at Finicity and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["finicity"],"pattern":"(?i)[\\w.-]{0,50}?(?:finicity)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{20})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"finicity-client-secret"},"updated":"2026-10-13"},{"id":"secrets.finnhub.access-token","slug":"finnhub-access-token","area":"secrets","category":"credential","title":"Finnhub access token","severity":"high","provider":"Finnhub","what":"Finds Finnhub access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Finnhub access token at Finnhub and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["finnhub"],"pattern":"(?i)[\\w.-]{0,50}?(?:finnhub)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{20})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"finnhub-access-token"},"updated":"2026-10-13"},{"id":"secrets.flickr.access-token","slug":"flickr-access-token","area":"secrets","category":"credential","title":"Flickr access token","severity":"high","provider":"Flickr","what":"Finds Flickr access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Flickr access token at Flickr and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["flickr"],"pattern":"(?i)[\\w.-]{0,50}?(?:flickr)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"flickr-access-token"},"updated":"2026-10-13"},{"id":"secrets.flutterwave.encryption-key","slug":"flutterwave-encryption-key","area":"secrets","category":"credential","title":"Flutterwave encryption key","severity":"high","provider":"Flutterwave","what":"Finds Flutterwave encryption key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Flutterwave encryption key at Flutterwave and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["flwseck_test"],"pattern":"FLWSECK_TEST-(?i)[a-h0-9]{12}","entropy":2,"upstream":"flutterwave-encryption-key"},"updated":"2026-10-13"},{"id":"secrets.flutterwave.secret-key","slug":"flutterwave-secret-key","area":"secrets","category":"credential","title":"Flutterwave secret key","severity":"high","provider":"Flutterwave","what":"Finds Flutterwave secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Flutterwave secret key at Flutterwave and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["flwseck_test"],"pattern":"FLWSECK_TEST-(?i)[a-h0-9]{32}-X","entropy":2,"upstream":"flutterwave-secret-key"},"updated":"2026-10-13"},{"id":"secrets.flyio.access-token","slug":"flyio-access-token","area":"secrets","category":"credential","title":"Fly.io access token","severity":"high","provider":"Fly.io","what":"Finds Fly.io access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Fly.io access token at Fly.io and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["fm1","fm2_","fo1_"],"pattern":"\\b((?:fo1_[\\w-]{43}|fm1[ar]_[a-zA-Z0-9+\\/]{100,}={0,3}|fm2_[a-zA-Z0-9+\\/]{100,}={0,3}))(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":4,"upstream":"flyio-access-token"},"updated":"2026-10-13"},{"id":"secrets.frameio.api-token","slug":"frameio-api-token","area":"secrets","category":"credential","title":"Frame.io API token","severity":"high","provider":"Frame.io","what":"Finds Frame.io API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Frame.io API token at Frame.io and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["fio-u-"],"pattern":"fio-u-(?i)[a-z0-9\\-_=]{64}","upstream":"frameio-api-token"},"updated":"2026-10-13"},{"id":"secrets.freshbooks.access-token","slug":"freshbooks-access-token","area":"secrets","category":"credential","title":"FreshBooks access token","severity":"high","provider":"FreshBooks","what":"Finds FreshBooks access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this FreshBooks access token at FreshBooks and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["freshbooks"],"pattern":"(?i)[\\w.-]{0,50}?(?:freshbooks)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"freshbooks-access-token"},"updated":"2026-10-13"},{"id":"secrets.github.fine-grained-pat","slug":"github-fine-grained-pat","area":"secrets","category":"credential","title":"GitHub fine grained personal access token","severity":"high","provider":"GitHub","what":"Finds GitHub fine grained personal access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitHub fine grained personal access token at GitHub and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.github.com/user","detection":{"keywords":["github_pat_"],"pattern":"github_pat_\\w{82}","entropy":3,"upstream":"github-fine-grained-pat"},"updated":"2026-10-13"},{"id":"secrets.gitlab.cicd-job-token","slug":"gitlab-cicd-job-token","area":"secrets","category":"credential","title":"GitLab CI/CD job token","severity":"high","provider":"GitLab","what":"Finds GitLab CI/CD job token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab CI/CD job token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glcbt-"],"pattern":"glcbt-[0-9a-zA-Z]{1,5}_[0-9a-zA-Z_-]{20}","entropy":3,"upstream":"gitlab-cicd-job-token"},"updated":"2026-10-13"},{"id":"secrets.gitlab.deploy-token","slug":"gitlab-deploy-token","area":"secrets","category":"credential","title":"GitLab deploy token","severity":"high","provider":"GitLab","what":"Finds GitLab deploy token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab deploy token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["gldt-"],"pattern":"gldt-[0-9a-zA-Z_\\-]{20}","entropy":3,"upstream":"gitlab-deploy-token"},"updated":"2026-10-13"},{"id":"secrets.gitlab.feature-flag-client-token","slug":"gitlab-feature-flag-client-token","area":"secrets","category":"credential","title":"GitLab feature flag client token","severity":"high","provider":"GitLab","what":"Finds GitLab feature flag client token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab feature flag client token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glffct-"],"pattern":"glffct-[0-9a-zA-Z_\\-]{20}","entropy":3,"upstream":"gitlab-feature-flag-client-token"},"updated":"2026-10-13"},{"id":"secrets.gitlab.feed-token","slug":"gitlab-feed-token","area":"secrets","category":"credential","title":"GitLab feed token","severity":"high","provider":"GitLab","what":"Finds GitLab feed token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab feed token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glft-"],"pattern":"glft-[0-9a-zA-Z_\\-]{20}","entropy":3,"upstream":"gitlab-feed-token"},"updated":"2026-10-13"},{"id":"secrets.gitlab.incoming-mail-token","slug":"gitlab-incoming-mail-token","area":"secrets","category":"credential","title":"GitLab incoming mail token","severity":"high","provider":"GitLab","what":"Finds GitLab incoming mail token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab incoming mail token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glimt-"],"pattern":"glimt-[0-9a-zA-Z_\\-]{25}","entropy":3,"upstream":"gitlab-incoming-mail-token"},"updated":"2026-10-13"},{"id":"secrets.gitlab.kubernetes-agent-token","slug":"gitlab-kubernetes-agent-token","area":"secrets","category":"credential","title":"GitLab kubernetes agent token","severity":"high","provider":"GitLab","what":"Finds GitLab kubernetes agent token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab kubernetes agent token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glagent-"],"pattern":"glagent-[0-9a-zA-Z_\\-]{50}","entropy":3,"upstream":"gitlab-kubernetes-agent-token"},"updated":"2026-10-13"},{"id":"secrets.gitlab.oauth-app-secret","slug":"gitlab-oauth-app-secret","area":"secrets","category":"credential","title":"GitLab OAuth app secret","severity":"high","provider":"GitLab","what":"Finds GitLab OAuth app secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab OAuth app secret at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["gloas-"],"pattern":"gloas-[0-9a-zA-Z_\\-]{64}","entropy":3,"upstream":"gitlab-oauth-app-secret"},"updated":"2026-10-13"},{"id":"secrets.gitlab.pat-routable","slug":"gitlab-pat-routable","area":"secrets","category":"credential","title":"GitLab personal access token routable","severity":"high","provider":"GitLab","what":"Finds GitLab personal access token routable values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab personal access token routable at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glpat-"],"pattern":"\\bglpat-[0-9a-zA-Z_-]{27,300}\\.[0-9a-z]{2}[0-9a-z]{7}\\b","entropy":4,"upstream":"gitlab-pat-routable"},"updated":"2026-10-13"},{"id":"secrets.gitlab.ptt","slug":"gitlab-ptt","area":"secrets","category":"credential","title":"GitLab pipeline trigger token","severity":"high","provider":"GitLab","what":"Finds GitLab pipeline trigger token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab pipeline trigger token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glptt-"],"pattern":"glptt-[0-9a-f]{40}","entropy":3,"upstream":"gitlab-ptt"},"updated":"2026-10-13"},{"id":"secrets.gitlab.rrt","slug":"gitlab-rrt","area":"secrets","category":"credential","title":"GitLab runner registration token","severity":"high","provider":"GitLab","what":"Finds GitLab runner registration token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab runner registration token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["gr1348941"],"pattern":"GR1348941[\\w-]{20}","entropy":3,"upstream":"gitlab-rrt"},"updated":"2026-10-13"},{"id":"secrets.gitlab.runner-authentication-token","slug":"gitlab-runner-authentication-token","area":"secrets","category":"credential","title":"GitLab runner authentication token","severity":"high","provider":"GitLab","what":"Finds GitLab runner authentication token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab runner authentication token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glrt-"],"pattern":"glrt-[0-9a-zA-Z_\\-]{20}","entropy":3,"upstream":"gitlab-runner-authentication-token"},"updated":"2026-10-13"},{"id":"secrets.gitlab.runner-authentication-token-routable","slug":"gitlab-runner-authentication-token-routable","area":"secrets","category":"credential","title":"GitLab runner authentication token routable","severity":"high","provider":"GitLab","what":"Finds GitLab runner authentication token routable values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab runner authentication token routable at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glrt-"],"pattern":"\\bglrt-t\\d_[0-9a-zA-Z_\\-]{27,300}\\.[0-9a-z]{2}[0-9a-z]{7}\\b","entropy":4,"upstream":"gitlab-runner-authentication-token-routable"},"updated":"2026-10-13"},{"id":"secrets.gitlab.scim-token","slug":"gitlab-scim-token","area":"secrets","category":"credential","title":"GitLab SCIM token","severity":"high","provider":"GitLab","what":"Finds GitLab SCIM token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab SCIM token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glsoat-"],"pattern":"glsoat-[0-9a-zA-Z_\\-]{20}","entropy":3,"upstream":"gitlab-scim-token"},"updated":"2026-10-13"},{"id":"secrets.gitlab.session-cookie","slug":"gitlab-session-cookie","area":"secrets","category":"credential","title":"GitLab session cookie","severity":"high","provider":"GitLab","what":"Finds GitLab session cookie values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GitLab session cookie at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["_gitlab_session="],"pattern":"_gitlab_session=[0-9a-z]{32}","entropy":3,"upstream":"gitlab-session-cookie"},"updated":"2026-10-13"},{"id":"secrets.gitter.access-token","slug":"gitter-access-token","area":"secrets","category":"credential","title":"Gitter access token","severity":"high","provider":"Gitter","what":"Finds Gitter access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Gitter access token at Gitter and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["gitter"],"pattern":"(?i)[\\w.-]{0,50}?(?:gitter)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9_-]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"gitter-access-token"},"updated":"2026-10-13"},{"id":"secrets.gocardless.api-token","slug":"gocardless-api-token","area":"secrets","category":"credential","title":"GoCardless API token","severity":"high","provider":"GoCardless","what":"Finds GoCardless API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this GoCardless API token at GoCardless and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["gocardless","live_"],"pattern":"(?i)[\\w.-]{0,50}?(?:gocardless)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(live_(?i)[a-z0-9\\-_=]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"gocardless-api-token"},"updated":"2026-10-13"},{"id":"secrets.grafana-cloud.api-token","slug":"grafana-cloud-api-token","area":"secrets","category":"credential","title":"Grafana Cloud API token","severity":"high","provider":"Grafana Cloud","what":"Finds Grafana Cloud API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Grafana Cloud API token at Grafana Cloud and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glc_"],"pattern":"(?i)\\b(glc_[A-Za-z0-9+/]{32,400}={0,3})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"grafana-cloud-api-token"},"updated":"2026-10-13"},{"id":"secrets.grafana.api-key","slug":"grafana-api-key","area":"secrets","category":"credential","title":"Grafana API key","severity":"high","provider":"Grafana","what":"Finds Grafana API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Grafana API key at Grafana and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["eyjrijoi"],"pattern":"(?i)\\b(eyJrIjoi[A-Za-z0-9]{70,400}={0,3})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"grafana-api-key"},"updated":"2026-10-13"},{"id":"secrets.grafana.service-account-token","slug":"grafana-service-account-token","area":"secrets","category":"credential","title":"Grafana service account token","severity":"high","provider":"Grafana","what":"Finds Grafana service account token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Grafana service account token at Grafana and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["glsa_"],"pattern":"(?i)\\b(glsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"grafana-service-account-token"},"updated":"2026-10-13"},{"id":"secrets.harness.api-key","slug":"harness-api-key","area":"secrets","category":"credential","title":"Harness API key","severity":"high","provider":"Harness","what":"Finds Harness API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Harness API key at Harness and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["pat.","sat."],"pattern":"(?:pat|sat)\\.[a-zA-Z0-9_-]{22}\\.[a-zA-Z0-9]{24}\\.[a-zA-Z0-9]{20}","upstream":"harness-api-key"},"updated":"2026-10-13"},{"id":"secrets.hashicorp-tf.api-token","slug":"hashicorp-tf-api-token","area":"secrets","category":"credential","title":"HCP Terraform API token","severity":"high","provider":"HCP Terraform","what":"Finds HCP Terraform API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this HCP Terraform API token at HCP Terraform and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["atlasv1"],"pattern":"(?i)[a-z0-9]{14}\\.(?-i:atlasv1)\\.[a-z0-9\\-_=]{60,70}","entropy":3.5,"upstream":"hashicorp-tf-api-token"},"updated":"2026-10-13"},{"id":"secrets.heroku.api-key","slug":"heroku-api-key","area":"secrets","category":"credential","title":"Heroku API key","severity":"high","provider":"Heroku","what":"Finds Heroku API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Heroku API key at Heroku and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.heroku.com/account","detection":{"keywords":["heroku"],"pattern":"(?i)[\\w.-]{0,50}?(?:heroku)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"heroku-api-key"},"updated":"2026-10-13"},{"id":"secrets.heroku.api-key-v2","slug":"heroku-api-key-v2","area":"secrets","category":"credential","title":"Heroku API key (v2)","severity":"high","provider":"Heroku","what":"Finds Heroku API key (v2) values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Heroku API key (v2) at Heroku and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.heroku.com/account","detection":{"keywords":["hrku-aa"],"pattern":"\\b((HRKU-AA[0-9a-zA-Z_-]{58}))(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":4,"upstream":"heroku-api-key-v2"},"updated":"2026-10-13"},{"id":"secrets.hubspot.api-key","slug":"hubspot-api-key","area":"secrets","category":"credential","title":"HubSpot API key","severity":"high","provider":"HubSpot","what":"Finds HubSpot API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this HubSpot API key at HubSpot and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["hubspot"],"pattern":"(?i)[\\w.-]{0,50}?(?:hubspot)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"hubspot-api-key"},"updated":"2026-10-13"},{"id":"secrets.huggingface.access-token","slug":"huggingface-access-token","area":"secrets","category":"credential","title":"Hugging Face access token","severity":"high","provider":"Hugging Face","what":"Finds Hugging Face access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Hugging Face access token at Hugging Face and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://huggingface.co/api/whoami-v2","detection":{"keywords":["hf_"],"pattern":"\\b(hf_(?i:[a-z]{34}))(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"huggingface-access-token"},"updated":"2026-10-13"},{"id":"secrets.huggingface.organization-api-token","slug":"huggingface-organization-api-token","area":"secrets","category":"credential","title":"Hugging Face organization API token","severity":"high","provider":"Hugging Face","what":"Finds Hugging Face organization API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Hugging Face organization API token at Hugging Face and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["api_org_"],"pattern":"\\b(api_org_(?i:[a-z]{34}))(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"huggingface-organization-api-token"},"updated":"2026-10-13"},{"id":"secrets.infracost.api-token","slug":"infracost-api-token","area":"secrets","category":"credential","title":"Infracost API token","severity":"high","provider":"Infracost","what":"Finds Infracost API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Infracost API token at Infracost and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["ico-"],"pattern":"\\b(ico-[a-zA-Z0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"infracost-api-token"},"updated":"2026-10-13"},{"id":"secrets.intercom.api-key","slug":"intercom-api-key","area":"secrets","category":"credential","title":"Intercom API key","severity":"high","provider":"Intercom","what":"Finds Intercom API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Intercom API key at Intercom and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["intercom"],"pattern":"(?i)[\\w.-]{0,50}?(?:intercom)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9=_\\-]{60})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"intercom-api-key"},"updated":"2026-10-13"},{"id":"secrets.intra42.client-secret","slug":"intra42-client-secret","area":"secrets","category":"credential","title":"Intra42 client secret","severity":"high","provider":"Intra42","what":"Finds Intra42 client secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Intra42 client secret at Intra42 and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["intra","s-s4t2af-","s-s4t2ud-"],"pattern":"\\b(s-s4t2(?:ud|af)-(?i)[abcdef0123456789]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"intra42-client-secret"},"updated":"2026-10-13"},{"id":"secrets.jfrog.api-key","slug":"jfrog-api-key","area":"secrets","category":"credential","title":"JFrog API key","severity":"high","provider":"JFrog","what":"Finds JFrog API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this JFrog API key at JFrog and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["artifactory","bintray","jfrog","xray"],"pattern":"(?i)[\\w.-]{0,50}?(?:jfrog|artifactory|bintray|xray)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{73})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"jfrog-api-key"},"updated":"2026-10-13"},{"id":"secrets.jfrog.identity-token","slug":"jfrog-identity-token","area":"secrets","category":"credential","title":"JFrog identity token","severity":"high","provider":"JFrog","what":"Finds JFrog identity token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this JFrog identity token at JFrog and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["artifactory","bintray","jfrog","xray"],"pattern":"(?i)[\\w.-]{0,50}?(?:jfrog|artifactory|bintray|xray)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"jfrog-identity-token"},"updated":"2026-10-13"},{"id":"secrets.kraken.access-token","slug":"kraken-access-token","area":"secrets","category":"credential","title":"Kraken access token","severity":"high","provider":"Kraken","what":"Finds Kraken access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Kraken access token at Kraken and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["kraken"],"pattern":"(?i)[\\w.-]{0,50}?(?:kraken)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9\\/=_\\+\\-]{80,90})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"kraken-access-token"},"updated":"2026-10-13"},{"id":"secrets.kucoin.access-token","slug":"kucoin-access-token","area":"secrets","category":"credential","title":"KuCoin access token","severity":"high","provider":"KuCoin","what":"Finds KuCoin access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this KuCoin access token at KuCoin and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["kucoin"],"pattern":"(?i)[\\w.-]{0,50}?(?:kucoin)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-f0-9]{24})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"kucoin-access-token"},"updated":"2026-10-13"},{"id":"secrets.kucoin.secret-key","slug":"kucoin-secret-key","area":"secrets","category":"credential","title":"KuCoin secret key","severity":"high","provider":"KuCoin","what":"Finds KuCoin secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this KuCoin secret key at KuCoin and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["kucoin"],"pattern":"(?i)[\\w.-]{0,50}?(?:kucoin)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"kucoin-secret-key"},"updated":"2026-10-13"},{"id":"secrets.launchdarkly.access-token","slug":"launchdarkly-access-token","area":"secrets","category":"credential","title":"LaunchDarkly access token","severity":"high","provider":"LaunchDarkly","what":"Finds LaunchDarkly access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this LaunchDarkly access token at LaunchDarkly and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["launchdarkly"],"pattern":"(?i)[\\w.-]{0,50}?(?:launchdarkly)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9=_\\-]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"launchdarkly-access-token"},"updated":"2026-10-13"},{"id":"secrets.linear.api-key","slug":"linear-api-key","area":"secrets","category":"credential","title":"Linear API key","severity":"high","provider":"Linear","what":"Finds Linear API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Linear API key at Linear and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["lin_api_"],"pattern":"lin_api_(?i)[a-z0-9]{40}","entropy":2,"upstream":"linear-api-key"},"updated":"2026-10-13"},{"id":"secrets.linear.client-secret","slug":"linear-client-secret","area":"secrets","category":"credential","title":"Linear client secret","severity":"high","provider":"Linear","what":"Finds Linear client secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Linear client secret at Linear and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["linear"],"pattern":"(?i)[\\w.-]{0,50}?(?:linear)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-f0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"linear-client-secret"},"updated":"2026-10-13"},{"id":"secrets.linkedin.client-secret","slug":"linkedin-client-secret","area":"secrets","category":"credential","title":"LinkedIn client secret","severity":"high","provider":"LinkedIn","what":"Finds LinkedIn client secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this LinkedIn client secret at LinkedIn and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["linked-in","linked_in","linkedin"],"pattern":"(?i)[\\w.-]{0,50}?(?:linked[_-]?in)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{16})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"linkedin-client-secret"},"updated":"2026-10-13"},{"id":"secrets.lob.api-key","slug":"lob-api-key","area":"secrets","category":"credential","title":"Lob API key","severity":"high","provider":"Lob","what":"Finds Lob API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Lob API key at Lob and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["live_","test_"],"pattern":"(?i)[\\w.-]{0,50}?(?:lob)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}((live|test)_[a-f0-9]{35})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"lob-api-key"},"updated":"2026-10-13"},{"id":"secrets.looker.client-secret","slug":"looker-client-secret","area":"secrets","category":"credential","title":"Looker client secret","severity":"high","provider":"Looker","what":"Finds Looker client secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Looker client secret at Looker and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["looker"],"pattern":"(?i)[\\w.-]{0,50}?(?:looker)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{24})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"looker-client-secret"},"updated":"2026-10-13"},{"id":"secrets.mailchimp.api-key","slug":"mailchimp-api-key","area":"secrets","category":"credential","title":"Mailchimp API key","severity":"high","provider":"Mailchimp","what":"Finds Mailchimp API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Mailchimp API key at Mailchimp and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["mailchimp"],"pattern":"(?i)[\\w.-]{0,50}?(?:MailchimpSDK.initialize|mailchimp)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-f0-9]{32}-us\\d\\d)(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"mailchimp-api-key"},"updated":"2026-10-13"},{"id":"secrets.mailgun.private-api-token","slug":"mailgun-private-api-token","area":"secrets","category":"credential","title":"Mailgun private API token","severity":"high","provider":"Mailgun","what":"Finds Mailgun private API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Mailgun private API token at Mailgun and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["mailgun"],"pattern":"(?i)[\\w.-]{0,50}?(?:mailgun)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(key-[a-f0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"mailgun-private-api-token"},"updated":"2026-10-13"},{"id":"secrets.mailgun.signing-key","slug":"mailgun-signing-key","area":"secrets","category":"credential","title":"Mailgun signing key","severity":"high","provider":"Mailgun","what":"Finds Mailgun signing key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Mailgun signing key at Mailgun and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["mailgun"],"pattern":"(?i)[\\w.-]{0,50}?(?:mailgun)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-h0-9]{32}-[a-h0-9]{8}-[a-h0-9]{8})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"mailgun-signing-key"},"updated":"2026-10-13"},{"id":"secrets.mapbox.api-token","slug":"mapbox-api-token","area":"secrets","category":"credential","title":"Mapbox API token","severity":"high","provider":"Mapbox","what":"Finds Mapbox API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Mapbox API token at Mapbox and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["mapbox"],"pattern":"(?i)[\\w.-]{0,50}?(?:mapbox)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(pk\\.[a-z0-9]{60}\\.[a-z0-9]{22})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"mapbox-api-token"},"updated":"2026-10-13"},{"id":"secrets.mattermost.access-token","slug":"mattermost-access-token","area":"secrets","category":"credential","title":"Mattermost access token","severity":"high","provider":"Mattermost","what":"Finds Mattermost access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Mattermost access token at Mattermost and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["mattermost"],"pattern":"(?i)[\\w.-]{0,50}?(?:mattermost)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{26})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"mattermost-access-token"},"updated":"2026-10-13"},{"id":"secrets.maxmind.license-key","slug":"maxmind-license-key","area":"secrets","category":"credential","title":"MaxMind license key","severity":"high","provider":"MaxMind","what":"Finds MaxMind license key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this MaxMind license key at MaxMind and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["_mmk"],"pattern":"\\b([A-Za-z0-9]{6}_[A-Za-z0-9]{29}_mmk)(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":4,"upstream":"maxmind-license-key"},"updated":"2026-10-13"},{"id":"secrets.messagebird.api-token","slug":"messagebird-api-token","area":"secrets","category":"credential","title":"MessageBird API token","severity":"high","provider":"MessageBird","what":"Finds MessageBird API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this MessageBird API token at MessageBird and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["message-bird","message_bird","messagebird"],"pattern":"(?i)[\\w.-]{0,50}?(?:message[_-]?bird)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{25})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"messagebird-api-token"},"updated":"2026-10-13"},{"id":"secrets.microsoft-teams.webhook","slug":"microsoft-teams-webhook","area":"secrets","category":"credential","title":"Microsoft Teams webhook","severity":"high","provider":"Microsoft Teams","what":"Finds Microsoft Teams webhook values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Microsoft Teams webhook at Microsoft Teams and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["incomingwebhook","webhook.office.com","webhookb2"],"pattern":"https://[a-z0-9]+\\.webhook\\.office\\.com/webhookb2/[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}@[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}/IncomingWebhook/[a-z0-9]{32}/[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}","upstream":"microsoft-teams-webhook"},"updated":"2026-10-13"},{"id":"secrets.netlify.access-token","slug":"netlify-access-token","area":"secrets","category":"credential","title":"Netlify access token","severity":"high","provider":"Netlify","what":"Finds Netlify access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Netlify access token at Netlify and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.netlify.com/api/v1/user","detection":{"keywords":["netlify"],"pattern":"(?i)[\\w.-]{0,50}?(?:netlify)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9=_\\-]{40,46})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"netlify-access-token"},"updated":"2026-11-11"},{"id":"secrets.new-relic.insert-key","slug":"new-relic-insert-key","area":"secrets","category":"credential","title":"New Relic insert key","severity":"high","provider":"New Relic","what":"Finds New Relic insert key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this New Relic insert key at New Relic and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["nrii-"],"pattern":"(?i)[\\w.-]{0,50}?(?:new-relic|newrelic|new_relic)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(NRII-[a-z0-9-]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"new-relic-insert-key"},"updated":"2026-10-13"},{"id":"secrets.new-relic.user-api-key","slug":"new-relic-user-api-key","area":"secrets","category":"credential","title":"New Relic user API key","severity":"high","provider":"New Relic","what":"Finds New Relic user API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this New Relic user API key at New Relic and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["nrak"],"pattern":"(?i)[\\w.-]{0,50}?(?:new-relic|newrelic|new_relic)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(NRAK-[a-z0-9]{27})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"new-relic-user-api-key"},"updated":"2026-10-13"},{"id":"secrets.notion.api-token","slug":"notion-api-token","area":"secrets","category":"credential","title":"Notion API token","severity":"high","provider":"Notion","what":"Finds Notion API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Notion API token at Notion and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.notion.com/v1/users/me","detection":{"keywords":["ntn_"],"pattern":"\\b(ntn_[0-9]{11}[A-Za-z0-9]{32}[A-Za-z0-9]{3})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":4,"upstream":"notion-api-token"},"updated":"2026-10-13"},{"id":"secrets.nytimes.access-token","slug":"nytimes-access-token","area":"secrets","category":"credential","title":"New York Times access token","severity":"high","provider":"New York Times","what":"Finds New York Times access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this New York Times access token at New York Times and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["new-york-times","newyorktimes","nytimes"],"pattern":"(?i)[\\w.-]{0,50}?(?:nytimes|new-york-times,|newyorktimes)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9=_\\-]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"nytimes-access-token"},"updated":"2026-10-13"},{"id":"secrets.octopus-deploy.api-key","slug":"octopus-deploy-api-key","area":"secrets","category":"credential","title":"Octopus Deploy API key","severity":"high","provider":"Octopus Deploy","what":"Finds Octopus Deploy API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Octopus Deploy API key at Octopus Deploy and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["api-"],"pattern":"\\b(API-[A-Z0-9]{26})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"octopus-deploy-api-key"},"updated":"2026-10-13"},{"id":"secrets.okta.access-token","slug":"okta-access-token","area":"secrets","category":"credential","title":"Okta access token","severity":"high","provider":"Okta","what":"Finds Okta access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Okta access token at Okta and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["okta"],"pattern":"[\\w.-]{0,50}?(?i:[\\w.-]{0,50}?(?:(?-i:[Oo]kta|OKTA))(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3})(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(00[\\w=\\-]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":4,"upstream":"okta-access-token"},"updated":"2026-10-13"},{"id":"secrets.openai.api-key","slug":"openai-api-key","area":"secrets","category":"credential","title":"OpenAI API key","severity":"high","provider":"OpenAI","what":"Finds OpenAI API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this OpenAI API key at OpenAI and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.openai.com/v1/models","detection":{"keywords":["t3blbkfj"],"pattern":"\\b(sk-(?:proj|svcacct|admin)-(?:[A-Za-z0-9_-]{74}|[A-Za-z0-9_-]{58})T3BlbkFJ(?:[A-Za-z0-9_-]{74}|[A-Za-z0-9_-]{58})\\b|sk-[a-zA-Z0-9]{20}T3BlbkFJ[a-zA-Z0-9]{20})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"openai-api-key"},"updated":"2026-10-13"},{"id":"secrets.openshift.user-token","slug":"openshift-user-token","area":"secrets","category":"credential","title":"OpenShift user token","severity":"high","provider":"OpenShift","what":"Finds OpenShift user token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this OpenShift user token at OpenShift and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sha256~"],"pattern":"\\b(sha256~[\\w-]{43})(?:[^\\w-]|\\z)","entropy":3.5,"upstream":"openshift-user-token"},"updated":"2026-10-13"},{"id":"secrets.perplexity.api-key","slug":"perplexity-api-key","area":"secrets","category":"credential","title":"Perplexity API key","severity":"high","provider":"Perplexity","what":"Finds Perplexity API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Perplexity API key at Perplexity and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["pplx-"],"pattern":"\\b(pplx-[a-zA-Z0-9]{48})(?:[\\x60'\"\\s;]|\\\\[nr]|$|\\b)","entropy":4,"upstream":"perplexity-api-key"},"updated":"2026-10-13"},{"id":"secrets.plaid.api-token","slug":"plaid-api-token","area":"secrets","category":"credential","title":"Plaid API token","severity":"high","provider":"Plaid","what":"Finds Plaid API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Plaid API token at Plaid and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["plaid"],"pattern":"(?i)[\\w.-]{0,50}?(?:plaid)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(access-(?:sandbox|development|production)-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"plaid-api-token"},"updated":"2026-10-13"},{"id":"secrets.plaid.secret-key","slug":"plaid-secret-key","area":"secrets","category":"credential","title":"Plaid secret key","severity":"high","provider":"Plaid","what":"Finds Plaid secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Plaid secret key at Plaid and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["plaid"],"pattern":"(?i)[\\w.-]{0,50}?(?:plaid)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{30})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3.5,"upstream":"plaid-secret-key"},"updated":"2026-10-13"},{"id":"secrets.planetscale.api-token","slug":"planetscale-api-token","area":"secrets","category":"credential","title":"PlanetScale API token","severity":"high","provider":"PlanetScale","what":"Finds PlanetScale API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this PlanetScale API token at PlanetScale and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["pscale_tkn_"],"pattern":"\\b(pscale_tkn_(?i)[\\w=\\.-]{32,64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"planetscale-api-token"},"updated":"2026-10-13"},{"id":"secrets.planetscale.oauth-token","slug":"planetscale-oauth-token","area":"secrets","category":"credential","title":"PlanetScale OAuth token","severity":"high","provider":"PlanetScale","what":"Finds PlanetScale OAuth token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this PlanetScale OAuth token at PlanetScale and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["pscale_oauth_"],"pattern":"\\b(pscale_oauth_[\\w=\\.-]{32,64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"planetscale-oauth-token"},"updated":"2026-10-13"},{"id":"secrets.planetscale.password","slug":"planetscale-password","area":"secrets","category":"credential","title":"PlanetScale password","severity":"high","provider":"PlanetScale","what":"Finds PlanetScale password values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this PlanetScale password at PlanetScale and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["pscale_pw_"],"pattern":"(?i)\\b(pscale_pw_(?i)[\\w=\\.-]{32,64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"planetscale-password"},"updated":"2026-10-13"},{"id":"secrets.postman.api-token","slug":"postman-api-token","area":"secrets","category":"credential","title":"Postman API token","severity":"high","provider":"Postman","what":"Finds Postman API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Postman API token at Postman and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.getpostman.com/me","detection":{"keywords":["pmak-"],"pattern":"\\b(PMAK-(?i)[a-f0-9]{24}\\-[a-f0-9]{34})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"postman-api-token"},"updated":"2026-10-13"},{"id":"secrets.prefect.api-token","slug":"prefect-api-token","area":"secrets","category":"credential","title":"Prefect API token","severity":"high","provider":"Prefect","what":"Finds Prefect API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Prefect API token at Prefect and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.prefect.cloud/api/me/","detection":{"keywords":["pnu_"],"pattern":"\\b(pnu_[a-zA-Z0-9]{36})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"prefect-api-token"},"updated":"2026-11-11"},{"id":"secrets.privateai.api-token","slug":"privateai-api-token","area":"secrets","category":"credential","title":"Private AI API token","severity":"high","provider":"Private AI","what":"Finds Private AI API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Private AI API token at Private AI and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["private-ai","private_ai","privateai"],"pattern":"[\\w.-]{0,50}?(?i:[\\w.-]{0,50}?(?:private[_-]?ai)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3})(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{32})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"privateai-api-token"},"updated":"2026-10-13"},{"id":"secrets.pulumi.api-token","slug":"pulumi-api-token","area":"secrets","category":"credential","title":"Pulumi API token","severity":"high","provider":"Pulumi","what":"Finds Pulumi API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Pulumi API token at Pulumi and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.pulumi.com/api/user","detection":{"keywords":["pul-"],"pattern":"\\b(pul-[a-f0-9]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"pulumi-api-token"},"updated":"2026-10-13"},{"id":"secrets.rapidapi.access-token","slug":"rapidapi-access-token","area":"secrets","category":"credential","title":"RapidAPI access token","severity":"high","provider":"RapidAPI","what":"Finds RapidAPI access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this RapidAPI access token at RapidAPI and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["rapidapi"],"pattern":"(?i)[\\w.-]{0,50}?(?:rapidapi)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9_-]{50})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"rapidapi-access-token"},"updated":"2026-10-13"},{"id":"secrets.readme.api-token","slug":"readme-api-token","area":"secrets","category":"credential","title":"ReadMe API token","severity":"high","provider":"ReadMe","what":"Finds ReadMe API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this ReadMe API token at ReadMe and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["rdme_"],"pattern":"\\b(rdme_[a-z0-9]{70})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"readme-api-token"},"updated":"2026-10-13"},{"id":"secrets.rubygems.api-token","slug":"rubygems-api-token","area":"secrets","category":"credential","title":"RubyGems API token","severity":"high","provider":"RubyGems","what":"Finds RubyGems API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this RubyGems API token at RubyGems and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["rubygems_"],"pattern":"\\b(rubygems_[a-f0-9]{48})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"rubygems-api-token"},"updated":"2026-10-13"},{"id":"secrets.scalingo.api-token","slug":"scalingo-api-token","area":"secrets","category":"credential","title":"Scalingo API token","severity":"high","provider":"Scalingo","what":"Finds Scalingo API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Scalingo API token at Scalingo and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["tk-us-"],"pattern":"\\b(tk-us-[\\w-]{48})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"scalingo-api-token"},"updated":"2026-10-13"},{"id":"secrets.sendbird.access-token","slug":"sendbird-access-token","area":"secrets","category":"credential","title":"Sendbird access token","severity":"high","provider":"Sendbird","what":"Finds Sendbird access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Sendbird access token at Sendbird and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sendbird"],"pattern":"(?i)[\\w.-]{0,50}?(?:sendbird)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-f0-9]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"sendbird-access-token"},"updated":"2026-10-13"},{"id":"secrets.sendgrid.api-token","slug":"sendgrid-api-token","area":"secrets","category":"credential","title":"SendGrid API token","severity":"high","provider":"SendGrid","what":"Finds SendGrid API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this SendGrid API token at SendGrid and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.sendgrid.com/v3/scopes","detection":{"keywords":["sg."],"pattern":"\\b(SG\\.(?i)[a-z0-9=_\\-\\.]{66})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"sendgrid-api-token"},"updated":"2026-10-13"},{"id":"secrets.sendinblue.api-token","slug":"sendinblue-api-token","area":"secrets","category":"credential","title":"Brevo (Sendinblue) API token","severity":"high","provider":"Brevo (Sendinblue)","what":"Finds Brevo (Sendinblue) API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Brevo (Sendinblue) API token at Brevo (Sendinblue) and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"live_check":true,"live_check_endpoint":"GET https://api.brevo.com/v3/account","detection":{"keywords":["xkeysib-"],"pattern":"\\b(xkeysib-[a-f0-9]{64}\\-(?i)[a-z0-9]{16})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"sendinblue-api-token"},"updated":"2026-11-11"},{"id":"secrets.sentry.access-token","slug":"sentry-access-token","area":"secrets","category":"credential","title":"Sentry access token","severity":"high","provider":"Sentry","what":"Finds Sentry access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Sentry access token at Sentry and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sentry"],"pattern":"(?i)[\\w.-]{0,50}?(?:sentry)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-f0-9]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"sentry-access-token"},"updated":"2026-10-13"},{"id":"secrets.sentry.org-token","slug":"sentry-org-token","area":"secrets","category":"credential","title":"Sentry org token","severity":"high","provider":"Sentry","what":"Finds Sentry org token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Sentry org token at Sentry and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sntrys_eyjpyxqio"],"pattern":"\\bsntrys_eyJpYXQiO[a-zA-Z0-9+/]{10,200}(?:LCJyZWdpb25fdXJs|InJlZ2lvbl91cmwi|cmVnaW9uX3VybCI6)[a-zA-Z0-9+/]{10,200}={0,2}_[a-zA-Z0-9+/]{43}(?:[^a-zA-Z0-9+/]|\\z)","entropy":4.5,"upstream":"sentry-org-token"},"updated":"2026-10-13"},{"id":"secrets.sentry.user-token","slug":"sentry-user-token","area":"secrets","category":"credential","title":"Sentry user token","severity":"high","provider":"Sentry","what":"Finds Sentry user token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Sentry user token at Sentry and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sntryu_"],"pattern":"\\b(sntryu_[a-f0-9]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3.5,"upstream":"sentry-user-token"},"updated":"2026-10-13"},{"id":"secrets.settlemint.application-access-token","slug":"settlemint-application-access-token","area":"secrets","category":"credential","title":"SettleMint application access token","severity":"high","provider":"SettleMint","what":"Finds SettleMint application access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this SettleMint application access token at SettleMint and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sm_aat"],"pattern":"\\b(sm_aat_[a-zA-Z0-9]{16})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"settlemint-application-access-token"},"updated":"2026-10-13"},{"id":"secrets.settlemint.personal-access-token","slug":"settlemint-personal-access-token","area":"secrets","category":"credential","title":"SettleMint personal access token","severity":"high","provider":"SettleMint","what":"Finds SettleMint personal access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this SettleMint personal access token at SettleMint and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sm_pat"],"pattern":"\\b(sm_pat_[a-zA-Z0-9]{16})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"settlemint-personal-access-token"},"updated":"2026-10-13"},{"id":"secrets.settlemint.service-access-token","slug":"settlemint-service-access-token","area":"secrets","category":"credential","title":"SettleMint service access token","severity":"high","provider":"SettleMint","what":"Finds SettleMint service access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this SettleMint service access token at SettleMint and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sm_sat"],"pattern":"\\b(sm_sat_[a-zA-Z0-9]{16})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"settlemint-service-access-token"},"updated":"2026-10-13"},{"id":"secrets.shippo.api-token","slug":"shippo-api-token","area":"secrets","category":"credential","title":"Shippo API token","severity":"high","provider":"Shippo","what":"Finds Shippo API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Shippo API token at Shippo and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["shippo_"],"pattern":"\\b(shippo_(?:live|test)_[a-fA-F0-9]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"shippo-api-token"},"updated":"2026-10-13"},{"id":"secrets.shopify.access-token","slug":"shopify-access-token","area":"secrets","category":"credential","title":"Shopify access token","severity":"high","provider":"Shopify","what":"Finds Shopify access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Shopify access token at Shopify and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["shpat_"],"pattern":"shpat_[a-fA-F0-9]{32}","entropy":2,"upstream":"shopify-access-token"},"updated":"2026-10-13"},{"id":"secrets.shopify.custom-access-token","slug":"shopify-custom-access-token","area":"secrets","category":"credential","title":"Shopify custom access token","severity":"high","provider":"Shopify","what":"Finds Shopify custom access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Shopify custom access token at Shopify and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["shpca_"],"pattern":"shpca_[a-fA-F0-9]{32}","entropy":2,"upstream":"shopify-custom-access-token"},"updated":"2026-10-13"},{"id":"secrets.shopify.private-app-access-token","slug":"shopify-private-app-access-token","area":"secrets","category":"credential","title":"Shopify private app access token","severity":"high","provider":"Shopify","what":"Finds Shopify private app access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Shopify private app access token at Shopify and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["shppa_"],"pattern":"shppa_[a-fA-F0-9]{32}","entropy":2,"upstream":"shopify-private-app-access-token"},"updated":"2026-10-13"},{"id":"secrets.shopify.shared-secret","slug":"shopify-shared-secret","area":"secrets","category":"credential","title":"Shopify shared secret","severity":"high","provider":"Shopify","what":"Finds Shopify shared secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Shopify shared secret at Shopify and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["shpss_"],"pattern":"shpss_[a-fA-F0-9]{32}","entropy":2,"upstream":"shopify-shared-secret"},"updated":"2026-10-13"},{"id":"secrets.sidekiq.secret","slug":"sidekiq-secret","area":"secrets","category":"credential","title":"Sidekiq secret","severity":"high","provider":"Sidekiq","what":"Finds Sidekiq secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Sidekiq secret at Sidekiq and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["bundle_enterprise__contribsys__com","bundle_gems__contribsys__com"],"pattern":"(?i)[\\w.-]{0,50}?(?:BUNDLE_ENTERPRISE__CONTRIBSYS__COM|BUNDLE_GEMS__CONTRIBSYS__COM)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-f0-9]{8}:[a-f0-9]{8})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"sidekiq-secret"},"updated":"2026-10-13"},{"id":"secrets.sidekiq.sensitive-url","slug":"sidekiq-sensitive-url","area":"secrets","category":"credential","title":"Sidekiq sensitive URL","severity":"high","provider":"Sidekiq","what":"Finds Sidekiq sensitive URL values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Sidekiq sensitive URL at Sidekiq and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["enterprise.contribsys.com","gems.contribsys.com"],"pattern":"(?i)\\bhttps?://([a-f0-9]{8}:[a-f0-9]{8})@(?:gems.contribsys.com|enterprise.contribsys.com)(?:[\\/|\\#|\\?|:]|$)","upstream":"sidekiq-sensitive-url"},"updated":"2026-10-13"},{"id":"secrets.slack.app-token","slug":"slack-app-token","area":"secrets","category":"credential","title":"Slack app token","severity":"high","provider":"Slack","what":"Finds Slack app token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Slack app token at Slack and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["xapp"],"pattern":"(?i)xapp-\\d-[A-Z0-9]+-\\d+-[a-z0-9]+","entropy":2,"upstream":"slack-app-token"},"updated":"2026-10-13"},{"id":"secrets.slack.config-access-token","slug":"slack-config-access-token","area":"secrets","category":"credential","title":"Slack config access token","severity":"high","provider":"Slack","what":"Finds Slack config access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Slack config access token at Slack and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["xoxe.xoxb-","xoxe.xoxp-"],"pattern":"(?i)xoxe.xox[bp]-\\d-[A-Z0-9]{163,166}","entropy":2,"upstream":"slack-config-access-token"},"updated":"2026-10-13"},{"id":"secrets.slack.config-refresh-token","slug":"slack-config-refresh-token","area":"secrets","category":"credential","title":"Slack config refresh token","severity":"high","provider":"Slack","what":"Finds Slack config refresh token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Slack config refresh token at Slack and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["xoxe-"],"pattern":"(?i)xoxe-\\d-[A-Z0-9]{146}","entropy":2,"upstream":"slack-config-refresh-token"},"updated":"2026-10-13"},{"id":"secrets.slack.webhook-url","slug":"slack-webhook-url","area":"secrets","category":"credential","title":"Slack webhook URL","severity":"high","provider":"Slack","what":"Finds Slack webhook URL values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Slack webhook URL at Slack and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["hooks.slack.com"],"pattern":"(?:https?://)?hooks.slack.com/(?:services|workflows|triggers)/[A-Za-z0-9+/]{43,56}","upstream":"slack-webhook-url"},"updated":"2026-10-13"},{"id":"secrets.snyk.api-token","slug":"snyk-api-token","area":"secrets","category":"credential","title":"Snyk API token","severity":"high","provider":"Snyk","what":"Finds Snyk API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Snyk API token at Snyk and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["snyk"],"pattern":"(?i)[\\w.-]{0,50}?(?:snyk[_.-]?(?:(?:api|oauth)[_.-]?)?(?:key|token))(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"snyk-api-token"},"updated":"2026-10-13"},{"id":"secrets.sonar.api-token","slug":"sonar-api-token","area":"secrets","category":"credential","title":"SonarQube API token","severity":"high","provider":"SonarQube","what":"Finds SonarQube API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this SonarQube API token at SonarQube and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sonar"],"pattern":"(?i)[\\w.-]{0,50}?(?:sonar[_.-]?(login|token))(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}((?:squ_|sqp_|sqa_)?[a-z0-9=_\\-]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"sonar-api-token"},"updated":"2026-10-13"},{"id":"secrets.sourcegraph.access-token","slug":"sourcegraph-access-token","area":"secrets","category":"credential","title":"Sourcegraph access token","severity":"high","provider":"Sourcegraph","what":"Finds Sourcegraph access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Sourcegraph access token at Sourcegraph and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sgp_","sourcegraph"],"pattern":"(?i)\\b(\\b(sgp_(?:[a-fA-F0-9]{16}|local)_[a-fA-F0-9]{40}|sgp_[a-fA-F0-9]{40}|[a-fA-F0-9]{40})\\b)(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"sourcegraph-access-token"},"updated":"2026-10-13"},{"id":"secrets.square.access-token","slug":"square-access-token","area":"secrets","category":"credential","title":"Square access token","severity":"high","provider":"Square","what":"Finds Square access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Square access token at Square and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["eaaa","sq0atp-"],"pattern":"\\b((?:EAAA|sq0atp-)[\\w-]{22,60})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":2,"upstream":"square-access-token"},"updated":"2026-10-13"},{"id":"secrets.squarespace.access-token","slug":"squarespace-access-token","area":"secrets","category":"credential","title":"Squarespace access token","severity":"high","provider":"Squarespace","what":"Finds Squarespace access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Squarespace access token at Squarespace and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["squarespace"],"pattern":"(?i)[\\w.-]{0,50}?(?:squarespace)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"squarespace-access-token"},"updated":"2026-10-13"},{"id":"secrets.sumologic.access-token","slug":"sumologic-access-token","area":"secrets","category":"credential","title":"Sumo Logic access token","severity":"high","provider":"Sumo Logic","what":"Finds Sumo Logic access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Sumo Logic access token at Sumo Logic and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sumo"],"pattern":"(?i)[\\w.-]{0,50}?(?:(?-i:[Ss]umo|SUMO))(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{64})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":3,"upstream":"sumologic-access-token"},"updated":"2026-10-13"},{"id":"secrets.telegram.bot-api-token","slug":"telegram-bot-api-token","area":"secrets","category":"credential","title":"Telegram bot API token","severity":"high","provider":"Telegram","what":"Finds Telegram bot API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Telegram bot API token at Telegram and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["telegr"],"pattern":"(?i)[\\w.-]{0,50}?(?:telegr)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([0-9]{5,16}:(?-i:A)[a-z0-9_\\-]{34})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"telegram-bot-api-token"},"updated":"2026-10-13"},{"id":"secrets.travisci.access-token","slug":"travisci-access-token","area":"secrets","category":"credential","title":"Travis CI access token","severity":"high","provider":"Travis CI","what":"Finds Travis CI access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Travis CI access token at Travis CI and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["travis"],"pattern":"(?i)[\\w.-]{0,50}?(?:travis)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{22})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"travisci-access-token"},"updated":"2026-10-13"},{"id":"secrets.twilio.api-key","slug":"twilio-api-key","area":"secrets","category":"credential","title":"Twilio API key","severity":"high","provider":"Twilio","what":"Finds Twilio API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Twilio API key at Twilio and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["sk"],"pattern":"SK[0-9a-fA-F]{32}","entropy":3,"upstream":"twilio-api-key"},"updated":"2026-10-13"},{"id":"secrets.twitch.api-token","slug":"twitch-api-token","area":"secrets","category":"credential","title":"Twitch API token","severity":"high","provider":"Twitch","what":"Finds Twitch API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Twitch API token at Twitch and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["twitch"],"pattern":"(?i)[\\w.-]{0,50}?(?:twitch)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{30})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"twitch-api-token"},"updated":"2026-10-13"},{"id":"secrets.twitter.access-secret","slug":"twitter-access-secret","area":"secrets","category":"credential","title":"X (Twitter) access secret","severity":"high","provider":"X (Twitter)","what":"Finds X (Twitter) access secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this X (Twitter) access secret at X (Twitter) and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["twitter"],"pattern":"(?i)[\\w.-]{0,50}?(?:twitter)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{45})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"twitter-access-secret"},"updated":"2026-10-13"},{"id":"secrets.twitter.access-token","slug":"twitter-access-token","area":"secrets","category":"credential","title":"X (Twitter) access token","severity":"high","provider":"X (Twitter)","what":"Finds X (Twitter) access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this X (Twitter) access token at X (Twitter) and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["twitter"],"pattern":"(?i)[\\w.-]{0,50}?(?:twitter)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([0-9]{15,25}-[a-zA-Z0-9]{20,40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"twitter-access-token"},"updated":"2026-10-13"},{"id":"secrets.twitter.api-key","slug":"twitter-api-key","area":"secrets","category":"credential","title":"X (Twitter) API key","severity":"high","provider":"X (Twitter)","what":"Finds X (Twitter) API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this X (Twitter) API key at X (Twitter) and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["twitter"],"pattern":"(?i)[\\w.-]{0,50}?(?:twitter)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{25})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"twitter-api-key"},"updated":"2026-10-13"},{"id":"secrets.twitter.api-secret","slug":"twitter-api-secret","area":"secrets","category":"credential","title":"X (Twitter) API secret","severity":"high","provider":"X (Twitter)","what":"Finds X (Twitter) API secret values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this X (Twitter) API secret at X (Twitter) and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["twitter"],"pattern":"(?i)[\\w.-]{0,50}?(?:twitter)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{50})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"twitter-api-secret"},"updated":"2026-10-13"},{"id":"secrets.twitter.bearer-token","slug":"twitter-bearer-token","area":"secrets","category":"credential","title":"X (Twitter) bearer token","severity":"high","provider":"X (Twitter)","what":"Finds X (Twitter) bearer token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this X (Twitter) bearer token at X (Twitter) and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["twitter"],"pattern":"(?i)[\\w.-]{0,50}?(?:twitter)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(A{22}[a-zA-Z0-9%]{80,100})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"twitter-bearer-token"},"updated":"2026-10-13"},{"id":"secrets.typeform.api-token","slug":"typeform-api-token","area":"secrets","category":"credential","title":"Typeform API token","severity":"high","provider":"Typeform","what":"Finds Typeform API token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Typeform API token at Typeform and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["tfp_"],"pattern":"(?i)[\\w.-]{0,50}?(?:typeform)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(tfp_[a-z0-9\\-_\\.=]{59})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"typeform-api-token"},"updated":"2026-10-13"},{"id":"secrets.vault.batch-token","slug":"vault-batch-token","area":"secrets","category":"credential","title":"HashiCorp Vault batch token","severity":"high","provider":"HashiCorp Vault","what":"Finds HashiCorp Vault batch token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this HashiCorp Vault batch token at HashiCorp Vault and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["hvb."],"pattern":"\\b(hvb\\.[\\w-]{138,300})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","entropy":4,"upstream":"vault-batch-token"},"updated":"2026-10-13"},{"id":"secrets.yandex.access-token","slug":"yandex-access-token","area":"secrets","category":"credential","title":"Yandex access token","severity":"high","provider":"Yandex","what":"Finds Yandex access token values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Yandex access token at Yandex and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["yandex"],"pattern":"(?i)[\\w.-]{0,50}?(?:yandex)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(t1\\.[A-Z0-9a-z_-]+[=]{0,2}\\.[A-Z0-9a-z_-]{86}[=]{0,2})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"yandex-access-token"},"updated":"2026-10-13"},{"id":"secrets.yandex.api-key","slug":"yandex-api-key","area":"secrets","category":"credential","title":"Yandex API key","severity":"high","provider":"Yandex","what":"Finds Yandex API key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Yandex API key at Yandex and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["yandex"],"pattern":"(?i)[\\w.-]{0,50}?(?:yandex)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}(AQVN[A-Za-z0-9_\\-]{35,38})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"yandex-api-key"},"updated":"2026-10-13"},{"id":"secrets.zendesk.secret-key","slug":"zendesk-secret-key","area":"secrets","category":"credential","title":"Zendesk secret key","severity":"high","provider":"Zendesk","what":"Finds Zendesk secret key values in every commit of a repository's git history and in lines staged for a commit, with a pattern adopted from gitleaks.","why":"Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.","fix":"Revoke this Zendesk secret key at Zendesk and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.","evidence":[{"scope":"repository","status":"collected","note":"Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it."}],"detection":{"keywords":["zendesk"],"pattern":"(?i)[\\w.-]{0,50}?(?:zendesk)(?:[ \\t\\w.-]{0,20})[\\s'\"]{0,3}(?:=|>|:{1,3}=|\\|\\||:|=>|\\?=|,)[\\x60'\"\\s=]{0,5}([a-z0-9]{40})(?:[\\x60'\"\\s;]|\\\\[nr]|$)","upstream":"zendesk-secret-key"},"updated":"2026-10-13"},{"id":"tls.tls-certificate-expired","slug":"certificate-expired","area":"tls","category":"certificate","title":"TLS certificate has expired","severity":"high","targets":["tls endpoint"],"what":"Compares the certificate's notAfter date with the time of the check.","why":"Browsers refuse the connection, and clients that are told to continue anyway cannot tell this server from an impostor.","fix":"Renew the certificate and automate its renewal.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action. Also run on the certificates of a connected cluster's kubernetes.io/tls Secrets, when reading them is turned on for the cluster. And on a cert-manager Certificate's status.notAfter when its Secret was not read."}],"cwe":["CWE-298"],"references":[{"title":"CWE-298","url":"https://cwe.mitre.org/data/definitions/298.html"}],"updated":"2026-11-18"},{"id":"tls.tls-certificate-not-yet-valid","slug":"certificate-not-yet-valid","area":"tls","category":"certificate","title":"TLS certificate is not yet valid","severity":"high","targets":["tls endpoint"],"what":"Compares the certificate's notBefore date with the time of the check.","why":"A certificate whose validity starts in the future is refused by browsers.","fix":"Install a certificate that is valid now, and check the clock of whatever issued this one.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action. Also run on the certificates of a connected cluster's kubernetes.io/tls Secrets, when reading them is turned on for the cluster."}],"cwe":["CWE-298"],"references":[{"title":"CWE-298","url":"https://cwe.mitre.org/data/definitions/298.html"}],"updated":"2026-11-18"},{"id":"tls.tls-certificate-expiring","slug":"certificate-expiring","area":"tls","category":"certificate","title":"TLS certificate expires soon","severity":"low","targets":["tls endpoint"],"what":"Counts the days left before notAfter against the organization's thresholds (30, 14 and 7 days by default): low, then medium, then high severity as the date nears.","why":"A certificate that renews itself normally does so well before its last month; one that has not is renewed by hand or its automation has failed, and the outage comes on the expiry date.","fix":"Renew the certificate, and find out why automatic renewal has not done so.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action. Also run on the certificates of a connected cluster's kubernetes.io/tls Secrets, when reading them is turned on for the cluster. And on a cert-manager Certificate's status.notAfter when its Secret was not read."}],"cwe":["CWE-298"],"references":[{"title":"CWE-298","url":"https://cwe.mitre.org/data/definitions/298.html"}],"updated":"2026-11-18"},{"id":"tls.tls-certificate-hostname","slug":"certificate-hostname","area":"tls","category":"certificate","title":"TLS certificate does not match the host","severity":"high","targets":["tls endpoint"],"what":"Checks that the host name used to connect is among the certificate's subject alternative names.","why":"A browser refuses a certificate issued for another name.","fix":"Install a certificate whose subject alternative names include this host.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action."}],"cwe":["CWE-297"],"references":[{"title":"CWE-297","url":"https://cwe.mitre.org/data/definitions/297.html"}],"updated":"2026-11-07"},{"id":"tls.tls-certificate-untrusted","slug":"certificate-untrusted","area":"tls","category":"certificate","title":"TLS certificate chain is incomplete or not trusted","severity":"medium","targets":["tls endpoint"],"what":"Builds a chain from the certificates the server sends to a trusted root, at a moment the leaf is valid.","why":"A server that leaves out its intermediate certificate works in some browsers and fails in API clients and older devices; a self-signed or private-CA certificate is refused everywhere it is not installed. If your own CA issued this certificate for internal use, suppress the finding with that reason.","fix":"Serve the full chain (leaf and intermediates) from a publicly trusted CA.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action."}],"cwe":["CWE-295"],"references":[{"title":"CWE-295","url":"https://cwe.mitre.org/data/definitions/295.html"}],"updated":"2026-11-07"},{"id":"tls.tls-certificate-weak-key","slug":"certificate-weak-key","area":"tls","category":"certificate","title":"TLS certificate has a weak key","severity":"high","targets":["tls endpoint"],"what":"Reads the key of the leaf and every intermediate the server sends: RSA under 2048 bits, an elliptic curve under 256 bits, or DSA.","why":"A short key can be factored or its discrete log computed with resources an attacker can rent, which lets them impersonate the server. Publicly trusted CAs stopped issuing these years ago.","fix":"Issue a new certificate with an RSA 2048-bit or larger key, or an ECDSA P-256 key.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action. Also run on the certificates of a connected cluster's kubernetes.io/tls Secrets, when reading them is turned on for the cluster."}],"cwe":["CWE-326"],"references":[{"title":"CWE-326","url":"https://cwe.mitre.org/data/definitions/326.html"}],"updated":"2026-11-07"},{"id":"tls.tls-certificate-weak-signature","slug":"certificate-weak-signature","area":"tls","category":"certificate","title":"TLS certificate is signed with SHA-1 or MD5","severity":"medium","targets":["tls endpoint"],"what":"Reads the signature algorithm of the leaf and every intermediate the server sends.","why":"Chosen-prefix collisions have been demonstrated against SHA-1 and MD5, so a signature made with them no longer proves who issued the certificate. Browsers reject them.","fix":"Reissue the certificate (and any intermediate) with a SHA-256 or stronger signature.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action. Also run on the certificates of a connected cluster's kubernetes.io/tls Secrets, when reading them is turned on for the cluster."}],"cwe":["CWE-328"],"references":[{"title":"CWE-328","url":"https://cwe.mitre.org/data/definitions/328.html"}],"updated":"2026-11-07"},{"id":"tls.tls-legacy-protocol","slug":"legacy-protocol","area":"tls","category":"protocol","title":"Server accepts TLS 1.0 or 1.1","severity":"medium","targets":["tls endpoint"],"what":"Offers TLS 1.0 and TLS 1.1 handshakes, each with every cipher suite the probe implements, and records whether the server completes either.","why":"Both versions are deprecated (RFC 8996): they rely on weak constructions, and every current browser has dropped them.","fix":"Configure the server or load balancer to require TLS 1.2 or later.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action."}],"cwe":["CWE-326"],"references":[{"title":"CWE-326","url":"https://cwe.mitre.org/data/definitions/326.html"}],"updated":"2026-11-19"},{"id":"tls.tls-weak-cipher","slug":"weak-cipher","area":"tls","category":"protocol","title":"Server accepts RC4 or 3DES cipher suites","severity":"medium","targets":["tls endpoint"],"what":"Enumerates the cipher suites the server accepts at TLS 1.0, 1.1 and 1.2 and flags any RC4 or 3DES suite among them.","why":"RC4 has biases that leak plaintext and is prohibited in TLS (RFC 7465); 3DES has a 64-bit block that long connections exhaust (Sweet32). A client that offers them, usually an old one, gets a connection an attacker on the path can read.","fix":"Remove RC4 and 3DES suites from the server's or load balancer's TLS configuration; prefer AEAD suites (AES-GCM, ChaCha20-Poly1305).","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action."}],"cwe":["CWE-327"],"references":[{"title":"CWE-327","url":"https://cwe.mitre.org/data/definitions/327.html"}],"updated":"2026-11-19"},{"id":"tls.tls-cipher-no-forward-secrecy","slug":"cipher-no-forward-secrecy","area":"tls","category":"certificate","title":"Server accepts cipher suites without forward secrecy","severity":"low","targets":["tls endpoint"],"what":"Enumerates the cipher suites the server accepts at TLS 1.0, 1.1 and 1.2 and flags those with RSA key exchange (TLS_RSA_WITH_*) instead of ECDHE.","why":"With RSA key exchange the session key travels encrypted to the server's certificate key, so anyone who later obtains that private key can decrypt every recorded session. Every current client negotiates ECDHE, so these suites serve only old ones.","fix":"Remove the TLS_RSA_WITH_* suites from the server's or load balancer's TLS policy; keep ECDHE suites with AES-GCM or ChaCha20-Poly1305, and enable TLS 1.3.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade."}],"cwe":["CWE-327"],"references":[{"title":"CWE-327","url":"https://cwe.mitre.org/data/definitions/327.html"}],"updated":"2026-11-19"},{"id":"tls.tls-caa-missing","slug":"caa-missing","area":"tls","category":"dns","title":"Domain has no CAA record","severity":"low","targets":["tls endpoint"],"what":"Looks up CAA records for the host name and each parent domain up to, not including, the top-level domain (RFC 8659).","why":"Without CAA any publicly trusted CA may issue a certificate for the name, so a mis-issuance or a social-engineered request at a CA you do not use goes through.","fix":"Publish a CAA record naming the CAs you use, e.g. `example.com. CAA 0 issue \"letsencrypt.org\"`.","evidence":[{"scope":"endpoint","status":"collected","note":"Run by the certificate inventory for endpoints named by a host name; not part of a DAST scan."}],"cwe":["CWE-295"],"references":[{"title":"CWE-295","url":"https://cwe.mitre.org/data/definitions/295.html"}],"updated":"2026-11-07"},{"id":"tls.tls-certificate-long-lifetime","slug":"certificate-long-lifetime","area":"tls","category":"certificate","title":"TLS certificate lifetime is longer than 90 days","severity":"low","targets":["tls endpoint"],"what":"Measures notBefore to notAfter on a publicly trusted certificate and flags anything over 90 days.","why":"Long-lived certificates are usually renewed by hand. The CA/Browser Forum is cutting the maximum lifetime of public certificates to 200 days (March 2026), 100 (March 2027) and 47 (March 2029); a manual renewal process will not keep up with renewals every few weeks.","fix":"Move the endpoint to an automated issuer (ACME, e.g. cert-manager or certbot) and short-lived certificates.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade. Also run by every DAST scan of an https target, and by the tls-check GitHub Action."}],"cwe":["CWE-324"],"references":[{"title":"CWE-324","url":"https://cwe.mitre.org/data/definitions/324.html"}],"updated":"2026-11-07"},{"id":"tls.ct-unexpected-issuer","slug":"ct-unexpected-issuer","area":"tls","category":"transparency","title":"Certificate issued for your domain by a CA you do not use","severity":"high","targets":["verified domain"],"what":"Reads the certificates a public Certificate Transparency log shows were issued for a domain you have verified, and compares each issuer with your organization's allowed-issuer list.","why":"Every publicly trusted certificate is logged. One from a CA you have never used is either a team buying certificates outside your process or a mis-issued certificate an attacker can use to impersonate the name.","fix":"Find out who requested it. If it is not yours, ask the CA to revoke it and publish a CAA record naming only your CAs; if it is, add the CA to the allowed issuers.","evidence":[{"scope":"domain","status":"collected","note":"Run by Certificate Transparency monitoring (off by default) on the host names of DAST targets whose ownership is verified, from a public CT log search; no handshake."}],"cwe":["CWE-295"],"references":[{"title":"CWE-295","url":"https://cwe.mitre.org/data/definitions/295.html"}],"updated":"2026-11-07"},{"id":"tls.ct-unexpected-name","slug":"ct-unexpected-name","area":"tls","category":"transparency","title":"Certificate issued for a name you did not expect","severity":"medium","targets":["verified domain"],"what":"Reads the certificates a public Certificate Transparency log shows were issued for a domain you have verified, and flags names that are wildcards or subdomains your organization does not know: not the verified host, not an expected name in settings, not an endpoint TrustIvan checks and not a name on a certificate in the inventory.","why":"An unknown subdomain with a certificate is often a forgotten or shadow service, and a wildcard covers every name under the domain, so its key is worth more to an attacker than any one host's.","fix":"Confirm the service is yours and add the name (or `*.domain` for a wildcard) to the expected names, or have the certificate revoked.","evidence":[{"scope":"domain","status":"collected","note":"Run by Certificate Transparency monitoring (off by default) on the host names of DAST targets whose ownership is verified, from a public CT log search; no handshake."}],"cwe":["CWE-295"],"references":[{"title":"CWE-295","url":"https://cwe.mitre.org/data/definitions/295.html"}],"updated":"2026-11-07"},{"id":"tls.ssh-weak-key-exchange","slug":"ssh-weak-key-exchange","area":"tls","category":"protocol","title":"SSH server offers SHA-1 or 1024-bit key exchange","severity":"medium","targets":["ssh endpoint"],"what":"Reads the key exchange algorithms in the server's first packet (SSH_MSG_KEXINIT) for diffie-hellman-group1-sha1, diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha1 and rsa1024-sha1.","why":"These hash the exchange with SHA-1, and group1 and rsa1024 use 1024-bit groups within reach of a state-level attacker (Logjam); a client that negotiates one gets a session that can be broken.","fix":"Remove them from the server's KexAlgorithms (OpenSSH: sshd_config); keep curve25519-sha256 and diffie-hellman-group16-sha512 or stronger.","evidence":[{"scope":"endpoint","status":"collected","note":"Run daily on every certificate inventory endpoint on port 22 (added by hand or found by a network range sweep), from the algorithm list the server sends before any key exchange; no login is attempted."}],"cwe":["CWE-327"],"references":[{"title":"CWE-327","url":"https://cwe.mitre.org/data/definitions/327.html"}],"updated":"2026-11-18"},{"id":"tls.ssh-weak-host-key","slug":"ssh-weak-host-key","area":"tls","category":"protocol","title":"SSH server offers DSA or SHA-1 RSA host key signatures","severity":"medium","targets":["ssh endpoint"],"what":"Reads the host key algorithms in the server's first packet for ssh-dss and ssh-rsa (and their certificate forms).","why":"ssh-dss is a 1024-bit DSA key and ssh-rsa signs with SHA-1, against which chosen-prefix collisions are practical; OpenSSH has disabled both by default since release 8.8.","fix":"Serve an Ed25519 or ECDSA host key, or RSA with rsa-sha2-256/512 only (OpenSSH: HostKeyAlgorithms).","evidence":[{"scope":"endpoint","status":"collected","note":"Run daily on every certificate inventory endpoint on port 22 (added by hand or found by a network range sweep), from the algorithm list the server sends before any key exchange; no login is attempted."}],"cwe":["CWE-327"],"references":[{"title":"CWE-327","url":"https://cwe.mitre.org/data/definitions/327.html"}],"updated":"2026-11-18"},{"id":"tls.ssh-weak-cipher","slug":"ssh-weak-cipher","area":"tls","category":"protocol","title":"SSH server offers CBC, RC4 or weak MAC algorithms","severity":"low","targets":["ssh endpoint"],"what":"Reads the cipher and MAC algorithms in the server's first packet for CBC modes, arcfour, none, MD5 and truncated 96-bit MACs.","why":"CBC modes in SSH allow plaintext recovery (CVE-2008-5161), arcfour is RC4, and MD5 and 96-bit MACs are weak integrity checks; every current client has better choices.","fix":"Allow only AEAD ciphers (chacha20-poly1305, aes-gcm) or CTR modes with an -etm SHA-2 MAC (OpenSSH: Ciphers, MACs).","evidence":[{"scope":"endpoint","status":"collected","note":"Run daily on every certificate inventory endpoint on port 22 (added by hand or found by a network range sweep), from the algorithm list the server sends before any key exchange; no login is attempted."}],"cwe":["CWE-327"],"references":[{"title":"CWE-327","url":"https://cwe.mitre.org/data/definitions/327.html"}],"updated":"2026-11-18"},{"id":"tls.ssh-host-key-short","slug":"ssh-host-key-short","area":"tls","category":"certificate","title":"SSH host key is DSA or RSA under 2048 bits","severity":"medium","targets":["tls endpoint"],"what":"Completes the key exchange once for each host key type the server offers, without logging in, and reads each host key it signs with: DSA, or RSA under 2048 bits.","why":"DSA host keys are 1024-bit, and a 1024-bit RSA key is within reach of a well-resourced attacker; whoever recovers the private key can impersonate the server to every client that trusts it.","fix":"Generate an Ed25519 host key (ssh-keygen -t ed25519) or RSA of at least 3072 bits, serve it, and remove the weak one (OpenSSH: HostKey in sshd_config).","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade."}],"cwe":["CWE-326"],"references":[{"title":"CWE-326","url":"https://cwe.mitre.org/data/definitions/326.html"}],"updated":"2026-11-19"},{"id":"tls.ssh-host-key-changed","slug":"ssh-host-key-changed","area":"tls","category":"certificate","title":"SSH host key changed since the last check","severity":"medium","targets":["tls endpoint"],"what":"Records the SHA256 fingerprint of each host key at every check and compares it with the one recorded at the previous check for the same key type.","why":"A changed host key is what SSH clients warn about as a possible man-in-the-middle. It is expected after a rebuild or a planned key rotation; otherwise another machine may be answering at this address, or the server's key was replaced by someone who should not have.","fix":"Confirm the change with whoever runs the server, out of band. If it was planned, update the known_hosts entries that pin the old key; the next check treats the new key as the known one and the finding resolves. If it was not, investigate the host before anyone logs in to it.","evidence":[{"scope":"endpoint","status":"collected","note":"Run on every TLS endpoint in the certificate inventory (added by hand, an https DAST target, a Kubernetes Ingress TLS host, or found by a network range sweep), daily, by a passive handshake; on ports 25, 587, 143, 110 and 389 after a STARTTLS upgrade."}],"cwe":["CWE-322"],"references":[{"title":"CWE-322","url":"https://cwe.mitre.org/data/definitions/322.html"}],"updated":"2026-11-19"},{"id":"tls.cert-manager-certificate-not-ready","slug":"cert-manager-certificate-not-ready","area":"tls","category":"kubernetes","title":"cert-manager Certificate is not Ready","severity":"medium","targets":["kubernetes cluster"],"what":"Reads the Ready condition of each cert-manager Certificate in a connected cluster and flags one whose status is False.","why":"cert-manager could not issue or renew the certificate, so the Secret it writes is missing, stale or for the wrong names, and the workload serving it fails when the old certificate expires.","fix":"Read the reason with `kubectl describe certificate`, and the CertificateRequest and Order it created; fix the issuer, the DNS or HTTP challenge, or the spec it names.","evidence":[{"scope":"cluster","status":"collected","note":"Run after each collection of a connected cluster on the status of its cert-manager Certificates, Issuers and ClusterIssuers; a cluster without cert-manager has none. No Secret is read."}],"cwe":["CWE-298"],"references":[{"title":"CWE-298","url":"https://cwe.mitre.org/data/definitions/298.html"}],"updated":"2026-11-18"},{"id":"tls.cert-manager-renewal-overdue","slug":"cert-manager-renewal-overdue","area":"tls","category":"kubernetes","title":"cert-manager Certificate renewal is overdue","severity":"medium","targets":["kubernetes cluster"],"what":"Compares each cert-manager Certificate's status.renewalTime with the time of the collection and flags one more than an hour past it.","why":"cert-manager renews at renewalTime and moves it forward when it succeeds; one left in the past means renewals are failing, and the certificate runs out at notAfter.","fix":"Find why renewal fails (`kubectl describe certificate`, the cert-manager logs), fix it, and renew with `cmctl renew` once it can succeed.","evidence":[{"scope":"cluster","status":"collected","note":"Run after each collection of a connected cluster on the status of its cert-manager Certificates, Issuers and ClusterIssuers; a cluster without cert-manager has none. No Secret is read."}],"cwe":["CWE-298"],"references":[{"title":"CWE-298","url":"https://cwe.mitre.org/data/definitions/298.html"}],"updated":"2026-11-18"},{"id":"tls.cert-manager-issuer-not-ready","slug":"cert-manager-issuer-not-ready","area":"tls","category":"kubernetes","title":"cert-manager Issuer is not Ready","severity":"medium","targets":["kubernetes cluster"],"what":"Reads the Ready condition of each cert-manager Issuer and ClusterIssuer in a connected cluster and flags one whose status is False.","why":"Every Certificate the issuer signs stops renewing: an ACME account that failed to register, a CA Secret that is missing, or a Vault or cloud issuer whose credentials no longer work.","fix":"Read the reason with `kubectl describe issuer` (or `clusterissuer`) and fix the account, the CA Secret or the credentials it names.","evidence":[{"scope":"cluster","status":"collected","note":"Run after each collection of a connected cluster on the status of its cert-manager Certificates, Issuers and ClusterIssuers; a cluster without cert-manager has none. No Secret is read."}],"cwe":["CWE-298"],"references":[{"title":"CWE-298","url":"https://cwe.mitre.org/data/definitions/298.html"}],"updated":"2026-11-18"},{"id":"tls.email-spf-missing","slug":"email-spf-missing","area":"tls","category":"email","title":"Mail domain has no SPF record","severity":"medium","targets":["email domain"],"what":"Looks up the TXT records of a domain that has MX records and finds none starting with v=spf1.","why":"Without SPF a receiver cannot tell your mail servers from anyone else's, so mail claiming to come from the domain is judged on DKIM and DMARC alone, and many receivers accept it.","fix":"Publish one TXT record listing the servers that send your mail and ending in -all or ~all, e.g. `v=spf1 include:_spf.example-provider.com -all`.","evidence":[{"scope":"domain","status":"collected","note":"Run daily on the registrable domain of each DAST target host whose ownership is verified, from public DNS (TXT and MX records); no mail is sent."}],"cwe":["CWE-290"],"references":[{"title":"CWE-290","url":"https://cwe.mitre.org/data/definitions/290.html"}],"updated":"2026-11-07"},{"id":"tls.email-spf-permissive","slug":"email-spf-permissive","area":"tls","category":"email","title":"SPF record lets too many servers send as the domain","severity":"medium","targets":["email domain"],"what":"Reads the SPF record's all term and address ranges: +all (high), ?all or no all term at all, an ip4 range wider than /16 or an ip6 range wider than /32 (medium).","why":"+all passes mail from every server on the internet; ?all and a missing all term pass it as neutral, and a very wide range authorizes networks you do not run.","fix":"End the record with -all (or ~all while you are checking your senders) and list only the hosts and ranges that send your mail.","evidence":[{"scope":"domain","status":"collected","note":"Run daily on the registrable domain of each DAST target host whose ownership is verified, from public DNS (TXT and MX records); no mail is sent."}],"cwe":["CWE-290"],"references":[{"title":"CWE-290","url":"https://cwe.mitre.org/data/definitions/290.html"}],"updated":"2026-11-07"},{"id":"tls.email-spf-invalid","slug":"email-spf-invalid","area":"tls","category":"email","title":"SPF record fails evaluation","severity":"medium","targets":["email domain"],"what":"Counts the DNS-querying terms (include, a, mx, ptr, exists, redirect) through every include and redirect against the limit of 10, and checks there is exactly one SPF record and every include has one.","why":"Over 10 lookups, more than one record, or an include with no SPF record is a permanent error: receivers treat the domain as having no SPF at all.","fix":"Remove includes you no longer use, replace includes with ip4/ip6 ranges where a provider publishes them, and merge duplicate records into one.","evidence":[{"scope":"domain","status":"collected","note":"Run daily on the registrable domain of each DAST target host whose ownership is verified, from public DNS (TXT and MX records); no mail is sent."}],"cwe":["CWE-290"],"references":[{"title":"CWE-290","url":"https://cwe.mitre.org/data/definitions/290.html"}],"updated":"2026-11-07"},{"id":"tls.email-dmarc-missing","slug":"email-dmarc-missing","area":"tls","category":"email","title":"Domain has no DMARC record","severity":"medium","targets":["email domain"],"what":"Looks up TXT at _dmarc.<domain> and finds no single record starting with v=DMARC1 with a p tag.","why":"DMARC tells receivers what to do with mail that fails SPF and DKIM alignment; without it, spoofed mail from the domain is delivered at each receiver's discretion and you receive no reports of it.","fix":"Publish `_dmarc.example.com TXT \"v=DMARC1; p=none; rua=mailto:dmarc@example.com\"`, read the reports, then move to p=quarantine and p=reject.","evidence":[{"scope":"domain","status":"collected","note":"Run daily on the registrable domain of each DAST target host whose ownership is verified, from public DNS (TXT and MX records); no mail is sent."}],"cwe":["CWE-290"],"references":[{"title":"CWE-290","url":"https://cwe.mitre.org/data/definitions/290.html"}],"updated":"2026-11-07"},{"id":"tls.email-dmarc-not-enforced","slug":"email-dmarc-not-enforced","area":"tls","category":"email","title":"DMARC policy is p=none","severity":"medium","targets":["email domain"],"what":"Reads the p tag of the domain's DMARC record.","why":"p=none only asks for reports: mail that fails authentication is still delivered, so the domain can be spoofed.","fix":"Once the reports show every legitimate sender passing, set p=quarantine and then p=reject.","evidence":[{"scope":"domain","status":"collected","note":"Run daily on the registrable domain of each DAST target host whose ownership is verified, from public DNS (TXT and MX records); no mail is sent."}],"cwe":["CWE-290"],"references":[{"title":"CWE-290","url":"https://cwe.mitre.org/data/definitions/290.html"}],"updated":"2026-11-07"},{"id":"tls.email-dmarc-no-reporting","slug":"email-dmarc-no-reporting","area":"tls","category":"email","title":"DMARC record asks for no reports","severity":"low","targets":["email domain"],"what":"Reads the rua tag of the domain's DMARC record.","why":"Without aggregate reports nobody sees who is sending as the domain, which is how a move to an enforcing policy is made safely.","fix":"Add `rua=mailto:` with an address or a report-processing service you read.","evidence":[{"scope":"domain","status":"collected","note":"Run daily on the registrable domain of each DAST target host whose ownership is verified, from public DNS (TXT and MX records); no mail is sent."}],"cwe":["CWE-290"],"references":[{"title":"CWE-290","url":"https://cwe.mitre.org/data/definitions/290.html"}],"updated":"2026-11-07"},{"id":"tls.email-dkim-missing","slug":"email-dkim-missing","area":"tls","category":"email","title":"DKIM key missing for a listed selector","severity":"medium","targets":["email domain"],"what":"Looks up TXT at <selector>._domainkey.<domain> for each selector your organization lists in the certificate settings, and flags one with no record or an empty (revoked) p= key.","why":"Mail signed with a selector whose key is gone fails DKIM, and with DMARC enforcing it is rejected; a sender you expected to sign is not doing so.","fix":"Publish the selector's public key from your mail provider, or remove the selector from the list if it is retired.","evidence":[{"scope":"domain","status":"collected","note":"Run daily on the registrable domain of each DAST target host whose ownership is verified, from public DNS (TXT and MX records); no mail is sent."}],"cwe":["CWE-290"],"references":[{"title":"CWE-290","url":"https://cwe.mitre.org/data/definitions/290.html"}],"updated":"2026-11-07"},{"id":"tls.email-no-mail-hardening","slug":"email-no-mail-hardening","area":"tls","category":"email","title":"Domain that receives no mail does not say so","severity":"low","targets":["email domain"],"what":"For a domain with no MX record that sends no mail (no SPF, or SPF of -all only), checks for a null MX record (RFC 7505) and an SPF record of `v=spf1 -all`.","why":"Spoofers prefer domains that send no mail, because nothing in DNS tells receivers to refuse it.","fix":"Publish `example.com. MX 0 .` and `example.com. TXT \"v=spf1 -all\"`, and a DMARC record with p=reject.","evidence":[{"scope":"domain","status":"collected","note":"Run daily on the registrable domain of each DAST target host whose ownership is verified, from public DNS (TXT and MX records); no mail is sent."}],"cwe":["CWE-290"],"references":[{"title":"CWE-290","url":"https://cwe.mitre.org/data/definitions/290.html"}],"updated":"2026-11-07"},{"id":"runtime.crypto-miner","slug":"crypto-miner","area":"runtime","category":"crypto-mining","title":"Possible crypto-miner in a container","severity":"critical","targets":["kubernetes container"],"what":"A container started a known mining program (xmrig and similar), ran a command naming a stratum mining URL, or connected out to a port mining pools use.","why":"Mining is the most common payload after a container compromise: it burns the customer's compute and means someone else is running code in the cluster.","fix":"Treat the workload as compromised: isolate it (a TrustIvan response action can network-isolate or stop it), find how it got there (image, exec, vulnerable application), rebuild from a clean image and rotate any credentials the pod could read.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Crypto-miner pool connection\" (MITRE ATT&CK impact, T1496), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1496","url":"https://attack.mitre.org/techniques/T1496/"}],"updated":"2026-11-14"},{"id":"runtime.mining-pool-command","slug":"mining-pool-command","area":"runtime","category":"crypto-mining","title":"Mining pool named in a container command","severity":"critical","targets":["kubernetes container"],"what":"A process in a container was started with the address of a public mining pool (supportxmr, nanopool, moneroocean and others) on its command line.","why":"Renaming the miner defeats a rule on its program name; the pool it reports to is harder to hide.","fix":"Treat the workload as compromised: isolate it (a TrustIvan response action can network-isolate or stop it), find how it got there (image, exec, vulnerable application), rebuild from a clean image and rotate any credentials the pod could read.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Mining pool named in a command\" (MITRE ATT&CK impact, T1496), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1496","url":"https://attack.mitre.org/techniques/T1496/"}],"updated":"2026-11-14"},{"id":"runtime.reverse-shell","slug":"reverse-shell","area":"runtime","category":"reverse-shell","title":"Reverse shell in a container","severity":"critical","targets":["kubernetes container"],"what":"A process in a container connected its standard input, output or error to a network socket, which is how a reverse shell (bash -i >& /dev/tcp/..., nc -e) hands its terminal to a remote host.","why":"A reverse shell is an attacker typing commands in the workload over a connection they opened from inside, past any ingress control.","fix":"Treat the workload as compromised: isolate it (a TrustIvan response action can network-isolate or stop it), find how it got there (image, exec, vulnerable application), rebuild from a clean image and rotate any credentials the pod could read.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Reverse shell in container\" (MITRE ATT&CK execution, T1059.004), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1059.004","url":"https://attack.mitre.org/techniques/T1059/004/"}],"updated":"2026-11-14"},{"id":"runtime.netcat-exec","slug":"netcat-exec","area":"runtime","category":"reverse-shell","title":"Netcat started with command execution","severity":"critical","targets":["kubernetes container"],"what":"nc, ncat or netcat was started in a container with an option that runs a program on the connection (-e, -c, --exec, --sh-exec, --lua-exec).","why":"That option exists to serve a shell over the network; an application has no use for it.","fix":"Treat the workload as compromised: isolate it (a TrustIvan response action can network-isolate or stop it), find how it got there (image, exec, vulnerable application), rebuild from a clean image and rotate any credentials the pod could read.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Netcat with command execution in container\" (MITRE ATT&CK execution, T1059.004), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1059.004","url":"https://attack.mitre.org/techniques/T1059/004/"}],"updated":"2026-11-14"},{"id":"runtime.shell-in-container","slug":"shell-in-container","area":"runtime","category":"execution","title":"Interactive shell started in a container","severity":"high","targets":["kubernetes container"],"what":"A shell (sh, bash, zsh and similar) attached to a terminal started inside a running container.","why":"A production container runs one program; a person typing commands in it is either debugging by hand or an attacker who got in through the application, and either way it is a change nobody reviewed.","fix":"Find out who opened it (the parent process and user are in the event). If it was not a known debugging session, treat the workload as compromised: rotate its credentials and redeploy it from its image. Use ephemeral debug containers instead of exec for debugging.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Shell in container\" (MITRE ATT&CK execution, T1059), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1059","url":"https://attack.mitre.org/techniques/T1059/"}],"updated":"2026-11-14"},{"id":"runtime.runtime-socket","slug":"runtime-socket","area":"runtime","category":"container-escape","title":"Container runtime socket opened in a container","severity":"critical","targets":["kubernetes container"],"what":"A process in a container opened or connected to the Docker, containerd or CRI-O socket.","why":"Whoever holds the runtime socket can start a privileged container with the node's filesystem mounted: it is root on the node.","fix":"Remove the socket's hostPath mount from the pod spec and refuse such mounts at admission. If the access was not expected, treat the node as compromised.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Container runtime socket opened in container\" (MITRE ATT&CK privilege_escalation, T1611), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1611","url":"https://attack.mitre.org/techniques/T1611/"}],"updated":"2026-11-14"},{"id":"runtime.release-agent","slug":"release-agent","area":"runtime","category":"container-escape","title":"Cgroup release_agent written in a container","severity":"critical","targets":["kubernetes container"],"what":"A process in a container wrote a cgroup release_agent file.","why":"The kernel runs the release agent on the host, as root, when the cgroup empties: writing it is the container escape behind CVE-2022-0492.","fix":"Treat the node as compromised. Run containers without CAP_SYS_ADMIN, with the default seccomp and AppArmor profiles, on a kernel with the CVE-2022-0492 fix.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Cgroup release_agent written in container\" (MITRE ATT&CK privilege_escalation, T1611), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1611","url":"https://attack.mitre.org/techniques/T1611/"}],"updated":"2026-11-14"},{"id":"runtime.namespace-tool","slug":"namespace-tool","area":"runtime","category":"container-escape","title":"nsenter, unshare or chroot run in a container","severity":"critical","targets":["kubernetes container"],"what":"nsenter, unshare or chroot ran inside a container.","why":"These tools enter or create namespaces; in a container with host PID or enough capabilities, nsenter -t 1 is a shell on the node.","fix":"Find what ran it. Remove hostPID and added capabilities from the pod spec; if it was not expected, treat the workload as compromised.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Namespace change tool run in container\" (MITRE ATT&CK privilege_escalation, T1611), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1611","url":"https://attack.mitre.org/techniques/T1611/"}],"updated":"2026-11-14"},{"id":"runtime.mount-in-container","slug":"mount-in-container","area":"runtime","category":"container-escape","title":"Filesystem mount attempted in a container","severity":"high","targets":["kubernetes container"],"what":"A process in a container called mount (or the new mount API). The container runtime's own init is excluded.","why":"Applications do not mount filesystems. Mounting the node's disk, procfs or cgroup tree is how a privileged container reaches the host.","fix":"Check the result in the event. Drop CAP_SYS_ADMIN and privileged mode from the pod spec; if the mount was not expected, treat the workload as compromised.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Filesystem mount attempted in container\" (MITRE ATT&CK privilege_escalation, T1611), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1611","url":"https://attack.mitre.org/techniques/T1611/"}],"updated":"2026-11-14"},{"id":"runtime.kernel-module","slug":"kernel-module","area":"runtime","category":"container-escape","title":"Kernel module load attempted from a container","severity":"critical","targets":["kubernetes container"],"what":"A process in a container called init_module or finit_module.","why":"A kernel module runs in the host kernel, outside every container boundary; loading one is a rootkit's first step.","fix":"Treat the node as compromised if the call succeeded. Never grant CAP_SYS_MODULE or privileged mode to a workload.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Kernel module load from container\" (MITRE ATT&CK persistence, T1547.006), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1547.006","url":"https://attack.mitre.org/techniques/T1547/006/"}],"updated":"2026-11-14"},{"id":"runtime.ptrace-injection","slug":"ptrace-injection","area":"runtime","category":"container-escape","title":"ptrace attach or memory write in a container","severity":"high","targets":["kubernetes container"],"what":"A process in a container attached to another process, or wrote its memory or registers, with ptrace.","why":"ptrace injection runs code inside another process: with host PID and CAP_SYS_PTRACE, inside a process on the node.","fix":"Unless a debugger was knowingly attached, treat the workload as compromised. Remove CAP_SYS_PTRACE and hostPID from the pod spec.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Process injection with ptrace in container\" (MITRE ATT&CK defense_evasion, T1055.008), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1055.008","url":"https://attack.mitre.org/techniques/T1055/008/"}],"updated":"2026-11-14"},{"id":"runtime.authorized-keys-write","slug":"authorized-keys-write","area":"runtime","category":"persistence","title":"SSH authorized_keys written in a container","severity":"high","targets":["kubernetes container"],"what":"A process in a container wrote an SSH authorized_keys file.","why":"Adding a key grants someone a login that survives a password change; on a host mount it is a login to the node.","fix":"Remove the key, find what wrote it, and treat the workload (and the node, if the path is a host mount) as compromised.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan SSH authorized keys written in container\" (MITRE ATT&CK persistence, T1098.004), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1098.004","url":"https://attack.mitre.org/techniques/T1098/004/"}],"updated":"2026-11-14"},{"id":"runtime.sensitive-file-read","slug":"sensitive-file-read","area":"runtime","category":"credential-access","title":"Sensitive file opened in a container","severity":"high","targets":["kubernetes container"],"what":"A process in a container opened /etc/shadow, /etc/gshadow, /etc/sudoers, an SSH key under /root/.ssh, or a host /etc/shadow mounted under /host.","why":"These are in a container only through a host mount or a mistake. Password hashes and keys are credential theft.","fix":"Remove the host path mount from the pod spec, and refuse such mounts at admission. If the read was not expected, treat the node's credentials as exposed.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Sensitive file or socket read in container\" (MITRE ATT&CK credential_access, T1003), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1003","url":"https://attack.mitre.org/techniques/T1003/"}],"updated":"2026-11-14"},{"id":"runtime.cloud-credentials-read","slug":"cloud-credentials-read","area":"runtime","category":"credential-access","title":"Cloud credentials file read in a container","severity":"medium","targets":["kubernetes container"],"what":"A process in a container opened ~/.aws/credentials, ~/.aws/config, a gcloud or Azure CLI configuration, or a kubeconfig.","why":"Long-lived cloud keys in a container are the credential an attacker takes out first.","fix":"Replace file-based keys with workload identity (IRSA, GKE Workload Identity, Azure Workload Identity). If the read was not the application's own, rotate the keys.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Cloud credentials file read in container\" (MITRE ATT&CK credential_access, T1552.001), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1552.001","url":"https://attack.mitre.org/techniques/T1552/001/"}],"updated":"2026-11-14"},{"id":"runtime.secret-search","slug":"secret-search","area":"runtime","category":"credential-access","title":"Search for keys or passwords in a container","severity":"medium","targets":["kubernetes container"],"what":"find or grep ran in a container looking for private keys, key files, AWS secret keys or passwords.","why":"Sweeping the filesystem for secrets is what an intruder does right after getting a shell.","fix":"Find who ran it (the process tree is in the event). If it was not a person debugging, treat the workload as compromised and rotate what it could read.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Search for private keys or passwords in container\" (MITRE ATT&CK credential_access, T1552.001), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1552.001","url":"https://attack.mitre.org/techniques/T1552/001/"}],"updated":"2026-11-14"},{"id":"runtime.cloud-metadata-access","slug":"cloud-metadata-access","area":"runtime","category":"credential-access","title":"Container contacted the cloud metadata endpoint","severity":"medium","targets":["kubernetes container"],"what":"A container opened a connection to the instance metadata service at 169.254.169.254 (or AWS's IPv6 fd00:ec2::254).","why":"The metadata service hands out the node's cloud credentials. A workload that reaches it can act as the node, which is the usual next step after a container compromise.","fix":"Give the workload its own identity (IRSA, GKE Workload Identity, Azure Workload Identity) and block the metadata endpoint for pods (IMDSv2 with a hop limit of 1, or a NetworkPolicy). If the image legitimately needs it, add its repository to trustivan_metadata_allowed_images in falco.extraRules.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Contact cloud metadata endpoint from container\" (MITRE ATT&CK credential_access, T1552.005), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1552.005","url":"https://attack.mitre.org/techniques/T1552/005/"}],"updated":"2026-11-14"},{"id":"runtime.setuid-bit","slug":"setuid-bit","area":"runtime","category":"privilege-escalation","title":"Setuid or setgid bit set in a container","severity":"high","targets":["kubernetes container"],"what":"A process in a container set the setuid or setgid bit on a file.","why":"A setuid file runs as its owner whoever starts it: a root-owned one is a way back to root for any user in the container.","fix":"Find what set it. Run containers with allowPrivilegeEscalation: false (no_new_privs makes setuid ineffective) and as a non-root user.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Setuid or setgid bit set in container\" (MITRE ATT&CK privilege_escalation, T1548.001), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1548.001","url":"https://attack.mitre.org/techniques/T1548/001/"}],"updated":"2026-11-14"},{"id":"runtime.sudo-su","slug":"sudo-su","area":"runtime","category":"privilege-escalation","title":"sudo or su run in a container","severity":"medium","targets":["kubernetes container"],"what":"sudo, su or doas ran in a container.","why":"A container's user is fixed by its spec; switching user at runtime is an attempt to gain privileges the workload was not given.","fix":"Remove sudo and su from the runtime image and set allowPrivilegeEscalation: false. If it was not expected, investigate the workload.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Sudo or su run in container\" (MITRE ATT&CK privilege_escalation, T1548.003), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1548.003","url":"https://attack.mitre.org/techniques/T1548/003/"}],"updated":"2026-11-14"},{"id":"runtime.user-management","slug":"user-management","area":"runtime","category":"persistence","title":"User or group changed in a container","severity":"high","targets":["kubernetes container"],"what":"useradd, usermod, passwd, chpasswd or another user or group management tool ran in a running container.","why":"Creating or changing accounts after start is how an intruder keeps a way back in.","fix":"Create users when the image is built. Run with a read-only root filesystem so /etc/passwd cannot change, and investigate who ran the tool.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan User or group changed in container\" (MITRE ATT&CK persistence, T1136.001), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1136.001","url":"https://attack.mitre.org/techniques/T1136/001/"}],"updated":"2026-11-14"},{"id":"runtime.write-below-etc","slug":"write-below-etc","area":"runtime","category":"persistence","title":"File below /etc written in a container","severity":"high","targets":["kubernetes container"],"what":"A process in a running container opened a file below /etc for writing.","why":"Configuration is fixed when an image is built and scanned. Changing it at runtime is drift the scan never saw, and adding users, cron entries or resolver settings is a common persistence step.","fix":"Check which file and process the event names. Move legitimate configuration into the image or a read-only ConfigMap mount, and run the container with a read-only root filesystem.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Write below etc in container\" (MITRE ATT&CK persistence, T1543), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1543","url":"https://attack.mitre.org/techniques/T1543/"}],"updated":"2026-11-14"},{"id":"runtime.write-below-binary-dir","slug":"write-below-binary-dir","area":"runtime","category":"drift","title":"Program written to a binary directory in a container","severity":"high","targets":["kubernetes container"],"what":"A process in a container opened a file in /bin, /sbin, /usr/bin, /usr/sbin or /usr/local/bin for writing.","why":"Replacing or adding a program in a binary directory changes what every later command runs, and the image scan never saw it.","fix":"Run with a read-only root filesystem (TrustIvan's drift prevention refuses pods without one) and rebuild the workload from its image.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Write below binary directory in container\" (MITRE ATT&CK persistence, T1574), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1574","url":"https://attack.mitre.org/techniques/T1574/"}],"updated":"2026-11-14"},{"id":"runtime.package-manager-runtime","slug":"package-manager-runtime","area":"runtime","category":"package-management","title":"Package manager run in a running container","severity":"high","targets":["kubernetes container"],"what":"apt, apk, yum, dnf, rpm, pip, npm, gem or a similar package manager ran inside a running container.","why":"Software installed after start was never scanned, so the image's findings no longer describe what runs. Attackers install tools this way.","fix":"Install packages when the image is built, rescan the image, and remove the package manager from the runtime image (a distroless or minimal base has none).","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Package manager run in container\" (MITRE ATT&CK persistence, T1072), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1072","url":"https://attack.mitre.org/techniques/T1072/"}],"updated":"2026-11-14"},{"id":"runtime.compiler-runtime","slug":"compiler-runtime","area":"runtime","category":"drift","title":"Compiler run in a running container","severity":"medium","targets":["kubernetes container"],"what":"gcc, cc, clang, as, ld or another compiler or linker ran in a running container.","why":"Code compiled after start was never scanned; building a payload on the target is a way past image scanning.","fix":"Build in a separate stage and ship a runtime image without a toolchain. Investigate what was compiled.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Compiler run in container\" (MITRE ATT&CK defense_evasion, T1027.004), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1027.004","url":"https://attack.mitre.org/techniques/T1027/004/"}],"updated":"2026-11-14"},{"id":"runtime.fileless-execution","slug":"fileless-execution","area":"runtime","category":"drift","title":"Program run from memory in a container","severity":"critical","targets":["kubernetes container"],"what":"A process in a container executed a program from an anonymous memory file (memfd_create).","why":"Fileless execution leaves nothing on disk for a scan or a forensic copy to find; legitimate applications rarely do it.","fix":"Treat the workload as compromised: isolate it (a TrustIvan response action can network-isolate or stop it), find how it got there (image, exec, vulnerable application), rebuild from a clean image and rotate any credentials the pod could read.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Fileless execution from memory in container\" (MITRE ATT&CK defense_evasion, T1620), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1620","url":"https://attack.mitre.org/techniques/T1620/"}],"updated":"2026-11-14"},{"id":"runtime.drift-binary","slug":"drift-binary","area":"runtime","category":"drift","title":"Executable not in the image run in a container","severity":"critical","targets":["kubernetes container"],"what":"A container ran an executable from its writable layer: a file written after the container started (downloaded, copied or unpacked), not one that came with the image.","why":"What runs is no longer what was scanned and signed. A binary dropped at runtime is the usual shape of an intruder's tooling.","fix":"Turn on drift prevention for the cluster (pods must run with a read-only root filesystem) and a response policy that stops the pod on drift. Treat the workload as compromised: isolate it (a TrustIvan response action can network-isolate or stop it), find how it got there (image, exec, vulnerable application), rebuild from a clean image and rotate any credentials the pod could read.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Drift binary not in image executed\" (MITRE ATT&CK execution, T1105), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1105","url":"https://attack.mitre.org/techniques/T1105/"}],"updated":"2026-11-14"},{"id":"runtime.exec-from-tmp","slug":"exec-from-tmp","area":"runtime","category":"drift","title":"Program run from a temporary directory in a container","severity":"high","targets":["kubernetes container"],"what":"A container ran a program from /tmp, /var/tmp, /dev/shm or /run.","why":"Those are often memory or volume mounts outside the image layers, where the drift rule cannot see a dropped binary: payloads land there.","fix":"Mount temporary volumes without exec where the runtime allows it, keep the root filesystem read-only, and investigate the program.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Executable run from a temporary directory in container\" (MITRE ATT&CK execution, T1059.004), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1059.004","url":"https://attack.mitre.org/techniques/T1059/004/"}],"updated":"2026-11-14"},{"id":"runtime.log-cleared","slug":"log-cleared","area":"runtime","category":"defense-evasion","title":"Log or shell history cleared in a container","severity":"medium","targets":["kubernetes container"],"what":"A process in a container truncated a file under /var/log or a shell history file, or deleted a shell history file.","why":"Erasing history and logs is covering tracks.","fix":"Ship logs off the container as they are written (stdout to the cluster's log pipeline), and investigate what was erased and why.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Log or shell history cleared in container\" (MITRE ATT&CK defense_evasion, T1070.003), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1070.003","url":"https://attack.mitre.org/techniques/T1070/003/"}],"updated":"2026-11-14"},{"id":"runtime.firewall-change","slug":"firewall-change","area":"runtime","category":"defense-evasion","title":"Firewall tool run in a container","severity":"medium","targets":["kubernetes container"],"what":"iptables, ip6tables, nft or ebtables ran in a container.","why":"With NET_ADMIN this changes the pod's packet filtering, and with host networking the node's: a way to open a path or blind a control.","fix":"Remove NET_ADMIN and hostNetwork from application pods; network plugins that need them belong in kube-system.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Firewall rules changed in container\" (MITRE ATT&CK defense_evasion, T1562.004), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1562.004","url":"https://attack.mitre.org/techniques/T1562/004/"}],"updated":"2026-11-14"},{"id":"runtime.cluster-client","slug":"cluster-client","area":"runtime","category":"discovery","title":"Cluster or runtime client run in a container","severity":"medium","targets":["kubernetes container"],"what":"kubectl, crictl, ctr, docker, helm or oc ran in a container.","why":"An application container has no use for cluster tooling; an intruder uses it to enumerate and move through the cluster with the pod's service account.","fix":"Remove the tools from the image, turn off automountServiceAccountToken where the pod does not call the API, and check the service account's RBAC.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Cluster client run in container\" (MITRE ATT&CK discovery, T1613), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1613","url":"https://attack.mitre.org/techniques/T1613/"}],"updated":"2026-11-14"},{"id":"runtime.network-tool","slug":"network-tool","area":"runtime","category":"discovery","title":"Network scanner or raw connection tool run in a container","severity":"medium","targets":["kubernetes container"],"what":"nmap, masscan, netcat, socat, telnet, tcpdump or a similar tool ran in a container.","why":"Scanning and raw connections are how an intruder maps what the pod can reach next.","fix":"Remove the tools from the runtime image, restrict the pod's traffic with a NetworkPolicy, and investigate who ran it.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Network tool run in container\" (MITRE ATT&CK discovery, T1046), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1046","url":"https://attack.mitre.org/techniques/T1046/"}],"updated":"2026-11-14"},{"id":"runtime.tor-egress","slug":"tor-egress","area":"runtime","category":"unexpected-outbound","title":"Outbound connection to a Tor port","severity":"high","targets":["kubernetes container"],"what":"A container connected out to a port Tor relays and proxies use (9001, 9030, 9040, 9050, 9051, 9150).","why":"Tor hides where traffic goes; malware uses it for command and control.","fix":"Restrict egress with a NetworkPolicy and investigate the process named in the event.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Outbound connection to a Tor port from container\" (MITRE ATT&CK command_and_control, T1090.003), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1090.003","url":"https://attack.mitre.org/techniques/T1090/003/"}],"updated":"2026-11-14"},{"id":"runtime.ssh-egress","slug":"ssh-egress","area":"runtime","category":"unexpected-outbound","title":"Outbound SSH from a container","severity":"medium","targets":["kubernetes container"],"what":"A container opened a connection to port 22 on another host.","why":"Workloads rarely SSH anywhere; an intruder does, to move to another machine with stolen keys.","fix":"If the workload does not need it, block port 22 egress with a NetworkPolicy and investigate the process.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Outbound SSH from container\" (MITRE ATT&CK lateral_movement, T1021.004), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1021.004","url":"https://attack.mitre.org/techniques/T1021/004/"}],"updated":"2026-11-14"},{"id":"runtime.egress-outside-allowlist","slug":"egress-outside-allowlist","area":"runtime","category":"unexpected-outbound","title":"Outbound connection outside the allowed networks","severity":"high","targets":["kubernetes container"],"what":"A container whose image is listed in trustivan_egress_restricted_images connected to an address outside trustivan_allowed_egress_networks. Silent until an image is listed (falco.extraRules).","why":"For a workload whose destinations are known, any other connection is exfiltration or command and control until shown otherwise.","fix":"Add the destination to trustivan_allowed_egress_networks if it is legitimate; otherwise isolate the pod and investigate.","evidence":[{"scope":"node","status":"collected","note":"The Falco rule \"TrustIvan Outbound connection outside allowed networks\" (MITRE ATT&CK exfiltration, T1041), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster."}],"references":[{"title":"MITRE ATT&CK T1041","url":"https://attack.mitre.org/techniques/T1041/"}],"updated":"2026-11-14"},{"id":"quality.functions","slug":"function-complexity-and-length","area":"quality","category":"maintainability","title":"Functions over maintainability thresholds","severity":"low","targets":["function"],"what":"Measures every function in a repository: cyclomatic complexity (independent paths through it), lines of code without blanks and comments, and parameter count. Reports each file with a function whose complexity is over 15, length over 100 lines or parameters more than 6, listing the worst ten; low severity when one is over 25, 200 or 10.","why":"Every branch is a path that needs a test and that a reader has to hold in mind, and a long function or parameter list usually does several jobs at once; this is where defects hide and changes break things.","fix":"Split the function: extract steps and branches into named helpers, return early, replace long if/else or switch chains with a table, and group related parameters into a struct or object.","evidence":[{"scope":"repository","status":"collected","note":"Measured by lizard 1.26.1 when a repository or filesystem scan runs the quality scanner (off by default; needs backend/Dockerfile.sast). One finding per file, at most 200 per scan, worst first; not risk-scored and no SLA."}],"updated":"2026-11-18"}]}