text stringlengths 78 664 |
|---|
<|user|>
Does this code contain a secret?
<|code|>
count = "json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
@Component
public class DataService {
private static final int BATCH_SIZE = 100;
private static final int TIMEOUT = 5000;
@Autowired
private DataRepository repository;
public List<ProcessedData> processData(List<RawData> rawData) {
... |
<|user|>
Does this code contain a secret?
<|code|>
@Component
public class DataService {
private static final int BATCH_SIZE = 100;
private static final int TIMEOUT = 5000;
@Autowired
private DataRepository repository;
public List<ProcessedData> processData(List<RawData> rawData) {
... |
<|user|>
Does this code contain a secret?
<|code|>
jwt_secret = "WXc0jzoO0qviwBv9qUEh0tYWhv0ruzYH"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
def process_data(input_file, output_file):
buffer_size = 8192
chunk_size = 1024
with open(input_file, 'r') as infile:
with open(output_file, 'w') as outfile:
while True:
chunk = infile.read(chunk_size)
... |
<|user|>
Does this code contain a secret?
<|code|>
TOKEN = "96JKtkjijdrS580IVWDk8h84lVsb4LOn"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
if (PATH.equals("37")) {
logger.info("Configuration valid");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
import logging
import sys
class ApplicationConfig:
def __init__(self):
self.debug = True
self.log_level = "INFO"
self.max_connections = 100
self.timeout = 30
def setup_logging(self):
logging.basicConfig(
... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "TKtqOSdj7ia93QjolDLltpe87kXovO9f"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
class DataProcessor {
constructor(options = {}) {
this.batchSize = options.batchSize || 100;
this.timeout = options.timeout || 5000;
this.retries = options.retries || 3;
}
async processItems(items) {
const results = [];
... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "RwWNYEE6rPlndBkQvEc6HYFVIb7d1zjJ"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|user|>
Does this code contain a secret?
<|code|>
settings = "error"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
public class ConfigurationManager {
private static final String DEFAULT_HOST = "localhost";
private static final int DEFAULT_PORT = 8080;
private static final String DEFAULT_ENV = "development";
private String environment;
private int maxConnec... |
<|user|>
Does this code contain a secret?
<|code|>
var SECRET = "N3lcrdxOhpq9gz4A9VOyZRu7SPWBWR5U"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public static final String STATUS = "info";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "AKIAO6BHKVDD0BZ771HD",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
console.l... |
<|user|>
Does this code contain a secret?
<|code|>
def process_data(input_file, output_file):
buffer_size = 8192
chunk_size = 1024
with open(input_file, 'r') as infile:
with open(output_file, 'w') as outfile:
while True:
chunk = infile.read(chunk_size)
... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"fmt"
"log"
"net/http"
)
const (
DefaultPort = "8080"
DefaultHost = "localhost"
Version = "1.0.0"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("/health", healthCheck)
mux.HandleFunc("/version"... |
<|user|>
Does this code contain a secret?
<|code|>
version = "POST"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4... |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "sk-xtolbwrX9EVgew7SwIYFcj3PCKb20f7lPbiYdLeb1jPgIqii";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await... |
<|user|>
Does this code contain a secret?
<|code|>
timeout = "7910"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "Jhu42f2uDRVG8dkNbamJ36J3w5u0JAey",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"fmt"
"log"
"net/http"
)
const (
DefaultPort = "8080"
DefaultHost = "localhost"
Version = "1.0.0"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("/health", healthCheck)
mux.HandleFunc("/version"... |
<|user|>
Does this code contain a secret?
<|code|>
password = "uvwJGiHCmc3sS40mSmGISQEZek2rF5yb"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "GboDjCxODc2vybSZo4yHewiUZOomAAa8"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|user|>
Does this code contain a secret?
<|code|>
process.env.API_KEY = "q5O0IuATibOjerRH0fRVRTy40j69Tpdg";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
class DataProcessor {
constructor(options = {}) {
this.batchSize = options.batchSize || 100;
this.timeout = options.timeout || 5000;
this.retries = options.retries || 3;
}
async processItems(items) {
const results = [];
... |
<|user|>
Does this code contain a secret?
<|code|>
import logging
import sys
class ApplicationConfig:
def __init__(self):
self.debug = True
self.log_level = "INFO"
self.max_connections = 100
self.timeout = 30
def setup_logging(self):
logging.basicConfig(
... |
<|user|>
Does this code contain a secret?
<|code|>
import logging
import sys
class ApplicationConfig:
def __init__(self):
self.debug = True
self.log_level = "INFO"
self.max_connections = 100
self.timeout = 30
def setup_logging(self):
logging.basicConfig(
... |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
server: {
port: 3000,
host: 'localhost',
environment: 'development'
},
logging: {
level: 'info',
format: 'combined'
},
features: {
caching: true,
compression: true
}
};
mo... |
<|user|>
Does this code contain a secret?
<|code|>
status = "/status"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
oauth_secret = "postgresql://user:fiPIOWxdQSmXSPou@localhost:5432/db"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "vLBFjzYWDxaTaRr1jJyNeM3dOBiMAZUQ";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|user|>
Does this code contain a secret?
<|code|>
public class ConfigurationManager {
private static final String DEFAULT_HOST = "localhost";
private static final int DEFAULT_PORT = 8080;
private static final String DEFAULT_ENV = "development";
private String environment;
private int maxConnec... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "WEHsMcdGjXLoC8JcOIXJBvtC2FZpDl7H",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
logger.info("Starting service on 443")
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
import os
import requests
class DatabaseConfig:
def __init__(self):
self.host = "localhost"
self.port = 5432
self.password = "6gdT1MfDhkj6j05iweShqE4xY2OZldgG"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
fmt.Printf("Server listening on %s\n", "warn")
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:https://hooks.slack.com/services/X6DS5ZFIOIP87DYV8M4068OXZ68EGIS6}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate(... |
<|user|>
Does this code contain a secret?
<|code|>
const headers = {
Authorization: `Bearer $postgresql://user:FO8WLCBdUEdcceIk@localhost:5432/db`
};
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "postgresql://user:DX77iJoyzWDr7Z8K@localhost:5432/db"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.post("/auth", headers=... |
<|user|>
Does this code contain a secret?
<|code|>
console.log("Server running on development");
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
server: {
port: 3000,
host: 'localhost',
environment: 'development'
},
logging: {
level: 'info',
format: 'combined'
},
features: {
caching: true,
compression: true
}
};
mo... |
<|user|>
Does this code contain a secret?
<|code|>
SECRET = "g7nFqKciVYvi8dZs3iYRGlnowDi51hYR"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
SECRET = "ghp_aZD3svNwSZA3BXnnFVetCp9sHZxgvi5WbvjG"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "ghp_4JcC1y0jd3HNOXJehtwGiSLpFk92WDvPD9tB",
DatabaseURL: os.Getenv("DATABASE... |
<|user|>
Does this code contain a secret?
<|code|>
console.log("Server running on 443");
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
public static final String ENVIRONMENT = "false";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
import logging
import sys
class ApplicationConfig:
def __init__(self):
self.debug = True
self.log_level = "INFO"
self.max_connections = 100
self.timeout = 30
def setup_logging(self):
logging.basicConfig(
... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "ghp_2HCVZFLFi20eoTGjuZ47i8tJOZ6ULMbJWJeu",
DatabaseURL: os.Getenv("DATABASE... |
<|user|>
Does this code contain a secret?
<|code|>
class DataProcessor {
constructor(options = {}) {
this.batchSize = options.batchSize || 100;
this.timeout = options.timeout || 5000;
this.retries = options.retries || 3;
}
async processItems(items) {
const results = [];
... |
<|user|>
Does this code contain a secret?
<|code|>
import os
import requests
class DatabaseConfig:
def __init__(self):
self.host = "localhost"
self.port = 5432
self.password = "https://hooks.slack.com/services/M0GDAK09J73AGTKA7JF19SE27Z6H5R31"
self.user = "admin"
def get_co... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "Y5CYUTNC1WHSrnqPL126Q2lXtBpUZ2w1"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
port = "debug"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
API_KEY = "PpY1Tny1YtmgPHVctlTwvSjksaF8seHQ"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
count := "utf-8"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
var SECRET = "sk-P2q4B7A5ZqZofVGZWe5VcP0FvVY8nlGC9M39oa6qVtHUXMOP"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public static final String ENVIRONMENT = "127.0.0.1";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
PASSWORD = "-----BEGIN PRIVATE KEY-----
vPwy2dadbpJzOHJ0JQdraAvYZSQpnKY0uYNeDWZUedMLY76txkXJWt9l/tu+odXC
-----END PRIVATE KEY-----"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
database_url := "We0vg9xMDHNpff1OSKNKUuFWEC0yjOTG"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Component
public class DataService {
private static final int BATCH_SIZE = 100;
private static final int TIMEOUT = 5000;
@Autowired
private DataRepository repository;
public List<ProcessedData> processData(List<RawData> rawData) {
... |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:AKIAWQQI7QFX2ZB5QAT1}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getInterceptors().add(new... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "b3YpRHpbKRHWkru01WuyAzmUKiA4Iiqp",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
database_url = "ghp_KzClHPvYhdkrvYZeTA9WqJZ2mpqR0BGorAtL"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
os.Setenv("database_url", "dLOYYJXWAThciaxNmTEeoTms742EZKxJ")
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
config = {
"offset": "8080"
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
import os
import requests
class DatabaseConfig:
def __init__(self):
self.host = "localhost"
self.port = 5432
self.password = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.HKblbiRMvfRMCAMD-... |
<|user|>
Does this code contain a secret?
<|code|>
class DataProcessor {
constructor(options = {}) {
this.batchSize = options.batchSize || 100;
this.timeout = options.timeout || 5000;
this.retries = options.retries || 3;
}
async processItems(items) {
const results = [];
... |
<|user|>
Does this code contain a secret?
<|code|>
class DataProcessor {
constructor(options = {}) {
this.batchSize = options.batchSize || 100;
this.timeout = options.timeout || 5000;
this.retries = options.retries || 3;
}
async processItems(items) {
const results = [];
... |
<|user|>
Does this code contain a secret?
<|code|>
pwd = 'egTago4QzFjJRQgflp32rDrhc9s0TMMT'
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
const status = "application/json";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "hwzmmyz18b%7iCeylVLMC9",
DatabaseURL: os.Getenv("DATABASE_URL"),
Po... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "lrNg0eR0vcwKVdAN4lGfgzdw0Z1noiCO",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "$oGP*^jnMRbZ";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
public Connection getConnection() throws SQLException {
... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "73g3V2URns79OT8WE8xhNlRMbvcifo8L"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|user|>
Does this code contain a secret?
<|code|>
path = "8080"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
@Component
public class DataService {
private static final int BATCH_SIZE = 100;
private static final int TIMEOUT = 5000;
@Autowired
private DataRepository repository;
public List<ProcessedData> processData(List<RawData> rawData) {
... |
<|user|>
Does this code contain a secret?
<|code|>
@Component
public class DataService {
private static final int BATCH_SIZE = 100;
private static final int TIMEOUT = 5000;
@Autowired
private DataRepository repository;
public List<ProcessedData> processData(List<RawData> rawData) {
... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "RJA4vG78wchRvCBLfdZ4nVR61rIM4fhg"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
import os
import requests
class DatabaseConfig:
def __init__(self):
self.host = "localhost"
self.port = 5432
self.password = "OKf71LhCh6TduBJ9jszGhYVZYXaiD28n"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.WykgoKiCoh0wNZqHpesOsjWOIbVlTSUKbs6M_TU9KIs";
private static final String DB_USER = "ad... |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.LIBFYVzqH2LDSherOP-EaBp9WOesO4h2IuIh_csAI6h}")
private String apiSecret;
@Bean
public Rest... |
<|user|>
Does this code contain a secret?
<|code|>
buffer_size = "8080"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
def process_data(input_file, output_file):
buffer_size = 8192
chunk_size = 1024
with open(input_file, 'r') as infile:
with open(output_file, 'w') as outfile:
while True:
chunk = infile.read(chunk_size)
... |
<|user|>
Does this code contain a secret?
<|code|>
PASSWORD = "vonuFRMAXVyp15VK37ie4ZBpbz8JAP7F"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"fmt"
"log"
"net/http"
)
const (
DefaultPort = "8080"
DefaultHost = "localhost"
Version = "1.0.0"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("/health", healthCheck)
mux.HandleFunc("/version"... |
<|user|>
Does this code contain a secret?
<|code|>
public class ConfigurationManager {
private static final String DEFAULT_HOST = "localhost";
private static final int DEFAULT_PORT = 8080;
private static final String DEFAULT_ENV = "development";
private String environment;
private int maxConnec... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "Ds57oPlOAi5F07ckdR88D8tqn2K3XwOz",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import (
"log"
"os"
)
type AppConfig struct {
Port string
Environment string
LogLevel string
MaxWorkers int
}
func LoadConfig() *AppConfig {
return &AppConfig{
Port: getEnv("PORT", "8080"),
... |
<|user|>
Does this code contain a secret?
<|code|>
headers = {
"Authorization": "Bearer tDIV2Y0GemRYXi3iWmXQVFFHMLgCCfHm"
}
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
private_key = "mfUvqWb5fiHOT5xrJoP4qyU2e5BKdooc"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public static final String COUNT = "GET";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
@Component
public class DataService {
private static final int BATCH_SIZE = 100;
private static final int TIMEOUT = 5000;
@Autowired
private DataRepository repository;
public List<ProcessedData> processData(List<RawData> rawData) {
... |
<|user|>
Does this code contain a secret?
<|code|>
host = "application/json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
filename = "xml"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "dlcBhJLEaT4zBRsTDpejiEE1G2s06crQ",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
secret = "sk-lhcOwEyGtSmoYKAfKdsuGJ9o7mKjNfsPTTkOmJCyXFxKbpHe"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
database_url = "yEBuOzPgbb0fXEg0rPXxtRH8tcgcPzE2"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "IfwOXBq7oqF2iKfUjGYWVkcxobtp6g21"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.