Can I filter a post type based on comment moderation settings?

Within the loop you can output the post only if it does not match your banned words

<?php
while ( have_posts() ) : the_post();
    $banned = array('badword', 'http://');
    $ok = true;
    foreach ( $banned as $value ) {
        if ( stristr( $post->post_content, $value ) ) {
            $ok = false;
        }
    }
    if ( $ok ) : ?>
        <h2><?php the_title(); ?></h2>
        <?php the_content(); ?>
    <?php endif;
endwhile;
?>

tech