{"summary":{"plugin_name":"twitter-auto-publish","display_name":"WP Twitter Auto Publish","version":"1.7.7","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":15},"last_analyzed":"2026-11-23T14:12:40.296682","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":98,"num_ratings":206,"tested":"7.0.9","requires":"3.0","requires_php":"7.4","author":"f1logic","short_description":"Publish posts automatically to Twitter.","tags":["add link to twitter","publish post to twitter","twitter","twitter auto publish","wp twitter auto publish"],"added":"2013-09-10","last_updated":"2026-06-08 12:52pm GMT","metadata_fetched_at":"2026-11-23T08:50:35.218216+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.7.7"},"security_metrics":{"total_issues":7,"parameters_found":44,"unknown_parameters":0,"headers_accessed":2,"cookies_accessed":2,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A02":3,"A03":4,"A05":1},"attack_surface_level":"medium","attack_surface_score":46,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":70.7,"rank":127784,"peer_count":435896,"better_than":70.7,"risk_distribution":{"medium":109103,"minimal":44480,"high":174094,"low":70811,"critical":37408}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":4,"description":"User-supplied data is not validated, filtered, or sanitized by the application","recommendations":["Use $wpdb->prepare() for all database queries — never interpolate or concatenate input","Sanitize all user input with appropriate WordPress functions","Escape output based on context (esc_html, esc_attr, etc.)","Never pass user input to eval(), include/require, or a variable function"],"findings_summary":["phpcs_security: HTML construction with direct user input $_SERVER detected.","phpcs_security: HTML construction with direct user input $_SERVER detected.","phpcs_security: HTML construction with direct user input $_SERVER detected.","phpcs_security: HTML construction with direct user input $_SERVER detected."]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":3,"description":"Failures related to cryptography which often lead to exposure of sensitive data","recommendations":["Never store passwords or API keys in plain text","Use WordPress options API with encryption for sensitive data","Implement proper key management practices","Use HTTPS for all sensitive data transmission"],"findings_summary":["Parameter 'xyz_twap_twconsumer_secret' - Sensitive data exposure","Parameter 'xyz_twap_twaccestok_secret' - Sensitive data exposure","Parameter 'xyz_twap_twclientsecret_oauth2' - Sensitive data exposure"]},{"category":"A05","name":"Security Misconfiguration","severity":"low","findings_count":1,"description":"Missing appropriate security hardening or improperly configured permissions","recommendations":["Remove phpinfo() and error_reporting()/display_errors overrides from shipped code","Never define WP_DEBUG inside a plugin — leave debug configuration to the site owner","Fail closed: do not expose stack traces or environment details to visitors"],"findings_summary":["Misconfiguration in twitter-auto-publish.php:40 - //error_reporting(E_ALL);"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"xyz_twap_twconsumer_secret","locations":{"POST":[{"file":"/plugins/twitter-auto-publish/tags/1.7.7/admin/settings.php","line":51,"offset":1569,"snippet":"$_POST['xyz_twap_twconsumer_secret']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"xyz_twap_twaccestok_secret","locations":{"POST":[{"file":"/plugins/twitter-auto-publish/tags/1.7.7/admin/settings.php","line":53,"offset":1732,"snippet":"$_POST['xyz_twap_twaccestok_secret']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"xyz_twap_twclientsecret_oauth2","locations":{"POST":[{"file":"/plugins/twitter-auto-publish/tags/1.7.7/admin/settings.php","line":59,"offset":2033,"snippet":"$_POST['xyz_twap_twclientsecret_oauth2']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"HTML construction with direct user input $_SERVER detected.","file":"/plugins/twitter-auto-publish/tags/1.7.7/admin/settings.php","line":229},{"type":"phpcs_security","message":"HTML construction with direct user input $_SERVER detected.","file":"/plugins/twitter-auto-publish/tags/1.7.7/admin/settings.php","line":230},{"type":"phpcs_security","message":"HTML construction with direct user input $_SERVER detected.","file":"/plugins/twitter-auto-publish/tags/1.7.7/admin/settings.php","line":255},{"type":"phpcs_security","message":"HTML construction with direct user input $_SERVER detected.","file":"/plugins/twitter-auto-publish/tags/1.7.7/admin/settings.php","line":256}],"A05":[{"type":"misconfiguration","file":"twitter-auto-publish.php","line":"40","match":"//error_reporting(E_ALL);","risk":"Security-misconfiguration token in shipped plugin code (error display / debug / info disclosure)"}]}}